:root {
  --yellow: #ffd60a;
  --yellow-deep: #dea30a;
  --amber-text: #855e00;
  --ink: #111113;
  --ink-2: #4b4b52;
  --line: #e4e2dc;
  --bg: #ffffff;
  --bg-soft: #f6f5f0;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 28px rgba(0,0,0,.07);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #f4f3ef; --ink-2: #a9a8a2; --line: #26262b; --bg: #08080a; --bg-soft: #111114; --card: #16161a; --amber-text: #ffd60a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.5); color-scheme: dark; }
}
:root[data-theme="dark"] { --ink: #f4f3ef; --ink-2: #a9a8a2; --line: #26262b; --bg: #08080a; --bg-soft: #111114; --card: #16161a; --amber-text: #ffd60a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.5); color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--yellow); color: #111; padding: 8px 12px; z-index: 99; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav.main { display: flex; gap: 24px; flex: 1; }
nav.main a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
nav.main a:hover { color: var(--ink); }
.header-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: #ffe14d; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn[aria-disabled="true"] { opacity: .85; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }

/* Hero: split layout with plan selector card */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.eyebrow img { width: 40px; height: 40px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -.02em; margin: 18px 0 16px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 .hl { background: none; color: var(--yellow); } }
:root[data-theme="dark"] .hero h1 .hl { background: none; color: var(--yellow); }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.plan-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.plan-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 14px 14px 0; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.plan-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--yellow); box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .45s cubic-bezier(.65,0,.25,1.15); }
.plan-tabs[data-active="1"] .plan-pill { transform: translateX(100%); }
.plan-tab { position: relative; z-index: 1; background: none; border: 0; padding: 10px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: color .3s; }
.plan-tab[aria-selected="true"] { color: #111; }
.plan-viewport { overflow: hidden; transition: height .45s cubic-bezier(.65,0,.25,1); }
.plan-track { display: flex; align-items: flex-start; transition: transform .45s cubic-bezier(.65,0,.25,1); }
.plan-tabs[data-active="1"] ~ .plan-viewport .plan-track { transform: translateX(-100%); }
.plan-panel { flex: 0 0 100%; padding: 28px; transition: opacity .35s; }
.plan-panel[aria-hidden="true"] { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .plan-pill, .plan-track, .plan-viewport, .plan-panel { transition: none; } }
.plan-panel h2 { margin: 0 0 4px; font-size: 22px; }
.plan-panel .sub { color: var(--ink-2); margin: 0 0 20px; font-size: 15px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.plan-panel ul { margin: 18px 0 24px; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.plan-panel .btn { width: 100%; }
.plan-panel .fine { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; text-align: center; }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--yellow) 22%, var(--card)); font-size: 14px; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 12px; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #111; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-2); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--card); padding: 30px; }
.feature .ic { font-size: 26px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Compare table, like a plan comparison */
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: var(--bg); font-size: 15px; }
.compare thead th.pick { background: var(--yellow); color: #111; }
.compare td.c { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }

.reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.req { border-top: 3px solid var(--yellow-deep); padding-top: 14px; }
.req b { display: block; margin-bottom: 4px; }
.req span { color: var(--ink-2); font-size: 15px; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--amber-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

.cta-band { background: var(--yellow); color: #111; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; letter-spacing: -.02em; }
.cta-band p { margin: 0 0 28px; font-size: 18px; }
.cta-band .btn-outline { border-color: #111; color: #111; }
.cta-band .btn-outline:hover { background: #111; color: var(--yellow); }
.row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer.site { padding: 48px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.legal h1 { font-size: 40px; letter-spacing: -.02em; }
.legal h2 { margin-top: 36px; }
.legal p, .legal li { color: var(--ink-2); }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.center-page img { width: 96px; margin: 0 auto 20px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .steps, .features { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: 1fr 1fr; }
  nav.main, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { margin-left: 0; }
  body.nav-open nav.main { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); padding: 16px 24px; border-bottom: 1px solid var(--line); }
  section { padding: 64px 0; }
  .compare th, .compare td { padding: 12px; font-size: 14px; }
}
@media (max-width: 520px) { .wrap { padding: 0 16px; } .reqs { grid-template-columns: 1fr; } .header-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Theme toggle */
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun, .theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root:not([data-theme]) .theme-toggle .auto { display: block; }
.theme-toggle .auto { display: none; }
header.site .theme-toggle { margin-left: auto; }
@media (min-width: 901px) { header.site .theme-toggle { margin-left: 0; } }

/* Drawn app window (no real screenshots) */
.mock { max-width: 980px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #15171c; }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #22252c; color: #c9ccd3; font-size: 13px; font-weight: 600; }
.mock-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; }
.mock-body { display: grid; grid-template-columns: 180px 1fr; min-height: 380px; }
.mock-side { background: #1b1e24; padding: 18px 14px; display: grid; gap: 10px; align-content: start; }
.mock-side b { display: block; height: 12px; border-radius: 6px; background: #2b2f37; }
.mock-side b:first-child { background: #ffd60a; width: 70%; }
.mock-main { padding: 20px; display: grid; gap: 18px; align-content: start; }
.mock-hero { height: 150px; border-radius: 10px; background: linear-gradient(120deg, #ffd60a, #dea30a 45%, #3a2a00); display: flex; align-items: flex-end; padding: 16px; }
.mock-hero span { color: #111; font-weight: 800; font-size: 20px; background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 6px; }
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mock-grid u { aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(160deg, #2e333d, #1f232a); }
.mock-grid u:nth-child(3n+1) { background: linear-gradient(160deg, #4a3d12, #22252c); }
@media (max-width: 600px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .mock-grid { grid-template-columns: repeat(3, 1fr); } }
.legal nav ol { columns: 2; color: var(--ink-2); font-size: 15px; }
.legal .compare { font-size: 14px; margin: 16px 0; }
.legal .compare th, .legal .compare td { padding: 10px 12px; vertical-align: top; }
@media (max-width: 600px) { .legal nav ol { columns: 1; } .legal .compare { display: block; overflow-x: auto; } }

/* Guides */
.legal.wide { max-width: 1000px; }
.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.guide { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .12s; }
.guide:hover { border-color: var(--yellow-deep); }
.guide h2 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.guide p { margin: 0; font-size: 14px; }
@media (max-width: 700px) { .guides { grid-template-columns: 1fr; } }
.byline { font-size: 14px; color: var(--ink-2); margin-top: -8px; }

/* Trial and buy pages */
.checkout { max-width: 980px; margin: 0 auto; padding: 56px 16px 88px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.checkout h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; margin: 0 0 8px; }
.checkout .lead { color: var(--ink-2); margin: 0 0 28px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-row:last-child { border-bottom: 0; font-weight: 800; font-size: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.field input { height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 14px; font: inherit; font-weight: 400; }
.field input:focus { outline: 3px solid color-mix(in srgb, var(--yellow) 60%, transparent); border-color: var(--yellow-deep); }
.checkout .btn { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.steps-list li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: #111; font-weight: 800; display: grid; place-items: center; }
.steps-list b { display: block; }
.steps-list span { color: var(--ink-2); font-size: 15px; }
.progress { height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; margin: 18px 0 6px; }
.progress i { display: block; height: 100%; width: 40%; background: var(--yellow); border-radius: 6px; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.keybox { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; background: var(--bg-soft); border: 1px dashed var(--yellow-deep); border-radius: 12px; padding: 14px; margin: 14px 0; text-align: left; }
.trust { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 13px; margin-top: 14px; justify-content: center; }
@media (max-width: 820px) { .checkout { grid-template-columns: 1fr; padding-top: 32px; } }

/* Real screenshots of the app */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); display: block; }
.shots figcaption { color: var(--ink-2); font-size: 14px; margin-top: 10px; text-align: center; }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; } }
