/* Warm, light-only direction requested by the user.
   Headlines use the official Adobe Fonts Fields web kit.
   Radius rule: square photos, 8px screenshots and pill buttons. No card containers around sections. */
:root {
  color-scheme: light;
  --bg: #FAF7F2;
  --text: #1E1E1E;
  --muted: #1E1E1E;
  --accent: #992640;
  --dark: #260A10;
  --white: #FFFFFF;
  --wine-white: #B28812;
  --highlight: #FFBC00;
  --pink: #FF2D55;
  --hero-position: 50% 25%;
  --hero-position-mobile: 48% 25%;
  --line: rgb(30 30 30 / 16%);
  --photo: rgb(30 30 30 / 8%);
  --screen: rgb(30 30 30 / 5%);
  --display: "fields", Georgia, serif;
  --sans: 'Figtree', 'Avenir Next', Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* One layout grid for every section: same max width, same side padding, 12 columns. */
  --content: 1280px;
  --gutter: 56px;
  --col-gap: 32px;

  /* Spacing scale. Use only these for margins, padding and gaps. */
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-72: 72px;
  --space-120: 120px;
  --section: var(--space-120);   /* top and bottom padding of every home section */

  --header-height: 80px;
  --screenshot-width: 386px;
}
* { box-sizing: border-box; }
/* overscroll-behavior-y: contain keeps the rubber-band bounce (which drives the hero stretch)
   but tells the browser a pull-down is not a pull-to-refresh. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--space-24)); background: var(--bg); overscroll-behavior-y: contain; }
/* Home page fallback: where the browser doesn't report a negative scroll during overscroll,
   the gap above the hero (and below the footer) shows Dark Red, not cream. The body stays cream. */
html.has-hero { background: var(--dark); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overscroll-behavior-y: contain; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible, .menu-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- Layout grid ---------- */
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* ---------- Type and shared elements ---------- */
nav { display: flex; gap: var(--space-32); font-size: 15px; font-weight: 500; }
nav a, .footer-bottom a { text-decoration: none; }
nav a:hover, .footer-bottom a:hover { color: var(--accent); text-decoration: underline; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 4.5vw, 66px); line-height: 1.08; }
h2 { font-size: clamp(36px, 3.3vw, 48px); line-height: 1.15; }
h3 { font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: var(--space-16) var(--space-32); background: var(--accent); color: var(--white); border-radius: 100px; text-decoration: none; font-weight: 600; white-space: nowrap; transition: transform .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--pink); }
.button:active { transform: scale(.98); }
.image-slot { background: transparent; border: 0; border-radius: 0; display: grid; place-items: center; overflow: visible; padding: 0; }
.image-slot figcaption { padding: var(--space-24); text-align: center; color: var(--muted); }
.image-slot strong { display: block; color: var(--text); font-size: 18px; font-weight: 500; margin-bottom: var(--space-8); }
.image-slot span { display: block; font-size: 17px; line-height: 1.6; }
/* When assets arrive, replace each figure's contents with an image. */
.image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screenshot { background: transparent; border-radius: 0; overflow: visible; }
.screenshot img { transform: scale(1.14); object-fit: cover; }
/* Keyboard-only shortcut: fully hidden (not just moved off the top, where a pull-down would reveal it)
   until someone presses Tab. */
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: var(--space-16); left: var(--space-16); background: var(--bg); padding: var(--space-16); z-index: 11; }

/* ---------- Header ---------- */
.nav-trigger { position: absolute; top: 0; width: 1px; height: 1px; pointer-events: none; }
.header { position: fixed; inset: 0 0 auto; z-index: 10; background: transparent; color: var(--white); }
.header .wrap, html.has-hero footer .wrap { --gutter: 80px; }
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; position: relative; }
.menu-toggle { display: none; }
.header nav a { color: inherit; }
.header nav a:hover { text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.header.scrolled { background: var(--bg); color: var(--text); box-shadow: 0 1px 0 var(--line); }

/* Official wordmarks retain their original aspect ratio. */
.wordmark { display: inline-grid; width: 190px; line-height: 1; text-decoration: none; }
.wordmark img { display: block; grid-area: 1 / 1; width: 100%; height: auto; }
.header .logo-red { visibility: hidden; }
.header.scrolled .logo-white { visibility: hidden; }
.header.scrolled .logo-red { visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 840px; display: flex; align-items: flex-end; padding-block: calc(var(--header-height) + var(--space-72)) 154px; color: var(--white); }
/* Stretchy header. .hero-photo is a transparent clipping layer that reaches one screen above the
   hero, so the photo can grow upward into the overscroll gap without spilling out the sides.
   .hero-media is exactly the hero's size; navigation.js transforms it from its top center. */
.hero-photo { position: absolute; top: -100vh; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }
.hero-media { position: absolute; top: 100vh; right: 0; bottom: 0; left: 0; margin: 0; background: var(--dark); transform-origin: 50% 0; will-change: transform; }
.hero-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position); }
/* The gradient sits on the photo so it grows with it; the text and nav don't move. */
.hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgb(30 30 30 / 94%) 0%, rgb(30 30 30 / 72%) 30%, rgb(30 30 30 / 12%) 68%, transparent 82%), linear-gradient(to bottom, rgb(30 30 30 / 65%), transparent 24%); }
.hero-copy { --gutter: 80px; position: relative; z-index: 1; max-width: 920px; margin-left: 0; }
.hero h1 { font-size: 60px; line-height: 1; max-width: 760px; }
.hero .intro { max-width: 650px; margin-block: var(--space-24); font-size: 22px; line-height: 1.2; color: var(--white); }
.hero .reassurance { max-width: 560px; margin-top: var(--space-24); font-size: 17px; line-height: 1.2; font-weight: 600; color: var(--white); text-shadow: 0 1px 4px rgb(30 30 30 / 90%); }
.hero .button { margin-top: 0; padding: 16px 26px; line-height: 20px; }
.hero a:focus-visible { outline-color: var(--white); }
@media (min-width: 1280px) {
  .hero { padding-bottom: 84px; }
}

/* ---------- Home sections ----------
   Two-part sections share one split: text on columns 1–5, image on 7–12, column 6 as the gutter.
   "Save the wine" mirrors it: image on 1–6, text on 8–12. Text blocks fill their columns, so
   their outer edge sits on the container edge. */
.section { padding-block: var(--section); }
.split { align-items: center; }
.split-text { grid-column: 1 / 6; }
.split-media { grid-column: 7 / 13; justify-self: start; }
.split.mirror .split-media { grid-column: 1 / 7; justify-self: end; grid-row: 1; }
.split.mirror .split-text { grid-column: 8 / 13; }
.split-text > p { color: var(--muted); margin-top: var(--space-24); }

/* Keep the three product story sections compact; the FAQ retains the full site grid. */
.showcase.wrap { --gutter: 80px; max-width: 1174px; }
.showcase.grid { grid-template-columns: minmax(0, 580px) minmax(0, 386px); justify-content: space-between; column-gap: 48px; }
.showcase.journal.section { padding-block: 80px; }
.showcase:not(.journal).section { padding-block: 80px; }
.showcase .split-text { grid-column: 1; }
.showcase .split-media { grid-column: 2; }
.showcase.mirror .split-media { grid-column: 1; }
.showcase.mirror .split-text { grid-column: 2; }
.showcase.mirror.grid { grid-template-columns: minmax(0, 386px) minmax(0, 580px); }
.showcase.find-again .split-media { grid-column: 2; grid-row: 1; }
.showcase.find-again .split-text { grid-column: 1; grid-row: 1; }
.showcase h2 { color: var(--pink); line-height: 1; }
.showcase .split-text > p { font-size: 24px; line-height: 1.2; }
.showcase h3 { font-size: 24px; line-height: 1.2; }
.showcase .split-text > p { margin-top: 24px; }
.showcase .journal-features { margin-top: 24px; }
.lookup { position: relative; isolation: isolate; background: transparent; color: var(--bg); }
.lookup::before { content: ''; position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; height: 100%; transform: translateX(-50%); background: var(--dark); }
.lookup h2 { color: var(--pink); }
.lookup .split-text > p { color: var(--bg); }
.store-badge { display: block; width: 140px; height: 47px; margin-top: 24px; line-height: 0; transition: transform .2s ease, opacity .2s ease; }
.store-badge img { display: block; width: 140px; height: 47px; }
.store-badge:hover { transform: translateY(-2px); opacity: .92; }

/* Same size for both phone screenshots; one landscape ratio for the photo. */
.screenshot { width: min(100%, var(--screenshot-width)); aspect-ratio: 386 / 798.373; }
.friends-photo { width: 100%; aspect-ratio: 4 / 3; }

.journal-features { display: grid; gap: var(--space-24); margin-top: var(--space-32); }
.journal-features p { margin-top: var(--space-8); color: var(--muted); font-size: 20px; line-height: 1.2; }

/* FAQ: heading on 1–5, questions on 7–12. The rule marks the section's top edge. */
.questions.wrap { --gutter: 80px; }
.questions { padding-top: 0; padding-bottom: 80px; }
.questions .grid { border-top: 1px solid var(--line); padding-top: 79px; align-items: start; }
.questions .grid { grid-template-columns: 500px 680px; column-gap: 48px; justify-content: start; }
.questions h2 { grid-column: 1; color: var(--dark); line-height: 1; }
.answers { grid-column: 2; }
.answers details { min-height: 102px; background: transparent; border-bottom: 2px solid rgb(38 10 16 / 22%); padding: 24px 0 47px; }
summary { cursor: pointer; list-style: none; font-size: 24px; font-weight: 400; line-height: 1.2; color: var(--accent); display: flex; justify-content: space-between; gap: var(--space-24); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1.2; }
details[open] > summary::after { content: '−'; }
details p { color: var(--muted); margin-top: var(--space-16); }

/* ---------- Support and Privacy pages (same split) ---------- */
.page-intro.wrap, .page-section.wrap { --gutter: 80px; }
.page-intro { padding-block: calc(var(--header-height) + var(--space-72)) var(--space-72); }
.page-intro h1, .page-intro .lede { grid-column: 1 / 9; }
.page-intro .lede { margin-top: var(--space-24); font-size: 20px; line-height: 1.6; max-width: 590px; }
.page-section { padding-block: 0 var(--section); }
.page-section > .grid { grid-template-columns: 500px 680px; column-gap: 48px; justify-content: start; border-top: 1px solid var(--line); padding-top: var(--section); align-items: start; }
.page-section h2, .policy-aside { grid-column: 1; }
.page-section .section-body, .policy { grid-column: 2; }
.section-body > p, .policy p { color: var(--muted); }
.section-body > p + p, .policy p + p { margin-top: var(--space-16); }
.section-body .button { margin-top: var(--space-24); }
.policy-aside { position: sticky; top: calc(var(--header-height) + var(--space-48)); font-size: 15px; }
.policy-aside p + p { margin-top: var(--space-8); }

/* ---------- Footer ---------- */
footer { background: var(--dark); color: var(--bg); padding-block: var(--space-32) var(--space-16); }
footer a, footer .tagline { color: var(--bg); }
footer .tagline { color: var(--pink); }
footer .tagline { margin-top: var(--space-16); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-24); color: var(--bg); font-size: 17px; margin-top: var(--space-48); }
.footer-bottom > div { display: flex; gap: var(--space-24); }
.footer-bottom a:hover { color: var(--bg); text-decoration-color: var(--pink); }

/* ---------- Tablet: same split, tighter gutters ---------- */
@media (max-width: 1023px) {
  :root { --gutter: var(--space-32); --col-gap: var(--space-24); --screenshot-width: 340px; }
  .hero-copy, .header .wrap, html.has-hero footer .wrap { --gutter: var(--space-32); }
  .showcase.wrap, .questions.wrap { --gutter: var(--space-32); max-width: 100%; }
  .showcase.grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 32px; }
  .showcase.mirror.grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .showcase .split-text > p, .journal-features p { font-size: 20px; }
  .showcase h3 { font-size: 21px; }
  .page-intro h1, .page-intro .lede { grid-column: 1 / 11; }
  .page-intro.wrap, .page-section.wrap { --gutter: var(--space-32); max-width: 100%; }
}

/* ---------- Phone: every block spans the full container ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section: var(--space-72); --header-height: 74px; --screenshot-width: 420px; }
  .hero-copy, .header .wrap, html.has-hero footer .wrap { --gutter: 20px; }
  .wordmark { width: 155px; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; margin-left: auto; padding: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
  .js .menu-toggle { display: inline-flex; }
  .header .menu-toggle:focus-visible { outline-color: currentColor; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
  .header.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle { display: none; }
  .header nav#site-nav { position: absolute; top: 100%; left: 50%; width: 100vw; transform: translateX(-50%); display: flex; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--bg); color: var(--text); box-shadow: 0 1px 0 var(--line); font-size: 16px; }
  .header nav#site-nav a { display: flex; min-height: 44px; align-items: center; font-weight: 500; }
  .js .header nav#site-nav { display: none; }
  .js .header.menu-open nav#site-nav { display: flex; }
  h2 { font-size: 36px; }
  .grid > * { grid-column: 1 / -1 !important; }
  .showcase.grid { grid-template-columns: minmax(0, 1fr); }
  .split { row-gap: var(--space-48); }
  .split-media, .split.mirror .split-media, .showcase .split-media, .showcase.mirror .split-media { justify-self: center; grid-row: 2; }
  .showcase.grid { row-gap: 32px; }
  .showcase.journal.section, .showcase:not(.journal).section { padding-block: 56px; }
  .showcase .split-text > p, .journal-features p { font-size: 18px; }
  .showcase h3 { font-size: 20px; }
  .showcase .store-badge { margin-top: 24px; }
  .screenshot { width: min(100%, 320px); }
  .showcase.find-again .split-text { grid-row: 1; }
  .showcase.find-again .split-media { grid-row: 2; }
  .lookup.split.mirror .split-media { grid-row: 1; }
  .lookup.split.mirror .split-text { grid-row: 2; }
  .showcase.wrap, .questions.wrap { --gutter: 20px; }
  .page-intro.wrap, .page-section.wrap { --gutter: 20px; }
  .questions { padding-bottom: 56px; }
  .questions .grid { grid-template-columns: minmax(0, 1fr); }
  .page-section > .grid { grid-template-columns: minmax(0, 1fr); }
  .questions .grid, .page-section > .grid { row-gap: var(--space-24); }
  summary { font-size: 18px; }
  .answers details { min-height: 76px; padding: 24px 0; }
  .hero { min-height: 760px; padding-block: calc(var(--header-height) + var(--space-72)) var(--space-48); }
  .hero-media img { object-position: var(--hero-position-mobile); }
  .hero h1 { font-size: clamp(48px, 11.8vw, 64px); max-width: 460px; }
  .hero .intro { font-size: 20px; }
  .hero .reassurance { max-width: 350px; }
  .policy-aside { position: static; }
  .footer-bottom { flex-direction: column; margin-top: var(--space-32); }
  .footer-bottom > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .store-badge { transition: none; }
}

/* ---------- Black Friday 2026 sale (date-gated by html.bf-sale in index.html) ---------- */
html:not(.bf-sale) .bf-only { display: none !important; }
html.bf-sale .bf-hide { display: none !important; }
.hero .hero-sale { margin-bottom: var(--space-24); font-size: 20px; line-height: 1.2; color: var(--white); text-shadow: 0 1px 4px rgb(30 30 30 / 90%); }
.hero-sale__tag { display: inline-block; margin-right: var(--space-8); padding: 4px 12px; border-radius: 100px; background: var(--highlight); color: var(--dark); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-shadow: none; vertical-align: 2px; }
.hero-sale strong { font-weight: 700; }
.hero-sale s { margin-left: 4px; opacity: .75; }
.bf-band { background: var(--accent); color: var(--white); }
.bf-band__inner { --gutter: 80px; max-width: 1174px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-24) var(--space-48); padding-block: var(--space-48); }
.bf-band__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--highlight); }
.bf-band__title { margin-top: var(--space-8); color: var(--white); line-height: 1; }
.bf-band__note { margin-top: var(--space-16); font-size: 18px; line-height: 1.3; color: var(--bg); }
.bf-band .store-badge { flex: none; margin-top: 0; }
.bf-band a:focus-visible { outline-color: var(--white); }
@media (max-width: 1023px) {
  .bf-band__inner { --gutter: var(--space-32); max-width: 100%; }
}
@media (max-width: 767px) {
  .bf-band__inner { --gutter: 20px; flex-direction: column; align-items: flex-start; padding-block: 40px; }
  .hero .hero-sale { font-size: 18px; }
}
