/* Ironplan's site. --accent matches Brand.accent in Shared/Brand.swift. */
:root {
  --accent: #FF5A1F;
  --on-accent: #ffffff;
  --text: #1c1c1e;
  --muted: rgba(60, 60, 67, 0.75);
  --bg: #f2f2f7;
  --surface: #ffffff;
  --line: rgba(60, 60, 67, 0.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f7;
    --muted: rgba(235, 235, 245, 0.68);
    --bg: #000000;
    --surface: #1c1c1e;
    --line: rgba(235, 235, 245, 0.14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 28px 16px 56px; }
a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(34px, 8vw, 52px); }
h2 { font-size: 24px; margin-top: 1.6em; }
h3 { font-size: 18px; margin: 0 0 0.25em; }
p, ul { margin: 0 0 1em; }
li { margin-bottom: 0.45em; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }

.nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.nav .brand {
  display: flex; align-items: center; gap: 10px; color: var(--text);
  font-weight: 800; font-size: 20px; text-decoration: none; margin-right: auto;
}
.nav .brand img { width: 40px; height: 40px; border-radius: 10px; }

.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  text-decoration: none; font-weight: 700; font-size: 15px;
}
.pill.accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }

.hero { text-align: center; padding: 12px 0 8px; }
.hero img { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.hero h1 { margin-top: 22px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 auto 1em; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 32px 0; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.features p { color: var(--muted); margin: 0; font-size: 15.5px; }

.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.updated { color: var(--muted); font-size: 15px; }
.faq { display: grid; gap: 14px; }
.faq p { color: var(--muted); margin: 0; }

footer { margin-top: 44px; text-align: center; font-size: 14px; color: var(--muted); }
footer a { margin: 0 8px; color: var(--muted); }

/* --- Home page --------------------------------------------------------------------------- */
.home main { max-width: 1080px; }
h1, h2, h3, .brand, .price, .num { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-stretch: condensed; letter-spacing: -0.01em; }
.navlink { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 6px; }
.navlink:hover { color: var(--text); }
@media (max-width: 560px) { .navlink { display: none; } }

.hero2 {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 36px 32px; margin: 0 -16px; border-radius: 32px;
  background: radial-gradient(120% 90% at 85% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
@media (max-width: 820px) { .hero2 { grid-template-columns: 1fr; text-align: center; padding: 20px 16px; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.hero2 h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 900; line-height: 1.02; margin-bottom: 18px; }
.hl { color: var(--accent); }
.lede { font-size: 19px; color: var(--muted); max-width: 32em; }
@media (max-width: 820px) { .lede { margin-inline: auto; } }
.cta { margin: 26px 0 10px; }
.pill.big { font-size: 17px; padding: 13px 24px; }
.badge { display: inline-block; line-height: 0; border-radius: 9px; }
.badge img { height: 54px; width: auto; }
.badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cta.center { text-align: center; }
.platforms { color: var(--muted); font-size: 14px; font-weight: 700; }
.hero-shot { display: flex; justify-content: center; }

.phone {
  display: block; width: 100%; max-width: 300px; height: auto;
  border-radius: 38px; border: 6px solid #1c1c1e; background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.how { margin-top: 72px; text-align: center; }
.how h2, .pricing h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; margin-top: 0; }
.section-lede { color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); text-align: left; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps p { color: var(--muted); margin: 0; font-size: 15.5px; }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 900;
}
.shots { display: flex; gap: 22px; justify-content: center; }
.shots .phone { max-width: 250px; }
@media (max-width: 820px) {
  .shots { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shots .phone { flex: 0 0 62%; scroll-snap-align: center; }
}

.home .features { margin-top: 72px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .home .features { grid-template-columns: 1fr; } }
.features .wide { grid-column: 1 / -1; }
.watches { display: flex; gap: 12px; margin-top: 16px; }
.watches img { width: calc(50% - 6px); max-width: 170px; height: auto; border-radius: 36px; border: 5px solid #1c1c1e; background: #000; }
.pro {
  display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.themes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
@media (max-width: 680px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.themes li { margin: 0; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--c) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); font-size: 13px; color: var(--muted); }
.themes b { display: block; color: var(--c); font-size: 16px; }

.pricing { margin-top: 72px; text-align: center; }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; text-align: left; margin-top: 24px; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }
.plans ul { padding-left: 1.1em; margin: 14px 0 0; color: var(--muted); }
.plans li::marker { color: var(--accent); }
.price { font-size: 44px; font-weight: 900; margin: 4px 0 0; line-height: 1.1; }
.price small { font-size: 18px; color: var(--muted); font-weight: 700; }
.price-alt { color: var(--muted); font-size: 14px; font-weight: 700; margin: 6px 0 0; }
.featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.fine { color: var(--muted); font-size: 13.5px; max-width: 46em; margin: 18px auto 0; }

.private { margin-top: 72px; }
.private h2 { margin-top: 0; }
footer p { margin-top: 10px; }
