/* Thinky site. Tokens follow the app's Theme.swift (DESIGN-REVIEW.md 10.33): the same paper, ink roles, hairline,
   well, system blue, continuous radii 22/12/5, New York for voice, SF Pro for reading, SF Rounded keycaps.
   One column, left aligned, lots of room. No web fonts: on a Mac these are the system faces.
   Three acts (what it is, why, trust and action): 64px inside an act, 200px between acts (DESIGN-REVIEW.md 10.34). */
:root {
  --paper: #FDFCF9;            /* Theme.Palette.paperSolid, light */
  --ink: #1D1D1F;
  --ink-2: rgba(0, 0, 0, 0.66); /* textSecondary */
  --ink-3: rgba(0, 0, 0, 0.62); /* textTertiary, still AA */
  --line: rgba(0, 0, 0, 0.08);  /* hairline */
  --well: rgba(0, 0, 0, 0.035); /* well */
  --sheet: #FFFFFF;
  --blue: #007AFF;              /* system accent */
  --ok: #177833;                /* Theme.Palette.success */
  --err: #C4271D;
  --serif: "New York", ui-serif, "Iowan Old Style", Charter, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --col: 600px;
  --act: 200px;
  --within: 64px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B1B1D;
    --ink: #F5F5F2;
    --ink-2: rgba(255, 255, 255, 0.68);
    --ink-3: rgba(255, 255, 255, 0.62);
    --line: rgba(255, 255, 255, 0.10);
    --well: rgba(255, 255, 255, 0.05);
    --sheet: #242426;
    --blue: #0A84FF;
    --ok: #66D678;
    --err: #FF6961;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; color: var(--ink); }
h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.1; letter-spacing: -0.012em; max-width: 13em; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -0.005em; }
.hero h1 { font-weight: 400; line-height: 1.12; max-width: 8em; }
.hero h1 strong { font-weight: 700; }
.body { max-width: var(--col); color: var(--ink-2); }
.lede { max-width: var(--col); color: var(--ink); margin-top: 28px; font-size: 19px; line-height: 1.6; }
.body { margin-top: 16px; }
.fine { font-size: 14px; color: var(--ink-3); }
kbd { display: inline-block; font: 500 12.5px/1 var(--rounded); padding: 5px 8px; border-radius: 5px; background: var(--well); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }

/* Top */
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 600 19px/1 var(--serif); color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark { width: 20px; height: 20px; }
.top nav { display: flex; gap: 28px; font-size: 15px; }
.top nav a { color: var(--ink-2); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* Button: the app's one prominent action. Capsule like a macOS prominent button, no glow. */
.btn { display: inline-block; background: var(--blue); color: #fff; font: 600 15px/1 var(--sans); padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }

/* Acts */
section { padding: 0; }
.act { padding-top: var(--act); }
.within { padding-top: var(--within); }
.hero { padding-top: 120px; }
.cta { margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* The real card, rendered by the app itself (DesignSnapshot v16-site-hero). The PNG carries its own island
   shadow on a transparent canvas with a 56pt margin (112 of 1504 px), so it is pulled left by that margin to line the card's
   edge up with the text column, and it runs past the 600px column to the right. The picker fades out. */
.island { margin: 72px auto 0; max-width: 1040px; padding: 0 32px; }
.island picture, .island img { display: block; }
.hero { overflow-x: clip; }
.island img { width: min(940px, 116%); margin-left: calc(min(940px, 116%) * -0.0745); height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 99%); mask-image: linear-gradient(to bottom, #000 70%, transparent 99%); }

/* Shortcuts: the same rows as the app's last setup step. */
.keys { list-style: none; margin: 40px 0 0; padding: 4px 16px; max-width: var(--col); background: var(--well); border-radius: 12px; }
.keys li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; font-size: 15px; }
.keys li + li { border-top: 1px solid var(--line); }

/* Quote */
.said { margin: 0; max-width: 760px; }
.said p { font: italic 30px/1.4 var(--serif); letter-spacing: -0.005em; color: var(--ink); text-indent: -0.42em; }
.said footer { margin-top: 24px; font-size: 15px; color: var(--ink-3); }

/* Value props: a single left column, hairlines, one ink, icons on the same 24 grid. */
.values { padding-top: 96px; }
.values-list { list-style: none; margin: 36px 0 0; padding: 0; max-width: 720px; }
.values-list li { display: grid; grid-template-columns: 40px 1fr; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.values-list li:last-child { border-bottom: 1px solid var(--line); }
.value-icon { width: 32px; height: 32px; color: var(--ink); margin-top: 0; display: block; }
.values-list h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -0.005em; margin: 0; color: var(--ink); }
.values-list p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 38em; }
.values-extra { list-style: none; margin: 36px 0 0; padding: 0; max-width: 720px; display: grid; gap: 14px; }
.values-extra li { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.values-extra strong { color: var(--ink); font-weight: 600; }

/* How it works: the app list closes the section as a quieter note. */
.apps { margin-top: 32px; font-size: 15px; color: var(--ink-3); }

/* Privacy facts */
.facts { margin: 32px 0 0; max-width: 720px; }
.facts div { display: grid; grid-template-columns: 168px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: 15px; }
.facts dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.more { margin-top: 24px; font-size: 15px; }

/* Waitlist */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "email btn" "note note"; gap: 12px; max-width: 520px; margin-top: 32px; }
.waitlist input[type=email] { grid-area: email; }
.waitlist textarea { grid-area: note; }
.waitlist button { grid-area: btn; }
.waitlist input[type=email], .waitlist textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; }
.waitlist textarea { resize: none; min-height: 52px; font-size: 15px; }
.waitlist input:focus, .waitlist textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.waitlist button[disabled] { opacity: 0.6; cursor: default; }
.wl-status { margin-top: 16px; min-height: 1.5em; font-size: 15px; font-weight: 600; }
.wl-status.err { color: var(--err); }
.wl-status.ok { color: var(--ok); }
#beta .fine { margin-top: 4px; }

/* FAQ */
.faq { margin-top: 24px; max-width: var(--col); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* Footer */
.signoff { font: 600 clamp(30px, 3.6vw, 40px)/1.15 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.closing { padding-bottom: 8px; }

.foot { margin-top: 120px; padding: 48px 0 72px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
/* The SF line: the same block as the app's About and last setup step. The emoji is a stamp on its own
   line at 22px, and the sentence is New York italic, so neither fights the other's baseline. */
.origin { max-width: 36em; }
.origin .stamp { display: block; font: normal 22px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif; margin-bottom: 10px; }
.origin p { font: italic 15px/1.55 var(--serif); color: var(--ink-2); }
.links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.links a { color: var(--ink-2); }
.disclaimer { margin-top: 16px; font-size: 12.5px; max-width: 60em; }

/* Legal pages */
.legal { max-width: var(--col); padding-top: 96px; }
.legal h1 { font-size: 40px; }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: 14px; }
.legal h2 { font-size: 21px; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal li + li { margin-top: 8px; }
.legal .lead { margin-top: 32px; }
.legal .cta { margin-top: 32px; }

@media (max-width: 720px) {
  :root { --act: 136px; --within: 56px; }
  body { font-size: 16px; }
  .wrap { padding: 0 24px; }
  .top .wrap { height: 72px; }
  .hero { padding-top: 64px; }
  .lede { font-size: 17px; margin-top: 24px; }
  .island { margin-top: 48px; padding: 0 12px; }
  .said p { font-size: 24px; }
  .values { padding-top: 72px; }
  .values-list h3 { font-size: 20px; }
  .values-list { margin-top: 28px; }
  .values-list li { grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 0; }
  .value-icon { width: 30px; height: 30px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .waitlist { grid-template-columns: 1fr; grid-template-areas: "email" "note" "btn"; }
  .waitlist button { justify-self: start; }
  .keys li { font-size: 14px; }
}
