/* Memory Jar marketing site
   Brand: warm cream paper, terracotta, soft serif. Type: Lora (display) +
   Plus Jakarta Sans (body, matches the app's wordmark). */

/* Self-hosted fonts (latin subset, variable). Served from this origin rather
   than the Google Fonts CDN, so no visitor IP is handed to Google — the
   privacy promise has to hold for the site's own assets too. */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette matched to the app's committed brand tokens (src/ui/theme.ts). */
  --paper:       #FFF8F0;   /* app background (cream) */
  --paper-warm:  #FFF0E4;   /* app surfaceWarm */
  --paper-2:     #FFFFFF;   /* app surface */
  --ink:         #3D2B1F;   /* app textPrimary */
  --ink-soft:    #8A6150;   /* app textSecondary */
  --ink-mute:    #886B57;   /* app textMuted */
  --terracotta:  #BC543C;   /* app accent — the single saturated colour */
  --accent-text: #A2452E;   /* app accentPressed — AA-safe terracotta text on cream */
  --btn:         #BC543C;   /* app accent; white labels are AA on it */
  --btn-press:   #A2452E;   /* app accentPressed */
  --line:        #EEE4DC;   /* app divider */
  --line-soft:   #F4ECE4;

  /* Display face. To try an alternative, swap the name here AND the @font-face
     src above (drop the matching .woff2 into assets/fonts/). Candidates worth
     viewing: "Newsreader" (warm editorial, good italics) · "Spectral" (elegant,
     literary) · "Source Serif 4" (clean humanist) · "Bitter" (sturdier slab). */
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(61,43,31,0.05), 0 4px 14px rgba(61,43,31,0.06);
  --shadow-md: 0 10px 30px rgba(61,43,31,0.10), 0 2px 6px rgba(61,43,31,0.06);
  --shadow-lg: 0 22px 50px rgba(61,43,31,0.16);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.center { text-align: center; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); line-height: 1.04; }
.section-title { font-size: clamp(1.85rem, 4vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 16px;
}
.eyebrow.center { margin-inline: auto; }
.lede { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; max-width: 34ch; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.section-sub.center { margin-inline: auto; }
.fineprint { font-size: 0.9rem; color: var(--ink-mute); }

a { color: var(--accent-text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-press); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-mute); background: var(--paper-2); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn:active { transform: translateY(1px); }

:focus-visible { outline: 2.5px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- get-notified form ---------- */
.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; }
.notify-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; max-width: 460px; margin: 0 auto 16px; }
.notify-form input[type="email"] { flex: 1 1 240px; min-width: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; color: var(--ink); background: var(--paper-2); }
.notify-form input[type="email"]::placeholder { color: var(--ink-mute); }
.notify-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-msg { flex-basis: 100%; margin-top: 4px; min-height: 1.2em; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }
.notify-msg.error { color: var(--accent-text); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.06rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row.center { justify-content: center; }
.hero-copy .fineprint { margin-top: 18px; }

/* hero signature: a jar with real memory notes settling in */
.hero-art { display: flex; justify-content: center; }
.jar-stage { position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1.05; }
.jar-glass { position: absolute; inset: auto 0 0 0; bottom: 0; width: 72%; margin-inline: auto; left: 0; right: 0; filter: drop-shadow(0 18px 24px rgba(61,43,31,0.10)); }
.note {
  position: absolute; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 16px; box-shadow: var(--shadow-md);
  width: 60%; max-width: 230px;
}
.note p { font-size: 0.98rem; line-height: 1.4; color: var(--ink); }
.note::before { content: ""; position: absolute; left: 16px; top: 9px; width: 26px; height: 3px; border-radius: 2px; background: var(--terracotta); opacity: .5; }
.note p { margin-top: 8px; }
.note-1 { top: 2%;  left: -4%;  --rot: -4deg; transform: rotate(var(--rot)); }
.note-2 { top: 26%; right: -6%; --rot: 4deg;  transform: rotate(var(--rot)); }
.note-3 { top: 52%; left: 2%;   --rot: -2deg; transform: rotate(var(--rot)); }

@media (prefers-reduced-motion: no-preference) {
  .note { animation: settle .7s cubic-bezier(.2,.7,.3,1) both; }
  .note-1 { animation-delay: .15s; }
  .note-2 { animation-delay: .32s; }
  .note-3 { animation-delay: .49s; }
  @keyframes settle {
    from { opacity: 0; transform: translateY(-18px) rotate(var(--rot)); }
    to   { opacity: 1; transform: translateY(0) rotate(var(--rot)); }
  }
}

/* ---------- thesis ---------- */
.thesis { background: var(--paper-warm); padding-block: clamp(56px, 9vw, 104px); }
.thesis p { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 2.15rem); line-height: 1.4; color: var(--ink); max-width: 24ch; margin-inline: auto; text-align: center; }
.thesis em { font-style: italic; color: var(--accent-text); }

/* ---------- how it works ---------- */
.how { padding-block: clamp(64px, 10vw, 120px); }
.how .section-title { margin-top: 6px; margin-bottom: 56px; }
.steps { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 90px); }
.step { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.step-reverse { grid-template-columns: 1fr 300px; }
.step-reverse .shot-fig { order: 2; }
.step-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.step-text p { color: var(--ink-soft); font-size: 1.08rem; max-width: 42ch; }

/* device-framed screenshot */
.shot-fig { margin: 0; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wip { font-size: 0.8rem; font-style: italic; color: var(--ink-mute); }
.shot, .phone { justify-self: center; width: 264px; max-width: 100%; border-radius: 30px; padding: 7px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot img, .phone img { border-radius: 23px; }
.step .shot { transform: rotate(-1.4deg); transition: transform .3s ease; }
.step-reverse .shot { transform: rotate(1.4deg); }
.step .shot:hover { transform: rotate(0); }

/* ---------- fill it together (shared jars) ---------- */
.together { background: var(--paper-warm); padding-block: clamp(64px, 10vw, 120px); }
.together .cols { display: grid; grid-template-columns: 1fr 320px; gap: clamp(28px, 5vw, 64px); align-items: center; }
.together .section-title { margin-top: 6px; }
.together-lede { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.55; max-width: 44ch; margin: 18px 0 0; }
.together .ticks { margin-top: 24px; }
.together-free { margin: 22px 0 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; max-width: 46ch; }
.together-free b { color: var(--ink); }

/* illustrated shared-jar card (built in markup — no screenshot) */
.jarcard { margin: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; transform: rotate(-1.2deg); transition: transform .3s ease; }
.jarcard:hover { transform: rotate(0); }
.jc-head { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
.jc-emoji { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-warm); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.jc-name { font-family: var(--display); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.jc-sub { color: var(--ink-mute); font-size: 0.85rem; margin-top: 2px; }
.avatars { display: flex; align-items: center; margin-top: 14px; }
.av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--paper-2); margin-left: -8px; display: flex; align-items: center; justify-content: center; font: 600 0.72rem/1 var(--body); color: var(--paper-2); background: var(--ink); }
.av:first-child { margin-left: 0; }
.av.more { background: var(--paper-warm); color: var(--ink-mute); border-color: var(--line); }
.memo { margin-top: 14px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 13px 15px; }
.memo p { margin: 0; font-size: 0.98rem; color: var(--ink); line-height: 1.4; }
.memo cite { display: block; margin-top: 7px; font-style: normal; color: var(--ink-mute); font-size: 0.82rem; }

/* compact use-case row */
.together-uses { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.use-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.use-item h3 { font-size: 1.16rem; margin-bottom: 8px; color: var(--ink); }
.use-item h3::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--terracotta); margin-bottom: 12px; }
.use-item p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; margin: 0; }
.together-after { margin: clamp(26px, 4vw, 38px) 0 0; color: var(--ink-soft); font-size: 1.02rem; max-width: 60ch; }
.together-after b { color: var(--ink); }

@media (max-width: 760px) {
  .together .cols { grid-template-columns: 1fr; }
  .jarcard { max-width: 360px; justify-self: center; transform: none; }
}

/* ---------- who it's for ---------- */
.who { background: var(--paper-warm); padding-block: clamp(64px, 10vw, 120px); }
.who .section-title { margin-top: 6px; }
.who .section-sub { margin-top: 16px; margin-bottom: 48px; }
.persona-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.persona { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; }
.persona h3 { font-size: 1.28rem; margin-bottom: 10px; }
.persona h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--terracotta); margin-bottom: 14px; }
.persona p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- privacy ---------- */
.privacy { padding-block: clamp(64px, 10vw, 120px); }
.privacy-grid { max-width: 720px; margin-inline: auto; }
.privacy .section-title { margin-top: 6px; }
.privacy .section-sub { margin-top: 16px; margin-bottom: 30px; }
.facts { margin: 0; display: grid; gap: 22px; }
.fact dt { font-family: var(--display); font-weight: 500; font-size: 1.12rem; color: var(--ink); margin-bottom: 5px; }
.fact dt::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); margin-right: 10px; vertical-align: middle; }
.fact dd { margin: 0; color: var(--ink-soft); font-size: 1.02rem; padding-left: 19px; }
.privacy .fineprint { margin-top: 26px; }

/* ---------- plans ---------- */
.plans { background: var(--paper-warm); padding-block: clamp(64px, 10vw, 120px); }
.plans .section-title { margin-top: 6px; margin-bottom: 48px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin-inline: auto; }
.plan { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; }
.plan-paid { border-color: color-mix(in srgb, var(--terracotta) 55%, var(--line)); background: linear-gradient(180deg, #fff, #fff8f3); }
.plan h3 { font-size: 1.4rem; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 1.02rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta); transform: rotate(-45deg); }
.plan-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.plan-aside { max-width: 820px; margin: 24px auto 0; text-align: center; color: var(--ink-soft); font-size: 1rem; }

/* ---------- closing ---------- */
.closing { padding-block: clamp(72px, 11vw, 128px); }
.closing h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 30px; }
.closing .cta-row { margin-bottom: 16px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-made { color: var(--ink-mute); font-size: 0.92rem; }
.appylad { font-weight: 800; color: #9B8C7C; letter-spacing: -0.02em; text-decoration: none; }
.appylad:hover { color: #FF7E5F; }
.appylad .dot { color: #FF7E5F; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- demo highlight ---------- */
.demo { padding-block: clamp(8px, 2vw, 24px); }
.demo-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.demo-card .eyebrow { margin-inline: auto; }
.demo-card .section-title { margin-top: 6px; }
.demo-card .section-sub { margin: 16px auto 30px; }
.demo-card .btn-primary { font-size: 1.06rem; padding: 16px 32px; }
.demo-card .demo-fine { margin-top: 16px; }

/* ---------- legal pages ---------- */
.legal-main { padding-block: clamp(40px, 7vw, 80px); }
.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 6px; }
.legal .updated { color: var(--ink-mute); font-size: 0.92rem; margin-bottom: 36px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 1.42rem; margin: 38px 0 12px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal ul { color: var(--ink-soft); padding-left: 20px; margin: 0 0 14px; display: grid; gap: 9px; }
.legal .back { display: inline-block; margin-bottom: 28px; color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.legal .back:hover { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-intro { color: var(--ink-soft); margin-bottom: 30px; max-width: 60ch; }
.faq { display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 20px 2px; font-weight: 700; color: var(--ink); font-size: 1.06rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 5px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--accent-text); }
.faq-a { padding: 0 2px 22px; }
.faq-a p { color: var(--ink-soft); margin: 0 0 12px; line-height: 1.6; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { color: var(--ink-soft); padding-left: 20px; margin: 4px 0 12px; display: grid; gap: 8px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .lede { max-width: none; }
  .hero-art { margin-top: 8px; }
  .jar-stage { width: min(86%, 360px); }
  .step, .step-reverse { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; }
  .step-reverse .shot-fig { order: 0; }
  .step-text p { margin-inline: auto; }
  .step .shot, .step-reverse .shot { transform: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .note { width: 66%; }
}

/* ---------- jar themes carousel ---------- */
.themes { padding-block: clamp(56px, 9vw, 104px); }
.themes .section-title { margin-top: 6px; }
.themes .section-sub { margin: 16px auto 44px; }

.carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel-arrow {
  flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2);
  color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, background-color .18s ease, opacity .18s ease;
}
.carousel-arrow:hover { border-color: var(--ink-mute); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }

.theme-track {
  list-style: none; margin: 0; padding: 8px 4px 16px; display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; flex: 1 1 auto;
}
.theme-track::-webkit-scrollbar { display: none; }

.theme-card {
  scroll-snap-align: center; flex: 0 0 clamp(230px, 78vw, 270px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.theme-card .phone { display: block; width: 100%; max-width: 264px; cursor: pointer; transition: transform .3s ease; }
.theme-card:hover .phone { transform: translateY(-4px); }
.theme-card .phone:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.theme-card h3 { font-size: 1.32rem; }
.theme-blurb { color: var(--ink-soft); font-size: 1rem; max-width: 26ch; }
.theme-open {
  margin-top: auto; font-weight: 600; font-size: 0.98rem; color: var(--accent-text);
  text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .18s ease;
}
.theme-open:hover { border-color: var(--accent-text); }

.theme-dots { display: flex; justify-content: center; gap: 9px; margin-top: 8px; }
.theme-dots button {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: var(--line); cursor: pointer; transition: background-color .18s ease, transform .18s ease;
}
.theme-dots button[aria-current="true"] { background: var(--terracotta); transform: scale(1.25); }
/* Dots are a one-card mobile affordance. On wider screens several cards are
   visible and the arrows lead, so the dots are hidden. */
@media (min-width: 621px) { .theme-dots { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .theme-track { scroll-behavior: auto; }
  .theme-card .phone, .theme-dots button { transition: none; }
}
