/* Rubynotes, site v3 · the product in real life.
   Layout: layered stages. Real desk photography as the ground plane, the app's own screens on the
   devices in it, crisp UI fragments floating above, and a marker-yellow pen that circles what Ruby found.
   One signature accent (the highlighter); ruby red only means "recording". A light page by design:
   the photography and the paper stages are the art, so it does not switch to dark. */

@font-face { font-family: "Literata"; src: url("../fonts/Literata-SemiBoldDisplay.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/Literata-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/Literata-Italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Layout: stages that hold a photo or devices, with fragments overlapping their edges. */
  --paper: #FAF8F3;  --sheet: #FFFFFF;  --ink: #1C1B19;  --ink-2: #55514A;  --ink-3: #78736A;
  --rule: #E7E2D8;  --mark: #FFE45C;  --on-mark: #1C1B19;  --ruby: #C22A36;
  --butter: #FBF0C4;  --sage: #DCE4D2;  --lilac: #E4E0F1;  --butter-ink: #6E5A12;  --kick: #2E72A3;
  --night: #141311;  --night-2: #1F1E1B;  --night-ink: #F2EFE8;  --night-ink-2: #BEB9B0;  --night-ink-3: #8F8A82;  --night-rule: #2F2D2A;
  --serif: "Literata", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Onest", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  --t-hero: clamp(2.7rem, 1.25rem + 5.6vw, 6.6rem);
  --t-h2: clamp(2rem, 1.2rem + 3vw, 4.1rem);
  --t-h3: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  --t-lede: clamp(1.06rem, .98rem + .4vw, 1.3rem);
  --wrap: 1240px;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --spring: cubic-bezier(.32, .72, 0, 1);
  --lift: 0 1px 0 rgba(28, 27, 25, .04), 0 26px 60px -28px rgba(32, 26, 14, .32), 0 10px 22px -16px rgba(32, 26, 14, .18);
  --lift-strong: 0 1px 0 rgba(28, 27, 25, .05), 0 50px 90px -40px rgba(32, 26, 14, .45), 0 18px 36px -22px rgba(32, 26, 14, .3);
  /* On the coloured fields: a short, soft lift that ends well inside the section (reach about 36px),
     so nothing is cut by a section's overflow: clip or smudges the next field. */
  --lift-soft: 0 1px 0 rgba(28, 27, 25, .04), 0 2px 6px rgba(32, 26, 14, .05), 0 22px 40px -26px rgba(32, 26, 14, .3);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 80px); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.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; }

/* The highlighter: a band under the words, swept in from the left. */
.mark { background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 88% / calc(var(--sweep, 1) * 100%) .42em; color: inherit; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .sweep { --sweep: 0; transition: --sweep 0s; }
.js .sweep.is-on { animation: sweep 1.1s var(--spring) forwards; }
@property --sweep { syntax: "<number>"; inherits: true; initial-value: 1; }
@keyframes sweep { from { --sweep: 0; } to { --sweep: 1; } }

/* A pen circle drawn around what Ruby found. */
.scribble { position: absolute; pointer-events: none; overflow: visible; }
.scribble path { fill: none; stroke: var(--mark); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .scribble path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--spring) .15s; }
.js .scribble.is-on path { stroke-dashoffset: 0; }

/* Floating island nav. */
.island { position: fixed; z-index: 20; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 980px); display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 999px; background: rgba(250, 248, 243, .78); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 0 0 1px rgba(28, 27, 25, .07), 0 14px 30px -18px rgba(28, 27, 25, .35); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 1.05rem/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.island .links { display: none; margin-left: auto; gap: 4px; }
.island .links a, .island .lang { text-decoration: none; font: 500 .94rem/1 var(--sans); color: var(--ink-2); padding: 10px 12px; border-radius: 999px; transition: background .4s var(--spring), color .4s var(--spring); }
.island .links a:hover, .island .lang:hover { background: rgba(28, 27, 25, .06); color: var(--ink); }
.island .lang { margin-left: auto; }
.island .get { text-decoration: none; font: 600 .94rem/1 var(--sans); background: var(--ink); color: var(--paper); padding: 11px 16px; border-radius: 999px; transition: transform .5s var(--spring); }
.island .get:active { transform: scale(.97); }
@media (min-width: 860px) { .island .links { display: flex; } .island .lang { margin-left: 0; } }

/* Store badges, drawn (Apple-style proportions, our type). */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 14px; background: #0B0B0A; color: #fff; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 16px 30px -18px rgba(11, 11, 10, .7); transition: transform .5s var(--spring), box-shadow .5s var(--spring); }
.badge:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 22px 36px -18px rgba(11, 11, 10, .75); }
.badge:active { transform: scale(.98); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.05; }
.badge small { font: 500 .7rem/1.1 var(--sans); letter-spacing: .01em; opacity: .85; }
.badge b { font: 600 1.18rem/1.1 var(--sans); letter-spacing: -.01em; }
@media (max-width: 420px) { .stores { gap: 10px 8px; } .badge { min-height: 48px; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 12px; } .badge svg { width: 21px; height: 21px; } .badge small { font-size: .62rem; } .badge b { font-size: 1rem; } }
.soon { display: inline-flex; align-items: center; gap: 8px; font: 500 .9rem/1 var(--sans); color: var(--ink-3); padding: 0 6px; }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.night .soon { color: var(--night-ink-3); }
.fine { font: 400 .92rem/1.5 var(--sans); color: var(--ink-3); }

/* Callouts: the exact element on a screen, lifted out of the phone and enlarged. */
@keyframes rec { 50% { opacity: .35; } }
.callout { position: absolute; z-index: 4; background: var(--sheet); color: var(--ink); border-radius: 26px; padding: clamp(18px, 1.7vw, 26px) clamp(20px, 2vw, 30px); font-size: clamp(1.02rem, .92rem + .42vw, 1.3rem); line-height: 1.42;
  box-shadow: var(--lift-soft), 0 10px 24px -14px rgba(32, 26, 14, .18); }
.night .callout { box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .75), 0 10px 26px rgba(0, 0, 0, .35); }
.callout .k { display: block; font: 600 .76rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.callout .k.gold { color: var(--kick); }
.callout svg.i { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.js .callout.lift { transform: translateY(28px) scale(.9); opacity: 0; transition: transform 1.1s var(--spring), opacity .8s var(--spring); }
.js .callout.lift.is-on { transform: none; opacity: 1; }

/* Focus: inside the phone everything but one region is blurred and dimmed; that region keeps a marker ring. */
.focus .scr { position: relative; }
.focus .scr > * { position: absolute; inset: 0; }
.focus .base { filter: blur(3.5px) saturate(.85); transform: scale(1.04); }
.focus .dim { background: rgba(28, 27, 25, .28); }
.focus .lit { clip-path: inset(var(--ft) var(--fr) var(--fb) var(--fl) round calc(var(--w) * .05)); }
.focus .ring { inset: var(--ft) var(--fr) var(--fb) var(--fl); border-radius: calc(var(--w) * .05); box-shadow: 0 0 0 2px var(--mark), 0 0 0 7px rgba(255, 228, 92, .3), 0 14px 30px -8px rgba(0, 0, 0, .4); }

/* Devices drawn in CSS: titanium edge, black bezel, the screen. */
.iphone { --w: 270px; width: var(--w); aspect-ratio: 402 / 874; border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .032); background: #0F0F0F; position: relative; flex: none;
  box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E, 0 0 0 4.4px #3A3835, var(--lift-strong); }
.iphone::after { content: ""; position: absolute; right: -4.5px; top: 28%; width: 3px; height: 12%; border-radius: 0 2px 2px 0; background: #8A857E; }
.iphone .scr { width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #fff; }
.iphone .scr img { width: 100%; height: 100%; object-fit: cover; }
.iphone.s-l { --w: clamp(220px, 23vw, 300px); }
.iphone.s-m { --w: clamp(200px, 20vw, 262px); }
.iphone.s-s { --w: clamp(170px, 16vw, 216px); }

/* Photo windows: a double bezel around real photography. */
.window { position: relative; border-radius: 34px; padding: 8px; background: rgba(28, 27, 25, .045); box-shadow: inset 0 0 0 1px rgba(28, 27, 25, .06); }
.window > picture, .window > img { display: block; border-radius: 27px; overflow: hidden; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4); }
.window img { width: 100%; height: auto; border-radius: 27px; }

/* Section rhythm. */
section { position: relative; }
.pad { padding-block: clamp(84px, 11vw, 160px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(28, 27, 25, .1); }
.night .kicker { color: var(--night-ink-3); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .14); }
.head { display: grid; gap: 18px; max-width: 760px; }
.head > .kicker, .copy > .kicker { justify-self: start; width: fit-content; }
.head h2 { font-size: var(--t-h2); }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.night { background: var(--night); color: var(--night-ink); }
.night .lede { color: var(--night-ink-2); }

/* I · Hero */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + 128px); padding-bottom: clamp(70px, 9vw, 130px); }
.hero-copy { display: grid; gap: 22px; max-width: 980px; }
.hero h1 { font-size: var(--t-hero); letter-spacing: -.035em; line-height: .98; }
.hero h1 .mark { white-space: nowrap; }
.hero .lede { max-width: 54ch; }
.hero-stage { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.hero-stage .window { margin-right: clamp(0px, 6vw, 90px); }
.hero .c-hero { right: 0; bottom: -9%; width: clamp(320px, 31vw, 450px); }
.hero .c-hero p { font: 500 1.08em/1.42 var(--sans); }
@media (max-width: 899px) {
  .hero-stage .window { margin-right: 0; }
  .hero .c-hero { position: relative; right: auto; bottom: auto; width: auto; margin: -34px 12px 0 18px; }
}

/* II · The meeting (butter): the app's real recorder screens, then Ruby's note lifted out beside the phone. */
.meet { background: var(--butter); overflow: clip; }
.meet-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.meet .head { gap: 20px; }
.meet .head h2 { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.2rem); }
.meet-ill { width: min(100%, 440px); margin-top: 14px; }
.meet-stage { --w: clamp(240px, 22vw, 300px); display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.meet .recorder { flex: none; box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E, 0 0 0 4.4px #3A3835, var(--lift-soft); }
.frames { position: relative; }
.frames img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--spring); }
.frames img.is-on { opacity: 1; }
.meet .note { flex: 1 1 0; min-width: 0; max-width: 470px; background: var(--sheet); color: var(--ink); border-radius: 26px; padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--lift-soft);
  transform-origin: 0% 50%; opacity: var(--grow, 1); transform: translateX(calc((1 - var(--grow, 1)) * -40px)) scale(calc(.6 + .4 * var(--grow, 1))); }
.meet .note .k { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.meet .note h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); margin: 10px 0 16px; }
.meet .tldr { border-left: 3px solid var(--mark); padding-left: 14px; }
.meet .tldr .k { color: var(--kick); margin-bottom: 7px; }
.meet .tldr p { font-size: 1.05rem; line-height: 1.5; }
.meet .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: -.15em; margin-left: 1px; }
.meet .todos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.meet .todo { display: flex; gap: 10px; align-items: baseline; position: relative; }
.meet .todo i { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px var(--ink-3); flex: none; transform: translateY(2px); }
.meet .todo em { font-style: normal; color: var(--ink-3); position: relative; }
.meet .todo.is-off, .meet .decision.is-off { display: none; }
.js .meet .todo, .js .meet .decision { animation: lineIn .6s var(--spring) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(10px); } }
.meet .todo .scribble { left: -10px; top: -12px; width: calc(100% + 20px); height: calc(100% + 24px); }
.meet .decision { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .95rem; }
.meet .decision b { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.replay { justify-self: start; font: 600 .9rem/1 var(--sans); color: var(--ink); background: transparent; border: 0; box-shadow: inset 0 0 0 1px rgba(28, 27, 25, .22); padding: 12px 18px; border-radius: 999px; cursor: pointer; }
@media (max-width: 899px) {
  .meet-in { grid-template-columns: minmax(0, 1fr); }
  .meet-ill { width: min(80%, 320px); }
  .meet-stage { --w: 62vw; flex-direction: column; align-items: center; }
  .meet .note { align-self: stretch; max-width: none; transform-origin: 50% 0%; transform: translateY(calc((1 - var(--grow, 1)) * -30px)) scale(calc(.7 + .3 * var(--grow, 1))); }
}

/* III–VI · Product scenes: a solid field, one idea, big tilted phones that run off the edge,
   one region of the screen in focus and that element lifted out beside it. */
.scene { overflow: clip; padding-top: clamp(84px, 10vw, 150px); }
.scene.sage { background: var(--sage); }
.scene.lilac { background: var(--lilac); }
.scene.butter { background: var(--butter); }
.scene-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.scene-grid.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.scene-grid.flip > .copy { order: 2; }
.scene .copy { display: grid; gap: 22px; align-content: center; padding-bottom: clamp(40px, 7vw, 120px); }
.scene .copy > .kicker { justify-self: start; width: fit-content; }
.scene .copy.center { justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; padding-bottom: 0; }
.scene .copy.center > .kicker { justify-self: center; }
.scene h2 .mark { white-space: nowrap; }
.scene h2 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.4rem); letter-spacing: -.03em; line-height: 1.02; }
.scene .lede { max-width: 46ch; }
.stage { position: relative; height: clamp(540px, 54vw, 760px); }
.stage .iphone { position: absolute; --w: clamp(250px, 25vw, 360px); }
.stage .iphone.p-back { --w: clamp(220px, 21vw, 306px); z-index: 1; }
.stage .iphone.focus { z-index: 2; }
.night .stage .iphone { box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E, 0 0 0 4.4px #3A3835, 0 60px 110px -40px rgba(0, 0, 0, .9); }

/* Call link (lilac): a laptop browser on the guest page, the iPhone on the call, the shared note lifted out. */
.call-pts { list-style: none; margin: clamp(34px, 4vw, 52px) auto 0; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 34px; }
.call-pts li { display: grid; gap: 4px; padding-top: 14px; box-shadow: inset 0 1px 0 rgba(28, 27, 25, .14); }
.call-pts b { font-weight: 600; }
.call-pts span { color: var(--ink-2); font-size: .95rem; }
.s-call { padding-bottom: clamp(70px, 8vw, 120px); }
.family { --fw: min(1160px, calc(100vw - var(--gl) - var(--gr))); position: relative; margin: clamp(40px, 5vw, 70px) auto 0; width: var(--fw); display: flex; align-items: flex-end; justify-content: center; }
.family::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -10px; height: 26px; border-radius: 50%; background: rgba(32, 26, 14, .22); filter: blur(18px); z-index: 0; }
.ipadp { position: relative; z-index: 1; width: 26%; margin-right: 2.5%; margin-bottom: 14px; aspect-ratio: 834 / 1150; border-radius: 26px; padding: 11px; background: #141414; box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E; --iw: calc(var(--fw) * .26); }
.ipadp .scr { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #FAF9F6; }
.notescr { display: flex; flex-direction: column; gap: .55em; padding: 1.6em 1.3em; font: 400 calc(var(--iw) * .04)/1.4 var(--sans); color: var(--ink); }
.notescr .k { font: 600 .74em/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.notescr .nh { font: 600 1.55em/1.15 var(--serif); letter-spacing: -.01em; }
.notescr .ns { color: var(--ink-2); }
.notescr .ln { display: grid; grid-template-columns: auto 1fr; column-gap: .5em; padding: .55em .7em; border-radius: .8em; font-size: .94em; }
.notescr .ln.a { background: #FBF0DD; } .notescr .ln.b { background: #E6EEF8; }
.notescr .ln .sp { font-weight: 600; }
.notescr .ln.a .sp { color: #8A5A12; } .notescr .ln.b .sp { color: #2F4F7A; }
.notescr .ln .at { justify-self: end; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.notescr .ln .tx { grid-column: 1 / -1; }
.notescr .td { font-size: .94em; }
.notescr .td i { display: inline-block; width: .95em; height: .95em; border-radius: 50%; box-shadow: inset 0 0 0 1.4px var(--ink-3); vertical-align: -.12em; margin-right: .5em; }
.notescr .td em { font-style: normal; color: var(--ink-3); }
.notescr .dec { margin-top: .2em; padding-top: .6em; box-shadow: inset 0 1px 0 var(--rule); font-size: .94em; }
.notescr .dec b { display: block; font: 600 .7em/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3em; }
.laptop { position: relative; z-index: 2; width: 50%; }
.laptop .lid { border-radius: 18px 18px 6px 6px; padding: 12px 12px 16px; background: #141414; box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E; }
.laptop .base { position: relative; height: 14px; margin: 0 -7%; border-radius: 2px 2px 14px 14px; background: #CFCAC1; box-shadow: inset 0 2px 0 #E4E0D8, inset 0 -3px 4px rgba(0, 0, 0, .08); }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 5px; translate: -50% 0; border-radius: 0 0 6px 6px; background: #B9B4AB; }
.browser { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-size: clamp(8px, .72vw, 10.5px); }
.chrome { display: flex; align-items: center; gap: 6px; padding: .8em 1em; background: #F1EFEA; box-shadow: inset 0 -1px 0 #E3DFD6; }
.chrome i { width: .75em; height: .75em; border-radius: 50%; background: #D6D2CA; }
.chrome span { margin: 0 auto; padding: .35em 1.6em; border-radius: 99px; background: #fff; color: var(--ink-2); font-size: .95em; }
.guest { flex: 1; display: flex; justify-content: center; font-family: var(--sans); color: #0A0A0A; }
.gin { width: 46%; padding-top: 1.3em; display: flex; flex-direction: column; }
.gb { display: flex; align-items: center; gap: .6em; font-weight: 600; font-size: 1.15em; }
.gm { width: 1.6em; height: 1.6em; border-radius: 50%; background: #0A0A0A; color: #fff; display: grid; place-items: center; font-size: .85em; }
.gh { margin-top: 1.1em; font: 600 1.8em/1.15 var(--sans); letter-spacing: -.02em; }
.gs { margin-top: .5em; color: #5E5E5E; font-size: 1.1em; }
.gc { margin-top: 1em; display: flex; gap: .8em; padding: 1em; border-radius: 1.1em; background: #F5F5F5; color: #5E5E5E; line-height: 1.45; }
.gc b { color: #0A0A0A; font-weight: 600; }
.cb { width: 1.4em; height: 1.4em; border-radius: .35em; background: #0A0A0A; flex: none; position: relative; }
.cb::after { content: ""; position: absolute; left: .45em; top: .2em; width: .35em; height: .7em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gl { margin-top: 1em; color: #6E6E6E; font-size: .9em; }
.gi { margin-top: .4em; padding: .8em 1em; border-radius: .9em; box-shadow: inset 0 0 0 1px #EBEBEB; font-size: 1.05em; }
.gbtn { margin-top: 1.3em; padding: 1em; border-radius: 99px; background: #0A0A0A; color: #fff; text-align: center; font-weight: 600; font-size: 1.05em; }
.ghint { display: none; margin-top: .7em; text-align: center; color: #6E6E6E; font-size: .88em; }
.s-call .p-call { position: relative; z-index: 3; --w: calc(var(--fw) * .175); margin-left: 2.5%; margin-bottom: 2px; box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E, 0 0 0 4.4px #3A3835; }
.callscr { background: #F5F3EE; padding: calc(var(--w) * .2) calc(var(--w) * .06) calc(var(--w) * .07); display: flex; flex-direction: column; font: 400 calc(var(--w) * .05)/1.3 var(--sans); color: var(--ink); }
.badge-live { align-self: flex-start; display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: 99px; background: #fff; box-shadow: 0 2px 8px rgba(28, 27, 25, .08); font-size: .78em; font-weight: 500; color: var(--ink-2); }
.badge-live i { width: .5em; height: .5em; border-radius: 50%; background: #C8321F; }
.js .badge-live i { animation: rec 1.2s var(--spring) infinite; }
.callscr .ct { margin-top: 1em; font: 600 1.6em/1.15 var(--serif); letter-spacing: -.01em; }
.callscr .cc { font: 500 1.4em/1.2 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cp { margin-top: .6em; display: flex; align-items: center; gap: .6em; padding: .6em .7em; border-radius: 1em; background: #fff; box-shadow: 0 2px 8px rgba(28, 27, 25, .06); }
.cp:first-of-type { margin-top: 1.4em; }
.cp .ini { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; font-weight: 500; flex: none; }
.cp.b .ini { background: #DCE6F4; } .cp.a .ini { background: #F6E3C8; }
.cp b { font-weight: 500; flex: 1; }
.lv { display: flex; align-items: center; gap: 2px; }
.lv i { width: 3px; border-radius: 2px; background: var(--ink); }
.lv i:nth-child(1) { height: 6px; } .lv i:nth-child(2) { height: 9px; } .lv i:nth-child(3) { height: 12px; } .lv i:nth-child(4) { height: 15px; background: #E3DFD6; } .lv i:nth-child(5) { height: 18px; background: #E3DFD6; }
.js .cp .lv i { animation: eq .9s var(--spring) infinite alternate; }
.js .cp.a .lv i { animation-delay: -.5s; animation-duration: 1.3s; }
.ctrl { margin-top: auto; display: flex; gap: .45em; align-items: center; }
.ctrl .rb { width: 2.9em; height: 2.9em; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(28, 27, 25, .08); display: grid; place-items: center; flex: none; }
.ctrl svg { width: 1.2em; height: 1.2em; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .endb { flex: 1; height: 2.9em; border-radius: 99px; background: var(--ink); color: #FAF9F6; display: grid; place-items: center; font-weight: 600; }
@media (max-width: 899px) {
  .call-pts { grid-template-columns: minmax(0, 1fr); }
  .family { flex-wrap: wrap; align-items: flex-end; row-gap: 26px; }
  .family::after { display: none; }
  .laptop { order: -1; width: 88%; margin: 0 6%; }
  .browser { font-size: 6.6px; }
  .ipadp { width: 56%; margin: 0; --iw: calc(var(--fw) * .56); }
  .s-call .p-call { --w: calc(var(--fw) * .36); margin-left: 4%; }
}

/* Apple Watch (sage): the app's real recording screen on a straight watch, what happens after "done" lifted out. */
.s-watch { padding-bottom: clamp(84px, 10vw, 150px); }
.s-watch .copy { padding-bottom: 0; }
.watch-pts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; max-width: 46ch; }
.watch-pts li { display: grid; gap: 3px; padding-top: 12px; box-shadow: inset 0 1px 0 rgba(28, 27, 25, .14); }
.watch-pts b { font-weight: 600; }
.watch-pts span { color: var(--ink-2); font-size: .95rem; }
.watch-ill { width: min(100%, 470px); margin-top: 4px; }
.watch-stage { --ww: clamp(240px, 24vw, 340px); --wx: clamp(0px, 5vw, 80px); position: relative; display: grid; justify-items: start; padding-block: clamp(10px, 2vw, 30px) clamp(60px, 7vw, 100px); }
.watch { position: relative; margin-left: var(--wx); width: var(--ww); padding-block: calc(var(--ww) * .42); }
.watch .band { position: absolute; left: 50%; translate: -50% 0; width: calc(var(--ww) * .7); height: calc(var(--ww) * .56); background: #E9E3D5; box-shadow: inset 0 0 0 1px rgba(28, 27, 25, .07); }
.watch .band.top { top: 0; border-radius: calc(var(--ww) * .12) calc(var(--ww) * .12) 0 0; }
.watch .band.bottom { bottom: 0; border-radius: 0 0 calc(var(--ww) * .12) calc(var(--ww) * .12); }
.watch .case { position: relative; z-index: 1; padding: calc(var(--ww) * .075); border-radius: calc(var(--ww) * .25); background: #0F0F0F;
  box-shadow: 0 0 0 1.2px #C9C4BB, 0 0 0 3px #8A857E, 0 0 0 4.4px #3A3835, var(--lift-soft); }
.watch .scr { border-radius: calc(var(--ww) * .17); overflow: hidden; background: #000; aspect-ratio: 416 / 496; }
.watch .scr img { width: 100%; height: 100%; object-fit: cover; }
.watch .crown { position: absolute; right: calc(var(--ww) * -.05); top: 22%; width: calc(var(--ww) * .055); height: calc(var(--ww) * .2); border-radius: 0 calc(var(--ww) * .02) calc(var(--ww) * .02) 0; background: #8A857E; box-shadow: inset -2px 0 0 #6F6A63; }
.watch .side { position: absolute; right: -4.5px; top: 52%; width: 3px; height: calc(var(--ww) * .26); border-radius: 0 2px 2px 0; background: #8A857E; }
.s-watch h2 { font-size: clamp(2.2rem, 1.2rem + 2.9vw, 3.8rem); }
.s-watch .c-watch { left: calc(var(--wx) + var(--ww) * .82); bottom: calc(var(--ww) * .5); width: max-content; }
.c-watch .k { margin-bottom: 12px; }
.c-watch .sent { display: flex; align-items: center; gap: 10px; font: 600 1.05em/1.2 var(--sans); }
.c-watch .sent svg { width: 1.3em; height: 1.3em; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-watch .ruby { white-space: nowrap; margin-top: 6px; padding-left: calc(1.3em + 10px); font: 400 .9em/1.4 var(--sans); color: var(--ink-3); }
@media (max-width: 899px) {
  .s-watch .scene-grid { gap: 26px; }
  .s-watch .scene-grid.flip > .copy { order: 0; }
  .watch-stage { --ww: min(58vw, 260px); --wx: 0px; justify-items: center; padding-block: 6px 0; }
  .s-watch .c-watch { position: relative; left: auto; bottom: auto; margin-top: calc(var(--ww) * -.3); justify-self: center; max-width: calc(100% - 24px); }
  .watch-ill { width: min(86%, 340px); }
}

/* Close (paper): the last word, the stores, one drawing. */
.s-close { padding-bottom: clamp(70px, 8vw, 120px); }
.s-close h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.2rem); }
.s-close .stores { margin-top: 8px; }
.close-art img { width: min(100%, 520px); margin-inline: auto; }
@media (max-width: 899px) {
  .scene-grid, .scene-grid.flip { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .scene .copy { padding-bottom: 0; }
}

/* Everything else, and what's coming: editorial rows, the drawing and the text trading sides. */
.rows { margin-top: clamp(36px, 4.5vw, 64px); border-top: 1px solid var(--rule); }
.frow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(44px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.frow:nth-child(even) .art { order: 2; }
.frow .art { display: flex; justify-content: center; align-items: center; }
.frow .art img { width: auto; max-width: 100%; max-height: clamp(220px, 26vw, 340px); object-fit: contain; }
.ftext { display: grid; gap: 14px; max-width: 520px; }
.fk { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--kick); }
.ftext h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -.02em; line-height: 1.08; }
.ftext p { color: var(--ink-2); font-size: var(--t-lede); line-height: 1.55; }
.ftext p a { color: var(--ink); }
.facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.facts li { padding: 10px 0 10px 18px; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-2); position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 1px rgba(110, 90, 18, .35); }
.ctag { justify-self: start; font: 600 .68rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(28, 27, 25, .14); }
.next .frow .art img { opacity: .92; }
@media (max-width: 899px) {
  .frow { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 40px; }
  .frow:nth-child(even) .art { order: 0; }
  .frow .art img { max-height: 220px; }
}
.next { padding-top: 0; }
.mk { background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 88% / 100% .42em; }
@keyframes eq { to { transform: scaleY(.4); } }
.night h2 .mark { color: color-mix(in srgb, var(--on-mark) calc(var(--sweep, 1) * 100%), var(--night-ink)); background-size: calc(var(--sweep, 1) * 100%) 1em; background-position: 0 62%; }

/* XI · FAQ */
.faq-list { margin-top: 34px; border-top: 1px solid var(--rule); max-width: 880px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.35 var(--serif); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .5s var(--spring); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }

.foot { border-top: 1px solid var(--rule); padding-block: 34px calc(env(safe-area-inset-bottom, 0px) + 34px); }
.foot .in { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a, .foot p { color: var(--ink-3); font-size: .92rem; text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

/* Depth: fragments drift a little against the photo as you scroll or move the pointer. */
.js [data-depth] { translate: 0 calc(var(--dy, 0) * 1px); transition: translate .8s var(--spring); }
@media (prefers-reduced-motion: reduce) { .js [data-depth] { translate: none; } .js .sweep, .js .sweep.is-on { --sweep: 1; animation: none; } .js .scribble path { stroke-dashoffset: 0; transition: none; } .js .callout.lift { transform: none; opacity: 1; transition: none; } .js .playing i, .js .c-live .wv i, .js .s-live .dot, .js .cp .lv i, .js .badge-live i { animation: none; } .meet .todo, .meet .decision { animation: none; } .frames img { transition: none; } }
.langs { margin-top: clamp(70px, 9vw, 120px); display: grid; gap: 12px; }
.langs .wall-h { font-size: var(--t-h2); }
.dev-cta { margin-top: 28px; }

@media (prefers-color-scheme: dark) { :root { --kick: #8DC6EE; } }
