:root {
  --bg: #F6F7FA;
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --line: #DFE4EC;
  --ink: #0E1524;
  --ink-2: #26304A;
  --muted: #4E5A72;
  --accent: #8A5A00;
  --accent-hover: #6B4500;
  --teal: #00796F;
  --gold: #F5B544;
  --night: #0E1524;
  --night-2: #131C30;
  --night-line: #22304D;
  --night-ink: #E8ECF4;
  --night-muted: #A9B3C7;
  --night-teal: #2EE6D6;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B111E;
    --surface: #131C30;
    --surface-2: #18223A;
    --line: #22304D;
    --ink: #E8ECF4;
    --ink-2: #C9D1E0;
    --muted: #A9B3C7;
    --accent: #F5B544;
    --accent-hover: #FFD27F;
    --teal: #2EE6D6;
    --night: #070B14;
    --night-2: #0E1524;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

code, .mono { font-family: var(--mono); font-size: 0.92em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--night); color: var(--night-ink); border-bottom: 1px solid var(--night-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night-ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: #FFFFFF; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--night-muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--night-ink); }

/* Hero */
.hero {
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(46, 230, 214, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(245, 181, 68, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--night);
  color: var(--night-ink);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 14px; color: var(--night-teal); letter-spacing: 0.02em; margin: 0 0 16px; }
.eyebrow .prompt { color: var(--gold); }
.hero h1 { margin: 0 0 20px; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 span { color: var(--gold); }
.hero p.lead { margin: 0 0 28px; font-size: 19px; color: var(--night-muted); max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon { display: inline-block; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 12px; background: var(--gold); color: #1B1405; }
.soon.flush { margin-top: 4px; }
.ghost { display: inline-block; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--night-line); color: var(--night-ink); text-decoration: none; background: rgba(255, 255, 255, 0.03); }
.ghost:hover { color: #FFFFFF; border-color: var(--night-teal); }
.platforms { margin: 16px 0 0; font-size: 14px; color: var(--night-muted); }
.hero-devices { position: relative; padding: 0 0 40px 40px; }
.hero-devices .mac-frame { box-shadow: 0 0 0 1px rgba(46, 230, 214, 0.08), 0 40px 90px rgba(0, 0, 0, 0.55); }
.hero-phone { position: absolute; left: 0; bottom: 0; width: 25%; }

/* Device frames (pure CSS, so screenshots can be swapped freely) */
figure { margin: 0; }
.mac-frame { background: #1B2338; border: 1px solid var(--night-line); border-radius: 12px; overflow: hidden; }
.mac-frame img, .phone-frame img, .tablet-frame img { display: block; width: 100%; height: auto; }
.phone-frame { background: #05070C; padding: 6px; border-radius: 30px; border: 1px solid #2B3550; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.phone-frame img { border-radius: 24px; }
.tablet-frame { background: #05070C; padding: 10px; border-radius: 26px; border: 1px solid #2B3550; box-shadow: 0 24px 60px rgba(14, 21, 36, 0.35); }
.tablet-frame img { border-radius: 16px; }
.phone-frame figcaption { color: var(--muted); font-size: 13px; line-height: 1.4; padding: 10px 4px 0; }
.showcase .phone-frame.duo { width: 42%; max-width: 220px; margin-top: 20px; background: transparent; border: 0; box-shadow: none; padding: 0; }
.showcase .phone-frame.duo img { background: #05070C; padding: 5px; border: 1px solid #2B3550; border-radius: 22px; box-shadow: 0 18px 40px rgba(14, 21, 36, 0.3); }

/* Trust strip */
.trust { background: var(--night-2); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); color: var(--night-ink); }
.trust ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.trust svg { color: var(--night-teal); flex: none; }

/* Sections */
section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card svg { color: var(--teal); }
.card h3 { margin: 12px 0 6px; font-size: 18px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.pro-tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 6px; background: var(--gold); color: #1B1405; vertical-align: 2px; }

/* Showcase */
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.showcase { background: var(--surface-2); }
.showcase .row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.showcase .row + .row { margin-top: 88px; }
.showcase .row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.showcase .mac-frame { box-shadow: 0 24px 60px rgba(14, 21, 36, 0.22); }
.showcase .devices { display: flex; gap: 20px; align-items: flex-end; }
.showcase .devices .tablet-frame { flex: 1 1 72%; min-width: 0; }
.showcase .devices .phone-frame { flex: 0 1 25%; min-width: 0; }
.showcase h3 { font-size: 26px; margin: 0 0 10px; letter-spacing: -0.015em; line-height: 1.2; }
.showcase p { color: var(--muted); margin: 0 0 12px; }

/* Privacy band */
.privacy-band {
  background: radial-gradient(60% 80% at 100% 50%, rgba(46, 230, 214, 0.1), transparent 70%), var(--night);
  color: var(--night-ink);
}
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.privacy-band .kicker { color: var(--gold); }
.privacy-band .section-lead { color: var(--night-muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; color: var(--night-teal); margin-top: 3px; }
.more { margin: 32px 0 0; }
.privacy-band a { color: var(--gold); }
.privacy-band a:hover { color: #FFD27F; }
.flow svg { display: block; width: 100%; height: auto; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.flow text { fill: var(--night-ink); font-size: 15px; font-weight: 700; text-anchor: middle; }
.flow .f-sub { fill: var(--night-muted); font-size: 13px; font-weight: 500; }
.f-line { stroke: var(--night-teal); stroke-width: 2.5; fill: none; }
.f-line.dashed { stroke: #5A6680; stroke-dasharray: 5 6; }
.f-node rect { fill: var(--night-2); stroke: var(--night-teal); stroke-width: 1.5; }
.f-hub rect { fill: #1A2440; stroke: var(--gold); stroke-width: 2; }
.f-hub .f-lockbody { fill: var(--gold); stroke: none; }
.f-lock { fill: none; stroke: var(--gold); stroke-width: 3; }
.f-none rect { fill: transparent; stroke: #5A6680; stroke-width: 1.5; stroke-dasharray: 5 6; }
.f-none text { fill: var(--night-muted); text-decoration: line-through; }
.f-none .f-sub { text-decoration: none; }

/* Maker */
.maker-band { background: var(--surface); border-top: 1px solid var(--line); }
.maker-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; max-width: 900px; }
.maker-cross { fill: var(--gold); filter: drop-shadow(0 8px 24px rgba(245, 181, 68, 0.35)); }
.maker-band h2 { margin-bottom: 10px; }
.maker-band p { color: var(--muted); margin: 0 0 12px; max-width: 40em; }
.maker-band .sig { color: var(--accent); font-weight: 700; font-style: italic; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .amount { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.plan .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 4px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.plan li + li { margin-top: 4px; }
.note { color: var(--muted); font-size: 15px; margin: 24px 0 0; }

/* Inner pages */
.page-title { background: var(--night); color: var(--night-ink); padding: 48px 0 40px; }
.page-title h1 { margin: 0 0 6px; font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.page-title p { margin: 0; color: var(--night-muted); }
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 18px 20px; margin: 0; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 0 0 8px; }
.contact p { margin: 0 0 8px; }
.contact .email { font-size: 22px; font-weight: 700; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style-position: outside; }
details p, details ul { color: var(--ink-2); }
details[open] summary { margin-bottom: 8px; }

/* 404 */
.notfound { text-align: center; padding: 96px 20px; }
.notfound .code { font-family: var(--mono); color: var(--teal); font-size: 15px; margin: 0 0 10px; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-muted); padding: 36px 0 44px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-start; }
.maker { display: flex; align-items: center; gap: 10px; color: var(--night-ink); }
.maker svg { flex: none; }
.maker .name { font-weight: 700; display: block; }
.maker .tag { color: var(--night-teal); font-weight: 600; font-size: 13px; display: block; }
.site-footer p { margin: 0; max-width: 44em; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--night-ink); }
.site-footer .legal { flex-basis: 100%; }

@media (max-width: 960px) {
  .hero-grid, .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 56px 0 64px; }
  .hero-devices { padding-left: 24px; padding-bottom: 28px; }
  .trust ul { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .grid, .plans, .checks { grid-template-columns: minmax(0, 1fr); }
  .showcase .row, .showcase .row.flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .showcase .row + .row { margin-top: 64px; }
  .showcase .row .text { order: -1; }
  .maker-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .maker-cross { width: 72px; height: 72px; }
  section { padding: 56px 0; }
}

@media (min-width: 600px) and (max-width: 860px) {
  .grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .phone-frame { padding: 4px; border-radius: 20px; }
  .phone-frame img { border-radius: 16px; }
  .tablet-frame { padding: 6px; border-radius: 16px; }
}
