/* reel-landing — "quiet cinema": warm black, cream type, serif headlines, one vermilion action */
:root {
  --bg: #0d0c0a;
  --bg-2: #13110e;
  --panel: #1a1814;
  --panel-2: #221f1a;
  --text: #f6f1e3;
  --muted: #a8a090;
  --dim: #6f685c;
  --line: rgba(246, 241, 227, 0.1);
  --line-2: rgba(246, 241, 227, 0.18);
  --accent: #e2412e;      /* highlight words */
  --accent-btn: #cc3523;  /* the buy button: white text stays above 4.5:1 */
  --radius: 18px;
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 40px);
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* English: Instrument Serif (single weight, so headings stay at 400) + Inter */
:root:lang(en) {
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}
:lang(en) h1, :lang(en) h2, :lang(en) .row__title, :lang(en) .deal__name { font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; }
:lang(en) .hero__title { font-size: clamp(2.9rem, 7.6vw, 5.2rem); }
:lang(en) .sec-title { font-size: clamp(2.2rem, 5.2vw, 3.5rem); }
:lang(en) .row__title { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
:lang(en) .final__title { font-size: clamp(2.6rem, 7vw, 4.4rem); }
:lang(en) .stat dd, :lang(en) .deal__now { font-weight: 400; }
:lang(en) body { letter-spacing: 0; font-size: 16.5px; line-height: 1.65; }
:lang(en) .hl { font-style: italic; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.75; letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.ph { display: inline-block; max-width: 100%; text-wrap: balance; }
.hl { font-style: normal; color: var(--accent); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--text); color: var(--bg); font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: var(--h); padding: 0 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent-btn); color: #fff; }
.btn--primary:hover { background: #b72e1e; }
.btn__price { margin-left: 0.2em; padding-left: 0.75em; border-left: 1px solid rgba(255, 255, 255, 0.35); font-weight: 500; font-variant-numeric: tabular-nums; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { --h: 38px; padding: 0 1.1em; font-size: 0.92rem; }
.btn--lg { --h: 56px; padding: 0 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--text); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 12, 10, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.06em; white-space: nowrap; }
.brand__mark { width: 16px; height: 26px; border-radius: 5px; border: 2px solid var(--text); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(44px, 6vw, 80px); align-items: center; }
.hero__grid > * { min-width: 0; }
.eyebrow { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.08em; }
.hero__title { margin-top: 18px; font-size: clamp(2.4rem, 6.6vw, 4.2rem); line-height: 1.22; letter-spacing: 0.01em; }
.hero__sub { margin-top: 22px; max-width: 30em; color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.14rem); }
.hero__ctas { margin-top: 34px; }
.trust { margin-top: 14px; color: var(--dim); font-size: 0.88rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(56px, 8vw, 96px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-right: 16px; }
.stat dd { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 4.4vw, 2.3rem); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.stat dt { margin-top: 6px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.hero__media { display: grid; place-items: center; }

/* ---------- phone + VSL ---------- */
.phone { --bezel: 8px; position: relative; width: 100%; padding: var(--bezel); border-radius: 38px; background: #1f1d19; box-shadow: 0 0 0 1px var(--line-2) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.phone__screen { position: relative; aspect-ratio: 9 / 16; border-radius: calc(38px - var(--bezel)); overflow: hidden; background: #000; }
.phone__screen video, .phone__empty { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__empty { background: var(--panel); }
.phone__island { position: absolute; z-index: 3; top: calc(var(--bezel) + 10px); left: 50%; translate: -50% 0; width: 28%; height: 20px; border-radius: 999px; background: #000; }
.phone--hero { width: min(72vw, 340px); }
.vsl__sound {
  position: absolute; z-index: 4; left: 50%; bottom: 22px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 0; background: rgba(246, 241, 227, 0.94); color: #111; font-weight: 700; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); transition: transform 0.2s var(--ease);
}
.vsl__sound svg { width: 20px; height: 20px; fill: currentColor; }
.vsl__sound:hover { transform: scale(1.04); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.kicker { color: var(--muted); font-size: 0.88rem; letter-spacing: 0.12em; margin-bottom: 12px; }
.sec-title { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.sec-sub { margin-top: 14px; color: var(--muted); }

/* ---------- story rows ---------- */
.rows { display: grid; gap: clamp(64px, 10vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.row__title { font-size: clamp(1.6rem, 3.8vw, 2.3rem); }
.row__body { margin-top: 14px; color: var(--muted); max-width: 26em; }
.row__visual { display: grid; place-items: center; }
@media (min-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .row--flip .row__text { order: 2; }
}
.script { width: 100%; max-width: 460px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.script__head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 0.8rem; letter-spacing: 0.04em; }
.script__head span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.script__head span:last-of-type { margin-right: 8px; }
.script__lines { list-style: none; display: grid; gap: 14px; padding: 20px 18px 22px; }
.script__lines li { line-height: 1.6; }
.who { font-weight: 700; color: var(--c); }
.mood { color: var(--dim); font-size: 0.9rem; }
.say { display: block; margin-top: 2px; }
.reel--story { width: min(70vw, 290px); }
.diff { width: 100%; max-width: 460px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); padding: 22px 20px; display: grid; gap: 10px; }
.diff__who { color: #59e6ff; font-weight: 700; }
.diff__line { padding: 10px 14px; border-radius: 10px; line-height: 1.55; }
.diff__line::before { display: inline-block; width: 1.2em; font-weight: 700; }
.diff__line--old { background: rgba(226, 65, 46, 0.1); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(226, 65, 46, 0.6); }
.diff__line--old::before { content: "−"; color: var(--accent); }
.diff__line--new { background: rgba(120, 200, 140, 0.1); }
.diff__line--new::before { content: "+"; color: #7fd49a; }
.diff__run { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--dim); font-size: 0.88rem; }
.diff__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.25; } }

/* ---------- reels (shared) ---------- */
.reel .phone { border-radius: 30px; --bezel: 6px; }
.reel .phone__screen { border-radius: 24px; }
.reel .phone__island { height: 15px; }
.reel__play { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; cursor: pointer; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.45)); display: grid; place-items: center; }
.reel__playicon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(246, 241, 227, 0.94); color: #111; transition: transform 0.25s var(--ease), opacity 0.25s; }
.reel__playicon svg { width: 24px; height: 24px; fill: currentColor; grid-area: 1 / 1; }
.reel__playicon svg:first-child { translate: 2px 0; }
.reel__playicon svg:last-child { display: none; }
.reel__play:hover .reel__playicon { transform: scale(1.08); }
.reel.is-playing .reel__play { background: transparent; }
.reel.is-playing .reel__playicon { opacity: 0; transform: scale(0.85); }
.reel.is-playing .reel__play:hover .reel__playicon, .reel.is-playing .reel__play:focus-visible .reel__playicon { opacity: 1; transform: none; }
.reel.is-playing .reel__playicon svg:first-child { display: none; }
.reel.is-playing .reel__playicon svg:last-child { display: block; }
.reel__sound { position: absolute; z-index: 4; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; color: #fff; }
.reel__sound svg { width: 20px; height: 20px; fill: currentColor; grid-area: 1 / 1; }
.reel__sound svg:last-child { display: none; }
.reel.has-sound .reel__sound { background: var(--accent-btn); }
.reel.has-sound .reel__sound svg:first-child { display: none; }
.reel.has-sound .reel__sound svg:last-child { display: block; }
.reel__dur { position: absolute; z-index: 3; left: 10px; bottom: 16px; padding: 1px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.76rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.reel.is-playing .reel__dur { opacity: 0; }

/* ---------- showcase ---------- */
.showcase__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel-ctrl { display: none; gap: 10px; margin-bottom: clamp(36px, 6vw, 64px); }
@media (min-width: 900px) { .carousel-ctrl { display: flex; } }
.carousel { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding-bottom: 18px; }
.carousel:focus-visible { outline-offset: -3px; }
.carousel__track { display: flex; gap: 24px; width: max-content; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); }
.card { width: clamp(210px, 62vw, 250px); scroll-snap-align: start; flex: none; }
.card__meta { padding: 14px 2px 0; }
.card__title { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.card__cap { margin-top: 4px; font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ---------- offer ---------- */
.offer .sec-head { text-align: center; margin-inline: auto; }
.deal { border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); padding: clamp(24px, 5vw, 40px); }
.deal__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.deal__name { font-size: 1.5rem; }
.deal__note { margin-top: 4px; color: var(--dim); font-size: 0.86rem; }
.deal__price { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.deal__now { font-family: var(--serif); font-size: clamp(2.1rem, 6vw, 2.8rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.deal__orig { color: var(--dim); text-decoration-color: var(--accent); }
.deal__feats { display: grid; gap: 12px; margin: 24px 0; }
.deal__feats li { display: flex; gap: 12px; line-height: 1.6; }
.deal__feats svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--text); opacity: 0.7; }
.syllabus { margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.syllabus summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; list-style: none; color: var(--muted); font-size: 0.95rem; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.syllabus[open] summary svg { transform: rotate(180deg); }
.syllabus__list { display: grid; gap: 12px; padding: 4px 0 18px; }
.syllabus__list li { display: flex; gap: 14px; font-size: 0.95rem; line-height: 1.55; }
.syllabus__n { color: var(--dim); font-variant-numeric: tabular-nums; min-width: 1.6em; }
.syllabus__o { color: var(--muted); font-size: 0.88rem; }
.deal__guarantee { margin-top: 18px; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.deal__guarantee b { color: var(--text); }
.others { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 24px; }
.others a { color: var(--muted); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.others a:hover { color: var(--text); border-color: var(--text); }
.fine { margin-top: 18px; text-align: center; color: var(--dim); font-size: 0.82rem; }
.anchor { position: relative; top: -120px; }

/* ---------- waitlist form ---------- */
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; }
.waitlist input {
  flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(246, 241, 227, 0.06); color: var(--text); font: inherit; font-size: 1rem;
}
.waitlist input::placeholder { color: var(--dim); }
.waitlist input:focus { outline: none; border-color: var(--text); }
.waitlist .btn { --h: 52px; flex: none; }
.waitlist .btn:disabled { opacity: 0.6; cursor: progress; }
.waitlist__msg { flex-basis: 100%; min-height: 1.4em; margin: 2px 4px 0; font-size: 0.9rem; color: var(--muted); }
.waitlist.is-ok .waitlist__msg { color: #8fd8a4; }
.waitlist.is-err .waitlist__msg { color: #f08a7c; }
.waitlist--deal { max-width: none; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* honeypot, see render.mjs */

/* content pages (/privacy) */
.page { padding-block: 48px 80px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.1; margin: 0 0 8px; }
.page .page__date { color: var(--dim); font-size: 0.9rem; margin: 0 0 32px; }
.page h2 { font-size: 1.1rem; margin: 36px 0 10px; }
.page p, .page li { color: var(--muted); line-height: 1.7; }
.page ul { padding-left: 1.2em; }
.page a { color: var(--text); }
.waitlist--final { margin: 0 auto; justify-content: center; }
.waitlist--final .waitlist__msg { text-align: center; }

/* ---------- free guide (secondary action) ---------- */
.freebie__in { text-align: center; }
.freebie__title { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.freebie__body { margin: 14px auto 28px; color: var(--muted); max-width: 32em; }

/* ---------- faq ---------- */
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; line-height: 1.55; }
.qa summary::-webkit-details-marker { display: none; }
.qa__chev { flex: none; }
.qa__chev svg { width: 20px; height: 20px; color: var(--dim); transition: transform 0.25s var(--ease); }
.qa[open] .qa__chev svg { transform: rotate(180deg); }
.qa__a { padding: 0 2px 22px; color: var(--muted); max-width: 44em; }

/* ---------- final ---------- */
.final__in { text-align: center; }
.final__title { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.final__sub { margin: 16px auto 34px; color: var(--muted); max-width: 30em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.88rem; }
.footer__in { display: grid; gap: 18px; }
.footer__tag { margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__links a { color: var(--muted); text-underline-offset: 3px; }
.footer__links a:hover { color: var(--text); }
.footer__disc, .footer__copy { color: var(--dim); font-size: 0.82rem; line-height: 1.7; }
@media (min-width: 900px) {
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
  .footer__links { justify-content: flex-end; }
  .footer__disc, .footer__copy { grid-column: 1 / -1; }
}

/* ---------- desktop hero ---------- */
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .phone--hero { width: min(100%, 340px); }
}

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero__copy > * { animation: rise 0.9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__copy > :nth-child(5) { animation-delay: 0.3s; }
.hero__media { animation: rise 1.1s 0.2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
