/* Pet Tarot Cards: night blue and gold, the look of the card frames (scripts/make-strips.mjs). Dark is the default
   theme (theme.js); the light theme is parchment with the same gold. Shop styles are at the end of this file. */
/* Fonts are self-hosted (SIL OFL, from Google Fonts; latin + latin-ext subsets) so text paints without waiting on another origin. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/static/fonts/fraunces-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/static/fonts/fraunces-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: "Fraunces"; font-style: italic; font-weight: 500 700; font-display: swap; src: url("/static/fonts/fraunces-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500 700; font-display: swap; src: url("/static/fonts/fraunces-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: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/static/fonts/familjen-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/static/fonts/familjen-grotesk-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 {
  --ink: #12162b;      /* dark of buttons and text on the accent color */
  --ink-2: #1b2140;    /* panels (the card frame's navy) */
  --ink-3: #232a4f;
  --line: #333b66;
  --cream: #f7f0dd;
  --muted: #a9aecb;
  --text-2: #e6e3f0;
  --bg: #12162b;
  --text: var(--cream);
  --accent-text: #e2c06e;
  --accent: #c9a24a;   /* gold: buttons, prices, highlights (navy text on it) */
  --accent-2: #9fb4ff; /* focus rings, small marks */
  --accent-3: #e2c06e;
  --blush: #2a3160;
  --sky: #9fb4ff;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Familjen Grotesk", "Helvetica Neue", sans-serif;
  --r: 22px;
  --shadow: 0 1px 2px rgba(60, 30, 30, .05), 0 12px 32px rgba(60, 30, 30, .08);
  --wrap: min(1180px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* No grey flash over buttons and choices on tap (mobile browsers' default); a picked choice already shows it's picked. */
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* film grain */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--accent-text); text-underline-offset: 3px; }
@media (hover: hover) { a:hover { color: var(--text); } }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; }
h2 { font: 600 clamp(34px, 5vw, 60px)/.95 var(--display); letter-spacing: .5px; }
h3 { font: 600 20px/1.2 var(--sans); }
em { font-family: var(--serif); font-style: italic; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--accent); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  width: var(--wrap); margin: 0 auto; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative; z-index: 5;
}
/* Computers: the bar stays at the top while the page scrolls, and the page scrolls as one (no sticky hero column:
   on the AI vocals site the card sliding under a still headline looked broken, 10-30). Phones have their fixed bar. */
@media (min-width: 961px) {
  html { scroll-padding-top: 80px; }
  /* body's overflow-x: hidden (with html's clip below) makes body its own scroll box, which never scrolls, so the bar
     would never stick; clip hides the same overflow without that (found on photopatternmaker, 10-31). */
  body { overflow-x: clip; }
  .site-header { position: sticky; top: 0; z-index: 45; width: auto; padding: 12px max(20px, (100% - 1480px) / 2); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .lang-banner { position: relative; }
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 35%, transparent)); }
/* A long site name gives way (…) before the button does. */
.brand-word { font: 600 24px/1 var(--display); letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-word em { color: var(--accent-text); text-transform: none; font-size: 26px; margin-left: 2px; }
.site-nav { display: flex; flex: none; align-items: center; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
@media (hover: hover) { .site-nav a:hover { color: var(--text); } }
.site-nav .nav-cta { color: var(--ink); background: var(--accent); padding: 9px 16px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
@media (hover: hover) { .site-nav .nav-cta:hover { color: var(--ink); background: var(--cream); } }
@media (max-width: 860px) { .site-nav .nav-link { display: none; } }
@media (max-width: 480px) {
  .site-header { gap: 10px; }
  .brand-word { font-size: 20px; } .brand-word em { font-size: 22px; }
  .site-nav .nav-cta { padding: 8px 12px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero {
  width: var(--wrap); margin: 0 auto; padding: 36px 0 70px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start;
  position: relative;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
  margin: 6px 0 18px;
}
/* Japanese: no line starts with a small kana or ー ("カフ|ェ" in the hero h1, fancy-cafe-ai ja check 11-04). */
:lang(ja) { line-break: strict; }
.hero h1 {
  font: 600 clamp(64px, 10.5vw, 148px)/.84 var(--display);
  letter-spacing: -.5px; margin: 0 0 22px;
}
.hero h1 em { display: block; text-transform: none; font-size: .5em; line-height: 1; color: var(--accent-2); margin-top: 6px; letter-spacing: 0; }
/* --fit is the longest word's length (set in the template), so names like "Rumpelstiltskin" still fit the column. */
.hero-trend h1 { font-size: clamp(40px, min(8vw, calc(min(1180px, 100vw - 40px) / var(--fit, 1))), 110px); }
/* Chinese headings break at spaces and punctuation, not inside words (影片), unless a word can't fit. */
h1:lang(zh) { word-break: keep-all; overflow-wrap: anywhere; }
/* The display font only has Latin; Chinese, Japanese, Korean and Thai fall back to system fonts whose glyphs fill the
   whole em box (Thai adds marks above and below), so the .84–1 Latin leading made wrapped lines touch and the first
   line hit the header. These headings get real leading in those languages; Latin pages keep the tight look. */
html:is(:lang(zh), :lang(ja), :lang(ko)) :is(h1, h2, .doc.guide h1, .doc h2, .sub-h, .how-grid b, .effect-card b, .sample-cap b, .hd-cap b) { line-height: 1.15; }
html:lang(th) :is(h1, h2, .doc.guide h1, .doc h2, .sub-h, .how-grid b, .effect-card b, .sample-cap b, .hd-cap b) { line-height: 1.25; }
.lede { font-size: 20px; max-width: 34ch; color: var(--text-2); }
.lede em { color: var(--accent-text); font-size: 1.15em; }
.facts { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--text-2); }

.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
/* backwards, not both: a transform left on .hero-tool after the animation becomes the containing block of any
   position: fixed element inside it (remakethetrend 11-06: its sticky button sat thousands of px off screen). */
.hero-tool { animation: rise .8s .2s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 10px; }
  .lede { max-width: none; font-size: 18px; margin-bottom: 0; }
  .hero h1 { font-size: clamp(52px, 15vw, 96px); margin-bottom: 14px; }
  .hero-trend h1 { font-size: clamp(30px, min(15vw, calc((100vw - 40px) / (var(--fit, 1) * .46))), 96px); }
}

/* ---------- ticket (maker form) ---------- */
.ticket {
  background: var(--cream); color: var(--ink);
  border-radius: 22px; padding: 22px 22px 18px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
/* No tilt: on the AI vocals site it read as crooked, on phones and then on computers (10-30 主人「电脑版怎么会歪的」). */
.ticket::before, .ticket::after { /* perforation notches */
  content: ""; position: absolute; top: 56px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px dashed rgba(13, 11, 18, .25);
}
.ticket-kicker { font: 600 22px/1 var(--display); letter-spacing: .5px; }
.ticket-no { font: 600 12px/1 var(--sans); letter-spacing: .2em; color: #75666c; }
.ticket-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.step-label { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.step-label span { display: inline-block; font: 600 15px/1 var(--display); background: var(--ink); color: var(--accent); padding: 4px 6px; border-radius: 6px; margin-right: 6px; }

.drop {
  display: block; position: relative; cursor: pointer;
  border: 2px dashed rgba(13, 11, 18, .3); border-radius: 14px;
  min-height: 108px; overflow: hidden; background: #fffaf7;
  transition: border-color .2s, background .2s;
}
.drop.drag { border-color: var(--accent-2); background: #fff1ec; }
@media (hover: hover) { .drop:hover { border-color: var(--accent-2); background: #fff1ec; } }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { display: flex; align-items: center; gap: 14px; padding: 18px; font-size: 15px; }
.drop-empty small { display: inline-block; margin-top: 2px; line-height: 1.4; color: #75666c; }
.drop-or { font-weight: 400; color: #75666c; }
@media (hover: none) { .drop-or { display: none; } } /* touch screens have nothing to drag */
@media (min-width: 961px) { .drop { min-height: 88px; } .drop-empty { padding: 14px 18px; } }
.drop-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--accent); font-size: 26px; flex: none; }
.drop-preview { width: 100%; max-height: 240px; object-fit: contain; background: #1c1724; }
.drop.has-photo .drop-empty { display: none; }
/* Once a photo is in, the box still says whose it is and that a tap swaps it. */
/* Wraps instead of cutting to "Makes the coffee · C…" on a phone, where two photos sit side by side (11-04 iPhone review). */
.drop-tag { display: none; position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: 8px; background: rgba(13, 11, 18, .78); color: var(--cream); font: 700 12px/1.2 var(--sans); white-space: normal; overflow-wrap: anywhere; pointer-events: none; }
.drop.has-photo .drop-tag { display: block; }
/* One box per photo slot; two or three sit side by side, labels stack inside. */
.drops { display: grid; grid-template-columns: repeat(var(--slots, 1), minmax(0, 1fr)); gap: 10px; }
.drops[style*="--slots:2"] .drop-empty, .drops[style*="--slots:3"] .drop-empty { flex-direction: column; align-items: flex-start; padding: 14px; font-size: 14px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 16px 0 12px; color: #4d3f45; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
/* Under the button in small print, last (AI vocals site and RapDuo; Turnly ba90cca): tapping the button is the consent.
   Before a photo the button only opens the photo picker, so this and how checkout goes wait for the photo. */
.consent-line { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: #75666c; text-align: center; text-wrap: balance; }
.ticket:has(.drop):not(:has(.drop.has-photo)) :is(.cost-line, .consent-line) { display: none; }
.ticket .go-row { margin-top: 18px; }

.btn-go {
  width: 100%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-radius: 14px;
  background: var(--ink); color: var(--cream);
  font: 600 24px/1 var(--display); letter-spacing: .5px;
  transition: transform .15s, background .15s;
}
@media (hover: hover) { .btn-go:hover { filter: brightness(1.08); transform: translateY(-1px); } }
.btn-go:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-go-price { background: var(--accent); color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: 20px; }
.btn-small { font-size: 18px; padding: 12px 16px; justify-content: center; }
.form-msg { min-height: 1.2em; margin: 10px 0 0; font-size: 14px; color: #b3261e; }
.ticket-fine { margin: 6px 0 0; text-align: center; font-size: 12px; color: #75666c; letter-spacing: .02em; }

/* ---------- answer block ---------- */
.answer {
  width: var(--wrap); margin: 0 auto; padding: 70px 0;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center;
  border-top: 1px solid var(--line);
}
.answer-inner h2 { margin-bottom: .4em; }
.answer-lead { font-size: 21px; color: var(--text-2); }
.answer-inner h3 { margin-top: 1.6em; }
.plain-steps, .beats { padding-left: 1.2em; }
.plain-steps li, .beats li { margin: 6px 0; }
.beats li::marker { color: var(--accent-text); font-weight: 700; }
@media (max-width: 860px) { .answer { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .answer-lead { font-size: 18px; } }

/* The first real sample beside the answer and on question pages (parts.mjs phoneDemo): a straight card like the
   gallery's, the video on top and the photos it came from in a strip underneath (airaindance's example card). It sits
   level with the heading on computers rather than floating mid-column. No tilt, like the form (主人 11-03). */
.phone-figure {
  width: min(100%, 320px); margin: 0; justify-self: center; align-self: start; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.phone-screen { position: relative; aspect-ratio: 9 / 16; background: #000; }
.phone-cap { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.pc-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pc-text b { font: 800 12px/1.25 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.phone-cap .sample-note { max-width: none; margin: 0; text-align: left; font-size: 12px; }
.pc-photos { display: flex; gap: 6px; flex: none; }
.pc-photos img { display: block; width: 40px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--ink-3); }

/* ---------- sections ---------- */
.how, .pricing, .faq-wrap, .more, .effects-more { width: var(--wrap); margin: 0 auto; padding: 70px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { margin: 0; }

.chip { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; align-self: flex-start; }
.chip-hot { background: var(--ink); color: var(--accent); }
.chip-cooling { background: rgba(13, 11, 18, .78); color: var(--sky); }
.chip-evergreen { background: rgba(13, 11, 18, .78); color: var(--cream); }
.eyebrow .chip-hot { background: var(--accent); color: var(--ink); }
.eyebrow .chip-cooling { background: var(--sky); color: var(--ink); }
.eyebrow .chip-evergreen { background: var(--cream); color: var(--ink); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.price-pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px color-mix(in srgb, var(--accent) 8%, transparent); }
.price-flag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--ink); font: 700 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }
.price-name { font: 600 26px/1 var(--display); margin: 0; }
.price-amount { font: 600 64px/1 var(--display); margin: 10px 0 4px; color: var(--accent-text); }
.price-per { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.price-list { margin: 0; padding-left: 1.1em; font-size: 15px; }
.price-list li { margin: 4px 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font: 600 24px/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-2); }

/* Links to the question pages as cards with an arrow, two or three to a row (rapduo's guide cards): big enough to tap. */
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
ul.more-list > li { margin: 0; }
.more-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); color: var(--text); font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .15s; }
.more-list a::after { content: "→"; flex: none; font-weight: 700; color: var(--accent-text); }
@media (hover: hover) { .more-list a:hover { border-color: var(--accent); color: var(--text); } }
.crumbs { width: var(--wrap); margin: 0 auto; font-size: 14px; color: var(--muted); padding-top: 4px; }
.crumbs a { color: var(--muted); }

/* ---------- docs ---------- */
.doc { width: min(760px, 100% - 40px); margin: 0 auto; padding: 40px 0 80px; }
.doc h1 { font: 600 clamp(44px, 7vw, 76px)/.95 var(--display); }
.doc h2 { font: 600 30px/1 var(--display); margin-top: 1.6em; }
.doc li { margin: 6px 0; }

.order-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 280px)); gap: 18px; }
@media (max-width: 560px) { .order-videos { grid-template-columns: minmax(0, 300px); justify-content: center; } }
.vid { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vid video, .vid .vid-wait { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.vid-wait { display: grid; place-items: center; text-align: center; padding: 20px; background: radial-gradient(circle at 50% 30%, #3b1d4d, #120f18 70%); }
.vid-wait b { font: 600 26px/1 var(--display); color: var(--accent); display: block; margin-top: 12px; }
.vid-meta { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.vid-meta a { font-weight: 700; }
.vid-ios { padding: 0 14px 14px; display: grid; gap: 8px; }
.vid-ios p { margin: 0; }
.vid-save { background: var(--accent); color: var(--ink); }
@media (hover: hover) { .vid-save:hover { background: var(--accent); color: var(--ink); } }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 0 auto; }
/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 46px 0 30px; }
.footer-grid { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font: 600 30px/1 var(--display); margin: 0 0 8px; }
.footer-brand em { color: var(--accent-text); text-transform: none; }
.footer-h { font-weight: 700; margin: 0 0 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-guides { grid-column: 1 / -1; }
.footer-guides .footer-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 30px; align-items: start; }
.footer-guides .footer-links li { break-inside: avoid; margin: 0 0 12px; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
@media (hover: hover) { .footer-links a:hover { color: var(--text); } }
/* Languages: one pill under the links that opens the list upward (after the AI vocals site), not a column of names. */
.footer-language-nav { position: relative; display: flex; justify-content: flex-end; width: var(--wrap); margin: 28px auto 0; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-language-menu { position: relative; width: max-content; max-width: 100%; }
.footer-language-menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: transparent; font-size: 14px; line-height: 1.25; list-style: none; cursor: pointer; }
.footer-language-menu summary::-webkit-details-marker { display: none; }
.footer-language-menu summary svg { width: 16px; height: 16px; flex: none; }
.footer-language-menu summary span { flex: 1; }
.footer-language-menu[open] summary { border-color: var(--accent); background: var(--ink-2); }
@media (hover: hover) { .footer-language-menu summary:hover { border-color: var(--accent); background: var(--ink-2); } }
.footer-language-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-language-menu[open] summary svg:last-child { rotate: 180deg; }
.footer-language-menu ul { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30; min-width: 100%; max-height: min(60vh, 360px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.footer-language-menu li a { display: block; min-height: 44px; padding: 12px 14px; border-radius: 8px; color: var(--text); text-decoration: none; white-space: nowrap; }
.footer-language-menu li a[aria-current] { background: var(--ink-3); }
@media (hover: hover) { .footer-language-menu li a:hover { background: var(--ink-3); } }
@media (max-width: 760px) { .footer-language-nav { justify-content: stretch; } .footer-language-menu { width: 100%; } }
:root[data-theme="light"] .footer-language-menu ul { box-shadow: 0 16px 40px rgba(40, 30, 10, .15); }
.studio-toast[hidden] { display: none; }
/* The pay window and the hidden deal (studio.js paywall, maybeDeal), after the AI vocals site's and RapDuo's: cream like
   the ticket, the video about to be bought on top, cards with the led one in the sticker shadow.
   height: fit-content: iPhone Safari otherwise stretches a modal dialog to the full screen and spreads its rows apart. */
.gate { width: min(420px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 24px); overflow-y: auto; align-content: start; padding: 22px 20px 16px; border: 0; border-radius: 22px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); outline: none; }
/* Taller than the screen: iPhone Safari leaves the strip under its toolbar uncovered otherwise. */
.gate::backdrop { inset: -25vh 0; background: rgba(8, 6, 12, .65); backdrop-filter: blur(4px); }
.gate[open] { display: grid; gap: 12px; }
.gate-close { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 26px; line-height: 1; color: #5c5566; cursor: pointer; }
@media (hover: hover) { .gate-close:hover { background: rgba(13, 11, 18, .07); } }
.gate-title { margin: 4px 0 0; padding-right: 40px; font: 700 24px/1.15 var(--sans); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.gate-text { margin: 0; font-size: 15px; line-height: 1.45; color: #4d4558; }
.gate-video { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 2px 0 0; padding: 10px 12px; border: 2px dashed rgba(13, 11, 18, .22); border-radius: 16px; background: #fff8ee; }
.gate-video img { width: 40px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--ink); }
.gate-video img[hidden] { display: none; }
.gate-video-text { display: grid; gap: 2px; min-width: 0; }
.gate-video-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.gate-video-text small { font-size: 13px; line-height: 1.3; color: #75666c; }
.gate-no { justify-self: center; min-height: 44px; padding: 8px 4px; border: 0; background: none; font: inherit; font-size: 14px; color: #75666c; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pay { width: min(440px, calc(100vw - 32px)); }
.pay[open] { gap: 10px; }
.pay-note { margin: -4px 0 0; font-size: 14px; line-height: 1.4; font-weight: 700; color: #1f6e3f; }
.pay-note::before { content: "✓ "; }
/* Someone whose last purchase was one video on its own: the packs lead, this video is a plain link under them. */
.pay-note.repeat { color: var(--ink); }
.pay-note.repeat::before { content: none; }
.pay-one { justify-self: center; padding: 6px 2px; border: 0; background: none; color: var(--ink); font: 700 14px/1.3 inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pay-one[hidden] { display: none; }
.pay-starts { margin: -2px 0 2px; font-size: 13px; line-height: 1.4; color: #75666c; }
.pay-cards { display: grid; gap: 12px; }
.pay-card { position: relative; display: grid; gap: 2px; padding: 14px 16px 16px; border: 2px solid rgba(13, 11, 18, .2); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, transform .12s; }
@media (hover: hover) { .pay-card:hover { border-color: var(--ink); } }
.pay-card.lead { margin: 6px 4px 6px 0; border-color: var(--ink); box-shadow: 4px 5px 0 var(--ink); }
@media (hover: hover) { .pay-card.lead:hover { transform: translateY(-1px); } }
.pay-badge { position: absolute; top: -12px; right: 12px; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 8px; background: var(--accent); color: var(--ink); font: 800 12px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.pay-name { font: 700 15px/1.3 var(--sans); }
.pay-price { display: flex; align-items: baseline; gap: 6px; }
.pay-price b { font: 800 30px/1.1 var(--sans); letter-spacing: -.01em; }
.pay-price small { font-size: 14px; color: #75666c; }
.pay-card-note { font-size: 13px; line-height: 1.4; color: #75666c; }
.pay-cta { display: grid; place-items: center; width: 100%; min-height: 46px; margin-top: 10px; border: 2px solid var(--ink); border-radius: 12px; background: none; color: var(--ink); font: 800 15px/1.1 var(--sans); cursor: pointer; }
.pay-card.lead .pay-cta { background: var(--accent); }
.pay-fine { margin: 2px 0 0; text-align: center; font-size: 12px; line-height: 1.4; color: #75666c; }
.pay-all { justify-self: center; padding: 4px 2px 6px; color: var(--ink); font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
@media (hover: hover) { .pay-all:hover { color: var(--ink); } }
/* Phones: each option on one row, the button on its right, so the whole window fits one screen (11-03, from
   firsttimeinafancycafe.com 4d87aa4: stacked with full-width buttons it was ~910px tall on an 844px iPhone, the last
   button and the links under it out of view). */
@media (max-width: 759px) {
  .pay .gate-title { font-size: 21px; }
  .pay-cards { gap: 10px; }
  .pay-card { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 12px 12px 12px 14px; }
  .pay-card > :not(.pay-cta, .pay-badge) { grid-column: 1; }
  .pay-cta { grid-column: 2; grid-row: 1 / span 3; width: 140px; min-height: 44px; margin: 0; padding: 4px 10px; text-align: center; }
  .pay-card.lead { margin: 8px 4px 4px 0; }
  .pay-price b { font-size: 25px; }
  .pay-card-note { font-size: 12.5px; line-height: 1.35; }
}
@media (max-width: 380px) {
  .pay-price b { font-size: 22px; }
  .pay-price small { font-size: 13px; }
  .pay-cta { width: 124px; font-size: 14px; }
}
@media (min-width: 760px) {
  .pay { width: min(760px, calc(100vw - 48px)); padding: 24px 24px 18px; }
  .pay-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .pay-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-card { align-content: start; }
  .pay-cta { align-self: end; }
}
.deal-badge { justify-self: start; margin: 4px 0 0; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--accent); color: var(--ink); font: 800 13px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--ink); }
.deal-badge::before { content: "✦ "; }
.deal-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 6px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--accent); color: var(--ink); font: 800 17px/1.1 var(--sans); box-shadow: 0 5px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.deal-go:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
@media (max-width: 360px) { .gate { padding: 18px 16px 12px; } }
@media (max-width: 960px) {
  .studio-toast { position: fixed; top: 72px; left: 12px; right: 12px; z-index: 60; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff1f0; color: #b42318; border: 1px solid #f4b4ae; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-size: 15px; font-weight: 600; line-height: 1.35; }
}
.footer-fine { width: var(--wrap); margin: 30px auto 0; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- account additions ---------- */
.btn-inline { display: inline-flex; width: auto; text-decoration: none; margin-top: 4px; }
.post-tips { margin-top: 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
.post-tips h2 { font-size: 28px; margin-bottom: .3em; }
.post-tips ul { margin: 0; padding-left: 1.1em; color: var(--text-2); }
.post-tips li { margin: 6px 0; }
.form-msg.ok { color: #1f7a3a; }
.doc .form-msg.ok { color: var(--accent-text); }

/* ---------- misc ---------- */
.phone-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.origin-link { font-size: 15px; color: var(--muted); }
/* "What's new on this page" (catalog.js / guides.mjs changes) */
.changes { list-style: none; padding: 0; margin: .4em 0 0; }
.changes li { margin: 6px 0; }
.changes time { display: inline-block; min-width: 6.4em; color: var(--muted); font-variant-numeric: tabular-nums; }

.sample-note { max-width: 300px; text-align: center; font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

.answer-solo { grid-template-columns: 1fr; }
.answer-solo .answer-inner { max-width: 820px; }

/* The hero floor is wider than the screen on purpose (perspective). Clipping on <html> keeps the page
   exactly screen-wide, which body overflow alone does not guarantee on iOS Safari. */
html { overflow-x: clip; }

/* ---------- first-screen proof: the photo and the video it became ---------- */
.hero-demo { margin: 26px 0 0; display: flex; align-items: center; gap: 12px; }
.hd-tile { position: relative; display: block; width: 96px; flex: none; }
.hd-tile img, .hd-tile video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); }
.hd-video video { border: 2px solid var(--accent); }
.hd-tile i { position: absolute; left: 6px; top: 6px; font: 700 10px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: rgba(13, 11, 18, .78); color: var(--cream); padding: 4px 6px; border-radius: 6px; }
.hd-video i { background: var(--accent); color: var(--ink); }
.hd-arrow { font: 600 28px/1 var(--display); color: var(--accent-text); }
.hd-cap { max-width: 24ch; margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.hd-cap b { display: block; margin-bottom: 4px; font: 600 19px/1.1 var(--display); letter-spacing: .5px; color: var(--text); }
.hd-cap .hd-src { display: block; margin-top: 4px; font-size: 12px; }
/* Photos, arrow and clip lay out as one row with the caption; phones turn this into a box (below). */
.hd-media { display: contents; }
.hero-trend .hero-demo { margin: 18px 0 4px; }
@media (max-width: 960px) {
  /* Home on phones: the clip sits beside the headline, the source photo tucked into its corner. */
  .hero:not(.hero-trend) .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
  .hero:not(.hero-trend) .hero-copy > * { grid-column: 1 / -1; }
  .hero:not(.hero-trend) .hero-copy > h1 { grid-column: 1; grid-row: 2; align-self: center; }
  .hero:not(.hero-trend) .hero-demo { grid-column: 2; grid-row: 2; align-self: center; position: relative; display: block; width: clamp(84px, 27vw, 120px); margin: 0 0 14px; }
  .hero:not(.hero-trend) .hd-video { width: 100%; }
  .hero:not(.hero-trend) .hd-photo { position: absolute; left: -18px; bottom: -10px; width: 40%; z-index: 1; }
  .hero:not(.hero-trend) .hd-photo img { border: 2px solid var(--cream); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
  .hero:not(.hero-trend) .hd-photo i, .hero:not(.hero-trend) .hd-arrow, .hero:not(.hero-trend) .hd-cap { display: none; }
  .hero-trend .hd-cap { font-size: 13px; }
}
/* The photos stack beside the video and the video is as tall as the stack: the result is the biggest thing in the proof. */
.hero-trend .hero-demo { --hd: 84px; }
.hero-trend .hd-photos { display: grid; gap: 8px; flex: none; }
.hero-trend .hd-photo { width: var(--hd); }
.hero-trend .hd-video { width: calc(var(--hd) * 2 + 4.5px); }
/* Whose photo it is, along the bottom (over the clothes, not the face). */
.hero-trend .hd-photo i { top: auto; left: 4px; right: 4px; bottom: 4px; text-align: center; line-height: 1.15; padding: 3px 4px; }
@media (max-width: 1100px) { .hero-trend .hero-demo { --hd: 72px; } }
/* Phones: the clip sits beside the headline with its photos tucked into the corner, so the upload box still makes
   the first screen (rapduo, hotellobbyvideo and airaindance all show theirs without scrolling). */
@media (max-width: 560px) {
  .hero-trend .hero-copy:has(.hero-demo) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .hero-trend .hero-copy:has(.hero-demo) > * { grid-column: 1 / -1; }
  .hero-trend .hero-copy:has(.hero-demo) > h1 { grid-column: 1; grid-row: 2; align-self: end; margin-bottom: 10px; font-size: clamp(24px, min(13vw, calc((100vw - 160px) / (var(--fit, 1) * .46))), 96px); }
  /* The caption goes under the headline, not under the narrow clip. */
  .hero-trend .hero-copy > .hero-demo { display: contents; }
  .hero-trend .hd-media { grid-column: 2; grid-row: 2 / span 2; align-self: center; display: block; position: relative; width: 104px; margin: 0 0 14px; }
  .hero-trend .hd-video { width: 100%; }
  .hero-trend .hd-photos { position: absolute; left: -12px; bottom: -8px; z-index: 1; width: 38%; gap: 4px; }
  .hero-trend .hd-photo { width: 100%; }
  .hero-trend .hd-photo img { border: 2px solid var(--cream); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
  .hero-trend .hd-photo i, .hero-trend .hd-arrow, .hero-trend .hd-what { display: none; }
  .hero-trend .hd-cap { grid-column: 1; grid-row: 3; align-self: start; margin: 0 0 14px; font-size: 12px; line-height: 1.35; }
  .hero-trend .hd-cap b { font-size: 14px; margin-bottom: 2px; }
  .hero-trend .hd-cap .hd-src { margin-top: 0; font-size: 12px; }
}
/* Phones: the headline and the clip beside it say it (as on the AI vocals site): no kicker or facts line, so the upload
   box comes up; the headline and its clip take the first grid row (they were placed in row 2, under the kicker). */
@media (max-width: 960px) {
  .hero .eyebrow, .hero .facts { display: none; }
  .hero:not(.hero-trend) .hero-copy > h1, .hero:not(.hero-trend) .hero-demo { grid-row: 1; }
}
@media (max-width: 560px) {
  .hero-trend .hero-copy:has(.hero-demo) > h1 { grid-row: 1; }
  .hero-trend .hd-media { grid-row: 1 / span 2; }
  .hero-trend .hd-cap { grid-row: 2; }
}

.drop-note { margin: 8px 2px 0; font-size: 12px; line-height: 1.4; color: #75666c; }
.drop-note b { color: #4d3f45; }

/* What you get + the refund promise, right above the fine print: small print, not another box. */

/* The source photo in the corner of a sample video. */
.result-media { position: relative; display: block; }
.photo-inset { position: absolute; left: 10px; bottom: 12px; display: block; width: 27%; max-width: 72px; }
.photo-inset img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; border: 2px solid var(--cream); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.photo-inset i { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); white-space: nowrap; font: 700 9px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--cream); color: var(--ink); padding: 3px 5px; border-radius: 5px; }
.photo-stack { display: grid; gap: 5px; width: 22%; max-width: 60px; }

.link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (hover: hover) { .link-btn:hover { color: #ff8a80; } }
.link-btn:disabled { opacity: .6; cursor: progress; }
.form-msg.hint { color: #7a5b00; }

/* At-a-glance facts on effect pages. */
.glance { margin: 18px 0 30px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.glance div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 14px; background: var(--ink-2); }
.glance dt { font: 600 16px/1.4 var(--display); letter-spacing: .5px; color: var(--accent-text); }
.glance dd { margin: 0; font-size: 15px; color: var(--text-2); }
@media (max-width: 520px) { .glance div { grid-template-columns: 1fr; gap: 2px; } }

/* Sound toggle on sample videos. */
.sound-btn {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 16px; line-height: 1;
  background: rgba(13, 11, 18, .72); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.sound-btn[aria-pressed="true"] { background: var(--accent); }
/* A tap on the video turns its sound on too (app.js, 11-04). */
.result-media video, .hd-video video, .phone-video { cursor: pointer; }
.hd-tile .sound-btn { width: 28px; height: 28px; font-size: 13px; right: 6px; bottom: 6px; }
/* The first-screen sample's sound button says "Play with sound" (parts.mjs soundButton labelled); once on, just 🔊. */
.hd-tile .sound-labelled { width: auto; height: 28px; padding: 0 10px 0 8px; gap: 5px; border-radius: 999px; display: inline-flex; align-items: center; left: 6px; right: 6px; justify-content: center; font: 700 12px/1 var(--sans); color: #fff; white-space: nowrap; }
.hd-tile .sound-labelled[aria-pressed="true"] { left: auto; width: 28px; padding: 0; }
.sound-labelled .sb-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sound-labelled[aria-pressed="true"] .sb-text { display: none; }
@media (max-width: 560px) {
  .hd-tile .sound-labelled { left: auto; width: 28px; padding: 0; }
  .hd-tile .sound-labelled .sb-text { display: none; }
}

/* Real results (parts.mjs sampleGallery): on the home page right under the generator, centered; phones show two side by
   side, and more than two scroll sideways with the next one peeking in. */
.gallery { width: var(--wrap); margin: 0 auto; padding: 10px 0 50px; }
.wrap .gallery { width: auto; } /* the examples page is already inside the page width */
.gallery-center { padding: 64px 0 70px; border-top: 1px solid var(--line); }
.gallery-center > h2 { text-align: center; margin-bottom: 30px; }
.gallery-row { display: flex; flex-wrap: wrap; gap: 26px 18px; }
.gallery-center .gallery-row { justify-content: center; }
.gallery-item { margin: 0; width: 260px; min-width: 0; }
.gallery-item video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.gallery-note { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 13px; line-height: 1.45; color: var(--muted); }
/* Title, then the settings on their own line under it (after the AI vocals site, 10-30): side by side, a short title
   kept them on its right and a long one pushed them under, so the cards didn't line up. */
.sample-cap { margin: 12px 0 0; display: grid; gap: 4px; }
.sample-cap b { font: 600 22px/1.05 var(--display); letter-spacing: .5px; }
.sample-cap span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery-item .sample-note { margin: 8px 0 0; text-align: left; max-width: none; }
.sample-use { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; color: var(--accent-text); font-size: 14px; font-weight: 700; text-decoration: none; }
@media (hover: hover) { .sample-use:hover { text-decoration: underline; } }
/* Phones only (the cards scroll sideways there): which card is in view, and the page with all of them (after the AI vocals site). */
.sample-pager { display: none; }
@media (max-width: 560px) {
  .gallery-center { padding-top: 54px; }
  .gallery-center > h2 { text-align: left; margin-bottom: 20px; }
  .gallery-center > .gallery-note { margin-left: 0; text-align: left; }
  .gallery-row { flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .gallery-row::-webkit-scrollbar { display: none; }
  .gallery-center .gallery-row { justify-content: flex-start; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; }
  .gallery-item { flex: 0 0 42%; width: auto; scroll-snap-align: start; }
  .gallery-row[style*="--n:1;"] .gallery-item { flex-basis: 64%; }
  .gallery-row[style*="--n:2;"] .gallery-item { flex-basis: calc(50% - 6px); }
  .sample-cap b { font-size: 19px; }
  /* The examples page lists every card in two columns: a sideways row there sat inside the page margin, cut off in the
     middle of the third card with nothing to show it scrolls (11-03; the AI vocals site lists them all too). */
  .gallery:not(.gallery-center) .gallery-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; overflow: visible; padding-bottom: 0; }
  .gallery:not(.gallery-center) .gallery-row[style*="--n:1;"] { grid-template-columns: minmax(0, 64%); }
  .sample-pager { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
  .sample-count { flex: none; font-variant-numeric: tabular-nums; }
  .sample-dots { display: flex; gap: 5px; flex: 1; min-width: 0; }
  .sample-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
  .sample-dots i.on { background: var(--accent); }
  .sample-pager a { flex: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-text); font-weight: 700; text-decoration: none; }
}

/* ---------- question pages ---------- */
.doc.guide h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1; }
.doc.guide .answer-lead { margin: 18px 0 16px; }
.guide-demo { margin: 34px 0 10px; display: flex; justify-content: center; }
.guide-studio { margin: 24px 0 36px; }
.guide-cta { display: inline-block; background: var(--accent); color: var(--ink); padding: 14px 20px; border-radius: 14px; font: 600 20px/1.1 var(--display); letter-spacing: .5px; text-decoration: none; }
@media (hover: hover) { .guide-cta:hover { background: var(--cream); color: var(--ink); } }

/* ---------- baby eye color calculator (/baby-eye-color-calculator/) ---------- */
.eye-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 8px; }
.eye-side { margin: 0; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); }
.eye-side legend { padding: 0 6px; font-weight: 700; }
.eye-grand { margin-top: 12px; font-size: 14px; }
.eye-grand summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; gap: 6px; }
.eye-grand small { color: var(--muted); font-weight: 500; }
p.eye-gl { margin: 10px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.eye-result { grid-column: 1 / -1; padding: 16px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line); }
p.eye-rh { margin: 0 0 10px; font-weight: 700; }
.eye-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eye-out li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 3.2em; align-items: center; gap: 10px; margin: 0; }
.eye-out b { text-align: right; font-variant-numeric: tabular-nums; }
.eye-bar { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.eye-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width .25s; }
.eye-out [data-color="brown"] .eye-bar i { background: #8a5a3c; }
.eye-out [data-color="green"] .eye-bar i { background: #6f9a5b; }
.eye-out [data-color="blue"] .eye-bar i { background: #5d8fc0; }
.hair-out [data-color="brown"] .eye-bar i { background: #5b3b26; }
.eye-out [data-color="blond"] .eye-bar i { background: #d9b35b; }
.eye-out [data-color="red"] .eye-bar i { background: #b8532e; }
.hair-faces { flex-wrap: wrap; }
.hair-faces img:nth-last-child(-n+2) { width: 112px; height: 112px; }
p.eye-note { margin: 12px 0 0; font-weight: 600; }
.eye-drew { display: grid; gap: 14px; margin: 16px 0; }
.eye-case { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); }
.eye-faces { display: flex; align-items: center; gap: 8px; }
.eye-faces img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.eye-faces img:last-child { width: 112px; height: 112px; }
.eye-case figcaption { margin-top: 10px; font-size: 15px; }
@media (max-width: 560px) {
  .eye-calc { grid-template-columns: minmax(0, 1fr); }
  .eye-out li { grid-template-columns: 6.6em minmax(0, 1fr) 3em; font-size: 14px; }
  .eye-faces img { width: 72px; height: 72px; }
  .eye-faces img:last-child { width: 96px; height: 96px; }
  .hair-faces { gap: 6px; }
  .hair-faces img { width: 56px; height: 56px; }
  .hair-faces img:nth-last-child(-n+2) { width: 76px; height: 76px; }
}

/* ---------- header: language, theme, account ---------- */
.site-nav { gap: 18px; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); }
.lang-menu[open] summary { color: var(--text); background: var(--ink-2); }
@media (hover: hover) { .lang-menu summary:hover { color: var(--text); background: var(--ink-2); } }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px; min-width: 150px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.lang-menu li a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); }
.lang-menu li a[aria-current] { background: var(--ink-3); }
@media (hover: hover) { .lang-menu li a:hover { background: var(--ink-3); } }
.theme-btn { border: 0; background: none; color: var(--muted); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; padding: 0; display: grid; place-items: center; flex: none; }
@media (hover: hover) { .theme-btn:hover { color: var(--text); background: var(--ink-2); } }
.site-nav > .lang-menu .menu-ico, .site-nav > .theme-btn .menu-ico { width: 20px; height: 20px; }
.site-nav .nav-account { color: var(--text); font-weight: 600; white-space: nowrap; }
.site-nav .nav-account.signed-in { color: var(--accent-text); }
@media (max-width: 560px) {
  .site-nav { gap: 10px; }
  .site-nav .nav-cta { display: none; }
  .theme-btn { width: 28px; height: 28px; font-size: 14px; }
  .lang-menu summary { padding: 5px 7px; font-size: 13px; }
}
/* Phones and tablets: the page links move into a menu, as on all three reference sites; on phones the theme switch
   goes in there too, so the header keeps the site name, language, sign-in and the menu. */
.nav-menu { position: relative; display: none; }
.nav-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: 18px; line-height: 1; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--ink-3); }
.nav-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px; min-width: 220px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.site-nav .nav-menu a, .nav-menu .menu-theme .theme-btn { display: block; width: 100%; height: auto; padding: 10px 12px; border: 0; border-radius: 8px; color: var(--text); font: inherit; font-size: 16px; text-align: left; text-decoration: none; }
@media (hover: hover) { .site-nav .nav-menu a:hover, .nav-menu .menu-theme .theme-btn:hover { background: var(--ink-3); } }
.site-nav .nav-menu li:first-child a { color: var(--accent-text); font-weight: 700; }
.menu-lang { display: none; }
.menu-theme { display: none; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .nav-menu { display: block; } .nav-menu summary { width: 44px; height: 44px; } }
@media (max-width: 560px) { .site-nav > .theme-btn { display: none; } .menu-theme { display: block; } }
.menu-who[hidden], .menu-signin[hidden] { display: none !important; }
.menu-who { padding: 10px 12px 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.menu-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-sun, :root[data-theme="light"] .ico-moon { display: none; }
:root[data-theme="light"] .ico-sun { display: block; }
/* Phones: the menu is a full-width panel under the header with the burger turning into ×, links as big rows, and the
   theme switch beside Sign in / My videos at the bottom; who is signed in, or "Not signed in" for a guest, then a
   real Sign out or Sign in button (after the AI vocals site and RapDuo, 10-27/28). */
.nav-menu summary .menu-ico path { transition: transform .2s ease, opacity .2s ease; transform-box: fill-box; transform-origin: center; }
.nav-menu[open] > summary .menu-ico path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-menu[open] > summary .menu-ico path:nth-child(2) { opacity: 0; }
.nav-menu[open] > summary .menu-ico path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 860px) {
  .site-header .nav-menu { position: static; }
  .site-header .nav-menu > summary { width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: none; }
  .site-header .nav-menu > ul { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: grid; grid-template-columns: auto auto 1fr; align-items: center; min-width: 0; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; padding: 6px max(20px, (100% - 1180px) / 2) 14px; background: var(--alt-bg); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
  .site-header .nav-menu > ul > li { grid-column: 1 / -1; }
  .site-nav .nav-menu > ul > li > a { display: flex; align-items: center; min-height: 50px; padding: 0; border-radius: 0; font-size: 17px; }
  @media (hover: hover) { .site-nav .nav-menu > ul > li > a:hover { background: none; } }
  /* The language switch sits as an icon left of the theme one on the panel's last line (Turnly, the AI vocals site);
     the header keeps only the site name, Upload and the menu, so a long name like COFFEE MAKING AI isn't cut. */
  .site-header .lang-menu { display: none; }
  .site-header .nav-menu > ul > .menu-lang, .site-header .nav-menu > ul > .menu-theme, .site-header .nav-menu > ul > .menu-account { display: block; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .site-header .nav-menu > ul > .menu-lang { grid-column: 1; position: relative; }
  .site-header .nav-menu > ul > .menu-theme { grid-column: 2; }
  .site-header .menu-lang summary { display: grid; place-items: center; width: 44px; height: 44px; margin-right: 6px; border-radius: 12px; color: var(--text); list-style: none; cursor: pointer; }
  .menu-lang summary::-webkit-details-marker { display: none; }
  .site-header .menu-lang details[open] summary { background: var(--ink-3); }
  .menu-lang .menu-ico { width: 22px; height: 22px; }
  .site-header .menu-lang ul { position: absolute; top: auto; right: auto; bottom: calc(100% + 6px); left: 0; min-width: 0; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; width: min(340px, calc(100vw - 40px)); margin: 0; padding: 6px; list-style: none; background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
  .site-nav .nav-menu .menu-lang a { padding: 11px 10px; border-radius: 9px; font-size: 15px; }
  .site-nav .nav-menu .menu-lang a[aria-current] { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); font-weight: 700; }
  .site-header .nav-menu > ul > .menu-account { grid-column: 3; text-align: right; }
  .site-header .nav-menu .menu-theme .theme-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--text); }
  .menu-theme .menu-ico { width: 22px; height: 22px; }
  .site-nav .nav-menu .menu-account a { display: inline-flex; align-items: center; width: auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; }
  .site-nav .nav-menu .menu-account a.signed-in { color: var(--accent-text); }
  .site-header .menu-who { margin-top: 14px; padding: 0; font-size: 14px; }
  .site-header .menu-signout { margin: 0; padding: 8px 0 0; border: 0; }
  .site-nav .nav-menu .menu-signout [data-signout] { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; font-weight: 600; text-align: center; }
  .site-header .menu-signin { padding-top: 8px; }
  .site-nav .nav-menu .menu-signin a { justify-content: center; min-height: 48px; border-radius: 12px; background: var(--accent); color: var(--ink); font-size: 16px; font-weight: 700; }
}
@media (max-width: 560px) {
  .site-nav > .theme-btn { display: none; }
  .menu-theme { display: block; }
  /* Larger phone targets without moving the upload form further down the first screen. */
  .site-header { padding: 13px 0; }
  .lang-menu summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .site-nav .nav-account { display: inline-flex; align-items: center; min-height: 44px; padding: 0 3px; }
  .nav-menu summary { width: 44px; height: 44px; }
  .site-nav .nav-menu a, .nav-menu .menu-theme .theme-btn { display: flex; align-items: center; min-height: 44px; }
  .pack-line .link-btn, .need-packs { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 0; }
  /* Close under the button as on the AI vocals site, still a comfortable tap (32px). */
  .ticket .pack-line { margin-top: 2px; }
  .ticket .pack-line .link-btn { min-height: 32px; padding: 0; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 0; }
}
.lang-banner {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 44px 10px 16px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 600;
}
.lang-banner a { color: var(--ink); text-decoration: underline; }
/* A 44px tap target, centered on one or two lines (it was 25x24, 11-03). */
.lang-banner button { position: absolute; top: 50%; right: 0; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }

/* ---------- studio (generator) ---------- */
.ticket-balance { font: 600 18px/1 var(--display); color: var(--ink); text-decoration: none; background: var(--accent); padding: 6px 10px; border-radius: 999px; }
@media (hover: hover) { .ticket-balance:hover { color: var(--ink); background: #fff; } }
.effect-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 14px; }
.effect-tabs a { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(13, 11, 18, .2); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.effect-tabs a[aria-current] { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 12px; border-radius: 10px; border: 2px solid rgba(13, 11, 18, .14); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .15s, background .15s; }
.seg span i { font-style: normal; font-size: 12px; color: #1f7a3a; }
.seg input:checked + span { border-color: var(--ink); background: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.seg-wide { margin-bottom: 10px; }
.seg-wide label { flex: 1; } .seg-wide span { text-align: center; }
.seg-ver span { white-space: normal; padding: 9px 10px; }
.seg-ver b { display: block; font-size: 15px; }
.seg-ver small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; }
.seg-ver small i { font-size: 13px; font-weight: 800; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: block; padding: 7px 12px; border-radius: 999px; border: 2px solid rgba(13, 11, 18, .14); background: #fff; color: var(--ink); font-size: 14px; }
.chip-opt span i { font-style: normal; font-weight: 700; color: #7a5b00; }
.chip-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--accent); }
.chip-opt input:checked + span i { color: var(--accent); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.opt-grid { display: grid; gap: 10px; }
/* The video options on one line with what's picked; a tap opens the choices. */
.opt-more { border: 2px solid rgba(13, 11, 18, .14); border-radius: 12px; background: #fff; }
.opt-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px 9px 12px; font-size: 14px; font-weight: 600; }
.opt-more summary::-webkit-details-marker { display: none; }
.opt-more[open] summary { border-bottom: 1px solid rgba(13, 11, 18, .1); }
.opt-change { flex: none; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: #f1ece2; }
.opt-change::after { content: " ▾"; font-size: 11px; }
.opt-more[open] .opt-change::after { content: " ▴"; }
.opt-more .opt-grid { padding: 12px; }
p.opt-sum { margin: 0; font-size: 14px; font-weight: 600; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 8px; }
.opt legend { float: left; padding: 0; font-size: 13px; font-weight: 700; color: #4d4558; }
.text-opt { display: grid; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 700; color: #4d4558; }
.text-opt input { font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 2px solid rgba(13, 11, 18, .2); background: #fff; color: var(--ink); }
.text-opt small { font-weight: 400; color: #75666c; }
.drop-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 11, 18, .45); }
.go-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.go-row.go-solo { grid-template-columns: minmax(0, 1fr); }
.btn-preview { border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 14px; padding: 8px 10px; cursor: pointer; display: grid; align-content: center; gap: 2px; text-align: center; }
.btn-preview-label { font: 600 19px/1 var(--display); letter-spacing: .5px; }
.btn-preview small { font-size: 12px; color: #4d4558; }
@media (hover: hover) { .btn-preview:hover { background: var(--accent); } }
/* The Generate button says what it does, no price (主人 11-03「价格可以不写在 make 上」, as on the AI vocals site). */
.go-row .btn-go { justify-content: center; }
.btn-go-label { min-width: 0; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; font-size: min(1em, 6.2vw); }
.btn-go-label:lang(ja) { word-break: auto-phrase; }
.studio.busy .btn-go, .studio.busy .btn-preview { opacity: .6; cursor: progress; }
.studio.making .go-row .btn-go { opacity: .6; cursor: progress; }
.cost-line { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: #75666c; text-align: center; text-wrap: balance; }
.pack-line { margin: 10px 0 0; text-align: center; font-size: 13.5px; line-height: 1.5; text-wrap: balance; }
.pack-line .link-btn { color: var(--ink); font-weight: 700; font-size: inherit; text-underline-offset: 2px; }
.made-line { margin: 6px 0 0; font-size: 12px; color: #4d4558; text-align: center; }
.made-line::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #1f9d55; vertical-align: 1px; }
.need { margin-top: 10px; padding: 12px; border-radius: 12px; background: #fff1ec; border: 1px solid rgba(13, 11, 18, .12); display: grid; gap: 8px; text-align: center; }
.need-text { margin: 0; font-weight: 700; font-size: 14px; }
.need .btn-go { justify-content: space-between; }
.need-packs { color: var(--ink); font-size: 14px; }
.result { margin-top: 12px; display: grid; gap: 10px; }
.result .vid-wait { border-radius: 14px; aspect-ratio: auto; min-height: 180px; color: var(--cream); }
.result video { width: 100%; max-height: 420px; border-radius: 14px; background: #000; }
.result-h { margin: 0; font: 600 22px/1 var(--display); }
.result-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.result-actions .btn-go { width: auto; text-decoration: none; }
.result-actions a:not(.btn-go) { color: var(--ink); }
@media (max-width: 400px) { .go-row { grid-template-columns: minmax(0, 1fr); } .opt { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner pages ---------- */
.wrap { width: var(--wrap); margin: 0 auto; padding: 30px 0 80px; }
.wrap.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.page-head { margin-bottom: 26px; }
.page-head h1, .wrap > h1, .signin h1 { font: 600 clamp(44px, 7vw, 84px)/.92 var(--display); margin: 0 0 12px; }
.page-head .lede, .signin .lede { max-width: 60ch; }
.sub-h { font: 600 30px/1 var(--display); letter-spacing: .5px; margin: 40px 0 10px; }
.panel .sub-h { margin-top: 0; font-size: 24px; }
.wrap .form-msg { color: #ff8a80; }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.btn-inline { display: inline-flex; width: auto; text-decoration: none; }

/* pricing */
.price-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.price-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .price-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .price-grid-2, .price-grid-4 { grid-template-columns: minmax(0, 1fr); } }
.price-card { display: flex; flex-direction: column; }
.express { margin-top: 8px; }
.express-note { margin: 6px 0 0; text-align: center; font-size: 12px; line-height: 1.4; opacity: .7; }
.go-row > .express { grid-column: -2 / -1; margin-top: 0; }
.price-card .price-amount { font-size: 54px; }
.price-amount small { font: 600 15px/1 var(--sans); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.price-credits { margin: 0 0 4px; font-weight: 700; }
.price-about { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.price-card .btn-go { margin-top: auto; background: var(--accent); color: var(--ink); }
@media (hover: hover) { .price-card .btn-go:hover { background: var(--text); color: var(--bg); } }
.price-card .price-list { margin-bottom: 16px; }
.price-flag-save { background: var(--accent-2); }
.price-more { margin-top: 22px; }
/* "Just one video" above the packs (hotellobbyvideo's "Start with one video"), and the checkout promises under them. */
.one-video { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 4px 0 8px; padding: 22px 24px; border: 1px solid var(--accent); border-radius: var(--r); background: var(--ink-2); }
.one-video .price-name { margin-bottom: 8px; }
.one-video p.muted { margin: 0; max-width: 62ch; }
.one-video-spec { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.one-video-spec b { color: var(--text); }
.one-video-spec span { white-space: nowrap; }
.trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.trust li::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }

/* The last call on effect pages, as on all three reference sites. */
.final { width: var(--wrap); margin: 0 auto; padding: 70px 0 60px; border-top: 1px solid var(--line); text-align: center; }
.final p { max-width: 46ch; margin: 0 auto 22px; font-size: 18px; color: var(--text-2); }
.final .final-go { display: flex; justify-content: center; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin: 0 auto; max-width: none; }
.period-switch { margin: 6px 0 22px; }
.period-switch span { background: var(--ink-2); color: var(--text); border-color: var(--line); }
.period-switch span i { color: var(--accent-text); }
.period-switch input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.period-switch input:checked + span i { color: var(--ink); }
.gift-toggle { color: var(--text-2); font-size: 15px; margin-top: 18px; }
/* The site's own checkbox instead of the browser's white one (after the AI vocals site). */
.gift-toggle input { appearance: none; display: grid; place-items: center; width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid var(--text-2); border-radius: 6px; background: transparent; cursor: pointer; }
.gift-toggle input:checked { background: var(--accent); border-color: var(--accent); }
.gift-toggle input:checked::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
.gift-toggle input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Pricing page, wide screens: heading on the left, cards or questions on the right (the home page FAQ's layout),
   so two plan cards and the FAQ don't sit against the left edge with a third of the row empty. */
@media (min-width: 1100px) {
  .split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-auto-rows: min-content; column-gap: 56px; align-items: start; margin-top: 40px; }
  .split > * { grid-column: 1; }
  .split > .sub-h { margin-top: 0; }
  .split > .price-grid, .split > .faq { grid-column: 2; grid-row: 1 / span 4; max-width: none; }
}
/* A long list of questions on phones: the first four, then "Show N more" (guide.mjs guideList, app.js). */
.fold-btn { display: none; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; margin-top: 10px; padding: 10px 16px; border: 1px dashed color-mix(in srgb, var(--text) 28%, transparent); border-radius: 14px; background: transparent; color: var(--text); font: 700 15px/1.2 var(--sans); cursor: pointer; }
@media (hover: hover) { .fold-btn:hover { border-color: var(--accent); } }
@media (max-width: 560px) {
  .more.fold:not(.unfolded) .more-list > li:nth-child(n+5) { display: none; }
  .more.fold:not(.unfolded) > .fold-btn { display: flex; }
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; max-width: 620px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cost-table th, .cost-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cost-table thead th { background: var(--ink-2); font-weight: 700; }
.cost-table tbody tr:last-child > * { border-bottom: 0; }
/* Guide tables (the apps compared page): wide, scrolls sideways on phones inside .table-wrap */
.table-wide { max-width: none; margin: 14px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 8.5em; }
.data-table thead th { background: var(--ink-2); font-weight: 700; white-space: nowrap; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
/* Phones: one card per row, each value under its column name (guide.mjs sets data-label) */
@media (max-width: 560px) {
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; min-width: 0; }
  .data-table tr { padding: 6px 0; border-bottom: 1px solid var(--line); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table th, .data-table td { padding: 4px 14px; border-bottom: 0; }
  .data-table th[scope="row"] { padding-top: 10px; font-size: 15px; }
  .data-table td { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; }
  .data-table td::before { content: attr(data-label); color: var(--muted); }
}

/* how it works + other effects on the home page */
.how-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: how; }
.how-grid li { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; counter-increment: how; }
.how-grid li::before { content: "0" counter(how); display: block; font: 600 34px/1 var(--display); color: var(--accent-text); margin-bottom: 10px; }
.how-grid b { font: 600 24px/1.05 var(--display); }
.how-grid p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 1000px) { .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }
.effect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.effect-card { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.effect-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }
.effect-card b { font: 600 22px/1 var(--display); }
.effect-card span { font-size: 14px; color: var(--muted); }
.effect-card i { font-style: normal; font-weight: 700; color: var(--accent-text); }

/* sign-in */
.signin { max-width: 460px; margin: 20px auto; }
.signin form { display: grid; gap: 10px; }
.signin label { font-weight: 700; font-size: 14px; }
.signin input, .gift-form input { font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border-radius: 12px; background: #fff; color: #1f1f1f; font-weight: 700; text-decoration: none; border: 1px solid #dadce0; }
@media (hover: hover) { .btn-google:hover { color: #1f1f1f; background: #f4f4f4; } }
.btn-google span { font: 900 20px/1 var(--sans); color: #4285f4; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin .btn-go, .gift-form .btn-go, .panel .btn-go { background: var(--accent); color: var(--ink); }

/* account */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.account-head h1 { font: 600 clamp(44px, 7vw, 84px)/.92 var(--display); margin: 0 0 6px; }
.account-head p { margin: 0; }
.balance-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); }
.balance-label { margin: 0; font-size: 13px; color: var(--muted); }
.balance-n { margin: 0; font: 600 40px/1 var(--display); color: var(--accent-text); white-space: nowrap; }
.balance-card .btn-go { width: auto; margin-left: auto; background: var(--accent); color: var(--ink); text-decoration: none; }
.notice { padding: 12px 16px; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 600; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
.vid-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 0; font-size: 14px; }
.vid-actions a { font-weight: 700; }
.vid-actions .btn-go { width: auto; font-size: 16px; padding: 10px 12px; background: var(--accent); color: var(--ink); text-decoration: none; }
.vid-meta span { color: var(--muted); }
.empty { padding: 30px; border: 1px dashed var(--line); border-radius: var(--r); text-align: center; }
.ledger, .gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; }
.ledger .plus { color: #4ccf7a; } .ledger .minus { color: var(--muted); }
.gift-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gift-link { width: 100%; font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.sub-actions { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; margin: 0; }
.account-side .panel p { margin: 0 0 10px; }

/* gift */
.gift-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.gift-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.gift-form input { width: 140px; }
.gift-form .btn-go { width: auto; }
.gift-new { margin-top: 14px; display: grid; gap: 8px; }
.gift-new p { margin: 0; font-weight: 700; }
.gift-new .btn-go { width: auto; justify-self: start; }
.gift-badge { font-size: 64px; margin: 10px 0 0; }
#redeem .btn-go { background: var(--accent); color: var(--ink); }

/* mock checkout */
.mock .btn-go { max-width: 360px; background: var(--accent); color: var(--ink); }

/* ---------- light theme ---------- */
:root[data-theme="light"] {
  --bg: #f7f0dd;
  --text: #12162b;
  --ink-2: #fffaf0;
  --ink-3: #efe5cc;
  --line: #e0d3b0;
  --muted: #5d5f78;
  --text-2: #2a2e4a;
  --accent-text: #765a17; /* gold is too pale for text on parchment; this clears 4.5:1 on the parchment panels too */
  color-scheme: light;
}
:root[data-theme="light"] body::before { opacity: 0; }
:root[data-theme="light"] .ticket { box-shadow: 0 24px 60px rgba(40, 30, 10, .16), 0 0 0 1px rgba(13, 11, 18, .08); }
:root[data-theme="light"] .phone-figure { box-shadow: 0 24px 56px rgba(40, 30, 10, .16); }
:root[data-theme="light"] .site-header .menu-lang ul { background: #fff; }
:root[data-theme="light"] .lang-menu ul, :root[data-theme="light"] .nav-menu ul { box-shadow: 0 16px 40px rgba(40, 30, 10, .15); }
:root[data-theme="light"] .ledger .plus { color: #1f7a3a; }
:root[data-theme="light"] .wrap .form-msg { color: #b3261e; }
:root[data-theme="light"] .price-pop { box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(40, 30, 10, .1); }

/* "Photo on your phone?" / "Get your videos on your phone" (computers): the button and the QR code dialog (app.js
   phoneQR), and /phone/, the page the code opens on the phone (phone.js). */
.phone-line { margin: 8px 0 0; }
.phone-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fffaf7; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
@media (hover: hover) { .phone-btn:hover { background: var(--accent); } }
.post-tips .phone-btn { margin-bottom: 12px; }
.phone-dialog { width: min(360px, 100% - 32px); padding: 22px; border: 0; border-radius: 18px; background: var(--cream); color: var(--ink); text-align: center; }
.phone-dialog::backdrop { background: rgba(11, 11, 12, .72); }
.phone-title { margin: 0 0 6px; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.05; }
.phone-how { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #4d3f45; }
.phone-qr { width: 220px; height: 220px; margin: 0 auto; }
.phone-qr svg { display: block; width: 100%; height: 100%; }
.phone-wait { margin: 12px 0 10px; font-size: 13px; color: #75666c; }
.phone-wait:empty { display: none; }
.phone-dialog .phone-close { color: #4d3f45; }
.phone-pick { position: relative; justify-content: center; margin-top: 8px; }
.phone-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.phone-pick.is-busy { opacity: .6; pointer-events: none; }
.phone-preview { display: block; width: 100%; max-height: 300px; object-fit: contain; margin-top: 14px; border-radius: 12px; background: #1c1724; }
.form-msg.ok { color: #3f8f2a; font-weight: 600; }

/* Phones, after Turnly (d35ee85, 10-28) and the AI vocals site: the header stays pinned and opaque, with an Upload
   button that opens the photo picker and turns into the Make button once the photos are in (studio.js syncHeader);
   Sign in moves into the menu; the big button under the headline is gone; long FAQs show their first questions
   (app.js fold). --alt-bg is also the phone menu panel's background, which had none before 11-03. */
:root { --alt-bg: #161b35; }
:root[data-theme="light"] { --alt-bg: #f1e8cf; }
.faq-wrap.fold:not(.unfolded) .faq > details:nth-child(n+7) { display: none; }
.faq-wrap.fold:not(.unfolded) > .fold-btn { display: flex; max-width: 860px; }
.nav-cta-short { display: none; }
@media (max-width: 960px) {
  body { overflow-x: clip; padding-top: 65px; }
  html { scroll-padding-top: 76px; }
  body::before { top: 65px; }
  .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 45; width: auto; height: 65px; padding: 10px max(20px, (100% - 1180px) / 2); background: var(--alt-bg); border-bottom: 1px solid var(--line); }
  /* The language banner scrolls away with the page: sticky at top 0 it sat over this fixed bar and hid the name,
     Upload and the menu (seen on Turnly and Coffee Making AI with a Spanish browser, 11-03; AI vocals site fced058). */
  .lang-banner { position: relative; }
  .site-header .site-nav { gap: 8px; }
  .site-header .site-nav > .nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; font-size: 14px; }
  @media (hover: hover) { .site-header .site-nav > .nav-cta:hover { color: var(--ink); background: var(--accent); } } /* a tap leaves :hover stuck on phones */
  .site-nav > .nav-account { display: none; }
  .nav-cta .nav-cta-text { display: none; }
  .nav-cta .nav-cta-short { display: inline; }
  .site-nav .nav-menu > ul > li:first-child { display: none; } /* the same button is in the header */
}
/* Narrow phones (most Android phones are 360 to 412px wide): the name was cut to "FANCY CAF…" beside Upload and the
   language button, in English at 360px and with German "Hochladen" already at 390px (Fancy Cafe AI, 11-04). */
@media (max-width: 400px) {
  .brand-word { font-size: 16px; } .brand-word em { font-size: 18px; }
  .site-header .site-nav { gap: 6px; }
  .site-header .site-nav > .nav-cta { padding: 7px 10px; }
}

/* Touch (real-iPhone review 11-06, first on remakethetrend.com): phones don't hover, so a tapped card or button kept
   its hover look until the next tap (hover rules above now apply only where a pointer hovers). Instead, what you press dims a little as your finger goes down, as iPhone's own buttons do (it shrank until 主人 11-06: 「手机不用按着就变小的感觉吧」). iOS only runs :active with a touch listener on the page (app.js). */
@media (hover: none) {
  :is(.effect-card, .trend-card, .hs-card, .hp-card, .more-list a, .pay-card, .price-pick, .upsell-pack, .btn-go, .btn-line, .fold-btn, .sample-use, .guide-cta, .btn-preview, .phone-btn, .hero-start, .wall-filter button, .found-opts button, .price-choose, .pay-now, .btn-google, .site-nav .nav-cta) { transition: opacity .12s ease; }
  :is(.effect-card, .trend-card, .hs-card, .hp-card, .more-list a, .pay-card, .price-pick, .upsell-pack):active { opacity: .75; }
  :is(.btn-go, .btn-line, .fold-btn, .sample-use, .guide-cta, .btn-preview, .phone-btn, .hero-start, .wall-filter button, .found-opts button, .price-choose, .pay-now, .btn-google, .site-nav .nav-cta):active { opacity: .75; }
}
/* Phone menu (11-06): the page behind dims, and a tap on it only closes the menu (it used to also press whatever was
   under the finger); the page behind doesn't scroll while it's open. */
@keyframes nav-dim { from { opacity: 0; } }
@media (max-width: 860px) {
  .site-header .nav-menu[open] > summary::before { content: ""; position: fixed; top: 65px; left: 0; right: 0; height: 100vh; background: rgba(8, 6, 12, .55); touch-action: none; animation: nav-dim .18s ease; cursor: default; }
  html:has(.site-header .nav-menu[open]) { overflow: hidden; }
}
/* Sample cards line up (11-06): a two-line title pushed that card's settings and "Make one like this" below its
   neighbours'. Computers: the button sits at the bottom of each card in the row. Phones: picture, title, words, note
   and button each on a row shared with the other cards (subgrid; the sideways row becomes a grid of the same widths). */
.gallery-item { display: flex; flex-direction: column; }
.gallery-item > .sample-use { margin-top: auto; }
.gallery-item > :has(+ .sample-use) { margin-bottom: 10px; }
@media (max-width: 560px) {
  .gallery-center .gallery-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; grid-template-rows: repeat(5, auto); gap: 0 12px; }
  .gallery-center .gallery-row[style*="--n:1;"] { grid-auto-columns: 64%; }
  .gallery-center .gallery-row[style*="--n:2;"] { grid-auto-columns: calc(50% - 6px); }
  .gallery:not(.gallery-center) .gallery-row { row-gap: 0; }
  .gallery:not(.gallery-center) .gallery-item { padding-bottom: 22px; }
  .gallery-item { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .gallery-item > :first-child { grid-row: 1; }
  .gallery-item > .sample-cap { grid-row: 2; grid-template-rows: 1fr auto; } /* the settings line at the foot of the title row */
  .gallery-item > .sample-how { grid-row: 3; }
  .gallery-item > .sample-note { grid-row: 4; }
  .gallery-item > .sample-use { grid-row: 5; align-self: start; margin-top: 10px; }
  .gallery-item > :has(+ .sample-use) { margin-bottom: 0; }
}

/* Footer on phones (11-06 real-iPhone review, first on remakethetrend.com): the link lists sit side by side in two
   columns instead of one long column (the footer ran 1,600 to 2,000 px); the site blurb and the guides keep the full
   width. */
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 18px; }
  .footer-grid > div:first-child, .footer-grid > .footer-guides { grid-column: 1 / -1; }
  .footer-links a { overflow-wrap: anywhere; }
}

/* Sound buttons: a drawn speaker (parts.mjs SOUND_ICON), cross while muted, waves with sound (remakethetrend 11-06). */
.sound-btn { color: #fff; }
.sound-btn[aria-pressed="true"] { color: var(--ink); }
.snd-ico { display: block; width: 18px; height: 18px; flex: none; }
.snd-on { display: none; }
[aria-pressed="true"] > .snd-ico .snd-on, [aria-pressed="true"] .sb-ico .snd-on { display: inline; }
[aria-pressed="true"] > .snd-ico .snd-off, [aria-pressed="true"] .sb-ico .snd-off { display: none; }
.hd-tile .snd-ico { width: 14px; height: 14px; }

/* Touch screens: small text links get a finger-sized hit area without moving anything (remakethetrend 11-06 phone
   review found breadcrumbs and text buttons 17 to 22 px tall). */
@media (pointer: coarse) {
  .crumbs a, .link-btn, .lang-banner a, .origin-link a, .footer-fine a, p.muted a { position: relative; }
  .crumbs a::after, .link-btn::after, .lang-banner a::after, .origin-link a::after, .footer-fine a::after, p.muted a::after { content: ""; position: absolute; inset: -10px -4px; }
}

/* Long parts of the answer fold under their heading (home.mjs fold; remakethetrend 11-06 after jumponthetrend). */
.sec-fold { border-top: 1px solid var(--line); }
.sec-fold + :not(.sec-fold) { margin-top: 18px; }
.sec-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.sec-fold > summary::-webkit-details-marker { display: none; }
.answer-inner .sec-fold > summary > :is(h2, h3) { margin: 0; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.25; }
.sec-fold > summary::after { content: "+"; flex: none; color: var(--accent-text); font: 600 26px/1 var(--display); }
.sec-fold[open] > summary::after { content: "–"; }
.sec-fold-body { padding-bottom: 16px; }
.sec-fold-body > :first-child { margin-top: 0; }
/* Phones: the other effects slide sideways instead of stacking four tall cards (2,100 px). */
@media (max-width: 600px) {
  .effect-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .effect-grid::-webkit-scrollbar { display: none; }
  .effect-card { scroll-snap-align: start; padding: 12px; }
  .effect-card b { font-size: 18px; }
}
/* Phones: no second copy of the sample in the answer (the hero and the results row above already play it). */
@media (max-width: 560px) {
  .answer > .phone-figure { display: none; }
}

/* ---------- baby generator (2026-11-09) ---------- */
/* Label above the chips at every width: the template's 70px label column squeezed every chip into that column in
   Safari (its <legend> isn't a grid item), on 401-960 px wide phones like the iPhone 18 Pro (402). */
.opt { display: block; border: 0; margin: 0 0 10px; padding: 0; min-width: 0; }
.opt legend { float: none; display: block; }
.opt legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #4d3f45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid rgba(13, 11, 18, .22); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; }
.chip-opt input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.cost-line { margin: 8px 0 0; font-size: 13px; color: #75666c; text-align: center; }
.drop-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #75666c; }
.result { margin-top: 16px; }
/* The result in the form's place (studio.js showResult): the steps and the button step aside until "Change photos". */
.studio.show-result > :not(.ticket-head, .result, .ticket-fine, script) { display: none; }
.studio.show-result .result { margin-top: 4px; }
.result-back { justify-self: center; margin-top: 2px; padding: 8px 10px; border: 0; background: none; color: var(--ink); font: 600 14px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.result-h { margin: 0; font: 600 22px/1.1 var(--display); }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.pic { margin: 0; position: relative; }
.pic img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #f6ece6; }
.pic-dl { display: block; margin-top: 6px; text-align: center; font-weight: 700; font-size: 14px; color: var(--ink); }
.result-actions { display: grid; gap: 8px; }
.btn-ghost { width: 100%; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 14px; font: 800 16px/1 var(--sans); cursor: pointer; }
@media (hover: hover) { .btn-ghost:hover { background: #fff1ec; } }
.result .muted { margin: 0; color: #75666c; }
.pay-card { cursor: default; }
.pay-card .muted { margin: 4px 0 0; color: #75666c; }
.pay-pop { border-color: var(--ink); box-shadow: 4px 5px 0 var(--ink); }
.couple-parents { display: flex; align-items: center; gap: 6px; }
.couple-parents img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink-2); }
.couple-arrow { font-size: 22px; color: var(--muted); margin: 0 4px; }
.samples { width: var(--wrap); margin: 0 auto; padding: 50px 0; }
.couple-list { display: grid; gap: 22px; }
.couple { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); }
.couple-kids { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.kid { flex: none; display: grid; gap: 4px; text-align: center; }
.kid img { width: 140px; height: 140px; border-radius: 12px; object-fit: cover; }
.kid small { font-size: 12px; color: var(--muted); }
.couple figcaption { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
@media (max-width: 700px) { .couple { grid-template-columns: 1fr; } .kid img { width: 116px; height: 116px; } }
.price-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .price-grid-3 { grid-template-columns: 1fr; } }
.chip-opt span i { font-style: normal; font-weight: 500; margin-left: 5px; color: #75666c; }
.chip-opt input:checked + span i { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.order-videos:has(.set-card) { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.set-card { padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); }
.set-card .vid-wait { aspect-ratio: auto; min-height: 120px; display: grid; place-items: center; border-radius: 12px; text-align: center; padding: 16px; }
.set-card .vid-wait b { font-size: 18px; }
.set-card .vid-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.set-card .vid-actions .btn-go { width: auto; }
.vid-wait { background: linear-gradient(160deg, #ffe2cf, #fff4ea); color: var(--ink); }
.vid-wait b { color: var(--ink); }
.result .vid-wait { color: var(--ink); }
.vid-wait .spinner { border-color: rgba(13, 11, 18, .15); border-top-color: var(--ink); }
@media (min-width: 961px) { .hero-trend h1 { font-size: clamp(48px, 5.4vw, 80px); line-height: .92; } }
.facts { color: var(--text); }
/* Phones: the generator within the first screen and a half (the h1, one line of summary, then the upload boxes). */
@media (max-width: 960px) {
  .hero-trend h1 { font-size: clamp(30px, 9vw, 40px); line-height: .95; margin-bottom: 12px; }
  .hero-trend .lede { font-size: 16px; }
  .hero-trend .aka { display: none; }
}

/* ---------- phone pass (2026-11-09): page edges, header, samples, prices, footer ---------- */
.page-head { width: var(--wrap); margin: 0 auto 26px; }
.wrap .page-head, .doc .page-head { width: auto; }
.price-card a.btn-go { text-decoration: none; justify-content: center; text-align: center; }
.price-card .btn-go.buy { margin-top: auto; margin-bottom: 18px; }
.price-card .btn-go.buy:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
  /* the whole name in two lines instead of "WHAT WILL MY BABY LOOK …" */
  .brand-word { display: block; font-size: 16px; line-height: 1; white-space: normal; overflow: visible; max-width: 150px; }
  .brand-word em { display: inline; font-size: 17px; margin-left: 3px; }
}
@media (max-width: 700px) {
  /* three results to a row, all on screen (it scrolled sideways and cut the third one) */
  .couple { padding: 14px; gap: 10px; }
  .couple-kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .kid img { width: 100%; height: auto; aspect-ratio: 1; }
  .couple-parents img { width: 52px; height: 52px; }
  .samples { padding: 36px 0; }
}
@media (max-width: 560px) {
  .answer, .how, .pricing, .faq-wrap, .more, .effects-more { padding: 40px 0; }
  .page-head { margin-bottom: 18px; }
  .page-head h1 { font-size: 44px; }
  .footer-guides .footer-links li { margin: 0 0 8px; font-size: 14px; line-height: 1.35; }
  .footer-links li { margin: 4px 0; }
}
.page-head + .pricing { border-top: 0; padding-top: 12px; }

/* ---------- home, phone first (2026-11-09 round 2, after OurBaby / Little Us / aibabygenerator) ----------
   The first screen shows what you get (two parents + their baby), three promises, then the upload boxes. */
.hero-sample { --av: 64px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px 12px; margin: 18px 0 0; max-width: 460px; }
.hs-parents { display: grid; gap: 4px; justify-items: center; }
.hs-parent { display: grid; justify-items: center; gap: 2px; }
.hs-parent img { width: var(--av); height: var(--av); border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(40, 30, 10, .14); }
.hs-parent small { font-size: 11px; color: var(--muted); }
.hs-plus { display: grid; place-items: center; width: 24px; height: 24px; margin: -8px 0; z-index: 1; border-radius: 50%; background: var(--ink); color: var(--accent); font: 700 16px/1 var(--sans); }
.hs-arrow { font-size: 24px; color: var(--accent-text); }
.hs-kid { position: relative; justify-self: start; }
.hs-kid img { display: block; width: min(176px, 44vw); aspect-ratio: 1; height: auto; border-radius: 20px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 12px 30px rgba(40, 30, 10, .18); }
.hs-kid i { position: absolute; top: 8px; right: 8px; padding: 3px 7px; border-radius: 999px; background: rgba(13, 11, 18, .8); color: #fff; font: 700 11px/1 var(--sans); font-style: normal; }
.hero-sample figcaption { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.hero-ticks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero-ticks li::before { content: "✓"; margin-right: 6px; color: #1f7a3a; font-weight: 800; }
@media (max-width: 960px) {
  .hero-trend { padding-bottom: 30px; gap: 18px; }
  .hero-trend .eyebrow, .hero-trend .lede, .hero-trend .facts { display: none; }
  .hero-trend h1 { font-size: clamp(28px, 8.2vw, 38px); line-height: .98; margin: 0; }
  .hero-trend .hero-sample { display: grid; margin-top: 14px; }
  .hero-ticks { font-size: 13px; gap: 4px 14px; }
}
@media (max-width: 560px) {
  h2 { font-size: clamp(28px, 8vw, 34px); line-height: 1; }
  .section-head { margin-bottom: 16px; gap: 6px 16px; }
  /* the generator card: less chrome, bigger tap targets, the button on one line */
  .ticket { padding: 16px 14px 14px; border-radius: 18px; box-shadow: 0 14px 40px rgba(40, 30, 10, .14), 0 0 0 1px rgba(13, 11, 18, .06); }
  .ticket::before, .ticket::after { display: none; }
  .ticket-head { padding-bottom: 10px; margin-bottom: 12px; }
  .ticket-kicker { font-size: 18px; }
  .drop { min-height: 132px; }
  .drops[style*="--slots:2"] .drop-empty { align-items: center; justify-content: center; text-align: center; min-height: 128px; padding: 12px 8px; gap: 8px; }
  .drop-icon { width: 42px; height: 42px; border-radius: 50%; }
  .chip-opt span { min-height: 42px; }
  .btn-go { justify-content: center; font-size: 21px; padding: 17px 14px; }
  .ticket .go-row { margin-top: 14px; }
  /* how it works: number beside the step, not three tall cards */
  .how-grid { gap: 10px; }
  .how-grid li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; padding: 14px 16px; }
  .how-grid li::before { grid-row: span 2; font-size: 28px; margin: 0; }
  .how-grid b { font-size: 19px; }
  .how-grid p { margin-top: 4px; font-size: 14px; }
  .final { padding: 44px 0 40px; }
  .footer-brand { font-size: 22px; }
}
.hs-parent small { display: none; }
.hs-plus { margin: -10px 0; }
@media (max-width: 560px) {
  .hero-sample { --av: 60px; }
  .hs-kid img { width: min(190px, 48vw); }
  .answer-inner h2 { font-size: 26px; }
  .answer-inner h3 { font-size: 19px; margin-top: 1.3em; }
  .answer-inner p, .answer-inner li { font-size: 16px; line-height: 1.6; }
  .answer-lead { font-size: 17px; }
  .samples > .muted, .section-head .muted { font-size: 14px; margin: 0; }
}
/* Phones: text links big enough to tap (they were 26-28 px tall) */
@media (hover: none) and (max-width: 760px) {
  .footer-links a, .section-head > a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
  .footer-links li, .footer-guides .footer-links li { margin: 0; }
}
/* Sample pictures load lazily: a warm placeholder instead of an empty white card while they come in (iOS Safari). */
.kid img, .couple-parents img, .hs-parent img, .hs-kid img { background: #f6ece6; }

/* ---------- warm nursery look (2026-11-09 round 3, after Little Us, babygenerator.com, MyBabyGenerator) ----------
   Soft serif headlines in sentence case, salmon pill buttons, white rounded cards with soft shadows; no hard black
   blocks, offset shadows or dashed tickets from the meme template. Tokens are at the top of this file. */
h1, h2, h3, .brand-word, .footer-brand, .price-name, .result-h, .ticket-kicker { letter-spacing: -.01em; }
h2 { font: 600 clamp(30px, 3.6vw, 46px)/1.1 var(--display); }
h2 em, h1 em { color: var(--accent-text); }
.hero h1 em { display: inline; font-size: 1em; color: var(--accent-text); margin: 0; }
.brand-word { font-size: 21px; font-weight: 600; }
.brand-word em { font-size: 1em; font-weight: 600; }
.hero-trend h1 { font-size: clamp(42px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.02em; font-weight: 600; }
.eyebrow { letter-spacing: .1em; font-size: 12px; }
.lede { color: var(--text-2); font-size: 19px; line-height: 1.55; max-width: 40ch; }
.page-head h1, .wrap > h1, .signin h1, .account-head h1, .doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.doc h2, .sub-h { font-size: 28px; line-height: 1.15; }
.how-grid b, .effect-card b, .sample-cap b, .hd-cap b { line-height: 1.15; }

/* buttons: salmon pill, dark text, sans */
.btn-go { background: var(--accent); color: var(--ink); border-radius: 999px; font: 700 19px/1.1 var(--sans); letter-spacing: 0; padding: 17px 24px; box-shadow: 0 10px 24px -8px rgba(232, 96, 78, .55); }
@media (hover: hover) { .btn-go:hover { background: #ff7c66; transform: translateY(-1px); } }
.btn-go-price { background: rgba(255, 255, 255, .7); color: var(--ink); border-radius: 999px; font-size: 16px; }
.btn-ghost, .btn-preview, .phone-btn { border: 1.5px solid #e2cfc6; border-radius: 999px; background: #fff; }
@media (hover: hover) { .btn-ghost:hover, .phone-btn:hover { background: var(--blush); } }
.guide-cta { border-radius: 999px; font: 700 18px/1.1 var(--sans); letter-spacing: 0; padding: 14px 24px; }
.site-nav .nav-cta { box-shadow: 0 6px 16px -8px rgba(232, 96, 78, .6); }

/* the generator card */
.ticket { background: #fff; border-radius: 28px; padding: 24px 22px 20px; box-shadow: 0 2px 4px rgba(60, 30, 30, .04), 0 24px 60px rgba(60, 30, 30, .10); border: 1px solid #f1e5de; }
:root[data-theme="light"] .ticket { box-shadow: 0 2px 4px rgba(60, 30, 30, .04), 0 24px 60px rgba(60, 30, 30, .10); }
.ticket::before, .ticket::after { display: none; }
.ticket-head { border-bottom: 1px solid #f1e5de; }
.ticket-kicker { font-size: 22px; }
.step-label { display: flex; align-items: center; gap: 8px; }
.step-label span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; margin: 0; border-radius: 999px; background: var(--blush); color: #b8483a; font: 700 13px/1 var(--sans); }
.drop { border: 1.5px dashed #ebc9bf; border-radius: 20px; background: #fffaf7; }
.drop.drag { border-color: var(--accent); background: #fff1ec; }
@media (hover: hover) { .drop:hover { border-color: var(--accent); background: #fff1ec; } }
.drop-icon { border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 400; }
.drop-preview { background: #f6ece6; }
.chip-opt span { border: 1.5px solid #ead9d1; background: #fff; }
.chip-opt input:checked + span { background: var(--blush); color: #8f3226; border-color: #e0705f; }
.chip-opt input:checked + span i { color: #b8483a; }
.opt legend, .consent { color: #4d3f45; }

/* cards */
.price-card, .how-grid li, .faq details, .more-list a, .couple, .set-card, .effect-card, .pay-card { border-color: var(--line); box-shadow: var(--shadow); }
.faq details, .more-list a { border-radius: 18px; }
.price-pop, :root[data-theme="light"] .price-pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(232, 96, 78, .12); }
.pay-pop, .pay-card.lead { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(232, 96, 78, .12); }
.price-flag, .pay-badge, .deal-badge { border: 0; border-radius: 999px; background: var(--accent); color: var(--ink); }
.price-amount { font-size: 54px; }
.how-grid li::before { content: counter(how); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: #b8483a; font: 600 20px/1 var(--display); }
.couple-parents img, .hs-parent img { border-color: #fff; }
.kid img, .pic img { border-radius: 16px; }
.hs-plus { background: var(--accent); color: var(--ink); }
.hs-kid img { border-radius: 24px; }
.hero-ticks li::before { color: #2f8a57; }
.vid-wait { background: linear-gradient(160deg, #ffe3dc, #fff7f2); }
.sec-fold > summary::after, .faq summary::after { font-family: var(--sans); font-weight: 400; }

/* dark theme: cards stay readable on cocoa */
:root:not([data-theme="light"]) .ticket { background: var(--cream); }
@media (max-width: 960px) { .hero-trend h1 { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.08; } }
@media (max-width: 560px) {
  h2 { font-size: clamp(27px, 7.6vw, 32px); line-height: 1.12; }
  .ticket { border-radius: 24px; padding: 18px 14px 16px; }
  .btn-go { font-size: 18px; padding: 17px 16px; }
  .how-grid li::before { width: 36px; height: 36px; font-size: 18px; }
  .page-head h1 { font-size: 36px; }
  .brand-word { font-size: 16px; line-height: 1.05; }
  .brand-word em { font-size: 1em; }
}
/* Computers: the sample (two parents and their baby) right under the headline, inside the first screen; the longer
   summary follows it (it pushed the sample below the fold). */
@media (min-width: 961px) {
  .hero-trend { padding-top: 44px; gap: 56px; }
  .hero-trend .hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-trend h1 { font-size: clamp(40px, 3.7vw, 54px); margin-bottom: 4px; }
  .hero-trend .hero-sample { order: 1; margin-top: 18px; }
  .hero-trend .hero-ticks { order: 2; margin-top: 16px; }
  .hero-trend .lede { order: 3; margin: 22px 0 0; font-size: 17px; }
  .hero-trend .aka { order: 4; }
  .hero-trend .facts { order: 5; margin-top: 4px; font-size: 14px; }
  .hero-sample { --av: 76px; }
  .hs-kid img { width: 210px; }
}
/* Guides index: question titles read as headings with a salmon arrow, not big underlined links. */
.doc .gi-h { font-size: 23px; line-height: 1.25; margin-top: 1.4em; }
.doc .gi-h a { color: var(--text); text-decoration: none; }
.doc .gi-h a::after { content: " →"; color: var(--accent-text); font-family: var(--sans); }
@media (hover: hover) { .doc .gi-h a:hover { color: var(--accent-text); } }
/* Dialogs (pay sheet, sign-in gate): serif title like the rest of the headings; pill buttons. */
.gate-title { font: 600 25px/1.15 var(--display); }
.pay-cta { border: 1.5px solid #e2cfc6; border-radius: 999px; background: #fff; }
.gate-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }

/* samples on tablets and computers: cards side by side, results filling each card (one long row left the right half empty) */
@media (min-width: 701px) {
  .couple-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .couple { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .couple-kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: visible; }
  .kid img { width: 100%; height: auto; aspect-ratio: 1; }
}
@media (min-width: 1100px) { .couple-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the examples page has 3 to 5 results a couple: wider cards, more to a row, so short cards don't sit half empty */
@media (min-width: 701px) {
  .couple-list.many { grid-template-columns: minmax(0, 1fr); }
  .couple-list.many .couple-kids { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .couple-list.many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .couple-list.many .couple-kids { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* an inner page's text right under its title: no divider and gap between the two */
.page-head + .answer-solo { border-top: 0; padding-top: 0; }
.page-head + .answer-solo .answer-inner h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin-top: 1.3em; }

/* Who they take after (studio.js lookMeter) */
.look { margin: 12px 0 4px; padding: 14px 16px; background: var(--ink-2); border-radius: 16px; box-shadow: 0 1px 3px rgba(59, 42, 37, 0.08); }
.look p { margin: 4px 0 0; }
.look-h { font-family: var(--display); font-size: 20px; font-weight: 600; margin: 0 0 8px !important; }
.look-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.look-bar { height: 10px; margin: 6px 0 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.look-a { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* ---------- home layout (2026-11-10 round 4) ---------- */
/* Who the sample baby takes after (samples.mjs look, the site's own model): the share beside each parent photo in the
   first screen, under each parent photo in the sample cards, and a line above each card's caption. */
.pct { font: 700 14px/1 var(--sans); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.hs-parents { justify-items: start; }
.hs-parent { grid-template-columns: var(--av) auto; align-items: center; column-gap: 6px; }
.hs-parent .pct { font-size: 16px; }
.hs-plus { margin-left: calc((var(--av) - 24px) / 2); }
.cp { display: grid; justify-items: center; gap: 4px; }
.couple-look { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); }
/* Phones: the home page's three sample cards slide sideways, the next one peeking in (they stacked 820 px tall); the
   examples page keeps all six stacked, one under the other, to compare. */
@media (max-width: 700px) {
  .couple-list.swipe { grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 14px; margin: 0 -2px; }
  .couple-list.swipe::-webkit-scrollbar { display: none; }
  .couple-list.swipe { margin-top: 12px; padding-bottom: 18px; }
  /* a tighter shadow: the usual one is cut off square by the sliding row's edge */
  .couple-list.swipe > .couple { scroll-snap-align: start; box-shadow: 0 1px 2px rgba(60, 30, 30, .05), 0 4px 12px rgba(60, 30, 30, .07); }
}
/* Prices, laid out like the song site (owner 11-10): a small tag, the question, one line, three cards the same shape,
   then "See all prices" on the left. Phones: the home cards slide sideways instead of three full-width cards. */
.sec-tag { display: inline-block; margin: 0 0 14px; padding: 6px 11px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); font: 700 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
section#pricing > h2 { margin: 0 0 10px; }
.price-lead { margin: 0 0 30px; max-width: 62ch; }
.price-grid-3 { padding-top: 12px; }
@media (max-width: 860px) { .price-grid-3 { row-gap: 28px; } }
.price-card .price-about { margin-bottom: 18px; }
.price-flag-plan { background: var(--ink-2); color: var(--text); border: 1px solid var(--line); }
.page-head + .pricing .sub-h { margin-top: 44px; }
.page-head + .pricing .sub-h + .muted { margin: 0 0 18px; }
@media (max-width: 560px) {
  section#pricing .price-grid { grid-auto-flow: column; grid-auto-columns: min(84%, 320px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; padding: 12px 2px 18px; margin-inline: -2px; }
  section#pricing .price-grid::-webkit-scrollbar { display: none; }
  section#pricing .price-card { scroll-snap-align: start; padding: 18px; box-shadow: 0 1px 2px rgba(60, 30, 30, .05), 0 4px 12px rgba(60, 30, 30, .07); }
  section#pricing .price-card .price-amount { font-size: 42px; margin: 6px 0 2px; }
  .price-lead { margin-bottom: 18px; font-size: 15px; }
  .price-more { margin-top: 10px; }
  .price-more .guide-cta { display: block; text-align: center; }
}
/* Computers: the long answer in two columns, the lead and the at-a-glance table on the left, the two short answers on
   the right; one column on tablets and phones. */
@media (min-width: 1000px) {
  .answer-two .answer-inner { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 56px; align-items: start; }
  .answer-two .answer-inner > h2 { grid-column: 1 / -1; max-width: 900px; }
  .answer-two .answer-lead { margin-top: 0; }
  .answer-two .answer-side > h3:first-child { margin-top: .2em; }
}
/* Phones: a shorter footer (it ran 1,213 px at 402 wide): Product and Help each as one block of links three to a row,
   the twelve guides folded behind one button; links stay finger-sized. */
@media (max-width: 760px) {
  .site-footer { padding-top: 32px; }
  .footer-grid { gap: 18px; }
  .footer-grid > div:not(:first-child, .footer-guides) { grid-column: 1 / -1; }
  .footer-grid > div:not(:first-child, .footer-guides) > .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
  .footer-grid > div:nth-child(2) > .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* long product names, no gaps */
  .footer-guides.fold:not(.unfolded) > :is(.footer-h, .footer-links) { display: none; }
  .footer-guides.fold:not(.unfolded) > .fold-btn { display: flex; margin-top: 0; }
  .footer-fine { margin-top: 22px; }
}
@media (pointer: coarse) { .footer-fine a::after { inset: -12px -4px; } }

/* Age and picture folded under one line in the generator (parts.mjs opt-more). The card is cream in both themes, so
   the colours are fixed ink-on-cream, like the chips. */
.studio .opt-more { margin-top: 12px; border: 1.5px solid rgba(13, 11, 18, .12); border-radius: 16px; background: transparent; }
.studio .opt-more summary { min-height: 46px; padding: 8px 10px 8px 14px; font-size: 15px; color: var(--ink); border-radius: 16px; }
.studio .opt-more summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.studio .opt-more[open] summary { border-bottom: 1px solid rgba(13, 11, 18, .1); border-radius: 16px 16px 0 0; }
.studio .opt-change { padding: 7px 12px; border-radius: 999px; background: rgba(13, 11, 18, .06); color: var(--ink); }
.studio .opt-more .opt-grid { padding: 4px 14px 14px; }

/* Ultrasound page (2026-11-11): each scan, then what was made from it */
.scan-rows { display: grid; gap: 18px; margin-top: 16px; }
.scan-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.scan-row > span { display: grid; gap: 6px; align-content: start; }
.scan-row img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: rgba(140, 110, 95, .12); }
.scan-row small { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .scan-rows { grid-template-columns: 1fr 1fr; gap: 28px; } }
.how-more { margin: 18px 0 0; font-weight: 600; }
/* Breadcrumb inside a hero column (ultrasound page): line up with the h1, not the page wrap */
.hero-copy .crumbs { width: auto; margin: 0 0 8px; padding-top: 0; }

/* ================= Pet tarot shop (templates/tarot.mjs) ================= */
.btn-go { background: var(--accent); color: var(--ink); justify-content: center; text-align: center; font-size: 21px; line-height: 1.15; }
.btn-inline { text-decoration: none; }
/* Desktop: a short headline, one line of what it is, and the cards in view next to the uploader (peers 11-17: tailscards
   and personalarcana lead with the cards; ours were below the fold under a 6-line paragraph on a 1000 px window). */
.hero { grid-template-columns: 1fr minmax(0, 470px); gap: 44px; padding-top: 28px; }
.hero h1 { font: 600 clamp(34px, 4vw, 58px)/1.04 var(--display); letter-spacing: -.3px; margin-bottom: 14px; }
.lede { max-width: 40ch; font-size: 19px; }
@media (min-width: 961px) and (max-width: 1180px) {
  .hero { grid-template-columns: 1fr minmax(0, 410px); gap: 32px; }
  .lede { font-size: 17px; }
}
.facts { color: var(--accent-text); font-size: 14px; letter-spacing: .02em; }
.crumbs { width: auto; padding: 0 0 10px; }
.nw { white-space: nowrap; }

.fan { position: relative; height: clamp(230px, 30vw, 330px); margin: 28px 0 6px; }
.fan-card { position: absolute; left: 50%; bottom: 0; width: clamp(118px, 14vw, 172px); transform-origin: 50% 120%;
  transform: translateX(-50%) rotate(calc(var(--i) * 9deg)) translateY(calc(var(--i) * var(--i) * 6px)); }
.fan-card img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
/* Studio extras: more photos, the photo tip, the gift line */
.more-photos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.more-list { display: contents; }
.more-thumb { position: relative; width: 64px; height: 64px; }
.more-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.more-x { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; min-height: 0; padding: 0; border-radius: 50%; background: var(--ink); color: var(--text); border: 1px solid var(--line); font-size: 16px; line-height: 1; display: grid; place-items: center; }
.more-add { position: relative; flex: 1 1 200px; display: flex; align-items: center; min-height: 64px; padding: 8px 12px; border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer; }
.more-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.more-add span { display: grid; gap: 2px; pointer-events: none; }
.more-add b { font-size: 15px; color: var(--accent-text); }
.more-add small { font-size: 13px; color: var(--muted); }
.more-add.busy { opacity: .6; }
.more-add.busy b::after { content: " · uploading…"; font-weight: 400; }
.st-tip { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); }
.st-gift { margin: 0; }

.studio { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 18px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 24px 60px rgba(0, 0, 0, .35); }
.st-step { display: grid; gap: 12px; }
.st-k { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.drop { position: relative; display: grid; place-items: center; min-height: 170px; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 16px; background: var(--ink-3); cursor: pointer; overflow: hidden; text-align: center; padding: 16px; }
/* Hover and drag-over stay on the site's own surface (the light-pink rules above came from the template and washed out the white title). */
.drop.drag { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--ink-3)); }
@media (hover: hover) { .drop:hover { border-color: var(--accent); background: var(--ink-3); } } /* the button brightens; a tinted fill washed out the small print */
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-text { display: grid; gap: 6px; pointer-events: none; }
.drop-text b { font: 600 20px/1.2 var(--display); color: var(--text); }
.drop-text small { color: var(--muted); font-size: 13px; }
.drop-img { max-height: 220px; width: auto; border-radius: 10px; pointer-events: none; }
.drop-busy { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 75%, transparent); font-weight: 600; }
:is(.studio, .rd-form, .gift-pick) .chips, .gift-pick { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.studio, .rd-form, .gift-pick) .chip { position: relative; padding: 0; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: 0; text-transform: none; align-self: auto; }
:is(.studio, .rd-form, .gift-pick) .chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
:is(.studio, .rd-form, .gift-pick) .chip span { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); }
:is(.studio, .rd-form, .gift-pick) .chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
:is(.studio, .rd-form, .gift-pick) .chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.field small { color: var(--muted); }
.field input, .field textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }
.fine { margin: 0; }
.st-msg { margin: 0; min-height: 0; font-size: 14px; color: var(--text-2); }
.st-msg.bad { color: #ff9a8f; }
:root[data-theme="light"] .st-msg.bad { color: #b3261e; }
.st-result { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 18px; align-items: start; border-top: 1px solid var(--line); padding-top: 18px; }
.st-card img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.st-painting { display: grid; place-items: center; aspect-ratio: 1024 / 1755; margin: 0; padding: 14px; text-align: center; border-radius: 10px; background: var(--ink-3); color: var(--muted); font-size: 14px; animation: glow 1.6s ease-in-out infinite alternate; }
@keyframes glow { to { background: color-mix(in srgb, var(--accent) 16%, var(--ink-3)); } } /* --blush is night blue in both themes: light mode flashed dark */

.price-card { background: var(--ink-3); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 18px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.price-card p { margin: 0; }
.pc-name { font: 600 20px/1.15 var(--display); }
.pc-ship { font-size: 13px; color: var(--accent-text); font-weight: 600; }
.pc-price { font: 600 44px/1 var(--display); color: var(--accent-text); }
.pc-price small { font: 500 15px var(--sans); color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 5px; font-size: 15px; }
.ticks li::before { content: "✦ "; color: var(--accent-text); }
.pc-pay { margin-top: -2px !important; }

.band { background: var(--alt-bg); border-block: 1px solid var(--line); padding: 64px 0; }
.band .wrap, .wrap.pricing, .wrap.answer, .wrap.faq-wrap { padding: 56px 0; }
.band .wrap { padding: 0; }
.lede-2 { font-size: 18px; color: var(--text-2); max-width: 62ch; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 18px; }
.wall img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.pricing-grid, .gift-buy { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 32px; align-items: start; }
.gift-buy { grid-template-columns: minmax(0, 360px) 1fr; margin: 24px 0 36px; }
.answer-lead { font-size: 19px; color: var(--text); max-width: 70ch; }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; }
.glance div { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.glance dt { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.glance dd { margin: 0; font-size: 15px; color: var(--text-2); }
.narrow { width: min(820px, 100% - 40px); }
.wrap.narrow { padding-bottom: 70px; }
.center { text-align: center; }
.inc-list { padding-left: 1.1em; display: grid; gap: 8px; }
.deck-sample { margin-top: 40px; }
.deck-sample h3 { margin-top: 26px; color: var(--accent-text); }
.jump a { margin-right: 4px; }
.guide-tool { margin: 22px 0 34px; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.guide-list a { font: 600 22px/1.2 var(--display); }
.table-wrap { overflow-x: auto; }
.gift-badge { font-size: 46px; color: var(--accent-text); margin: 10px 0 0; }

/* account */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.notice { background: var(--ink-3); color: var(--text); border: 1px solid var(--accent); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.deck-view { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 22px; }
.deck-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.bar { height: 8px; border-radius: 99px; background: var(--ink-3); overflow: hidden; margin: 10px 0 4px; }
.bar i { display: block; height: 100%; background: var(--accent); transition: width .6s; }
.dl-box { margin: 16px 0 6px; display: grid; gap: 6px; }
.dl-box p { margin: 0; font-size: 15px; }
.dl-main { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-main .btn-go { width: auto; text-decoration: none; }
.deck-group { margin: 20px 0 10px; font: 600 18px/1 var(--display); color: var(--accent-text); }
.deck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.deck-card { margin: 0; display: grid; gap: 4px; justify-items: center; }
.deck-card img { width: 100%; height: auto; border-radius: 6px; }
.deck-slot { width: 100%; aspect-ratio: 1024 / 1755; border-radius: 6px; background: var(--ink-3); display: grid; place-items: center; font-size: 12px; color: var(--muted); animation: glow 1.6s ease-in-out infinite alternate; }
.deck-card.wishing { grid-column: 1 / -1; grid-template-columns: minmax(80px, 120px) 1fr; align-items: center; justify-items: stretch; gap: 12px; }
.redraw-form { display: grid; gap: 8px; }
.redraw-form input { font: 16px var(--sans); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); min-height: 44px; }
.redraw-form .btn-small { justify-self: start; }
.previews { display: grid; gap: 14px; }
.preview-view { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.preview-view img { width: 100%; height: auto; border-radius: 8px; }
.gift-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.gift-link { width: min(100%, 360px); font: 14px var(--sans); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }

/* gift certificate */
.cert { width: min(720px, 100% - 40px); margin: 40px auto; padding: 48px 40px; text-align: center; border: 3px double var(--accent); border-radius: 18px; background: var(--ink-2); }
.cert h1 { font: 600 clamp(34px, 6vw, 54px)/1.05 var(--display); }
.cert-k { font: 700 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.cert-how b { color: var(--accent-text); }
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; color: #12162b; }
  .cert { border-color: #c9a24a; background: #fff; color: #12162b; }
}

@media (max-width: 900px) {
  .hero, .pricing-grid, .gift-buy { grid-template-columns: 1fr; gap: 28px; }
  /* Phones: title, the facts line, photo -> cards, then the upload box in the first screen; the longer intro after it. */
  .hero { gap: 18px; }
  .hero:not(.hero-trend) .hero-copy { display: contents; }
  .hero-copy > .crumbs, .hero-copy > .eyebrow { order: 1; }
  .hero-copy > h1 { order: 2; margin-bottom: 0; }
  .hero .hero-copy > .facts { display: block; order: 3; margin: 0; font-size: 14px; }
  .hero-upload { display: flex; order: 3; }
  .proof3 { order: 4; }
  .hero-tool { order: 5; }
  .hero-copy > .lede { order: 6; }
  .hero-copy > .steps-line { order: 7; }
  .facts-more { display: none; }
}
@media (max-width: 560px) {
  .studio { padding: 16px; }
  .glance { grid-template-columns: 1fr; }
  .st-result { grid-template-columns: 1fr; }
  .st-card { max-width: 240px; margin: 0 auto; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .deck-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .preview-view { grid-template-columns: 90px 1fr; }
  .hero h1 { font-size: 38px; }
}

/* Seasonal line above the header (layout.mjs, app.js) */
.season { margin: 0; padding: 7px 16px; text-align: center; font: 500 13px/1.35 var(--sans); background: var(--accent); color: var(--ink); }
.season a { color: var(--ink); font-weight: 700; }

/* Card meaning pages and the free reading (templates/tarot.mjs meaningPage, readingPage) */
.meaning .kw, .rd-kw { list-style: none; padding: 0; margin: 6px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.meaning .kw li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--accent-text); }
.meaning-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 520px; margin: 8px 0 24px; }
.meaning-cards figure { margin: 0; }
.meaning-cards img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.meaning-cards figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.meaning-go { margin: 28px 0; padding: 20px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 12px; }
.meaning-go p { margin: 0; }
.meaning-go b { display: block; font: 600 20px/1.2 var(--display); color: var(--text); margin-bottom: 4px; }
.meaning-go .btn-go { justify-self: start; }
.meaning-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.meaning-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.meaning-links { line-height: 2; }
.meaning-wall a { display: grid; gap: 4px; text-decoration: none; color: var(--text-2); font-size: 13px; text-align: center; }
.rd-form { display: grid; gap: 14px; max-width: 560px; margin: 18px 0 8px; }
.rd-form .btn-go { justify-self: start; }
.rd-spread { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 24px 0; scroll-margin-top: 80px; }
.rd-spread[data-n="1"] { grid-template-columns: minmax(0, 360px); }
.rd-card { display: grid; gap: 8px; align-content: start; animation: rise .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.rd-card img { width: 100%; max-width: 300px; height: auto; border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.rd-card img.rev { transform: rotate(180deg); }
.rd-card h3 { margin: 4px 0 0; font: 600 22px/1.2 var(--display); }
.rd-card h3 small { font: 500 14px var(--sans); color: var(--accent-text); }
.rd-card p { margin: 0; }
.rd-pos { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 560px) { .rd-spread { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .rd-spread[data-n="1"] { grid-template-columns: minmax(0, 1fr); } .rd-card h3 { font-size: 18px; } }

/* The deck choices under the free card and on /pricing/ (templates/tarot.mjs priceCard, TIERS, pricingPage) */
.ed-pick { display: grid; gap: 8px; margin: 6px 0 10px; }
.ed-opt { position: relative; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.ed-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ed-opt:has(input:checked) { border-color: var(--accent); background: rgba(217, 179, 90, .08); box-shadow: inset 0 0 0 1px var(--accent); }
.ed-opt:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.ed-top { display: flex; align-items: baseline; gap: 8px; }
.ed-top b { font: 600 17px/1.2 var(--display); color: var(--text); }
.ed-n { font-size: 13px; color: var(--muted); }
.ed-price { margin-left: auto; font: 600 20px/1 var(--display); color: var(--accent-text); }
.ed-what { font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.ed-what i { font-style: normal; font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 18px 0 10px; }
.tier { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); display: grid; gap: 6px; align-content: start; }
.tier p { margin: 0; }
.tier-main { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tier-tag { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.tier .pc-price { font-size: 36px; }
.gift-pick { margin: 0 0 12px; }
.deck-upgrade, .credits-box, .deck-print { margin: 12px 0; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.deck-upgrade p, .credits-box p, .deck-print p { margin: 0; flex: 1 1 260px; }

/* Under the upload box: what the free card does and doesn't ask for. */
.st-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 12px 0 0; color: var(--text-2); }
.st-trust li::before { content: "✓ "; color: var(--accent-text); }
@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
}
/* The landing answer (question, answer, four facts) reads top to bottom; as a grid its three blocks sat 60px apart. */
#answer.answer { display: block; }
#answer .answer-lead { margin: 0 0 22px; }

/* The art style picker in the studio: four small sample cards, the picked one ringed in gold. */
.field-k { margin: 14px 0 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.field-k small { font-weight: 400; }
.style-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.style-opt { position: relative; display: block; cursor: pointer; text-align: center; font-size: 12px; line-height: 1.25; color: var(--text-2); }
.style-opt input { position: absolute; opacity: 0; pointer-events: none; }
.style-opt img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; border: 2px solid transparent; margin-bottom: 4px; transition: border-color .15s, transform .15s; }
.style-opt:hover img { transform: translateY(-2px); }
.style-opt input:checked + img { border-color: var(--accent); }
.style-opt input:checked ~ span { color: var(--text); font-weight: 600; }
.style-opt input:focus-visible + img { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* ---------- landing page v3 (11-17, peers + Fable review) ---------- */
.hero { align-items: start; }
.hero-upload { width: 100%; margin: 0; }
@media (min-width: 901px) { .hero-upload { display: none; } }
/* Their photo -> the free card and two more, side by side so nothing overlaps (uncards' rows). */
.proof3 { display: grid; grid-template-columns: 1fr auto 1fr 1fr 1fr; align-items: center; gap: 12px; max-width: 580px; margin: 22px 0 10px; }
.proof3 figure { margin: 0; position: relative; }
.proof3 img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.p3-photo { padding: 5px 5px 3px; background: #f6f1e7; border-radius: 6px; transform: rotate(-4deg); }
.p3-photo img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: none; }
.p3-photo figcaption { font: 600 11px/1.3 var(--sans); color: #3a3248; text-align: center; margin-top: 2px; }
.p3-arrow { font-size: 24px; color: var(--accent-text); }
.p3-card figcaption { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px; border-radius: 99px; background: var(--accent); color: var(--ink); font: 700 11px/1.2 var(--sans); }
.steps-line { color: var(--muted); margin: 6px 0 0; }
/* The upload box reads as a button: an icon, a gold "Choose a photo", drop hint on desktop. */
.drop-text { justify-items: center; text-align: center; padding: 6px 14px; }
.drop-ico { color: var(--accent-text); }
.drop-btn { display: inline-block; margin: 4px 0 2px; padding: 10px 22px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 700 16px/1.2 var(--sans); }
.drop:hover .drop-btn { filter: brightness(1.08); }
@media (hover: none) { .drop-or2 { display: none; } }
.st-more { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.st-more > summary { cursor: pointer; font-weight: 600; color: var(--text); list-style-position: inside; }
.st-more > summary small { color: var(--muted); font-weight: 400; }
.st-more[open] > summary { margin-bottom: 12px; }
/* Section rhythm: one lighter band for the proof, the rest on the page color. */
.proof { padding-top: 64px; padding-bottom: 64px; }
.proof .lede-2 { margin-bottom: 26px; }
.proof-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: center; padding: 18px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); }
.proof-row figure { margin: 0; }
.proof-row img { display: block; width: 100%; height: auto; border-radius: 8px; }
.pr-photo img { aspect-ratio: 1; object-fit: cover; }
.pr-photo figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.pr-cap { grid-column: 1 / -1; margin: 0; color: var(--text-2); }
.styles-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 28px; align-items: center; margin-top: 28px; }
.styles-strip h3 { margin: 0 0 6px; font: 600 26px/1.15 var(--display); }
.style-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.style-try { display: grid; gap: 6px; padding: 0; background: none; border: 0; color: var(--text-2); font: 500 14px/1.25 var(--sans); cursor: pointer; text-align: center; }
.style-try img { display: block; width: 100%; height: auto; border-radius: 8px; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.style-try:hover img { transform: translateY(-2px); }
.style-try[aria-pressed="true"] img { border-color: var(--accent); }
.style-try[aria-pressed="true"] span { color: var(--text); font-weight: 700; }
.style-said { color: var(--accent-text); min-height: 1.4em; margin: 6px 0 0; }
.sec-cta { margin: 26px 0 0; text-align: center; }
/* Three prices side by side (personalarcana), the full deck lifted; one button under them, not one per card. */
.pricing { padding-top: 56px; }
.tier-grid { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: grid; align-content: start; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); }
.tier-top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tier-name { font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.tier-price { font: 600 44px/1 var(--display); color: var(--text); }
.tier p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }
.tier-more { text-align: center; margin: 12px 0 0; }
.promise { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--text-2); }
.promise li::before { content: "✓ "; color: var(--accent-text); }
/* Gift and memorial, two cards with a real card each. */
.occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; padding-top: 56px; }
.occ { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); }
.occ > img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.occ h2 { font-size: 28px; margin: 0 0 8px; }
.occ p { margin: 0 0 8px; color: var(--text-2); }
.final .fan { height: 250px; margin: 0 auto 64px; max-width: 520px; }
.final .fan-card { width: 132px; }
.season-short { display: none; }
@media (max-width: 900px) {
  .proof3 { max-width: none; grid-template-columns: 70px auto repeat(3, 70px); justify-content: start; gap: 10px; margin: 6px 0 0; }
  .p3-arrow { font-size: 18px; }
  .styles-strip { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; gap: 10px; }
  .tier { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding: 16px 18px; }
  .tier-name { grid-column: 1; }
  .tier-price { grid-column: 2; grid-row: 1 / span 2; font-size: 32px; }
  .tier p { grid-column: 1 / -1; font-size: 14px; }
  .tier-top { order: -1; }
}
@media (max-width: 560px) {
  .proof { padding-top: 40px; padding-bottom: 40px; }
  .proof-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .style-row { gap: 8px; }
  .style-try { font-size: 12px; }
  .occ { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .occ h2 { font-size: 22px; }
  .season-long { display: none; }
  .season-short { display: inline; }
  .final .fan { height: 190px; margin-bottom: 48px; }
  .final .fan-card { width: 96px; }
}

/* Home fact table: one row per thing the site makes (SOP step 2, 2026-11-18). Stacks into cards on phones. */
.facts-h { margin: 26px 0 10px; font: 600 22px/1.2 var(--display); }
.facts-table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.facts-table thead th { font: 600 13px/1.3 var(--sans); letter-spacing: .6px; text-transform: uppercase; color: var(--accent-text); }
.facts-table tbody th { font: 600 16px/1.3 var(--display); color: var(--text); width: 18%; }
.facts-table td { color: var(--text-2); }
.facts-table td:nth-child(3) { white-space: nowrap; color: var(--text); }
.facts-table td:empty::before { content: "--"; }
.facts-links { display: block; margin-top: 4px; font: 400 13px/1.4 var(--sans); }
@media (max-width: 720px) {
  .facts-table thead { display: none; }
  .facts-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .facts-table th, .facts-table td { display: block; padding: 0; border: 0; width: auto; }
  .facts-table tbody th { grid-column: 1; width: auto; }
  .facts-table td:empty { display: none; }
  .facts-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .facts-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; white-space: normal; }
  .facts-table td:nth-child(4) { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
}

/* Hover stays in the deck's gold and night blue. The template's hovers turned the gold buttons coral with pale text
   (a.btn-go also picked up the generic link hover color) and the header button cream; links went pink. */
@media (hover: hover) {
  .btn-go:hover, a.btn-go:hover { background: var(--accent); color: var(--ink); filter: brightness(1.1); }
  .site-header .site-nav .nav-cta:hover { color: var(--ink); background: var(--accent); filter: brightness(1.1); }
  .link-btn:hover { color: var(--text); }
}
