/* Lenscord site v2 (2026-10-19)
   One accent (teal; mint in the dark), one display serif (Newsreader 500, OFL, self-hosted), the system sans for text.
   Red is used only for "Live". Device frames are pure CSS; screenshots are raw captures.
   No inline styles anywhere: the CSP is style-src 'self'. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens (brand spec 1.3 / 5.4) ---------- */
:root {
  color-scheme: light;
  --background: #F5F0E8;      /* paper */
  --surface: #FBF8F3;         /* cards, inputs */
  --surface-quiet: #ECE4D7;   /* sand: alternate section ground */
  --separator: #DCD2C3;
  --field-line: #857A6C;      /* form-field edge, 3:1 or more on every ground */
  --label: #1C1915;           /* 15.4:1 on paper */
  --secondary-label: #574E45; /* 7.2:1 on paper */
  --placeholder: #6F655A;
  --accent: #0A6E60;          /* teal: 5.4:1 on paper, white on it 5.8:1 */
  --accent-press: #08584D;
  --on-accent: #FFFFFF;
  --live: #D70015;            /* only for "Live" */
  --warning: #9A5B00;
  --device: #111418;          /* bezels, ink tile, closer card */
  --on-device: #F5F0E8;
  --on-device-2: #BDB2A3;
  --accent-on-device: #5DF0D3;/* mint: 13:1 on --device */
  --header: rgba(245, 240, 232, .92);
  --wallpaper: radial-gradient(120% 90% at 85% 0%, #CFE5DE 0%, rgba(207, 229, 222, 0) 60%), linear-gradient(150deg, #E4EEE9 0%, #EADFCF 60%, #DCCBB3 100%);
  --menubar: rgba(255, 255, 255, .62);
  --menubar-ink: #1C1915;
  --window: #ECECEC;
  --window-bar: #E3E3E3;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --section: clamp(64px, 9vw, 128px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(17, 20, 24, .08), 0 30px 60px -30px rgba(17, 20, 24, .45);
  --shadow-soft: 0 1px 2px rgba(17, 20, 24, .08), 0 16px 32px -20px rgba(17, 20, 24, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #111418;    /* ink */
    --surface: #1B1F25;
    --surface-quiet: #161A1F;
    --separator: #2A3038;
    --field-line: #7A838E;
    --label: #F4F1EA;         /* 16.4:1 on ink */
    --secondary-label: #A7ADB5; /* 8.2:1 on ink */
    --placeholder: #8C949E;
    --accent: #5DF0D3;        /* mint: 13:1 on ink */
    --accent-press: #3FD9BA;
    --on-accent: #111418;
    --live: #FF453A;
    --warning: #FFB340;
    --on-device: #F4F1EA;
    --on-device-2: #A7ADB5;
    --header: rgba(17, 20, 24, .9);
    --wallpaper: radial-gradient(120% 90% at 85% 0%, #17423C 0%, rgba(23, 66, 60, 0) 60%), linear-gradient(150deg, #1A2626 0%, #15191E 60%, #0E1013 100%);
    --menubar: rgba(30, 33, 38, .72);
    --menubar-ink: #F4F1EA;
    --window: #1E1E1E;
    --window-bar: #2A2B2F;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 30px 60px -30px rgba(0, 0, 0, .8);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 32px -20px rgba(0, 0, 0, .7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--background); color: var(--label);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1100px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 56px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--label); color: var(--background); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.eyebrow { font: 600 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--separator); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 22px/1 var(--serif); letter-spacing: -.01em; color: var(--label); }
.mark svg { width: 30px; height: 30px; flex: none; border-radius: 22.5%; }
@media (prefers-color-scheme: dark) {
  .mark svg { box-shadow: 0 0 0 1px var(--separator); }
}
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--secondary-label); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--label); }
.nav .nav-cta { color: var(--label); font-weight: 600; padding: 9px 16px; border: 1.5px solid var(--label); border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.nav .nav-cta:hover { background: var(--label); color: var(--background); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } .nav .nav-cta { padding: 8px 14px; font-size: 14px; } }

/* ---------- Buttons and forms ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px;
  padding: 0 24px; min-height: 52px; border-radius: 14px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: progress; }
.notify { position: relative; }
.notify-row { display: flex; flex-direction: column; gap: 10px; }
.notify input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px;
  background: var(--surface); border: 1.5px solid var(--field-line); color: var(--label); font-size: 16px;
}
.notify input[type="email"]::placeholder { color: var(--placeholder); opacity: 1; }
.notify input[type="email"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.notify input[aria-invalid="true"] { border-color: var(--warning); }
@media (min-width: 520px) { .notify-row { flex-direction: row; } .notify-row input { flex: 1; min-width: 0; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify-status:not(:empty) { margin-top: 10px; font-size: 15px; }
.notify-status.is-error { color: var(--warning); }
.notify-status.is-ok { color: var(--accent); font-weight: 600; font-size: 17px; }
.notify.is-done .notify-row { display: none; }
.fine { margin-top: 10px; font-size: 14px; color: var(--secondary-label); }
.price { font: 500 clamp(19px, 2vw, 22px)/1.3 var(--serif); }

/* ---------- Device frames (brand spec 4.4): pure CSS, no images ---------- */
/* Phone: --w is the frame's outer width. Screenshots are 1170 x 2532 captures (19.5:9). */
.device-phone {
  --w: 200px; --b: calc(var(--w) * .034);
  position: relative; flex: none; width: var(--w); padding: var(--b);
  border-radius: calc(var(--w) * .165); background: var(--device);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 calc(var(--b) * .45) #23272E;
}
.device-phone img { width: 100%; border-radius: calc(var(--w) * .132); background: #000; }
.device-phone::after { /* Dynamic Island */
  content: ""; position: absolute; left: 50%; top: calc(var(--b) + var(--w) * .03);
  width: calc(var(--w) * .29); height: calc(var(--w) * .085);
  transform: translateX(-50%); background: #000; border-radius: 999px;
}
.device-phone.is-landscape { --h: calc(var(--w) * .462); --b: calc(var(--h) * .034); border-radius: calc(var(--h) * .165); }
.device-phone.is-landscape img { border-radius: calc(var(--h) * .132); }
.device-phone.is-landscape::after {
  left: calc(var(--b) + var(--h) * .03); top: 50%;
  width: calc(var(--h) * .085); height: calc(var(--h) * .29); transform: translateY(-50%);
}

/* Mac window with traffic lights; the screenshot is the window's content. */
.device-window { width: 100%; border-radius: 12px; overflow: hidden; background: var(--window); box-shadow: var(--shadow), 0 0 0 1px rgba(17, 20, 24, .10); }
.window-bar { height: 28px; display: flex; gap: 8px; align-items: center; padding-left: 12px; background: var(--window-bar); border-bottom: 1px solid rgba(0, 0, 0, .07); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.window-bar i:nth-child(2) { background: #FEBC2E; }
.window-bar i:nth-child(3) { background: #28C840; }
.device-window.is-dark { background: #000; }
.device-window.is-dark .window-bar { background: #2A2B2F; border-bottom-color: rgba(255, 255, 255, .06); }
.device-window img { width: 100%; }

/* Mac desktop: wallpaper, a menu bar with the Lenscord glyph, and the real menu bar panel under it.
   Sized in container units, so the whole picture scales as one. */
.desk-wrap { container-type: inline-size; width: 100%; }
.desk {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10.4; border-radius: 2.4cqw;
  background: var(--wallpaper); box-shadow: var(--shadow), 0 0 0 1px rgba(17, 20, 24, .10);
}
.desk-bar {
  display: flex; justify-content: flex-end; align-items: center; gap: 2.4cqw;
  height: 4.6cqw; padding-inline: 3cqw; background: var(--menubar); color: var(--menubar-ink);
  font: 600 max(9px, 2.1cqw)/1 var(--sans);
}
.desk-bar svg { height: 3cqw; width: 3cqw; padding: .3cqw; border-radius: .8cqw; background: rgba(127, 127, 127, .25); }
.desk-panel {
  position: absolute; top: 5.6cqw; right: 3.4cqw; width: 46cqw;
  border-radius: 2cqw; box-shadow: 0 0 0 1px rgba(17, 20, 24, .12), 0 2cqw 5cqw -1cqw rgba(17, 20, 24, .45);
}
.desk.is-tall { aspect-ratio: 1 / 1; }
.desk.is-tall .desk-panel { width: 84cqw; right: 8cqw; top: 9cqw; border-radius: 3.4cqw; }
.desk.is-tall .desk-bar { height: 7cqw; font-size: max(9px, 3.6cqw); gap: 4cqw; padding-inline: 5cqw; }
.desk.is-tall .desk-bar svg { width: 4.8cqw; height: 4.8cqw; border-radius: 1.2cqw; padding: .5cqw; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 4vw, 56px) var(--section); }
.hero-grid { display: grid; gap: 32px; grid-template-areas: "copy" "stage" "form"; }
.hero-copy { grid-area: copy; }
.hero-form { grid-area: form; }
/* Hero picture: a Mac with a video call and the Lenscord panel, and the iPhone sending the picture.
   The desk is sized in its own container units; the phone overlaps the desk's lower right corner. */
.hero-stage { grid-area: stage; min-width: 0; container-type: inline-size; position: relative; padding: 0 5% 12% 0; }
.hero-stage .desk { aspect-ratio: 16 / 10; }
.hero-stage .hero-phone { position: absolute; right: 0; top: calc(100cqw * .95 * .625 - 12cqw); --w: 50cqw; }
.desk-call { position: absolute; left: 4cqw; top: 8.4cqw; width: 64cqw; border-radius: 1.4cqw; }
.desk-call .window-bar { height: 3.4cqw; gap: 1cqw; padding-left: 1.6cqw; }
.desk-call .window-bar i { width: 1.4cqw; height: 1.4cqw; }
.hero-stage .desk-panel { width: 40cqw; }
.hero-note { position: absolute; left: 0; bottom: 0; max-width: 46cqw; font-size: 13px; line-height: 1.35; color: var(--secondary-label); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--secondary-label); padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface-quiet); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
h1 {
  margin-top: 22px;
  font: 500 clamp(2.4rem, 9vw, 4.3rem)/1.03 var(--serif); letter-spacing: -.025em;
  text-wrap: balance;
}
.accent { color: var(--accent); }
.lede { margin-top: 20px; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.45; color: var(--secondary-label); max-width: 26em; text-wrap: pretty; }
.hero-form { max-width: 480px; }
.hero-form .price { margin-top: 20px; }
@media (max-width: 400px) { .hero-grid { gap: 24px; } h1 { margin-top: 16px; } .lede { margin-top: 14px; } }
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "copy stage" "form stage";
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 5vw, 80px); row-gap: 32px; align-items: start;
  }
  .hero-copy { align-self: end; }
  .hero-stage { align-self: center; }
}

/* ---------- Section headings ---------- */
.section-head h2, .gets-head h2, .faq-head h2, .price-card h2 {
  font: 500 clamp(2.1rem, 4.6vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.02em; text-wrap: balance;
}
.section-head h2 { margin-top: 14px; max-width: 14em; }
.soft { color: var(--secondary-label); }

/* ---------- How it works ---------- */
.how { background: var(--surface-quiet); padding-block: var(--section); }
.steps { display: grid; gap: 40px; margin-top: clamp(32px, 5vw, 56px); }
.steps > li { min-width: 0; }
.step-stage {
  display: grid; place-items: center; height: 340px; padding: 20px;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
}
.step-stage .device-phone { --w: 142px; }
.step-stage .device-window { max-width: 330px; }
.step-stage .desk-wrap { max-width: 280px; }
.steps h3 { margin-top: 22px; font: 500 clamp(1.45rem, 2.2vw, 1.75rem)/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.step-n { color: var(--accent); margin-right: 10px; }
.steps p { margin-top: 8px; color: var(--secondary-label); max-width: 24em; }
.how-help { margin-top: clamp(32px, 4vw, 48px); }
.how-help a, .faq-more a { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); } }
@media (max-width: 899px) { .step-stage { height: auto; padding: 28px 20px; } }

/* ---------- What you get ---------- */
.gets { padding-block: var(--section); }
.gets-head h2 { max-width: 15em; }
.gets-grid { display: grid; gap: 48px 32px; margin-top: clamp(32px, 5vw, 56px); }
.gets-grid > article { min-width: 0; }
.get-stage {
  display: flex; justify-content: center; align-items: flex-start;
  height: clamp(300px, 32vw, 400px); padding: clamp(28px, 3.4vw, 44px) 24px 0;
  background: var(--surface-quiet); border-radius: var(--radius); overflow: hidden;
}
.get-stage .device-phone { --w: clamp(180px, 20vw, 230px); }
.get-stage .device-window { max-width: 440px; }
.get-stage.is-center { align-items: center; padding-bottom: 28px; }
.gets h3 { margin-top: 24px; font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1.12 var(--serif); letter-spacing: -.015em; }
.gets article p { margin-top: 8px; color: var(--secondary-label); max-width: 26em; text-wrap: pretty; }
@media (min-width: 820px) { .gets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); border-top: 1px solid var(--separator); }
.faq-grid { display: grid; gap: 32px; }
.faq-more { margin-top: 16px; color: var(--secondary-label); }
.faq-list { border-top: 1px solid var(--separator); }
.faq-list details { border-bottom: 1px solid var(--separator); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font: 500 clamp(1.2rem, 1.8vw, 1.4rem)/1.3 var(--serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--label);
  transition: transform .3s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list a { color: var(--accent); text-underline-offset: 3px; }
.faq-list details p { padding: 0 48px 26px 0; color: var(--secondary-label); max-width: 36em; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 5vw, 88px); } }

/* ---------- Closer: the ink card ---------- */
.closer { padding-bottom: var(--section); }
.price-card {
  background: var(--device); color: var(--on-device); border-radius: 28px;
  padding: clamp(28px, 6vw, 80px); display: grid; gap: 32px;
}
@media (prefers-color-scheme: dark) { .price-card { background: var(--surface); box-shadow: 0 0 0 1px var(--separator); } }
.price-card .fine, .price-card .reqs { color: var(--on-device-2); }
.price-card .btn { background: var(--accent-on-device); color: #111418; }
.price-card .btn:hover { background: #3FD9BA; }
.price-card .notify input[type="email"] { background: #1B1F25; border-color: #7A838E; color: #F4F1EA; }
.price-card .notify input[type="email"]::placeholder { color: #8C949E; }
.price-card .notify input[type="email"]:focus-visible { outline-color: #5DF0D3; border-color: #5DF0D3; }
.price-card .notify-status.is-error { color: #FFB340; }
.price-card .notify-status.is-ok { color: #5DF0D3; }
.price-card :focus-visible { outline-color: #5DF0D3; }
.price-card .price { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(244, 241, 234, .16); }
.reqs { margin-top: 8px; font-size: 14px; }
@media (min-width: 980px) { .price-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 5vw, 88px); align-items: center; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 0 48px; font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: baseline; padding-top: 32px; border-top: 1px solid var(--separator); }
.foot-brand strong { font: 500 20px/1 var(--serif); margin-right: 10px; color: var(--label); }
.foot-brand { color: var(--secondary-label); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { padding-block: 6px; color: var(--label); text-underline-offset: 4px; }
.legal { margin-top: 24px; font-size: 13px; color: var(--secondary-label); max-width: 60em; }
.legal + .legal { margin-top: 6px; }
.doc .site-footer, .plain .site-footer { margin-top: 112px; }

/* ---------- Support and privacy pages ---------- */
.doc-hero { padding-block: clamp(32px, 6vw, 80px) clamp(32px, 5vw, 64px); }
.doc-hero h1 { margin-top: 16px; font-size: clamp(2.4rem, 7vw, 4rem); }
.doc-hero .lede { max-width: 32em; }
.doc-hero .lede a, .doc-meta a, .prose a, .notfound a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.doc-meta { margin-top: 24px; font-size: 15px; color: var(--secondary-label); max-width: 44em; }
.doc-layout { display: grid; gap: 32px; }
.toc { background: var(--surface-quiet); border-radius: 18px; padding: 20px 22px; font-size: 15px; }
.toc p { font: 600 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--secondary-label); margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; columns: 2 12em; column-gap: 24px; }
.toc li { break-inside: avoid; }
.toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--label); }
.toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 980px) {
  .doc-layout { grid-template-columns: 240px minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .toc { position: sticky; top: 92px; background: none; padding: 2px 0 2px 3px; margin-left: -3px; max-height: calc(100vh - 120px); overflow: auto; }
  .toc ul { columns: auto; border-left: 1px solid var(--separator); }
  .toc a { padding: 5px 0 5px 16px; color: var(--secondary-label); }
}

.prose { max-width: 44em; min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--separator); font: 500 clamp(1.9rem, 3.4vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.015em; }
.prose > h2:first-child, .prose > section:first-child > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose section > * + * { margin-top: 16px; }
.prose section { margin-top: 72px; }
.prose section:first-child { margin-top: 0; }
.prose section > h2 { margin-top: 0; }
.prose h3 { margin-top: 32px; font: 500 clamp(1.35rem, 2.2vw, 1.55rem)/1.2 var(--serif); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose code { font: 0.88em/1.4 var(--mono); background: var(--surface-quiet); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.prose kbd { font: 600 0.9em/1 var(--mono); background: var(--surface); border: 1px solid var(--separator); border-bottom-width: 2px; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.prose .keys { list-style: none; padding: 0; }
.prose .keys li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.prose li > .after-list { display: block; margin-top: 10px; }
.note, .callout { background: var(--surface-quiet); border-radius: 14px; padding: 16px 20px; }
.callout { border-left: 4px solid var(--accent); }
.callout > * + * { margin-top: 10px; }
.addr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--separator); border-radius: 14px; padding: 12px 12px 12px 18px; }
.addr code { background: none; padding: 0; font-size: 16px; flex: 1 1 14em; }
.copy-btn { appearance: none; border: 0; cursor: pointer; background: var(--label); color: var(--background); font-weight: 600; font-size: 15px; border-radius: 10px; padding: 10px 16px; min-height: 44px; }
.copy-btn:hover { opacity: .88; }
.doc-shot { margin-top: 24px; background: var(--surface-quiet); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px) clamp(16px, 3vw, 32px); }
.doc-shot .shot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.doc-shot .device-phone { --w: 180px; }
.doc-shot .device-phone.is-landscape { --w: min(76vw, 380px); }
.doc-shot .device-window { max-width: 520px; margin-inline: auto; }
.doc-shot .desk-wrap { max-width: 340px; margin-inline: auto; }
.doc-shot figcaption { margin-top: 18px; font-size: 14px; color: var(--secondary-label); text-align: center; }

.dtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--separator); }
.dtable thead th { font: 600 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--secondary-label); }
.dtable tbody th { width: 36%; font-weight: 600; }
@media (max-width: 680px) {
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; width: auto; }
  .dtable tbody th { width: auto; padding: 16px 0 4px; border: 0; }
  .dtable td { padding: 0 0 16px; }
}

/* 404 */
.notfound { padding-block: clamp(48px, 10vw, 140px); }
.notfound h1 { margin-top: 16px; }
.notfound .btn { display: inline-flex; align-items: center; margin-top: 32px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Dark: lift the ink bezels and window edges off the ink ground. */
@media (prefers-color-scheme: dark) {
  .device-phone { box-shadow: var(--shadow), 0 0 0 1px #3A414B, inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 calc(var(--b) * .45) #23272E; }
  .device-window, .desk { box-shadow: var(--shadow), 0 0 0 1px #3A414B; }
}

/* ---------- Night 2026-10-20: /mac/, the price reassurance, the comparison ---------- */
/* /mac/ hero: the copy and the waitlist on the left, the menu bar panel on the right. */
.mac-hero { padding-block: clamp(32px, 6vw, 80px) var(--section); }
.mac-hero-grid { display: grid; gap: 40px; }
.mac-hero-copy h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.mac-get { margin-top: 32px; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--separator); border-radius: var(--radius); max-width: 560px; }
.mac-get-title { font: 500 clamp(1.5rem, 2.4vw, 1.8rem)/1.15 var(--serif); letter-spacing: -.01em; }
.mac-get-truth { margin-top: 10px; margin-bottom: 20px; color: var(--secondary-label); }
.mac-tester { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--separator); font-size: 15px; color: var(--secondary-label); }
.mac-tester a, .mac-small a, .compare-sources a { color: var(--accent); text-underline-offset: 3px; }
.mac-hero-stage { min-width: 0; max-width: 460px; width: 100%; margin-inline: auto; }
.mac-stage-note { margin-top: 14px; font-size: 13px; color: var(--secondary-label); text-align: center; }
@media (min-width: 980px) {
  .mac-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 80px); align-items: center; }
}
.mac-does { background: var(--surface-quiet); padding-block: var(--section); }
.mac-grid { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.mac-grid article { background: var(--surface); border-radius: 18px; padding: 24px; min-width: 0; }
.mac-grid h3 { font: 500 clamp(1.3rem, 2vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.01em; }
.mac-grid p { margin-top: 8px; color: var(--secondary-label); }
.mac-grid strong { font-weight: 600; color: var(--label); }
@media (min-width: 680px) { .mac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mac-shot { margin-top: 40px; }
.mac-shot .device-window { max-width: 720px; margin-inline: auto; }
.mac-shot figcaption { margin-top: 14px; font-size: 14px; color: var(--secondary-label); text-align: center; }
.mac-needs { padding-block: var(--section) 0; }
.mac-needs-grid { display: grid; gap: 24px 32px; }
.mac-needs h2 { margin-top: 14px; font: 500 clamp(2.1rem, 4.6vw, 3.2rem)/1.05 var(--serif); letter-spacing: -.02em; text-wrap: balance; max-width: 12em; }
.mac-list { list-style: none; padding: 0; border-top: 1px solid var(--separator); }
.mac-list li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--separator); position: relative; }
.mac-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 7px; margin-top: -6px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.mac-small { margin-top: 18px; color: var(--secondary-label); max-width: 36em; }
.mac-needs .price { margin-top: 28px; }
@media (min-width: 980px) { .mac-needs-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 5vw, 88px); } }

/* What you get: four short promises beside the price (home closer and /mac/). */
.assure { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--secondary-label); }
.assure li { position: relative; padding-left: 22px; }
.assure li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.price-card .assure { color: var(--on-device-2); }
.price-card .assure li::before { border-color: var(--accent-on-device); }

/* Home: a link to /mac/ under step 2. */
.steps .step-link { margin-top: 10px; }
.step-link a { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }

/* Home: Mac camera, Continuity Camera and Lenscord, side by side. Facts only, dated, with sources. */
.compare-table-wrap { margin-top: clamp(56px, 7vw, 88px); }
.compare-table-wrap h3 { font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1.12 var(--serif); letter-spacing: -.015em; }
.compare-table-wrap > p { margin-top: 8px; color: var(--secondary-label); max-width: 40em; }
.ctable { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.ctable caption { text-align: left; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--separator); }
.ctable thead th { font: 600 13px/1.25 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--secondary-label); }
.ctable thead th.is-us { color: var(--accent); }
.ctable tbody th { font-weight: 600; width: 22%; }
.ctable td { color: var(--secondary-label); width: 26%; text-wrap: pretty; }
.ctable td.is-us { color: var(--label); }
.ctable sup { font-size: .75em; line-height: 0; }
.ctable sup a { color: var(--accent); text-decoration: none; padding: 0 1px; }
.compare-sources { margin-top: 16px; font-size: 13px; color: var(--secondary-label); max-width: 60em; }
.compare-sources li + li { margin-top: 4px; }
.compare-sources ol { list-style: decimal; padding-left: 1.4em; margin-top: 6px; }
@media (max-width: 760px) {
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; width: auto; }
  .ctable tr { padding: 14px 0; border-bottom: 1px solid var(--separator); }
  .ctable tbody th { padding: 0 0 8px; border: 0; width: auto; }
  .ctable td { padding: 4px 0 4px 0; border: 0; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; }
  .ctable td::before { content: attr(data-col); font-size: 13px; font-weight: 600; color: var(--secondary-label); }
  .ctable td.is-us::before { color: var(--accent); }
}

/* Home: the real side-by-side photo (filled in by tools/capture-compare.sh). Hidden until real pictures exist. */
.compare-photos { margin-top: clamp(32px, 5vw, 56px); }
.compare-photos[hidden] { display: none !important; }
.compare-pair { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-pair img { width: 100%; border-radius: 12px; background: var(--surface-quiet); }
.compare-pair figure figcaption { margin-top: 6px; font-size: 13px; color: var(--secondary-label); }
.compare-close { margin-top: 12px; }
.compare-photos > figcaption { margin-top: 16px; font-size: 14px; color: var(--secondary-label); }
