/* getbecomingapp.com: the presentation page. Same typefaces and palette as the app (dist/styles.css). */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/dm-sans.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/dm-serif-display.woff2') format('woff2'); }
:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --surface: #fffefa;
  --ink: #233b32;
  --muted: #52645b;
  --border: #d9dfd5;
  --green: #275441;
  --deep: #1d3c33;
  --sage: #e8eee3;
  --clay: #b0714c;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible, .store-button:focus-visible { outline: 3px solid #a56336; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 10px 18px; background: var(--surface); border: 2px solid var(--green); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.dot { color: var(--clay); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-top: 18px; max-width: 58ch; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: baseline; font: 30px/1 var(--serif); letter-spacing: -1.2px; color: var(--ink); text-decoration: none; position: relative; }
.brand-star { position: absolute; left: 1px; top: -9px; font: 12px/1 var(--sans); color: var(--clay); }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.top-nav a:not(.button) { color: var(--ink); text-decoration: none; }
.top-nav a:not(.button):hover { color: var(--green); text-decoration: underline; }
@media (max-width: 760px) { .top-nav a:not(.button) { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--green); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.button.ghost { background: transparent; color: var(--green); border-color: #a9b8a5; }
.button.ghost:hover { background: var(--sage); }
.button.ghost.light { color: #f4f2e8; border-color: #7f9a8d; }
.button.ghost.light:hover { background: #ffffff14; }
.store-button { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; }
.store-button svg { width: 24px; height: 28px; }
.store-button span { display: grid; font: 600 21px/1.1 var(--sans); letter-spacing: -.01em; }
.store-button small { font-size: 12px; font-weight: 500; letter-spacing: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cta .button, .cta .store-button { height: 58px; min-height: 58px; border-radius: 14px; box-sizing: border-box; }
.cta .button { padding: 0 26px; font-size: 17px; }
.cta .store-button { border: 1px solid #111; }
.closing .cta .store-button { border-color: #f4f2e8; }
.cta.center { justify-content: center; }

/* Hero */
.hero { overflow: hidden; background: radial-gradient(90% 70% at 15% 0%, #fffefa 0%, var(--paper) 50%, #eef1e6 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero h1 { font: 400 clamp(46px, 7vw, 84px)/1.03 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: italic; }
.assurances { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.assurances li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }
.hero-art { align-self: end; }
.phone { width: min(100%, 360px); margin: 0 auto -120px; padding: 10px; border-radius: 52px; background: #121815; box-shadow: 0 40px 90px #0d1f1a40, inset 0 0 0 1.5px #3c4a44; }
.phone img { width: 100%; border-radius: 42px; aspect-ratio: 600 / 1150; object-fit: cover; object-position: top; }
.hero { padding-bottom: 0; }
.hero-art { padding-top: 10px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .phone { width: min(100%, 320px); }
}

/* Sections */
.section { padding: 96px 0; }
.section h2 { font: 400 clamp(34px, 5vw, 54px)/1.1 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.steps article { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sage); color: var(--green); font-weight: 700; }
.steps h3 { font: 400 26px/1.2 var(--serif); margin: 16px 0 8px; }
.steps p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 34px #0d1f1a1f; background: var(--sage); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .gallery figure { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ADHD-friendly */
.adhd { background: radial-gradient(110% 80% at 20% 0%, #2f5a4c 0%, var(--deep) 55%, #16302a 100%); color: #f4f2e8; }
.adhd .eyebrow { color: #b7c7b6; }
.adhd .lead { color: #c9d4c4; }
.adhd .dot { color: #e0a47a; }
.adhd-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.features li { padding: 16px 18px; border-radius: 14px; background: #ffffff0d; border: 1px solid #ffffff1c; color: #d6dfd2; }
.features strong { color: #fff; }
.fine { margin-top: 22px; font-size: 14px; color: #a9b9a8; }
.mock-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: inset 5px 0 0 var(--green), 0 30px 70px #00000040; }
.mock-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock-title { font: 30px/1.15 var(--serif); margin: 6px 0 14px; }
.mock-step { background: var(--sage); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.mock-why { font-size: 14px; color: var(--muted); margin-top: 12px; }
.mock-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mock-actions span { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.mock-actions .mock-primary { background: var(--green); color: #fff; border-color: var(--green); }
.mock-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--green); }
.mock-timer { margin: 18px 0 0 auto; max-width: 300px; background: #fffefa; color: var(--ink); border-radius: 18px; padding: 18px 20px; text-align: center; box-shadow: 0 24px 60px #00000040; }
.mock-clock { display: block; font: 52px/1 var(--serif); color: var(--green); }
.mock-note { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .adhd-grid { grid-template-columns: 1fr; } .mock-timer { margin-right: auto; } }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.privacy-grid p:last-child { margin-top: 20px; font-weight: 600; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.facts strong { font: 400 22px/1.2 var(--serif); }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Closing */
.closing { background: var(--deep); color: #f4f2e8; text-align: center; }
.closing .lead { color: #c9d4c4; margin-left: auto; margin-right: auto; }
.closing .dot { color: #e0a47a; }
.closing .store-button { background: #f4f2e8; color: #111; }

/* Footer */
.foot { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
