/* GenAI Studio — marketing site. Light theme only (owner rule): there is deliberately no dark variant.
   Structure mirrors the To-Do List AI site (tasks-iOS/website); only the palette and a few components differ.
   System fonts only — nothing is loaded from a third-party font service. */

:root {
  /* Brand, sampled from the real app icon: #4F88F6 (top left) -> #6C63F0 -> #A155F5 (bottom right). */
  --icon-blue: #4f88f6;
  --icon-indigo: #6c63f0;
  --icon-violet: #a155f5;
  /* Text-safe (WCAG AA on white) versions of the same hues. */
  --blue: #1f5fd6;
  --blue-strong: #184db0;
  --indigo: #4f46e5;
  --violet: #6d28d9;
  --teal: #0f766e;

  --ink: #0b1220;
  --text: #1f2937;
  --muted: #56606f;
  --faint: #8a93a3;
  --line: #e6e8f0;
  --line-strong: #d7dbe6;
  --bg: #ffffff;
  --bg-soft: #f7f7fc;
  --bg-tint: #f1f2ff;
  --bg-violet: #f6f0ff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15, 23, 42, .04);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -6px rgba(15, 23, 42, .10);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 30px 60px -20px rgba(40, 30, 120, .28);
  --gradient: linear-gradient(135deg, var(--icon-blue) 0%, var(--icon-indigo) 50%, var(--icon-violet) 100%);
  --gradient-text: linear-gradient(100deg, #2f66e8 0%, #5146e6 50%, #7c3aed 100%);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-strong); }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .45); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.022em; margin: 0; font-weight: 750; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
code, kbd { font-family: var(--mono); font-size: .88em; }
code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .08em .38em; color: var(--ink); overflow-wrap: anywhere; }

.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 18px; height: 18px; }
.i-xs { width: 16px; height: 16px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled, .site-header.solid { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35); }
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.brand span b { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font: inherit; font-size: 15.5px; font-weight: 650; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { color: #fff; background: #1b2436; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14.5px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(79, 136, 246, .24), rgba(79, 136, 246, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: 8%; bottom: -30%; width: 55vw; max-width: 720px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(161, 85, 245, .18), rgba(161, 85, 245, 0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--gradient); color: #fff; }
.eyebrow .dot .i { width: 13px; height: 13px; stroke-width: 2.4; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -0.04em; line-height: 1.03; font-weight: 800; }
.grad { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--muted); margin: 22px 0 30px; max-width: 36em; }
.lede strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.appstore { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .15s ease; }
.appstore img { height: 56px; width: auto; }
.appstore:hover { transform: translateY(-1px); }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine .i { width: 16px; height: 16px; color: var(--indigo); stroke-width: 2.2; }

/* ------------------------------------------------------------------ illustrated app mocks (used instead of screenshots)
   Screenshots can replace any .mock later: drop them in /images/ and use the .phone frame below. */
.device-stage { position: relative; display: flex; justify-content: center; }
.device-stage::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 136, 246, .14), rgba(161, 85, 245, .08) 55%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}
.device-stage > * { position: relative; z-index: 1; }
.device-stage > .float-card { position: absolute; z-index: 2; }

.mock {
  width: 100%; max-width: 500px; background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 14px;
}
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock-bar .ttl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.mock-bar .ttl img { width: 22px; height: 22px; border-radius: 6px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 99px; background: var(--line-strong); display: block; }
.mock-q { justify-self: end; max-width: 88%; background: #eceaff; border: 1px solid #dcd8ff; color: #1e1b4b; border-radius: 16px; border-top-right-radius: 6px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; }
.mock-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-tools span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.mock-tools .i { width: 13px; height: 13px; stroke-width: 2.2; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mock-a { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fcfcff; display: grid; gap: 7px; align-content: start; }
.mock-a b { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink); }
.mock-a .d { width: 9px; height: 9px; border-radius: 99px; flex: none; }
.d1 { background: var(--icon-blue); } .d2 { background: var(--icon-indigo); } .d3 { background: var(--icon-violet); } .d4 { background: #14b8a6; }
.ln { display: block; height: 7px; border-radius: 99px; background: #e8eaf3; }
.ln.w95 { width: 95%; } .ln.w85 { width: 85%; } .ln.w75 { width: 75%; } .ln.w60 { width: 60%; } .ln.w45 { width: 45%; }

/* model picker mock */
.picker-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.picker-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); background: #fff; }
.picker-list li .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.picker-list li.on { background: var(--bg-tint); border-color: #d9dbff; }
.picker-list li.on .box { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.picker-list li .box .i { width: 13px; height: 13px; stroke-width: 3; }
.picker-list li small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--faint); }
.picker-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 650; color: var(--text); padding: 2px 2px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--bg-soft); }
.seg span { font-size: 12px; font-weight: 650; color: var(--muted); padding: 3px 10px; border-radius: 999px; }
.seg span.on { background: #fff; color: var(--indigo); box-shadow: var(--shadow-sm); }
.toggle { width: 40px; height: 24px; border-radius: 999px; background: var(--indigo); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); }

/* live voice mock */
.convo { display: grid; gap: 10px; }
.convo .row { display: flex; }
.convo .row.me { justify-content: flex-end; }
.convo .msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.convo .agent .msg { background: var(--bg-soft); border: 1px solid var(--line); border-top-left-radius: 6px; }
.convo .me .msg { background: #eceaff; border: 1px solid #dcd8ff; border-top-right-radius: 6px; color: #1e1b4b; }
.convo .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.bars { display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; }
.bars i { width: 6px; height: 20px; border-radius: 99px; background: var(--gradient); display: block; }
.bars i:nth-child(1) { height: 14px; } .bars i:nth-child(2) { height: 26px; } .bars i:nth-child(3) { height: 38px; } .bars i:nth-child(4) { height: 22px; }
.bars i:nth-child(5) { height: 32px; } .bars i:nth-child(6) { height: 18px; } .bars i:nth-child(7) { height: 28px; } .bars i:nth-child(8) { height: 12px; }
.live { width: 8px; height: 8px; border-radius: 99px; background: #7c3aed; box-shadow: 0 0 0 0 rgba(124, 58, 237, .5); animation: pulse 2s infinite; display: inline-block; margin-right: 2px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, .45); } 70% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); } }

/* phone frame, for real screenshots when they are added */
.phone {
  position: relative; width: min(330px, 74vw); aspect-ratio: 1320 / 2868;
  padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #2a2d34, #0e1015 45%, #25282f);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #474b54, inset 0 0 0 3px #111318;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 44px; background: #fff; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--ink); max-width: 250px; line-height: 1.35;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.float-card .badge { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-card .badge.v { background: var(--bg-violet); color: var(--violet); }
.float-card .badge.b { background: var(--bg-tint); color: var(--indigo); }
.float-a { top: -22px; right: -3%; }
.float-b { bottom: -22px; left: -4%; }

/* ------------------------------------------------------------------ strips */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logos .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding-top: 20px; padding-bottom: 20px; }
.logos .grp { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; }
.logos p { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; padding: 0; margin: 0; }
.logos li { font-size: 14.5px; font-weight: 600; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin: 0 0 14px; }
.kicker .i { width: 18px; height: 18px; }
.kicker.blue { color: var(--blue); }
.kicker.violet { color: var(--violet); }
.h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.035em; line-height: 1.06; font-weight: 800; }
.sub { font-size: clamp(17px, 1.8vw, 19.5px); color: var(--muted); line-height: 1.6; margin-top: 16px; max-width: 40em; }
.center .sub { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .device-stage { padding: 12px 0; }

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li > .ic { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: #3c4458; }
.checks li b { display: block; color: var(--ink); font-weight: 650; font-size: 16.5px; line-height: 1.35; }
.checks li span { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; color: var(--text); padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.chips li.lead { background: var(--ink); color: #fff; border-color: var(--ink); }

/* bento / cards */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(22px, 2.6vw, 30px); overflow: hidden;
  display: flex; flex-direction: column;
}
.card h3 { font-size: 21px; letter-spacing: -0.02em; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: 0; }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); color: #3c4458; }
.card .ic.tint { background: var(--bg-tint); border-color: #dcdefc; color: var(--indigo); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.card ul.mini { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.card ul.mini li { display: flex; gap: 8px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.card ul.mini li .i { width: 17px; height: 17px; margin-top: 2px; color: var(--indigo); stroke-width: 2.2; }

/* tiles inside the image card */
.tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tiles span { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: end start; padding: 6px 8px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .95); }
.tiles span:nth-child(1) { background: linear-gradient(160deg, #93c5fd, #4f88f6); }
.tiles span:nth-child(2) { background: linear-gradient(160deg, #c4b5fd, #6c63f0); }
.tiles span:nth-child(3) { background: linear-gradient(160deg, #f0abfc, #a155f5); }
.tiles span:nth-child(4) { background: linear-gradient(160deg, #99f6e4, #14b8a6); }

/* video player illustration inside the video card */
.player { position: relative; margin-top: 20px; aspect-ratio: 4 / 1.02; border-radius: 14px; border: 1px solid #dcdefc; background: linear-gradient(135deg, #dbe6ff 0%, #d9d6ff 50%, #ecdcff 100%); display: grid; place-items: center; overflow: hidden; }
.player .pb { width: 56px; height: 56px; border-radius: 99px; background: #fff; display: grid; place-items: center; color: var(--indigo); box-shadow: var(--shadow); }
.player .pb .i { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.player .track { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 99px; background: rgba(79, 70, 229, .18); }
.player .track::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 99px; background: var(--indigo); }

/* everything grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.grid-4 > div { padding: 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-4 > div:nth-child(4n) { border-right: 0; }
.grid-4 > div:nth-last-child(-n+4) { border-bottom: 0; }
.grid-4 .i { color: #3c4458; }
.grid-4 h3 { font-size: 16.5px; letter-spacing: -0.01em; margin: 12px 0 5px; }
.grid-4 p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* privacy strip */
.privacy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.privacy-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.privacy-grid h3 { font-size: 16.5px; letter-spacing: -0.01em; margin: 12px 0 6px; }
.privacy-grid p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.privacy-grid .i { color: var(--indigo); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px 26px; box-shadow: var(--shadow-sm); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 16px;
  box-shadow: 0 6px 16px -6px rgba(108, 99, 240, .8);
}
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border-radius: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 40px); overflow: hidden;
  display: flex; flex-direction: column;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--gradient); }
.price-card.alt { box-shadow: var(--shadow); }
.price-card.alt::before { background: linear-gradient(90deg, #c7c3ff, #e1ccff); }
.price-head { display: flex; align-items: center; gap: 16px; }
.price-head img { width: 60px; height: 60px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.price-head .coin { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); border: 1px solid #dcdefc; color: var(--indigo); flex: none; }
.price-head .coin .i { width: 28px; height: 28px; }
.price-head h3 { font-size: 20px; }
.price-head p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 24px 0 4px; }
.price .amt { font-size: clamp(48px, 7vw, 64px); font-weight: 800; letter-spacing: -0.045em; color: var(--ink); line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; font-size: 18px; }
.price-note { margin: 0; color: var(--muted); font-size: 14px; }
.trial { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--indigo); font-weight: 700; font-size: 14px; border: 1px solid #dcdefc; }
.trial .i { width: 16px; height: 16px; stroke-width: 2.2; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.price-card li .i { width: 20px; height: 20px; color: var(--indigo); stroke-width: 2.4; margin-top: 2px; }
.price-cta { margin-top: auto; padding-top: 24px; }
.price-cta .appstore img { height: 52px; }
.legal-fine { max-width: 980px; margin: 22px auto 0; font-size: 12.8px; color: var(--muted); line-height: 1.6; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.legal-fine p { margin: 0 0 .6em; }
.legal-fine p:last-child { margin: 0; }

/* FAQ — inline expansion, never a pop-up */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 650; color: var(--ink); font-size: 16.5px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ol, .faq .answer ul { margin: 0 0 1em; padding-left: 1.3em; }
.faq .answer li { margin-bottom: 4px; }

/* final CTA */
.final { text-align: center; }
.final .panel { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 7vw, 80px) var(--gutter); background: linear-gradient(160deg, #eef1ff 0%, #f5eeff 100%); border: 1px solid #e0defa; }
.final .panel img.app { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 22px; box-shadow: var(--shadow); }
.final .cta-row { justify-content: center; margin-top: 28px; }
.final .sub { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 40px; font-size: 14.5px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand { margin-bottom: 12px; color: var(--ink); }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .tm { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.8px; line-height: 1.6; color: var(--faint); }
.site-footer .tm p { margin: 0 0 6px; }
.foot-tag { margin: 0 0 6px; }
.foot-mail { margin: 0; }

/* ------------------------------------------------------------------ document pages (privacy, terms, support) */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); background: linear-gradient(180deg, #f4f3ff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -0.035em; font-weight: 800; }
.page-hero .sub { margin-top: 14px; }
.meta-line { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.doc { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 16px; }
.toc p { font-weight: 700; color: var(--ink); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.toc a { color: var(--muted); text-decoration: none; line-height: 1.35; display: block; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 760px; font-size: 16.5px; line-height: 1.7; min-width: 0; }
.prose h2 { font-size: clamp(23px, 2.6vw, 28px); letter-spacing: -0.02em; margin: 2.2em 0 .7em; padding-top: .4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; letter-spacing: -0.01em; margin: 1.7em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--faint); }
.prose .summary-box { background: var(--bg-tint); border: 1px solid #dcdefc; border-radius: var(--radius); padding: 20px 22px; margin: 0 0 2em; }
.prose .summary-box h2 { margin: 0 0 .6em; font-size: 19px; padding: 0; }
.prose .summary-box ul { margin: 0; }
.prose .callout { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 1.4em 0; }
.prose .callout.warn { background: #fff8eb; border-color: #f6dfb2; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 14.5px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 1em 0 1.6em; }
.table-scroll table { margin: 0; min-width: 620px; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.prose .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }

/* support page */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow); margin-bottom: 36px; }
.contact-card h2 { font-size: 21px; margin: 0 0 4px; padding: 0; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.prose h2 .h-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); color: #3c4458; margin-right: 12px; vertical-align: -6px; }
.prose h2 .h-ic .i { width: 18px; height: 18px; }
.prose .faq { margin-bottom: 1em; }
.prose .faq .answer { font-size: 15.5px; }
.prose .faq summary { font-size: 16px; }
.support-foot { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .sub { margin-left: auto; margin-right: auto; }
.center-kicker { justify-content: center; }

/* ------------------------------------------------------------------ utilities */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-28 { margin-top: 28px; }
.pt-0 { padding-top: 0 !important; }
.stack { display: grid; gap: 18px; }
.nowrap { white-space: nowrap; }
.hide-sm { display: inline; }
h1, .h2, .page-hero h1 { text-wrap: balance; }
.sub, .lede, .card p, .checks li span { text-wrap: pretty; }
.center .sub, .section-head.center .sub { text-wrap: balance; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1060px) {
  .nav-links a { padding: 8px 9px; font-size: 14.5px; }
  .float-a { right: 0; }
  .float-b { left: 0; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row, .hero-copy .fine { justify-content: center; }
  .hero .device-stage { padding: 28px 0 10px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .span-6 { grid-column: span 2; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .grid-4 > div:nth-child(2n) { border-right: 0; }
  .grid-4 > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .grid-4 > div:nth-last-child(-n+2) { border-bottom: 0; }
  .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border-left: 0; padding: 18px 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav { height: 58px; gap: 12px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-6 { grid-column: span 1; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .grid-4 > div:last-child { border-bottom: 0 !important; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .mock { padding: 14px; border-radius: 22px; }
  .mock-grid { gap: 8px; }
  .mock-a { padding: 10px; }
  .float-card { font-size: 13px; padding: 8px 11px; max-width: 190px; gap: 8px; }
  .float-card .badge { width: 28px; height: 28px; border-radius: 9px; }
  .float-card small { font-size: 11.5px; }
  .hide-sm { display: none; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: span 1; }
  .appstore img { height: 52px; }
  .contact-card { padding: 20px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player { aspect-ratio: 2 / 1; }
}
@media (max-width: 400px) {
  .float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .live { animation: none; }
}

@media print {
  .site-header, .site-footer, .toc, .skip { display: none !important; }
  .doc-grid { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
}
