/* Scenino site. Mostly white, the text in a dark brown, small things (dots, markers, a line under a link)
   in burgundy. The only other colour is the juice of the bottle in front (--juice), on its test strip. */

@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/source-serif-4-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/source-sans-3-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }

:root {
  --night: #ffffff;
  --bg: #ffffff;
  --card: #f8f4f0;
  --raised: #ffffff;
  --ink: #3b2a21;
  --ink-2: #6b5649;
  --ink-3: #806b5e;
  --line: rgba(59, 42, 33, 0.13);
  --wine: #7a1f2d;

  --paper: #ffffff;
  --paper-card: #f8f4f0;
  --paper-ink: #3b2a21;
  --paper-2: #6b5649;
  --paper-3: #806b5e;
  --paper-line: rgba(59, 42, 33, 0.13);

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --juice: #c9a36b;
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
[id] { scroll-margin-top: 68px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; }
.serif { font-family: var(--serif); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
/* the small burgundy dot */
.dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--wine); vertical-align: 0.15em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.nav[data-solid] { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 24px; font-weight: 600; line-height: 1; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a, .nav-panel a { font-size: 16px; text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover, .nav-panel a:hover { color: var(--ink); }
.nav-links a[aria-current], .nav-panel a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--wine); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { padding: 8px 16px; border-radius: 8px; background: var(--ink); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color 0.2s; }
.nav-cta:hover { background: var(--wine); }
.nav-m, .nav-panel { display: none; }
.nav-toggle { position: relative; width: 40px; height: 40px; border-radius: 8px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav[data-open] .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav[data-open] .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero: a turntable of bottles, the one in front is today's ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(24px, 3vw, 48px);
  align-items: center;
  min-height: min(100svh, 960px);
  padding: 96px var(--gutter) 40px;
  background: var(--bg);
  overflow: hidden;
}
.hero-copy { max-width: 600px; padding: 24px 0; }
.kicker { margin: 0 0 20px; font-size: 16px; color: var(--ink-2); }
h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead { margin: 0 0 32px; max-width: 30em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); }
.fine { margin: 16px 0 0; font-size: 15px; color: var(--ink-3); }

/* Words come in out of focus, like a scent that opens up. Once, on load. */
.blur .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(10px); animation: unfocus 0.8s var(--ease) forwards; animation-delay: calc(var(--n) * 90ms + 120ms); }
@keyframes unfocus { to { opacity: 1; filter: none; transform: none; } }
.rise { opacity: 0; transform: translateY(14px); animation: rise 0.8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.shelf { position: relative; min-width: 0; }
.ring {
  --bh: clamp(190px, 30vh, 320px);
  position: relative;
  height: calc(var(--bh) * 1.8);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.ring.dragging { cursor: grabbing; }
/* the turntable the bottles stand on */
.ring-floor { position: absolute; left: 4%; right: 4%; bottom: 0; height: calc(var(--bh) * 0.36); border-radius: 50%; background: var(--card); box-shadow: inset 0 -1px 0 var(--line); }
.shelf-bottle {
  position: absolute;
  left: 0;
  bottom: calc(var(--bh) * 0.14);
  display: block;
  padding: 0;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.shelf-bottle img {
  height: var(--bh);
  width: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: drop-shadow(0 14px 12px rgba(59, 42, 33, 0.22));
}

/* The test strip: paper, the name printed on it, the tip dipped in the juice */
.strip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  z-index: 3;
  width: 184px;
  padding: 12px 14px 28px;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px rgba(59, 42, 33, 0.12);
  transform: translateX(-50%) rotate(-2.5deg) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.5s var(--ease);
}
.shelf-bottle[aria-pressed='true'] .strip { transition: opacity 0.4s 0.15s, transform 0.6s var(--ease) 0.12s; opacity: 1; transform: translateX(-50%) rotate(-2.5deg); }
.strip-name { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.1; font-weight: 600; }
.strip-why { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.strip::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 13px; background: var(--juice); transition: background-color 0.8s; }

/* ---------- Paper: try it ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.get.paper { background: var(--card); }
.try {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  column-gap: clamp(32px, 6vw, 112px);
  align-items: center;
  padding: clamp(96px, 14vw, 176px) var(--gutter);
}
h2 { margin: 0 0 24px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.try h2 { max-width: 9.5em; }
.facts { margin: 56px 0 0; padding: 0; max-width: 34em; }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--paper-line); }
.facts div:last-child { border-bottom: 1px solid var(--paper-line); }
.facts dt { font-weight: 600; font-size: 17px; }
.facts dt::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--wine); vertical-align: 0.15em; }
.facts dd { margin: 0; color: var(--paper-2); }

.demo { margin: 0; justify-self: center; width: min(100%, 360px); }
.demo figcaption { margin-top: 20px; text-align: center; font-size: 14px; color: var(--paper-3); }

/* The phone. Its screen is the app's own dark theme. */
.phone {
  position: relative;
  padding: 11px;
  border-radius: 56px;
  background: #0b0b0a;
  box-shadow: 0 0 0 2px #2b2a27, 0 40px 70px -34px rgba(59, 42, 33, 0.45), 0 14px 24px -16px rgba(59, 42, 33, 0.3);
  --p-bg: #121211; --p-ink: #edebe6; --p-ink-2: #a9a59d; --p-ink-3: #8c887f; --p-card: rgba(40, 39, 37, 0.7); --p-edge: rgba(255, 255, 255, 0.08);
}
.screen {
  position: relative;
  padding: 58px 20px 22px;
  border-radius: 46px;
  background: var(--p-bg);
  color: var(--p-ink);
  overflow: hidden;
  isolation: isolate;
}
.island { position: absolute; z-index: 3; top: 12px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 999px; background: #000; }
.phone-light {
  position: absolute; z-index: -1; left: 50%; top: 190px; width: 300px; height: 250px; margin-left: -150px;
  border-radius: 50%; background: var(--juice); opacity: 0.3; filter: blur(54px); transition: background-color 0.8s;
}
.today-date, .today-place { font-size: 13px; color: var(--p-ink-2); }
.today-temp { font-size: 42px; line-height: 1.05; font-weight: 500; }
.dial { position: relative; height: 34px; margin: 18px -20px 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
.dial-strip { position: absolute; left: 50%; top: 0; display: flex; gap: 4px; white-space: nowrap; }
.dial-strip.glide { transition: transform 0.45s var(--ease); }
.occ { padding: 4px 8px; font-size: 14px; font-weight: 600; color: var(--p-ink-3); transition: color 0.3s; }
.occ.on { color: var(--p-ink); }
.dial-dot { position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--p-ink); }
.pick { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pick-flacon { position: relative; width: 100%; height: 226px; }
.bottle { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 16px; opacity: 0; transform: translateX(40px) scale(0.94); transition: opacity 0.45s, transform 0.6s var(--ease); }
.bottle.on { opacity: 1; transform: none; }
.photo-big { position: relative; z-index: 1; height: 190px; width: auto; max-width: 160px; object-fit: contain; user-select: none; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.4)); }
.pick-floor { position: absolute; left: 50%; bottom: 12px; width: 110px; height: 12px; margin-left: -55px; border-radius: 50%; background: #000; opacity: 0.35; filter: blur(6px); }
.pick-text { min-height: 150px; transition: opacity 0.22s, transform 0.22s; }
.pick-text.out { opacity: 0; transform: translateY(6px); }
.pick-name { font-size: 37px; text-wrap: balance; line-height: 1; font-weight: 500; }
.pick-house { margin: 8px auto 0; max-width: 270px; font-size: 14px; line-height: 1.4; color: var(--p-ink-2); text-wrap: balance; }
.pick-notes { margin: 10px auto 0; max-width: 290px; font-size: 18px; font-style: italic; line-height: 1.3; color: var(--p-ink-2); text-wrap: balance; }
.choices { display: flex; justify-content: center; gap: 6px; margin-top: 16px; transition: opacity 0.18s; }
.choices.out { opacity: 0; }
.choice { width: 98px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--p-ink-3); transition: color 0.3s; }
.choice-plate { position: relative; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-edge); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.3s; }
.choice-glow { position: absolute; inset: 14px; border-radius: 50%; background: var(--juice); opacity: 0.45; filter: blur(10px); }
.photo-small { position: relative; height: 44px; width: auto; max-width: 34px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35)); }
.choice.on { color: var(--p-ink); }
.choice.on .choice-plate { transform: scale(1.06); box-shadow: inset 0 0 0 1px var(--p-edge), 0 0 0 1.5px var(--p-ink); }
.choice:active .choice-plate { transform: scale(0.95); }
.choice-name { max-width: 100%; font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wear { display: block; margin-top: 20px; padding: 15px; border-radius: 999px; background: var(--p-ink); color: var(--p-bg); text-align: center; font-weight: 600; font-size: 16px; }
.home-bar { width: 118px; height: 4px; margin: 18px auto -4px; border-radius: 2px; background: rgba(237, 235, 230, 0.55); }

/* ---------- Rows ---------- */
.rows { background: var(--bg); padding: clamp(96px, 13vw, 176px) var(--gutter) clamp(40px, 6vw, 80px); }
.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
}
.row + .row { margin-top: clamp(88px, 12vw, 168px); }
.row-text h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.row-text p { margin: 0; max-width: 28em; color: var(--ink-2); font-size: 18px; }
.row-a .vis { grid-column: 1 / span 7; grid-row: 1; }
.row-a .row-text { grid-column: 9 / span 4; grid-row: 1; }
.row-b .row-text { grid-column: 1 / span 4; grid-row: 1; }
.row-b .vis { grid-column: 6 / span 7; grid-row: 1; }
.row-c .vis { grid-column: 1 / span 6; grid-row: 1; }
.row-c .row-text { grid-column: 8 / span 5; grid-row: 1; }
.vis { padding: clamp(20px, 3vw, 40px); border-radius: 16px; background: var(--card); }

/* shelf with counts */
.own { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.own-item { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 8px 14px; border-radius: 12px; background: #fff; }
.own-item img { height: clamp(84px, 11vw, 132px); width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(59, 42, 33, 0.2)); }
.own-item b { margin-top: 12px; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.1; text-align: center; }
.own-item span { margin-top: 4px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* dupes with the score drawn as a thin bar */
.dupe-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dupe-head img { height: 72px; width: auto; filter: drop-shadow(0 6px 6px rgba(59, 42, 33, 0.2)); }
.dupe-head b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.dupe-head span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.dupes { list-style: none; margin: 0; padding: 0; }
.dupes li { display: grid; grid-template-columns: minmax(0, 1fr) 3.2em; column-gap: 16px; align-items: baseline; padding: 14px 0 0; }
.dupes li i { grid-column: 1 / -1; grid-row: 2; display: block; height: 2px; margin: 10px 0 14px; background: var(--line); position: relative; }
.dupes li i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--s); background: var(--wine); }
.dupes li + li { border-top: 1px solid var(--line); }
.dupes li b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.dupes li b small { margin-left: 10px; font: 400 14px var(--sans); color: var(--ink-3); }
.dupes li em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* the week */
.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day { display: flex; flex-direction: column; align-items: center; padding: 16px 4px 14px; border-radius: 12px; background: #fff; }
.day:first-child { box-shadow: inset 0 0 0 1.5px var(--wine); }
.day small { font-size: 13px; color: var(--ink-3); }
.day img { height: clamp(64px, 8vw, 104px); width: auto; max-width: 80%; margin: 14px 0 12px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(59, 42, 33, 0.2)); }
.day b { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.15; text-align: center; }
.day span { margin-top: 6px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- One sentence ---------- */
.promise { background: var(--bg); padding: clamp(72px, 10vw, 144px) var(--gutter) clamp(96px, 14vw, 200px); }
.promise p { margin: 0; max-width: 16em; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.promise small { display: block; margin-top: 28px; font-size: 18px; color: var(--ink-2); }

/* ---------- Four doors on the start page ---------- */
.paths { background: var(--bg); padding: clamp(56px, 8vw, 112px) var(--gutter); }
.path { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: baseline; column-gap: clamp(16px, 3vw, 48px); padding: clamp(20px, 2.4vw, 32px) 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-left 0.3s var(--ease); }
.path:last-child { border-bottom: 1px solid var(--line); }
.path b { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; }
.path span { color: var(--ink-2); font-size: 18px; max-width: 28em; }
.path i { font-style: normal; font-size: 28px; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.2s; }
.path:hover { padding-left: 12px; }
.path:hover i { transform: translateX(6px); color: var(--wine); }

/* ---------- Pages with their own content (how it works, features, guides, questions) ---------- */
.page-h1 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.page-head { padding: clamp(120px, 14vw, 176px) var(--gutter) 0; max-width: 1120px; }
.page-head .lead, .try .lead { margin: 0; max-width: 30em; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); }
.try .lead { color: var(--paper-2); }
.try.page-top { padding-top: clamp(120px, 14vw, 176px); }
.doc.wide { max-width: 980px; }
.doc.wide .faq-list > div { padding: 24px 0; border-top: 1px solid var(--line); }
.doc.wide .faq-list > div:last-child { border-bottom: 1px solid var(--line); }
.doc.wide .faq-list h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.doc.wide .faq-list p { margin: 0; }
.doc.wide .related { margin-top: 36px; }
.rows { padding-top: clamp(64px, 8vw, 112px); }

/* ---------- Get it ---------- */
.get { padding: clamp(88px, 12vw, 160px) var(--gutter); }
.get-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.get h2 { margin-bottom: 0; max-width: 8em; }
.get p { margin: 0 0 28px; max-width: 26em; color: var(--paper-2); font-size: 18px; }

/* The official store badges, unchanged. Google's picture has a transparent margin that is cut off,
   so both stand at the same height. Clear space between them is a quarter of their height. */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badge { display: block; height: 52px; line-height: 0; }
.store-badge img { height: 100%; width: auto; }
.store-badge.play { position: relative; width: var(--w); overflow: hidden; }
.store-badge.play img { position: absolute; left: var(--x); top: var(--y); height: var(--h); max-width: none; }
a.store-badge:not([href]) { cursor: default; }

/* ---------- Guides and questions (filled by seiten.py) ---------- */
.guides, .faq { background: var(--bg); padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.guides h2, .faq h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 36px; }
.guides .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.guides .card { display: block; padding: 22px 0 0; border-top: 1px solid var(--line); text-decoration: none; }
.guides .card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; line-height: 1.15; font-weight: 600; transition: color 0.2s; }
.guides .card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.guides .card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.faq { padding-bottom: clamp(72px, 10vw, 140px); }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq h2 { position: sticky; top: 100px; max-width: 6em; }
.faq-list > div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-list > div:last-child { border-bottom: 1px solid var(--line); }
.faq-list h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.faq-list p { margin: 0; color: var(--ink-2); max-width: 38em; }
.faq-list a { text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding: 32px var(--gutter) 44px; background: var(--bg); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.foot p { margin: 0; }
.foot a { text-underline-offset: 3px; }

/* ---------- Guides, legal pages, 404 ---------- */
.doc { max-width: 760px; margin: 0 0 0 clamp(0px, 12vw, 200px); padding: 132px var(--gutter) clamp(72px, 10vw, 128px); }
.crumbs { margin-bottom: 28px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.doc h1 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
.doc .lead { margin: 0 0 28px; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--ink-2); }
.byline { margin: 0 0 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.doc h2 { margin: 52px 0 14px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.doc p, .doc li, .doc address { font-size: 19px; line-height: 1.68; color: var(--ink); }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 1.1em; }
.doc li { margin-bottom: 8px; padding-left: 4px; }
.doc li::marker { color: var(--wine); }
.doc strong { font-weight: 600; color: var(--ink); }
.doc a { text-underline-offset: 3px; text-decoration-color: var(--wine); }
.doc a:hover { text-decoration-color: currentColor; }
.doc address { font-style: normal; margin-bottom: 16px; }
.legal h2 { font-size: 26px; margin-top: 40px; }
.cta-panel { margin: 72px 0 0; padding: clamp(28px, 4vw, 44px); border-radius: 16px; background: var(--card); color: var(--ink); }
.cta-panel h2 { margin: 0 0 12px; font-size: clamp(30px, 3.4vw, 42px); }
.cta-panel p { color: var(--paper-2); }
.cta-panel a { text-decoration-color: var(--wine); }
.cta-panel .store-badges { margin-top: 24px; }
.cta-panel .soon-note { margin: 12px 0 0; font-size: 14px; color: var(--paper-3); }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.related li:last-child { border-bottom: 1px solid var(--line); }
.related a { display: block; padding: 18px 0; text-decoration: none; }
.related b { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.related span { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.related a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Appear on scroll, once ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-m { display: flex; align-items: center; gap: 10px; }
  .nav-panel { display: flex; position: fixed; inset: 68px 0 auto; z-index: 29; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.25s; }
  .nav[data-open] .nav-panel { transform: none; opacity: 1; visibility: visible; }
  .nav-panel a { padding: 14px 0; font-size: 19px; border-top: 1px solid var(--line); }
  .nav-panel a:first-child { border-top: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 88px; }
  .hero-copy { padding: 16px 0 8px; }
  h1 { font-size: clamp(42px, 12vw, 64px); }
  .ring { --bh: 168px; margin: 72px calc(var(--gutter) * -1) 0; }
  .try { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .path { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .path span { grid-column: 1; grid-row: 2; font-size: 16px; }
  .path i { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .row { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .row-a .vis, .row-b .vis, .row-c .vis { grid-column: 1; grid-row: 1; }
  .row-a .row-text, .row-b .row-text, .row-c .row-text { grid-column: 1; grid-row: 2; }
  .get-in { grid-template-columns: minmax(0, 1fr); row-gap: 36px; align-items: start; }
  .guides .cards { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
  .doc { margin: 0; padding-top: 104px; }
  .week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blur .w, .rise { animation: none; opacity: 1; filter: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip, .dial-strip.glide { transition-duration: 0.01s; }
}
