/* Snapglass website. Framework-free, no JavaScript.
   App tokens come from tokens.css (generated from design/spec/meniscus.json).
   The brand's water, ink and glass values below are not app tokens: they come from the
   DMG installer art and the brand kit, and each one cites its source.
     DMG   = assets/src/installer.svg (design/brand/VISUAL-DNA.md §1.2)
     KIT   = design/brand/kit/water.css and glass.css (VISUAL-DNA §1.1)
     ICON  = assets/src/app-icon.icon (VISUAL-DNA §1.2) */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Pixel"; src: url("../fonts/GeistPixel-Square.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ brand values */
:root {
  color-scheme: light dark;

  /* Water (DMG shallows stops and the kit's paper ground) */
  --water-surface: #DFF8EE;          /* DMG shallows, top stop */
  --water-mid: #99DBD8;              /* DMG shallows, .45 stop */
  --water-floor: #42A4B3;            /* DMG shallows, bottom stop */
  --water-paper: #F0F8F7;            /* KIT paper ground, mid stop */
  --water-paper-hi: #FAFDFC;         /* KIT paper ground, top stop */
  --water-paper-lo: #E3F2F2;         /* KIT paper ground, bottom stop */
  --water-deep: #1C6F7E;             /* KIT deep ground base */
  --water-night: #0E303A;            /* KIT deep ground, one step darker (design/brand/web/prep.py "night") */
  --water-night-hi: #15515F;         /* night ground, .42 stop */
  --water-night-floor: #0A2730;      /* night ground under the floor */
  --water-band: var(--sg-aqua-300);  /* ICON surface band #8FE3EF (= token) */
  --water-shadow: 18 75 87;          /* DMG feDropShadow #124B57, as r g b */
  --sand-1: #EBE8CD;                 /* DMG sand dune top */

  /* Ink (DMG title ink; VISUAL-DNA §2.4) */
  --ink-deepwater: #153B43;
  --ink-deepwater-2: #305C63;
  --ink-foam: #EEF9F7;               /* KIT light ink on deep water */
  --ink-foam-2: #BEDCD8;

  /* Page roles (light) */
  --page: var(--water-paper);
  --ink: var(--ink-deepwater);
  --ink-2: var(--ink-deepwater-2);
  --rule: rgb(var(--water-shadow) / .14);
  --well-ground: url("../art/ground-shallows.svg");
  --well-base: var(--water-mid);
  --hero-ground: url("../art/ground-shallows.svg");
  --hero-base: var(--water-mid);
  --band-ground: url("../art/ground-night.svg");   /* light text needs the darker ground in both modes */
  --band-base: var(--water-night-hi);
  --head-ground: url("../art/ground-shallows-wide.svg");
  --meniscus: url("../art/meniscus.svg");
  --meniscus-r: url("../art/meniscus-right.svg");
  --bubbles: url("../art/bubbles.svg");
  --accent-ink: var(--sg-fish-700);   /* orange text on light: fish-700 (VISUAL-DNA §1.5) */

  /* Layout */
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --sect: clamp(88px, 11vw, 152px);

  font-family: "Geist", -apple-system, system-ui, sans-serif;
  font-weight: 440;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: var(--water-night);
    --ink: var(--ink-foam);
    --ink-2: var(--ink-foam-2);
    --rule: rgb(190 230 228 / .14);
    --well-ground: url("../art/ground-night.svg");
    --well-base: var(--water-night-hi);
    --hero-ground: url("../art/ground-night.svg");
    --hero-base: var(--water-night-hi);
    --band-ground: url("../art/ground-night.svg");
    --band-base: var(--water-night-floor);
    --head-ground: url("../art/ground-night-wide.svg");
    --meniscus: url("../art/meniscus-night.svg");
    --meniscus-r: url("../art/meniscus-right-night.svg");
    --bubbles: url("../art/bubbles-night.svg");
    --accent-ink: var(--sg-fish-400);
  }
}

/* ------------------------------------------------------------------ glass contexts (KIT glass.css) */
:root, .on-paper {
  --g-body-1: rgb(255 255 255 / .72);
  --g-body-2: rgb(234 241 244 / .50);
  --g-sky: rgb(255 255 255 / .40);
  --g-pool: rgb(139 162 182 / .34);
  --g-wall: rgb(255 255 255 / .55);
  --g-inner: rgb(255 255 255 / 1);
  --g-lip: rgb(255 255 255 / .95);
  --g-hair: rgb(21 25 29 / .13);
  --g-edge-1: rgb(255 255 255 / .98);
  --g-edge-2: rgb(255 255 255 / .46);
  --g-edge-3: rgb(167 185 201 / .40);
  --g-edge-4: rgb(255 255 255 / .70);
  --g-spec: #FFFFFF;
  --g-glint: rgb(255 255 255 / .88);
  --g-shadow: 0 14px 30px -14px rgb(21 25 29 / .30), 0 1px 2px rgb(21 25 29 / .08);
  --g-ink: var(--ink-deepwater);
  --g-ink-2: var(--ink-deepwater-2);
  --g-num: var(--sg-fish-700);
  --g-frame-wall-1: rgb(178 232 241 / .80);
  --g-frame-wall-2: rgb(143 223 236 / .62);
  --g-frame-inner: #D2F5FB;           /* ICON inner hairline */
  --g-frame-hair: rgb(27 147 171 / .55); /* ICON outline #1B93AB */
}
.on-water {
  --g-body-1: rgb(236 250 247 / .54);
  --g-body-2: rgb(186 230 230 / .34);
  --g-sky: rgb(255 255 255 / .26);
  --g-pool: rgb(53 184 207 / .40);
  --g-wall: rgb(255 255 255 / .34);
  --g-inner: rgb(255 255 255 / .92);
  --g-hair: rgb(18 75 87 / .20);
  --g-edge-3: rgb(88 163 176 / .34);
  --g-edge-4: rgb(255 255 255 / .62);
  --g-shadow: 0 8px 18px rgb(var(--water-shadow) / .20), 0 1px 2px rgb(var(--water-shadow) / .10);
  --g-frame-wall-1: rgb(168 230 240 / .62);
  --g-frame-wall-2: rgb(125 214 229 / .44);
}
.on-deep {
  --g-body-1: rgb(58 132 146 / .46);
  --g-body-2: rgb(16 66 80 / .52);
  --g-sky: rgb(230 252 250 / .12);
  --g-pool: rgb(92 208 227 / .34);
  --g-wall: rgb(220 246 246 / .14);
  --g-inner: rgb(226 250 250 / .42);
  --g-lip: rgb(236 252 252 / .55);
  --g-hair: rgb(2 26 34 / .38);
  --g-edge-1: rgb(236 252 252 / .82);
  --g-edge-2: rgb(220 248 248 / .26);
  --g-edge-3: rgb(110 196 208 / .22);
  --g-edge-4: rgb(200 244 244 / .42);
  --g-spec: rgb(255 255 255 / .94);
  --g-glint: rgb(214 248 246 / .62);
  --g-shadow: 0 12px 26px rgb(3 30 40 / .42), 0 1px 2px rgb(3 30 40 / .25);
  --g-ink: var(--ink-foam);
  --g-ink-2: var(--ink-foam-2);
  --g-num: var(--sg-fish-400);
  --g-frame-wall-1: rgb(120 206 220 / .50);
  --g-frame-wall-2: rgb(53 160 182 / .40);
  --g-frame-inner: rgb(210 245 251 / .60);
  --g-frame-hair: rgb(2 26 34 / .45);
  --g-floor: rgb(12 44 54 / .72);   /* keeps the edge ring's light out of the body, so ink holds contrast */
}
/* Dark pages: every context is deep water. */
@media (prefers-color-scheme: dark) {
  :root, .on-paper, .on-water {
    --g-body-1: rgb(58 132 146 / .40);
    --g-body-2: rgb(16 66 80 / .50);
    --g-sky: rgb(230 252 250 / .10);
    --g-pool: rgb(92 208 227 / .30);
    --g-wall: rgb(220 246 246 / .12);
    --g-inner: rgb(226 250 250 / .36);
    --g-lip: rgb(236 252 252 / .50);
    --g-hair: rgb(2 26 34 / .45);
    --g-edge-1: rgb(236 252 252 / .78);
    --g-edge-2: rgb(220 248 248 / .24);
    --g-edge-3: rgb(110 196 208 / .20);
    --g-edge-4: rgb(200 244 244 / .40);
    --g-spec: rgb(255 255 255 / .90);
    --g-glint: rgb(214 248 246 / .58);
    --g-shadow: 0 14px 30px -10px rgb(2 20 28 / .55), 0 1px 2px rgb(2 20 28 / .30);
    --g-ink: var(--ink-foam);
    --g-ink-2: #D8EBE8;   /* KIT foam inks, 55 % #EEF9F7 + 45 % #BEDCD8 */
    --g-num: var(--sg-fish-400);
    --g-frame-wall-1: rgb(120 206 220 / .42);
    --g-frame-wall-2: rgb(53 160 182 / .34);
    --g-frame-inner: rgb(210 245 251 / .50);
    --g-frame-hair: rgb(2 26 34 / .55);
    --g-floor: rgb(12 44 54 / .72);
  }
}

/* ------------------------------------------------------------------ glass anatomy (KIT glass.css)
   outer hairline · 135° edge ring · wall · inner hairline · lip · top-left specular ·
   bottom-right glint · foot meniscus · ground-tinted shadow. Light from the top-left. */
.glass, .plaque, .chip, .frame, .droplet {
  --rim: 4px; --edge: 1.5px; --r: 22px; --spec-w: 2.5px;
  --spec-x: 34%; --spec-y: 52%; --glint-x: 22%; --glint-y: 34%; --pool: 14px;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  border: var(--edge) solid transparent;
  border-radius: var(--r);
  color: var(--g-ink);
  background:
    linear-gradient(180deg, var(--g-sky), transparent 48%) padding-box,
    linear-gradient(180deg, var(--g-body-1), var(--g-body-2)) padding-box,
    linear-gradient(var(--g-floor, transparent), var(--g-floor, transparent)) padding-box,
    linear-gradient(135deg, var(--g-edge-1), var(--g-edge-2) 32%, var(--g-edge-3) 68%, var(--g-edge-4)) border-box;
  box-shadow:
    inset 0 1px 0 var(--g-lip),
    inset 0 calc(-.6 * var(--pool)) var(--pool) calc(-.7 * var(--pool)) var(--g-pool),
    inset 0 0 0 var(--rim) var(--g-wall),
    0 0 0 .5px var(--g-hair),
    var(--g-shadow);
  outline: 1px solid var(--g-inner);
  outline-offset: calc(-1px - var(--rim) - var(--edge));
}
.glass::before, .plaque::before, .chip::before, .frame::before,
.glass::after, .plaque::after, .chip::after, .frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  inset: max(0px, calc(var(--rim) * .5 - var(--spec-w) * .5));
  border-radius: max(0px, calc(var(--r) - var(--edge) - max(0px, var(--rim) * .5 - var(--spec-w) * .5)));
  border: var(--spec-w) solid transparent;
}
.glass::before, .plaque::before, .chip::before, .frame::before {
  border-top-color: var(--g-spec);
  border-left-color: var(--g-spec);
  -webkit-mask: linear-gradient(90deg, #000 calc(var(--spec-x) * .55), transparent var(--spec-x)), linear-gradient(180deg, #000 calc(var(--spec-y) * .55), transparent var(--spec-y));
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, #000 calc(var(--spec-x) * .55), transparent var(--spec-x)), linear-gradient(180deg, #000 calc(var(--spec-y) * .55), transparent var(--spec-y));
  mask-composite: intersect;
}
.glass::after, .plaque::after, .chip::after, .frame::after {
  border-width: calc(var(--spec-w) * .72);
  inset: max(0px, calc(var(--rim) * .5 - var(--spec-w) * .36));
  border-bottom-color: var(--g-glint);
  border-right-color: var(--g-glint);
  -webkit-mask: linear-gradient(270deg, #000 calc(var(--glint-x) * .45), transparent var(--glint-x)), linear-gradient(0deg, #000 calc(var(--glint-y) * .45), transparent var(--glint-y));
  -webkit-mask-composite: source-in;
  mask: linear-gradient(270deg, #000 calc(var(--glint-x) * .45), transparent var(--glint-x)), linear-gradient(0deg, #000 calc(var(--glint-y) * .45), transparent var(--glint-y));
  mask-composite: intersect;
}

/* Plaque: the DMG title pill with the full anatomy. */
.plaque {
  --r: 999px; --rim: 3px; --spec-w: 2.5px; --spec-x: 22%; --spec-y: 80%; --glint-x: 14%; --glint-y: 80%; --pool: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 22px 13px;
  font-weight: 560; font-size: 16px; letter-spacing: -.01em; line-height: 1.2;
  text-decoration: none;
}
.plaque .bead { width: 9px; height: 9px; border-radius: 50%; background: var(--sg-accent-2-bead); box-shadow: var(--sg-bead-shadow); flex: none; }

/* Chip: a Geist Pixel readout on a small glass capsule. Names and numbers only. */
.chip {
  --r: 999px; --rim: 2px; --spec-w: 1.6px; --edge: 1px;
  --spec-x: 24%; --spec-y: 80%; --glint-x: 16%; --glint-y: 80%; --pool: 9px;
  display: inline-flex; align-items: baseline; gap: .55em;
  padding: .52em 1em .5em;
  font-family: "Geist Pixel", ui-monospace, monospace;
  font-size: 15px; line-height: 1; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "ss09" 1;   /* plain zero: the slashed one reads as Ø (matches App Store slide 8) */
  white-space: nowrap;
}
.chip__num { color: var(--g-ink); }
.chip__unit { color: var(--g-ink-2); }
.chip--lg { font-size: clamp(20px, 2.2vw, 28px); --rim: 3px; --spec-w: 2px; --pool: 14px; }

/* Frame: a glass bezel around a real render. The render sits inside the wall. */
.frame {
  --r: var(--sg-r-slab); --rim: 6px;   /* one frame for every window crop on the site */ --spec-w: 2.5px;
  --spec-x: 22%; --spec-y: 40%; --glint-x: 14%; --glint-y: 24%; --pool: 18px;
  display: block; margin: 0; padding: var(--rim); line-height: 0; outline: none;
  box-shadow:
    inset 0 1px 0 var(--g-lip),
    inset 0 -6px 10px -6px var(--g-pool),
    0 0 0 .5px var(--g-hair),
    0 36px 70px -34px rgb(var(--water-shadow) / .42),
    var(--g-shadow);
}
.frame > img, .frame > picture > img {
  display: block; width: 100%; height: auto;
  border-radius: max(2px, calc(var(--r) - var(--rim) - var(--edge)));
  box-shadow: 0 0 0 1px var(--g-inner), 0 0 0 1.5px var(--g-hair);
}
@media (prefers-color-scheme: dark) {
  .frame { box-shadow: inset 0 1px 0 var(--g-lip), inset 0 -10px 16px -12px var(--g-pool), 0 0 0 1px var(--g-frame-hair), 0 40px 80px -34px rgb(0 12 18 / .7), var(--g-shadow); }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
figure { margin: 0; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sg-accent-halo-focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 580; color: var(--ink); text-wrap: balance; font-feature-settings: "kern" 1, "liga" 1; }
h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -.042em; }
h2 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.02; letter-spacing: -.036em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.016em; font-weight: 570; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; }
kbd { font: 500 .92em "Geist", -apple-system, system-ui, sans-serif; padding: .1em .45em; border-radius: var(--sg-r-inner); border: 1px solid var(--rule); background: rgb(255 255 255 / .55); white-space: nowrap; }
@media (prefers-color-scheme: dark) { kbd { background: rgb(255 255 255 / .06); } }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: var(--sg-r-cta); background: var(--page); color: var(--ink); }
.skip:focus { top: 12px; }
.textlink { font-weight: 540; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 5px; }
.textlink:hover { text-decoration-color: currentColor; }
.textlink--accent { color: var(--accent-ink); text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ water grounds */
.water { position: relative; isolation: isolate; }
.grain::after {   /* DMG film grain: a background layer, never over UI (UI sits above at z 1+) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../art/grain.svg") 0 0 / 256px 256px repeat;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand__icon { width: 36px; height: auto; filter: drop-shadow(0 3px 4px rgb(var(--water-shadow) / .22)); }
.brand__word img { height: 19px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { background: rgb(255 255 255 / .35); }
@media (prefers-color-scheme: dark) { .site-nav a:hover { background: rgb(255 255 255 / .08); } }

/* ------------------------------------------------------------------ hero */
.hero {
  background: var(--hero-ground) 0 0 / cover no-repeat, var(--hero-base);
  padding-top: clamp(120px, 14vw, 172px);
  padding-bottom: clamp(72px, 9vw, 128px);
  overflow: clip;
}
.hero::before, .page-head::before {   /* the seam where the water meets the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / .7), rgb(var(--water-shadow) / .18));
}
@media (prefers-color-scheme: dark) { .hero::before, .page-head::before { background: linear-gradient(180deg, rgb(200 244 244 / .16), rgb(0 0 0 / .2)); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 32px; align-items: center; }
.hero__copy { position: relative; z-index: 3; }
.hero__copy .chip { margin-bottom: 30px; }
.hero h1 { max-width: 11.5ch; font-size: clamp(44px, 5.6vw, 80px); }
.hero__lede { margin-top: 28px; max-width: 30em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
/* Apple's official badge, unmodified: at least 40 px tall, clear space of a quarter of its height on every side. */
.store-link { display: inline-block; padding: 12px; margin: -12px; line-height: 0; border-radius: 10px; }
.store-badge { display: block; height: 48px; width: auto; }
.facts-list .store-link { margin: 0; padding: 12px 0; }
.hero__scene { position: relative; z-index: 2; }
/* Hero scene (round 6, the App Store slide-1 concept). The real capture, cropped hard
   (scenes/slide1-capture-headline.png, device 120,240 to 1620,760), with the same lens drawn
   at 8x as a callout, tied to the real 108 pt lens by its two exterior tangents. Positions
   are in % of the capture (1500 x 520 device px): real lens centre (1284, 345) r 108;
   callout centre (1260, 1060) r 432, below the capture so the tangents cross only empty page, canvas 1312. Tangents: design/brand/web/LOG.md. */
.hero__scene { padding-bottom: calc(var(--hero-w) * 1000 / 1500); --hero-w: min(640px, 46vw); }
.hero__frame { width: calc(var(--hero-w) + 15px); }
.hero__media { position: relative; }
.hero__capture { display: block; width: 100%; height: auto; border-radius: max(2px, calc(var(--r) - var(--rim) - var(--edge))); box-shadow: 0 0 0 1px var(--g-inner), 0 0 0 1.5px var(--g-hair); }
.hero__tether { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.hero__lens {
  position: absolute; z-index: 4;
  left: 40.267%; top: 77.692%; width: 87.467%; height: auto;   /* (1260-656)/1500, (1060-656)/520, 1312/1500 */
  animation: settle var(--sg-spring-settle) var(--sg-ease-jelly) backwards;
  animation-delay: 120ms;
}
.hero__size { position: absolute; z-index: 5; left: 49%; top: 260.2%; margin: 0; }   /* the callout's readout: tucked under its lower-left rim */
@keyframes settle {   /* one buoyant settle: rise from just below, a single overshoot, rest */
  from { transform: translateY(26px); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero__lens { animation: none; } }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--sect); position: relative; overflow-x: clip; }
.section + .section { padding-top: 0; }
.lead .chip { margin-bottom: 22px; }
.lead p { margin-top: 22px; color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 34em; }
.lead--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 72px); }
.lead--split p { margin-top: 0; }
.lead--center { text-align: center; margin-inline: auto; max-width: 760px; margin-bottom: clamp(44px, 5vw, 64px); }
.lead--center p { margin-inline: auto; }
.lead--center .chip { margin-inline: auto; }
.shot img { border-radius: var(--sg-r-slab); }

/* Capture: the whole overlay moment, toolbar included, in a thin glass frame */
.modes { display: grid; justify-items: center; gap: 22px; }
.modes img { width: 798px; max-width: 100%; height: auto; border-radius: 999px; filter: drop-shadow(0 24px 30px rgb(var(--water-shadow) / .30)) drop-shadow(0 2px 4px rgb(21 25 29 / .12)); }   /* floating UI: no frame */
.modes figcaption { font-size: 15px; letter-spacing: .01em; color: var(--ink-2); text-align: center; }

/* Mark up: text column, render bleeding off the right edge */
.bleed { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.bleed .lead p { max-width: 24em; }
.bleed__shot { margin-right: calc(-1 * (100vw - min(var(--max), 100vw - 2 * var(--gutter))) / 2 - 2px); }
.bleed__shot .frame { width: min(1236px, 72vw); border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.bleed__shot .frame > img { border-top-right-radius: 0; border-bottom-right-radius: 0; }

/* Mark up: a hard crop of the editor, copy beside it */
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.duo__copy { padding-top: 80px; }
.duo__shot .frame { max-width: 823px; }
.duo__copy p { max-width: 26em; }

/* Redact: a 200% editor band, Method panel in frame, as App Store slide 3 */
.redact-band .frame { max-width: 1240px; margin-inline: auto; }

/* Record: deep water band */
.band {
  background: var(--band-ground) 0 0 / cover no-repeat, var(--band-base);
  color: var(--ink-foam);
  padding-block: var(--sect);
  overflow: clip;
}
.band h2 { color: var(--ink-foam); }
.band .lead p { color: var(--ink-foam); }
.record__scene { position: relative; width: min(1100px, 100%); margin-inline: auto; }
.record__blur { position: absolute; z-index: 3; width: clamp(80px, 13vw, 184px); aspect-ratio: 1; border-radius: 50%; left: 14%; top: 61%; translate: -50% -50%; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.record__drop { position: absolute; z-index: 4; width: clamp(110px, 18vw, 260px); left: 14%; top: 61%; translate: -50% -48%; }   /* over the dimmed chart, outside the area, clear of every control */
.record__drop img { filter: drop-shadow(0 22px 22px rgb(0 18 26 / .35)); }
.record__facts { margin: clamp(40px, 5vw, 56px) auto 0; text-align: center; font-size: 15px; color: var(--ink-foam); }

/* Find: the Bowl inside a water well, its foot cut by the well */
.well {
  position: relative; isolation: isolate; overflow: clip;
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--well-ground) 0 0 / cover no-repeat, var(--well-base);
  padding: clamp(28px, 5vw, 72px) clamp(16px, 5vw, 72px) 0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), inset 0 0 0 1px rgb(var(--water-shadow) / .12);
}
.well__window { width: min(760px, 100%); margin: 0 auto -2.5%; }
.find { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.find .lead .chip { margin-bottom: 22px; }
.well__window img { filter: drop-shadow(0 30px 40px rgb(var(--water-shadow) / .38)) drop-shadow(0 2px 4px rgb(21 25 29 / .14)); }
@media (prefers-color-scheme: dark) {
  .well { box-shadow: inset 0 1px 0 rgb(200 244 244 / .22), inset 0 0 0 1px rgb(200 244 244 / .08); }
}

/* Drag: the thread and Quick Access at the screen's corner, with the DMG pointer between
   the recipe card and the composer (kit marks/pointer-curved, verbatim paths). */
.drag__shot { max-width: 1240px; margin-inline: auto; }
.drag__media { position: relative; }
.drag__media > img { display: block; width: 100%; height: auto; border-radius: max(2px, calc(var(--r) - var(--rim) - var(--edge))); box-shadow: 0 0 0 1px var(--g-inner), 0 0 0 1.5px var(--g-hair); }
.drag__arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pinned .frame { max-width: 1240px; margin-inline: auto; }

/* Privacy: a waterline. Air above, water below, the bowl riding the surface. */
.privacy { position: relative; padding-top: 8px; }
.privacy__air { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); }
.privacy__air p { margin-top: 22px; color: var(--ink-2); font-size: 18px; max-width: 32em; }
.privacy__bowl { justify-self: end; width: clamp(150px, 18vw, 236px); margin-bottom: clamp(-150px, -9vw, -70px); position: relative; z-index: 3; filter: drop-shadow(0 22px 26px rgb(var(--water-shadow) / .30)); }
.privacy__water {
  position: relative; isolation: isolate;
  background: var(--hero-ground) 0 0 / cover no-repeat, var(--hero-base);
  padding-block: clamp(96px, 10vw, 136px) clamp(88px, 10vw, 128px);
}
.privacy__water::before {   /* surface band: sheen, aqua band, teal seam (ICON band #8FE3EF) */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 1;
  background: linear-gradient(180deg, rgb(255 255 255 / .95) 0 1.5px, var(--water-band) 1.5px 10px, rgb(53 184 207 / .55) 10px 11px, transparent 11px);
}
.privacy__water::after {  /* meniscus climbing both walls */
  content: ""; position: absolute; top: -21px; left: 0; right: 0; height: 22px; z-index: 1; pointer-events: none;
  background: var(--meniscus) left top / 72px 22px no-repeat, var(--meniscus-r) right top / 72px 22px no-repeat;
}
.privacy__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: start; }
.proof__note { margin-top: 30px; color: var(--ink); font-size: 17px; max-width: 30em; }
.proof__note a { color: var(--ink); font-weight: 560; }
.privacy__shot { width: min(600px, 100%); justify-self: end; }
@media (prefers-color-scheme: dark) {
  .privacy__water::before { background: linear-gradient(180deg, rgb(207 247 244 / .85) 0 1.5px, #3E9AA8 1.5px 10px, rgb(4 30 40 / .6) 10px 11px, transparent 11px); } /* KIT deep waterline band */
}

/* Requirements + FAQ */
.facts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.spec { --r: 26px; --rim: 5px; --spec-x: 30%; --spec-y: 34%; --pool: 22px; padding: 30px 30px 26px; margin-top: 30px; }
.spec dl { margin: 0; display: grid; gap: 0; }
.spec div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--rule); }
.spec div:first-child { border-top: 0; padding-top: 0; }
.spec dt { font-family: "Geist Pixel", ui-monospace, monospace; font-size: 13px; letter-spacing: .02em; color: var(--g-ink); opacity: .86; }
.spec dd { margin: 0; font-weight: 520; color: var(--g-ink); }
.facts h2 { font-size: clamp(30px, 3vw, 42px); }
.faq h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 2px; font-size: 18px; font-weight: 540; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .prose summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .95), rgb(255 255 255 / .1) 60%), var(--water-band); box-shadow: inset 0 0 0 1px rgb(var(--water-shadow) / .22), 0 2px 4px rgb(var(--water-shadow) / .18); transition: transform var(--sg-t-2) var(--sg-ease-buoy); }
.faq summary::after, .prose summary::after {
  /* a disclosure control, not a status dot: a plus in the droplet that turns to a cross */
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat,
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / .95), rgb(255 255 255 / .1) 60%), var(--water-band);
}
.faq details[open] summary::after, .prose details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--ink-2); max-width: 40em; }

/* ------------------------------------------------------------------ inner pages */
.page-head {
  background: var(--head-ground) 0 0 / cover no-repeat, var(--hero-base);
  padding-top: clamp(124px, 13vw, 168px);
  padding-bottom: clamp(56px, 7vw, 92px);
}
.page-head .chip { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(44px, 5.6vw, 76px); }
.page-head .lede { margin-top: 20px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); max-width: 34em; }
.page-head .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.page-body { padding-block: clamp(56px, 7vw, 104px); }

.prose { max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 2.8vw, 38px); margin-top: 64px; scroll-margin-top: 24px; }
.prose h3 { margin-top: 36px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 40px; }
.prose code { font-family: ui-monospace, "SF Mono", monospace; font-size: .9em; }
.prose details { border-top: 1px solid var(--rule); padding: 4px 0; }
.prose details:last-of-type { border-bottom: 1px solid var(--rule); }
.prose summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0; font-weight: 540; color: var(--ink); }
.prose summary::-webkit-details-marker { display: none; }
.prose details p { padding-bottom: 14px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 580; color: var(--ink); }
td { color: var(--ink-2); }
.notice { --r: 18px; padding: 18px 22px; margin-bottom: 34px; font-size: 15.5px; }
.notice strong { color: var(--g-ink); }

.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { --r: 22px; --rim: 4px; --spec-x: 40%; --spec-y: 24%; --pool: 16px; position: sticky; top: 24px; padding: 18px 10px; display: grid; gap: 2px; }
.toc a { padding: 8px 14px; border-radius: 12px; color: var(--g-ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.toc a:hover { background: rgb(255 255 255 / .45); }
@media (prefers-color-scheme: dark) { .toc a:hover { background: rgb(255 255 255 / .07); } }

.press-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.icon-card { --r: 34px; --rim: 6px; --spec-x: 30%; --spec-y: 30%; --pool: 24px; padding: 36px 32px 28px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.icon-card img { width: min(240px, 100%); }
.facts-list { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.facts-list dt, .facts-list dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--rule); }
.facts-list dt { padding-right: 32px; font-family: "Geist Pixel", ui-monospace, monospace; font-size: 13.5px; color: var(--ink-2); padding-top: 15px; }
.facts-list dd { color: var(--ink); font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; margin-top: 32px; }
.gallery figure { display: grid; gap: 12px; align-content: start; }
.gallery .tile { --r: 22px; --rim: 5px; --spec-x: 26%; --spec-y: 30%; --pool: 18px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 22px; overflow: clip; }
.gallery .tile img { flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-width: min(100%, var(--w)); max-height: 100%; border-radius: 8px; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); }
.gallery figcaption a { font-weight: 540; white-space: nowrap; }
.section-title { font-size: clamp(28px, 2.8vw, 38px); }

.lost { min-height: 100vh; display: grid; align-content: center; }
.lost .bubbles { position: absolute; right: 14%; top: 18%; width: 64px; height: 220px; background: var(--bubbles) center / contain no-repeat; opacity: .9; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; padding-top: 56px; border-top: 1px solid var(--rule); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.site-footer p { color: var(--ink-2); font-size: 15px; max-width: 34em; }
.site-footer p + p { margin-top: 10px; }
.site-footer .brand { margin-bottom: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 6px; }
.footer-nav a { padding: 6px 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 999px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.floor { position: relative; height: clamp(90px, 9vw, 130px); margin-top: 48px; }
.floor::before { content: ""; position: absolute; inset: auto 0 0 0; height: 100%; background: url("../art/sand.svg") 0 100% / 100% 100% no-repeat; opacity: .95; }
.floor::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(64px, 7vw, 104px); height: clamp(96px, 10vw, 150px); background: url("../art/kelp-left.svg") 0 100% / contain no-repeat; }
@media (prefers-color-scheme: dark) { .floor::before { opacity: .22; } .floor::after { opacity: .6; } }
.site-footer .copyright { position: absolute; z-index: 1; right: var(--gutter); bottom: 14px; font-size: 13px; color: var(--ink-deepwater); }
@media (prefers-color-scheme: dark) { .site-footer .copyright { color: var(--ink-foam-2); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero h1 { max-width: 13ch; }
  .hero__scene { --hero-w: min(750px, 80vw); }
  .bleed, .duo, .find, .privacy__grid, .facts, .press-top { grid-template-columns: 1fr; }
  .duo__copy { order: -1; }
  .bleed__shot { margin-right: calc(-1 * var(--gutter)); }
  .bleed__shot .frame { width: auto; }
  .lead--split { grid-template-columns: 1fr; align-items: start; }
  .privacy__shot { justify-self: start; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: relative; top: auto; display: flex; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  :root { font-size: 16px; }
  .site-header { flex-wrap: wrap; row-gap: 8px; padding-block: 16px; }
  .site-nav a { font-size: 14.5px; padding: 6px 10px; }
  .site-nav { gap: 6px; margin-left: 0; }
  .site-nav a { background: rgb(255 255 255 / .38); }
  .hero { padding-top: 136px; }
  .hero__grid { gap: 44px; }
  .hero__lede, .lead p { font-size: 17px; }

  .privacy__air { grid-template-columns: 1fr; }
  .privacy__air { position: relative; padding-bottom: 64px; }
  .privacy__air p { font-size: 16.5px; }
  .privacy__bowl { position: absolute; right: 0; bottom: -46px; width: 92px; margin: 0; }
  .privacy__water { padding-block: 64px 64px; }
  .privacy__grid { gap: 32px; }
  .proof { display: flex; flex-wrap: wrap; gap: 8px; }
  .proof .chip--lg { font-size: 16px; }
  .proof__note { margin-top: 20px; font-size: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; margin-left: -10px; }
  .faq summary { font-size: 17px; }
  .legal th:first-child, .legal td:first-child { width: 36%; }
  .legal table { font-size: 14.5px; table-layout: fixed; }
  .legal td code { overflow-wrap: anywhere; }
  .site-footer .copyright { position: static; padding: 18px var(--gutter) 22px; color: var(--ink-2); }
  .floor { margin-top: 24px; }
}
.press-block { margin-top: clamp(64px, 8vw, 112px); }
.press-note { margin-top: 14px; color: var(--ink-2); max-width: 44em; }
.chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.page-head .chips .chip { margin-bottom: 0; }
.release-mark { position: sticky; top: 24px; }
.release-mark__num { font-family: "Geist Pixel", ui-monospace, monospace; font-size: clamp(64px, 8vw, 112px); line-height: .9; color: var(--ink); }
.release-mark__when { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1080px) { .release-mark { position: static; } }
@media (max-width: 700px) and (prefers-color-scheme: dark) { .site-nav a { background: rgb(4 28 36 / .32); } }

/* Availability is a status, not a control. */
.status { margin-top: 22px; font-size: 15px; color: var(--ink); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: 2px; border-radius: 50%; background: var(--sg-aqua-500); box-shadow: 0 0 0 3px rgb(53 184 207 / .22); }

/* Below 600 px: purpose-made 1:1 crops (picture sources) carry each section. */
@media (max-width: 600px) {
  :root { --sect: 72px; }
  .lead--center { text-align: left; }
  .lead--center p { margin-inline: 0; }
  .duo__copy { padding-top: 0; }
  .drag__arrow { display: none; }
  .drag__shot { max-width: 300px; }
  .record__drop { width: 96px; left: auto; right: -6px; top: -58px; translate: none; }
  .record__blur { display: none; }
  .record__facts { text-align: left; }
  /* hero: the callout and its readout carry it; the capture card is hidden */
  .hero__scene { padding: 0; margin-right: 0; }
  .hero__frame { width: auto; padding: 0; border: 0; background: none; box-shadow: none; outline: none; }
  .hero__frame::before, .hero__frame::after { display: none; }
  .hero__capture, .hero__tether { display: none; }
  .hero__media { display: grid; justify-items: center; }
  .hero__lens { position: relative; left: auto; right: auto; top: auto; width: 300px; }
  .hero__size { left: 12px; right: auto; top: auto; bottom: 18px; }
}
/* Dark pages: the record band stays the page's one loud moment, a step lighter than the page. */
@media (prefers-color-scheme: dark) {
  .band { background: linear-gradient(rgb(140 220 225 / .07), rgb(140 220 225 / .07)), var(--band-ground) 0 0 / cover no-repeat, var(--band-base); box-shadow: inset 0 1px 0 rgb(200 244 244 / .14), inset 0 -1px 0 rgb(200 244 244 / .10); }
}

/* Dark pages: the disclosure plus stays deep ink on its pale droplet (≥ 3:1). */
@media (prefers-color-scheme: dark) {
  .faq summary::after, .prose summary::after {
    background:
      linear-gradient(var(--ink-deepwater), var(--ink-deepwater)) center / 10px 1.5px no-repeat,
      linear-gradient(var(--ink-deepwater), var(--ink-deepwater)) center / 1.5px 10px no-repeat,
      radial-gradient(circle at 35% 30%, rgb(255 255 255 / .95), rgb(255 255 255 / .1) 60%), var(--water-band);
  }
}
.faq summary:hover::after, .prose summary:hover::after { box-shadow: inset 0 0 0 1.5px rgb(var(--water-shadow) / .45), 0 2px 6px rgb(var(--water-shadow) / .25); }
.faq summary:focus-visible, .prose summary:focus-visible { outline: 3px solid var(--sg-accent-halo-focus); outline-offset: 2px; border-radius: 8px; }
.spec dt, .facts-list dt, .release-mark__num { font-feature-settings: "ss09" 1; }
