/* Public marketing + utility pages (landing, download, help hub).
   Type-led, restrained. Brand colour used sparingly - buttons, links, one accent.
   No gradients, no floating mockups, no icon-in-circle cards. */

:root {
  --brand: #0052ff;
  --brand-ink: #0043cf;
  --ink: #0b1220;
  --body: #33404f;
  --muted: #6b7787;
  --line: #e5e9ef;
  --line-strong: #cfd6e0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tile: #fbfcfe;
  --radius: 14px;
  --maxw: 1120px;
  --pad: 24px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}
p { margin: 0 0 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1;
  border-radius: 10px; padding: .8em 1.35em; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-ink); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn--lg { padding: .95em 1.7em; font-size: 1.05rem; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1rem;
}
.brand__mark--sm { width: 22px; height: 22px; font-size: .8rem; border-radius: 6px; }
.brand__logo { height: 32px; width: auto; max-width: 220px; display: block; }
.foot__logo { height: 24px; width: auto; max-width: 190px; display: block; }
.nav__links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.navlink { color: var(--body); font-weight: 500; font-size: .97rem; }
.navlink:hover { color: var(--ink); text-decoration: none; }
.nav__toggle { display: none; margin-left: auto; width: 42px; height: 38px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__mobile { border-bottom: 1px solid var(--line); background: #fff; padding: 10px var(--pad) 18px; }
.nav__mobile a { display: block; padding: 11px 0; color: var(--body); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border-bottom: 0; margin-top: 10px; text-align: center; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 76px 0 44px; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); }
.hero__sub { font-size: 1.2rem; color: var(--body); margin: 22px 0 30px; max-width: 36ch; }
.hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__note { color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 30px 0; }
.section__head { max-width: 62ch; margin: 0 auto 34px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
.section__head p { color: var(--body); margin-top: 14px; font-size: 1.08rem; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }

/* ── Feature blocks (alternating) ────────────────────────── */
.feature { padding: 46px 0; border-top: 1px solid var(--line); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin: 12px 0 16px; }
.feature p { max-width: 48ch; }
.feature__media { min-width: 0; }
.feature--rev .feature__text { order: 2; }
.note-line {
  margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--brand);
  background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--body); font-size: .96rem;
}
/* Supporting points inside a feature block. Plain rows rather than bullets: the block
   already reads as prose, and a bulleted list beside a screenshot turns a paragraph into
   a spec sheet. Same 48ch measure as `.feature p` so the column edge stays straight. */
.feature__list { list-style: none; padding: 0; margin: 16px 0 0; max-width: 48ch; }
.feature__list li {
  position: relative; padding: 7px 0 7px 18px; color: var(--body); font-size: .98rem;
}
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.feature__list li b { color: var(--ink); font-weight: 600; }
/* A portrait phone shot in a half-width column. Left alone, a 9:16 slot fills the whole
   column width and renders about a screen tall, so the phone reads as a billboard and the
   text beside it looks like a caption. Capped and centred so it reads as a phone held in
   a hand - which is how the customer meets this surface. */
.feature__media--phone { max-width: 310px; margin-inline: auto; }

/* ── Image slot (placeholder-aware) ──────────────────────────
   The labelled placeholder is the BASE layer (always in the DOM). A present image
   sits on top and covers it; a missing image (static_optional returned "") simply
   leaves the placeholder showing. So a not-yet-supplied asset degrades here, never
   500s the page. */
.shot {
  position: relative; margin: 0; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); overflow: hidden; background: var(--bg-tile);
  aspect-ratio: var(--ar, 16 / 10);
}
.shot.has-img { border-style: solid; border-color: var(--line); background: #fff; }
.shot img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: var(--fit, contain); background: #fff;
}
.shot__ph {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; text-align: center; padding: 18px;
  color: var(--muted); font-family: var(--display); font-size: .82rem;
}
.shot__ph b { display: block; color: var(--body); font-size: .96rem; }
.shot__ph small { color: var(--muted); font-size: .78rem; }
.shot-cap { margin-top: 10px; color: var(--muted); font-size: .88rem; text-align: center; }

/* ── Industry pair + tiles ───────────────────────────────── */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0 10px; }
.pair figure { margin: 0; }
.pair .shot-cap { font-weight: 600; color: var(--body); }
.pair-note { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 34px; }

.tier-label { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1rem; margin: 26px 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tiles--built { grid-template-columns: repeat(2, minmax(0, 220px)); }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: var(--bg-tile); }
.tile--built { border-color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); background: #fff; }
.tile__k { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.tile__t { color: var(--muted); font-size: .82rem; margin-top: 3px; }
.tiles-open { color: var(--muted); font-size: .96rem; margin-top: 16px; }

/* ── "Everything else" facts ─────────────────────────────── */
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.facts li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.facts li b { color: var(--ink); font-weight: 600; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing__head { text-align: center; margin-bottom: 38px; }
.pricing__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-top: 8px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 26px 22px; }
.plan--popular { border: 2px solid var(--brand); box-shadow: 0 12px 34px rgba(0, 82, 255, .10); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-family: var(--display); font-weight: 700;
  font-size: .72rem; letter-spacing: .03em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan__name { color: var(--body); font-weight: 600; font-size: 1rem; }
.plan__price { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.95rem; letter-spacing: -.02em; margin: 6px 0 12px; }
.plan__desc { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.plan__feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.plan__feats li { position: relative; padding-left: 26px; color: var(--body); font-size: .93rem; line-height: 1.45; }
.plan__feats li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--brand); font-weight: 700; }
.plan__feats li.is-note { color: var(--muted); font-size: .8rem; }
.plan__cta { margin-top: auto; width: 100%; justify-content: center; }
.plans__note { max-width: 780px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* ── Close ───────────────────────────────────────────────── */
.close { padding: 66px 0 70px; text-align: center; border-top: 1px solid var(--line); }
.close h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.close p { color: var(--muted); margin: 14px 0 26px; }

/* ── Footer ──────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; font-size: .92rem; color: var(--muted); }
.foot__row { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 9px; color: var(--body); font-family: var(--display); font-weight: 600; }
.foot__by { color: var(--muted); font-weight: 400; font-family: var(--sans); }
.foot__links { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.foot__links a { color: var(--body); }

/* ── Prose (download + help pages) ───────────────────────── */
.prose { max-width: 720px; margin: 0 auto; padding: 54px 0 40px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose .lede { font-size: 1.15rem; color: var(--body); margin: 16px 0 30px; }
.prose h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-soft); }
.dl-meta { list-style: none; padding: 0; margin: 18px 0 0; }
.dl-meta li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }
.dl-meta li:first-child { border-top: 0; }
.dl-meta .k { color: var(--muted); min-width: 118px; }
.dl-meta .v { color: var(--ink); font-weight: 600; }
.mono { font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace; font-size: .82rem; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; color: var(--ink); }
.callout { border-left: 3px solid var(--brand); background: var(--bg-soft); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0; color: var(--body); font-size: .96rem; }
.hub-links { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.hub-links a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: var(--ink); background: #fff; }
.hub-links a:hover { border-color: var(--brand); text-decoration: none; }
.hub-links b { display: block; font-family: var(--display); font-size: 1.05rem; }
.hub-links span { color: var(--muted); font-size: .92rem; }
.unavail { color: var(--muted); font-style: italic; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .brand__logo { height: 28px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding: 44px 0 30px; }
  .hero__grid, .feature__grid { grid-template-columns: 1fr; gap: 30px; }
  .feature--rev .feature__text { order: 0; }
  .pair { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles--built { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 13px 0; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
