/* ═══════════════════════════════════════════════════════════════
   Textbook

   A calm, light page. The product does the talking: one large visual
   per idea, on the app's own warm off-white, with the icon's mother-of-
   pearl as light behind the hero and nowhere else. One dark section,
   privacy, where black means something.

   The app's calm palette: a notebook or a topic is ink with a grey @ or
   #, on the same faint pill the writing bar's destination wears, never a
   colour of its own. Yellow is the app's one colour for "now" and "send",
   and the page leaves it to the screenshots. Everything else is ink and
   greys, and the buttons are ink, the icon's own ground.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink:      #1A1917;
  --ink-2:    #5F5C58;
  --ink-3:    #8E8A85;
  --paper:    #FBFAF8;   /* the app's canvas in light mode */
  --paper-2:  #F3F1EE;   /* one step down, for alternate sections */
  --edge:     #E7E5E1;
  --night:    #0E0D0C;   /* the app's canvas in dark mode */
  --cream:    #F5F3F0;

  /* A name, as the app sets one: ink on the writing bar's faint pill,
     with the @ or # in grey. Notebooks and topics look the same; the
     sign is what tells them apart, as it is in the app. */
  --chip:     rgba(0, 0, 0, 0.06);
  --chip-ink: #1A1917;
  --chip-sig: #8E8A85;
  --accent:   #FFD833;

  --wrap:     1120px;
  --gutter:   clamp(22px, 5vw, 40px);
  --radius:   22px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Inter, system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.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: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

/* ── type ────────────────────────────────────────────────────── */

h1, h2, h3, h4 { margin: 0; font-weight: 650; }
h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08; letter-spacing: -0.032em;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0;
  color: var(--ink-3); margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.head .eyebrow, .hero .eyebrow { justify-content: center; }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.45;
  color: var(--ink-2); max-width: 40ch; margin-left: auto; margin-right: auto;
}
.body { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.head .body { margin-left: auto; margin-right: auto; }
.fineprint { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-3); margin: 0; }
.fineprint.center { text-align: center; }

/* The app's own tokens, set inline: ink on a faint pill, the sign in
   grey. See `--chip`. */
.tag {
  display: inline-block; white-space: nowrap; border-radius: 999px;
  padding: 0.02em 0.42em 0.06em 0.36em; font-weight: 550;
}
.tag.topic, .tag.notebook { background: var(--chip); color: var(--chip-ink); }
.tag .sig { color: var(--chip-sig); }

.pro {
  font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.02em;
  padding: 2px 8px; border-radius: 999px;
  background: var(--ink); color: #fff;
}

/* ── buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: 12px;
  font-size: 1rem; font-weight: 500; letter-spacing: -0.012em;
  text-decoration: none; white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: #33312E; }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 15px 28px; font-size: 1.0625rem; }
.btn-sm { padding: 7px 14px; font-size: 0.875rem; border-radius: 10px; }
.dark .btn { background: var(--cream); color: var(--ink); }

.link {
  color: var(--ink); font-weight: 500; text-decoration: none; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 3px;
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link::after { content: "›"; font-size: 1.2em; line-height: 0; transform: translateY(-1px); }
.dark .link { color: var(--cream); }

/* ── nav ─────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  /* Always drawn, so the bar reads as a bar from the first frame, not
     only once something has scrolled under it. */
  border-bottom: 1px solid var(--edge);
}
.nav-in { position: relative; display: flex; align-items: center; gap: 24px; height: 60px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.125rem; font-weight: 650; letter-spacing: -0.022em;
  color: var(--ink); text-decoration: none; margin-right: auto;
}
.brand img { border-radius: 7px; }
/* The cube itself, not the app icon: no tile, so no rounding. */
.brand img.mark, .foot-brand img.mark { border-radius: 0; }
/* As tall as the Get Textbook button on the other end of the bar, so the
   two ends of the header are the same weight. */
.brand img.mark { width: auto; height: 35px; }

/* The other pages keep a plain row of links. */
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.875rem; }
.nav-links a:hover { color: var(--ink); }

/* Menus: a word and a chevron in the bar, a quiet panel under it. The
   first column's links are set large, the way a table of contents puts
   its chapters above its sections. Three words in the bar instead of
   nine, which was what made it busy. */
.menus {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
}
.menu { position: relative; }
.menu-btn, .menu-link {
  font: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: 8px 12px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s ease;
}
.menu-btn::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: .55; transition: transform .2s ease, margin .2s ease;
}
.menu-btn:hover, .menu-link:hover, .menu:hover .menu-btn, .menu.open .menu-btn { background: rgba(0,0,0,.05); }
.menu:hover .menu-btn::after, .menu.open .menu-btn::after { transform: rotate(-135deg); margin-top: 3px; }

/* Opened by the pointer through CSS :hover, not by script. Mouse events
   arrive unevenly while a panel fades in under the cursor, and a script
   listening to them closed the menu every now and then; :hover is the
   browser's own answer and does not flicker. The panel is inside .menu,
   and a bridge spans the gap above it, so moving down from the word keeps
   the hover. Closing waits a moment (the delays below) so a pointer that
   slips out briefly does not lose it. Script still opens it for clicks,
   touch and the keyboard, as .open. */
.menu-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, -6px);
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px 40px;
  width: 720px; padding: 26px 30px 28px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 12px 40px rgba(0,0,0,.10);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease .12s, transform .16s ease .12s, visibility 0s linear .28s;
}
.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.menu-panel.narrow { grid-template-columns: 1fr 1fr; width: 420px; }
.menu:hover .menu-panel,
.menu.open .menu-panel,
.menu:has(:focus-visible) .menu-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
/* Moving straight from one word to the next swaps them at once, rather
   than the old panel lingering through its grace period over the new. */
.menus:hover .menu:not(:hover):not(.open) .menu-panel { transition-delay: 0s, 0s, 0s; transition-duration: .1s, .1s, 0s; }
/* After a link inside is followed, the panel goes, even though the
   pointer is still resting where it was. Cleared when the pointer leaves. */
.menus.done .menu-panel { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.menu-col { display: flex; flex-direction: column; gap: 2px; }
.menu-head { font-size: 0.8125rem; color: var(--ink-3); margin: 0 0 8px; }
.menu-col a {
  color: var(--ink); text-decoration: none; font-size: 0.9375rem;
  padding: 5px 0;
}
.menu-col a:hover { color: var(--ink-2); }
.menu-col a.menu-big {
  font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; padding: 4px 0;
}

/* ── hero ────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); text-align: center;
}
.hero .lede { margin-bottom: clamp(22px, 2.4vw, 32px); }

/* Sized by the viewport all the way down, so each of the two lines stays
   one line on a phone: allowed to wrap, the second line broke before the
   token for long words and not for short ones, and the page jumped every
   time the word changed. */
.hero-title {
  font-size: clamp(1.9rem, 8vw, 5.25rem);
  font-weight: 650; line-height: 1.12; letter-spacing: -0.035em;
  margin-bottom: clamp(18px, 2vw, 26px);
}
.hero-title .line { display: block; white-space: nowrap; }

/* The live token, at headline size. Room for descenders inside the pill,
   and the line height above leaves room for the pill itself. */
.tok {
  display: inline-flex; align-items: baseline; white-space: nowrap;
  padding: 0.02em 0.24em 0.1em 0.18em; margin: 0 0.03em 0 0.01em;
  line-height: 1; border-radius: 999px;
  transition: background-color .4s ease, color .4s ease;
}
.tok .sig { margin-right: 0.03em; transition: color .4s ease; }
.tok.topic, .tok.notebook { background: var(--chip); color: var(--chip-ink); }
.tok .sig { color: var(--chip-sig); }
/* What autocomplete offers before it is taken. */
.tok-ghost { opacity: .32; }
/* Takes no room: drawn into the pill's own right padding. */
.caret {
  display: inline-block; width: 0.055em; height: 0.78em;
  margin-left: 0.03em; margin-right: -0.085em; align-self: center;
  background: currentColor; border-radius: 1px; opacity: 0;
}
.tok.typing .caret { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: center; margin-bottom: 16px;
}

/* The product, whole, under the words, on the icon's pearl as light: four
   soft pools, butter, ice blue, rose and peach. No blur filter: a blurred
   layer this size repainted on every keystroke of the headline. */
.hero-stage {
  position: relative; margin-top: clamp(44px, 6vw, 76px);
  display: flex; justify-content: center;
}
.pearl {
  position: absolute; z-index: 0; inset: -24% -34% -30%;
  background:
    radial-gradient(34% 46% at 30% 34%, rgba(246,236,190,1), transparent 72%),
    radial-gradient(34% 46% at 70% 26%, rgba(196,214,252,1), transparent 72%),
    radial-gradient(38% 46% at 36% 82%, rgba(244,212,236,.95), transparent 72%),
    radial-gradient(34% 42% at 74% 78%, rgba(250,218,200,1), transparent 72%);
  /* Faded to nothing well inside its own box. The pools near the bottom
     ran past the box's edge and were cut there, which drew a straight
     line across the page under the devices. */
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 58%, transparent 100%);
          mask-image: radial-gradient(50% 50% at 50% 50%, #000 58%, transparent 100%);
  pointer-events: none;
}
/* At true scale: an iPhone 17 Pro is 150 mm tall and an 11-inch iPad Pro
   177.5 mm, so the phone's body is 85% of the pad's height. The phone
   frame has transparent margins (its body is 1650 of its 2000 pixels), so
   that is 33.5% of the pad's width, not the 25% it read as smaller at. */
.pair { position: relative; z-index: 1; width: min(820px, 80vw); margin-right: min(110px, 9vw); }
.pair .pad { width: 100%; }
.pair .phone { position: absolute; z-index: 2; width: 33.5%; right: -13%; bottom: -12%; }

.trust {
  position: relative; z-index: 1; list-style: none; padding: 0;
  margin: clamp(64px, 8vw, 104px) auto 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px;
  font-size: 0.9375rem; color: var(--ink-2);
}
.trust b { color: var(--ink); font-weight: 600; margin-right: 4px; }

/* ── sections ────────────────────────────────────────────────── */

.sec { padding: clamp(80px, 10vw, 128px) 0; }
.sec.tint { background: var(--paper-2); }
.sec.dark { background: var(--night); color: var(--cream); }
.sec.dark h2 { color: var(--cream); }
.sec.dark .body { color: #A8A5A0; }
.sec.dark .eyebrow, .sec.dark .fineprint { color: #8E8A85; }

.head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 5vw, 64px); }
.head h2 { margin-bottom: 18px; }

/* Words on one side, one device on the other. */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(32px, 6vw, 96px);
}
.split.flip .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 20px; }
.split-media { display: flex; justify-content: center; }
.split-media .phone { width: min(330px, 78vw); }

.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.points li {
  position: relative; padding-left: 22px;
  font-size: 1rem; line-height: 1.55; color: var(--ink-2);
}
.points li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
}
.points b { color: var(--ink); font-weight: 600; }

/* Four ways back, as cards: a line of words over the top of the screen
   that shows it, cropped rather than shrunk, so the type stays readable. */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  display: flex; flex-direction: column;
}
.card-text { padding: 28px 30px 0; }
.card-text h3 { margin-bottom: 8px; font-size: 1.375rem; }
.card-text p { color: var(--ink-2); font-size: 1rem; line-height: 1.5; margin-bottom: 24px; max-width: 36ch; }
.card-shot {
  margin: auto 30px 0; height: 300px; overflow: hidden;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 -6px 24px rgba(0,0,0,.05);
}
/* The status bar is not the point; start just under it. */
.card-shot img { width: 100%; height: auto; margin-top: -14%; }
/* A sheet, already cropped below its own grab edge and buttons, so it
   needs room above rather than a crop: the same air the others get. */
.card-shot.sheet { background: #FBFAF8; padding-top: 5%; }
.card-shot.sheet img { margin-top: 0; }

/* The devices as one group, overlapping, in depth: the iPad at the
   back, the two Duos in front of its lower corners, the Watch furthest
   forward. Positions and widths are shares of the group, so it scales as
   one piece. Widths come from the real devices against the iPad's 44%. */
.stack { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; aspect-ratio: 100 / 68; }
.s { position: absolute; }
.s .device { width: 100%; max-width: none; }
.s-ipad  { left: 20%; bottom: 7%; width: 44%; z-index: 1; }
.s-fold  { left: 5%;  bottom: 0;  width: 21%; z-index: 3; }
.s-open  { left: 49%; bottom: 0;  width: 40.4%; z-index: 2; }
.s-watch { left: 84%; bottom: 1%; width: 15.5%; z-index: 4; }
/* Things in front cast onto things behind, so the front three carry a
   deeper, closer shadow than they would standing alone on the page. */
.stack .baked { filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)) drop-shadow(0 24px 40px rgba(0,0,0,.22)); }
.stack .watch { --shadow: drop-shadow(0 6px 10px rgba(0,0,0,.2)) drop-shadow(0 22px 34px rgba(0,0,0,.22)); }

/* App Store-style privacy label, as three plain rows. */
.labels {
  list-style: none; padding: 0; margin: 0 auto 28px; max-width: 560px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.labels li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 18px 2px; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 1.0625rem; color: #C9C6C1;
}
.labels b { color: var(--cream); font-weight: 600; }

.plans {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 860px; margin: 0 auto 36px;
}
.plan {
  background: #fff; border-radius: var(--radius); padding: 30px 32px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.plan h3 { margin-bottom: 4px; }
.plan > p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.plan > p.plan-price { color: var(--ink-3); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: 1rem; color: var(--ink-2); }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 0.35em;
  width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
/* Pro wears the pearl: the one place the icon's finish appears below the
   hero, and only as an edge. */
.pro-plan {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #F2E3A6, #C9D8FB, #F0C9E4, #F6D2BE) border-box;
  border: 2px solid transparent; box-shadow: none;
}

/* ── devices ─────────────────────────────────────────────────────
   Measured from each frame render. The frame is in flow and carries the
   layout; the screenshot sits in its hole, rounded to the screen's own
   corner, over a black plate so the corners read as bezel. */

.device { position: relative; flex: none; line-height: 0; }
.device .frame {
  position: relative; z-index: 2; width: 100%; height: auto; display: block;
  filter: var(--shadow);
}
.device::before, .device .shot {
  position: absolute;
  left: var(--sl); top: var(--st); width: var(--sw); height: var(--sh);
}
.device::before { content: ""; background: #000; z-index: 0; border-radius: var(--sr); }
.device .shot { z-index: 1; object-fit: cover; border-radius: var(--sr); }

.phone {
  width: 398px;
  --sl: 9.561%; --st: 9.800%; --sw: 80.877%; --sh: 80.400%;
  --sr: 13.68% / 6.29%;
  --shadow: drop-shadow(0 6px 9px rgba(0,0,0,.12)) drop-shadow(0 26px 36px rgba(0,0,0,.16));
}
/* The 11-inch iPad Pro, from screenshots/ipad11-frame.swift. */
.pad {
  width: 100%; max-width: 640px;
  --sl: 4.772%; --st: 3.390%; --sw: 90.456%; --sh: 93.220%;
  --sr: 2.998% / 2.066%;
  --shadow: drop-shadow(0 8px 12px rgba(0,0,0,.12)) drop-shadow(0 34px 48px rgba(0,0,0,.16));
}
.pad.land {
  max-width: none;
  --sl: 3.390%; --st: 4.772%; --sw: 93.220%; --sh: 90.456%;
  --sr: 2.066% / 2.998%;
}
/* iPhone Duo: frame and screen baked into one picture by
   screenshots/compose-device.swift. Its screen is square on the hinge
   side and round on the other, which CSS can only cut with a mask image,
   and a mask that fails to load hides the whole screen. */
.baked {
  width: 100%; height: auto;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)) drop-shadow(0 30px 44px rgba(0,0,0,.16));
}
.watch {
  width: 232px;
  --sl: 15.833%; --st: 23.298%; --sw: 68.333%; --sh: 53.404%;
  --sr: 40% / 32.67%;
  --shadow: drop-shadow(0 18px 26px rgba(0,0,0,.18));
}
/* The watch render draws real chassis in its screen's corners and its
   hole is a squircle, which border-radius cannot draw. So the black plate
   is square and bled past the hole, for the frame to clip, and the face
   is inset a little inside it so the clock clears the bezel: rounding
   either to the hole cut four white arcs into the corners. `fill`
   because the hole and the capture differ in aspect by 2.7%, which a
   squash hides and a crop does not. */
.watch::before {
  border-radius: 0;
  left: 15.0%; top: 22.6%; width: 70.0%; height: 54.8%;
}
.watch .shot {
  object-fit: fill;
  left: 17.1%; top: 24.5%; width: 65.8%; height: 51.0%;
  border-radius: 12% / 10%;
}


/* Freehand: the iPad and the iPhone at true scale to each other. An
   11-inch iPad Pro is 249.7 mm tall, an iPhone 17 Pro 150 mm, so the
   phone's body is 60% of the pad's height. Its frame has transparent
   margins (the body is 1650 of 2000 pixels), which makes that 47% of the
   pad's width. The phone stands in front of the pad's lower left corner,
   over the sidebar, so the handwritten page on the pad stays in view. */
.fh-pair { position: relative; width: min(420px, 70vw); margin-left: min(120px, 20vw); }
.fh-pair .pad { width: 100%; max-width: none; }
.fh-pair .phone { position: absolute; z-index: 3; width: 47%; left: -28%; bottom: -8%; }

/* Scribe: the one dark split. Its points take the section's light ink,
   and the watch stands in front of the phone's lower corner, the way the
   two are worn and carried. */
.sec.dark .points li { color: #A8A5A0; }
.sec.dark .points li::before { background: var(--cream); }
.sec.dark .points b { color: var(--cream); }
.sec.dark .pro { background: var(--cream); color: var(--night); }
.sec.dark .split-copy .fineprint { margin-top: 24px; }
.scribe-pair { position: relative; padding-right: 72px; }
.scribe-pair .phone { width: min(300px, 64vw); }
/* This face is not black edge to edge like the others: it is the pearl.
   So it fills the whole opening, the same square plate that sits behind
   every watch shot, and the frame's bezel cuts the corners. Inset like the
   black faces, it showed the inset as a dark border. */
.scribe-pair .watch .shot {
  left: 15.0%; top: 22.6%; width: 70.0%; height: 54.8%;
  border-radius: 0; object-fit: cover;
}
.scribe-pair .watch {
  position: absolute; right: 0; bottom: 6%;
  width: min(170px, 36vw); z-index: 3;
  --shadow: drop-shadow(0 6px 10px rgba(0,0,0,.4)) drop-shadow(0 22px 34px rgba(0,0,0,.45));
}

/* ── footer ──────────────────────────────────────────────────── */

.foot {
  background: var(--paper-2); color: var(--ink-3);
  padding: 36px 0; font-size: 0.8125rem; line-height: 1.5;
  border-top: 1px solid var(--edge);
}
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.foot-brand {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 650; font-size: 0.9375rem;
  letter-spacing: -0.016em; margin-right: auto;
}
.foot-brand img { border-radius: 5px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-note { width: 100%; margin: 0; padding-top: 14px; border-top: 1px solid var(--edge); }

/* ── reveal ──────────────────────────────────────────────────────
   Scoped to `.js`, which the head sets before first paint, so a page
   whose script never arrives is complete rather than blank. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── the other pages: privacy, terms, support ──────────────────── */

.doc { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px); }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.doc .updated { color: var(--ink-3); font-size: 0.9375rem; margin-bottom: clamp(36px, 5vw, 54px); }
.doc h2 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.021em; margin: clamp(38px, 4vw, 52px) 0 12px; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; }
.doc p { margin: 0 0 1em; }
.doc ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.doc .callout { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 26px 0; }
.doc .callout p { margin: 0; color: var(--ink); }
.doc .back { display: inline-block; margin-bottom: 30px; text-decoration: none; }

/* ── responsive ──────────────────────────────────────────────── */

@media (max-width: 900px) {
  .menus { display: none; }
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.flip .split-copy { order: 0; }
  .split-media { margin-top: 12px; }
  .bento, .plans { grid-template-columns: 1fr; }
  .card-shot { height: 260px; }
}
@media (max-width: 560px) {
  .card-text { padding: 24px 22px 0; }
  .card-shot { margin: auto 22px 0; }
  .plan { padding: 26px 24px; }
  .trust { flex-direction: column; align-items: center; gap: 8px; }
}
