/*
Theme Name: OurStory Film
Description: Landing page, checkout, AI assistant and story brief for an animated love-story film series.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ourstory
*/

@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --night: #16111A; --night-2: #1E1722; --night-3: #2A2130; --line: #3A2F37;
  --paper: #F7F1EC; --paper-2: #EFE6DF; --ink: #2A1E22; --ink-2: #4A3D40; --muted: #CFC3BC; --muted-2: #A89BA2;
  --peach: #F2A07B; --peach-2: #F7C2A6; --clay: #A4462A; --gold: #FFC439;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Inter", system-ui, -apple-system, sans-serif;
  --r: 22px; --wrap: 1160px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: #F4ECE6; font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: overlay;
  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"); }
img, video { max-width: 100%; display: block; }
a { color: var(--peach); }
a:hover { color: var(--peach-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--peach); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--peach); }
.light .eyebrow { color: var(--clay); }
.h2 { font-size: clamp(36px, 4.8vw, 60px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.light { background: var(--paper); color: var(--ink); }
.light .lead { color: var(--ink-2); }
.light a { color: var(--clay); }
.sec { padding: clamp(72px, 9vw, 112px) 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 17px/1.1 var(--sans); text-decoration: none; background: var(--peach); color: var(--night); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; box-shadow: 0 10px 40px -12px rgba(242,160,123,.6); }
.btn:hover { color: var(--night); transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(242,160,123,.75); background: #F5AE8D; }
.btn-lg { padding: 19px 36px; font-size: 18px; }
.btn-ghost { background: transparent; color: #F4ECE6; border: 1px solid #5A4C55; box-shadow: none; font-weight: 500; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.06); box-shadow: none; }
.light .btn-ghost { color: var(--ink); border: 2px solid var(--ink); font-weight: 700; }
.light .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--night); color: var(--paper); box-shadow: none; }
.btn-dark:hover { background: #000; color: #fff; }

/* banner + header */
.topbar { background: var(--peach); color: var(--night); text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; }
.topbar b { font-variant-numeric: tabular-nums; }
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-size: 28px; color: #F4ECE6; text-decoration: none; letter-spacing: -.01em; }
.logo:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 15px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover { color: #fff; }
.nav .btn { padding: 12px 22px; min-height: 44px; font-size: 15px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(242,160,123,.22), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-top: 32px; padding-bottom: 88px; position: relative; }
.hero h1 { font-size: clamp(46px, 6.6vw, 88px); margin-top: 18px; }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .when { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero .when b { color: var(--peach); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.ticks li::before { content: "✓ "; color: var(--peach); font-weight: 700; }
.phone { position: relative; justify-self: center; width: min(360px, 82vw); aspect-ratio: 9 / 16; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2b2230, #120d14); box-shadow: 0 50px 120px -30px rgba(0,0,0,.8), 0 0 0 1px #3A2F37, 0 0 120px -20px rgba(242,160,123,.35); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.sound { position: absolute; right: 22px; bottom: 22px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(22,17,26,.78); color: #fff; font: 600 13px var(--sans); backdrop-filter: blur(6px); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 40px; } .hero .lead { margin-left: auto; margin-right: auto; } .hero .ctas, .ticks { justify-content: center; } }

/* trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; padding: 22px 24px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 24px; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 12px; }
.trust svg { flex: 0 0 auto; }

/* episodes */
.eps { margin-top: 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ep { background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s; }
.ep:hover { transform: translateY(-6px); border-color: #5A4C55; }
.ep figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ep img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ep:hover img { transform: scale(1.06); }
.ep figure span { position: absolute; left: 14px; top: 6px; font-family: var(--serif); font-size: 48px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.ep div { padding: 16px; }
.ep b { display: block; font-size: 16px; }
.ep small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.note { margin-top: 18px; color: var(--muted-2); font-size: 14px; }
@media (max-width: 980px) { .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eps .ep:last-child { grid-column: 1 / -1; } }

/* tiles */
.tiles { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(42,30,34,.35); }
.tile b { font-size: 19px; }
.tile span { color: var(--ink-2); font-size: 15px; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps li { background: var(--night); color: #F4ECE6; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { display: flex; justify-content: space-between; align-items: center; }
.steps .n span { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--peach); }
.steps .n small { font-size: 13px; color: var(--muted); }
.steps b { font-size: 20px; }
.steps p { color: var(--muted); font-size: 15px; }

/* samples */
.samples { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sample { all: unset; cursor: pointer; display: block; }
.sample .f { display: block; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 14; }
.sample img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sample:hover img { transform: scale(1.05); }
.sample .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 999px; background: rgba(22,17,26,.7); display: grid; place-items: center; backdrop-filter: blur(4px); transition: transform .3s var(--ease), background .3s; }
.sample:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--peach); }
.sample:hover .play svg { fill: var(--night); }
.sample b { display: block; margin-top: 12px; font-weight: 600; }
.sample:focus-visible .f { outline: 3px solid var(--peach); outline-offset: 3px; }

/* pricing */
.price-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.countdown { display: flex; align-items: center; gap: 12px; background: var(--night); color: #F4ECE6; border-radius: 14px; padding: 12px 16px; }
.countdown small { font-size: 13px; color: var(--muted); }
.countdown b { font-variant-numeric: tabular-nums; font-size: 20px; color: var(--peach); }
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.plan.best { background: var(--night); color: #F4ECE6; box-shadow: 0 0 0 3px var(--peach), 0 40px 80px -40px rgba(22,17,26,.6); }
.plan .badge { position: absolute; top: -14px; left: 34px; font-size: 13px; font-weight: 700; background: var(--peach); color: var(--night); padding: 6px 14px; border-radius: 999px; }
.plan h3 { font-family: var(--sans); font-weight: 700; font-size: 22px; margin-top: 8px; }
.plan .was { font-size: 14px; color: var(--muted); }
.plan:not(.best) .was { color: #6E5F62; }
.plan .amt { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .amt strong { font-family: var(--serif); font-weight: 400; font-size: 78px; line-height: 1; }
.plan .after { font-size: 14px; color: var(--peach); }
.plan:not(.best) .after { color: #6E5F62; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; flex-grow: 1; }
.plan li::before { content: "✓  "; color: var(--peach); font-weight: 700; }
.plan:not(.best) li::before { color: var(--clay); }
.plan .fine { text-align: center; font-size: 13px; color: var(--muted); }
.plan:not(.best) .fine { color: #6E5F62; }
.addons { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.addons div { background: #fff; border-radius: 16px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.addons small { display: block; color: #6E5F62; font-size: 14px; }
.addons b.p { color: var(--clay); }
.ladder { margin-top: 20px; background: var(--night); color: #F4ECE6; border-radius: 20px; padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.ladder > b { flex: 1 1 200px; font-size: 18px; }
.ladder p { flex: 1 1 160px; padding: 10px 14px; border-radius: 12px; background: var(--night-3); }
.ladder p small { display: block; font-size: 13px; color: var(--muted); }
.ladder p.on { background: var(--peach); color: var(--night); }
.ladder p.on small { color: #4a2a20; }
.ladder p.past { opacity: .4; text-decoration: line-through; }
.compare { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; text-align: center; }
.compare div { background: #fff; border-radius: 16px; padding: 18px; }
.compare small { display: block; font-size: 13px; color: #6E5F62; }
.compare b { display: block; margin-top: 4px; }
.compare .us { border: 2px solid var(--clay); }
.compare .us small { color: var(--clay); }

/* promise + faq */
.promises { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.promises b { display: block; font-size: 17px; }
.promises p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--peach); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* final CTA */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(242,160,123,.18), transparent 70%); }
.final .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final h2 { font-size: clamp(44px, 6vw, 78px); max-width: 860px; }
.final p { color: var(--muted); font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 110px; display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* sticky bar + chat */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(22,17,26,.94); border-top: 1px solid var(--line); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .4s var(--ease); }
.bar.show { transform: none; }
.bar .wrap { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.bar p { font-size: 15px; }
.bar p span { color: var(--muted); }
.bar .acts { display: flex; gap: 10px; }
.bar .btn { padding: 12px 22px; min-height: 44px; font-size: 15px; }
@media (max-width: 560px) { .bar p span { display: none; } }
.chat { position: fixed; right: 16px; bottom: 84px; z-index: 50; width: min(400px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px)); display: none; flex-direction: column; background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.chat.open { display: flex; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.chat header { background: var(--night); color: #F4ECE6; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat header b { display: block; }
.chat header small { color: var(--muted); font-size: 12px; }
.chat header .dot { width: 34px; height: 34px; border-radius: 999px; background: var(--peach); flex: 0 0 auto; margin-right: 10px; display: grid; place-items: center; }
.chat header .who { display: flex; align-items: center; }
.chat .x { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; border-radius: 12px; }
.chat .log { flex: 1 1 auto; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); min-height: 220px; }
.msg { max-width: 88%; padding: 11px 14px; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.msg.bot { align-self: flex-start; background: #fff; border-radius: 16px 16px 16px 4px; }
.msg.me { align-self: flex-end; background: var(--night); color: #F4ECE6; border-radius: 16px 16px 4px 16px; }
.msg a.cta { display: inline-block; margin-top: 8px; background: var(--peach); color: var(--night); font-weight: 700; padding: 9px 14px; border-radius: 999px; text-decoration: none; }
.typing { align-self: flex-start; background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 99px; background: #b9aeb3; animation: b 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes b { 50% { transform: translateY(-4px); opacity: .5; } }
.chips { padding: 10px 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 500 13px var(--sans); background: #fff; color: var(--ink); border: 1px solid #D9CBC2; padding: 8px 12px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.chips button:hover { border-color: var(--clay); color: var(--clay); }
.chat form { display: flex; gap: 8px; padding: 12px; }
.chat input { flex: 1 1 auto; min-width: 0; font: 15px var(--sans); padding: 11px 13px; border: 1px solid #D9CBC2; border-radius: 12px; color: var(--ink); }
.chat form button { font: 600 15px var(--sans); background: var(--night); color: #fff; border: 0; padding: 0 16px; border-radius: 12px; cursor: pointer; min-height: 44px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(10,7,12,.86); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal video { max-height: 88vh; width: auto; border-radius: 22px; }
.modal .x { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: #fff; font-size: 24px; cursor: pointer; }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* inner pages (checkout, brief, talk) */
.page-light { background: var(--paper); color: var(--ink); min-height: 100vh; }
.page-light .site-header { background: var(--night); }
.inner { padding: 48px 0 120px; }
.inner .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.inner .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.inner aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.inner h1 { font-size: clamp(38px, 5vw, 58px); }
.step-t { font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.opt { text-align: left; font: inherit; cursor: pointer; border-radius: 18px; padding: 20px 22px; min-height: 44px; background: #fff; color: var(--ink); border: 2px solid #D9CBC2; transition: border-color .2s, background .2s, transform .2s; }
.opt:hover { border-color: var(--ink-2); }
.opt[aria-checked="true"] { background: var(--night); color: #F4ECE6; border-color: var(--night); }
.opt .top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.opt .tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.opt .tag.hot { background: var(--peach); color: var(--night); }
.opt .big { display: block; margin-top: 8px; font-family: var(--serif); font-size: 46px; line-height: 1; }
.opt small { display: block; margin-top: 8px; font-size: 14px; opacity: .85; }
.addon { display: flex; gap: 14px; align-items: flex-start; text-align: left; font: inherit; cursor: pointer; padding: 18px 20px; border-radius: 16px; background: #fff; border: 2px dashed #D9CBC2; color: var(--ink); width: 100%; }
.addon[aria-checked="true"] { background: #FFF4EE; border: 2px solid var(--clay); }
.addon .box { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--clay); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.addon[aria-checked="true"] .box { background: var(--clay); }
.addon b span { color: var(--clay); }
.addon small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.summary { background: var(--night); color: #F4ECE6; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.summary .tot strong { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; }
.summary .ready { color: var(--peach); font-size: 14px; }
.summary small { color: var(--muted); font-size: 13px; text-align: center; }
.pp-fallback { display: block; text-align: center; background: var(--gold); color: var(--night); text-decoration: none; font-weight: 700; font-size: 18px; padding: 17px; border-radius: 999px; }
.card { background: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; }
.card p { display: flex; gap: 10px; }
.card svg { flex: 0 0 auto; }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.hint { font-size: 14px; line-height: 1.5; color: #6E5F62; }
.page-light input:not([type=checkbox]), .page-light textarea, .page-light select { font: 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid #D9CBC2; border-radius: 12px; padding: 12px 14px; width: 100%; }
.page-light input[type=file] { padding: 10px; background: #FBF8F5; border-style: dashed; }
.page-light textarea { min-height: 100px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.wizard-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.wizard-tabs button { font: 500 14px var(--sans); cursor: pointer; padding: 10px 14px; border-radius: 999px; min-height: 44px; background: #fff; color: var(--ink); border: 1px solid #D9CBC2; }
.wizard-tabs button[aria-current="step"] { background: var(--night); color: #fff; border-color: var(--night); }
.progress { height: 6px; background: #E5D8CF; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--clay); border-radius: 99px; transition: width .35s var(--ease); }
.wstep { display: none; flex-direction: column; gap: 18px; }
.wstep.on { display: flex; animation: pop .35s var(--ease); }
.wstep h2 { font-size: 42px; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tips div { background: #fff; border-radius: 16px; padding: 20px; }
.tips b { display: block; }
.moment { background: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.moment h3 { font-size: 28px; }
.wnav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid #E5D8CF; padding-top: 22px; }
.wnav .count { color: #6E5F62; font-size: 14px; margin-left: auto; }
.note-card { background: var(--night); color: #F4ECE6; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.note-card small { letter-spacing: .1em; text-transform: uppercase; color: var(--peach); font-size: 12px; }
.note-card b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.note-card p { color: var(--muted); font-size: 15px; }
.done-box { max-width: 760px; margin: 0 auto; padding: 96px 24px; display: flex; flex-direction: column; gap: 18px; }
.done-box h1 { font-size: clamp(40px, 5vw, 60px); }
.status { font-size: 15px; padding: 14px 16px; border-radius: 12px; display: none; }
.status.err { display: block; background: #FDE8E4; color: #7E321C; }
.status.ok { display: block; background: #E8F4EA; color: #24553A; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; padding: 16px; background: #fff; border-radius: 12px; }
.consent input { width: 20px !important; height: 20px; margin-top: 2px; flex: 0 0 auto; }

/* talk (voice brief) */
.talk-page { background: var(--night); min-height: 100vh; }
.talk { max-width: 780px; margin: 0 auto; padding: 16px 24px 120px; display: flex; flex-direction: column; gap: 24px; }
.talk .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.talk .bar2 { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.talk .bar2 i { display: block; height: 100%; background: var(--peach); transition: width .35s var(--ease); }
.talk h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.12; }
.talk .why { color: var(--muted); font-size: 15px; }
.think { display: flex; flex-wrap: wrap; gap: 8px; }
.think span { font-size: 14px; border: 1px solid var(--line); background: var(--night-2); padding: 8px 12px; border-radius: 999px; }
.mic { width: 108px; height: 108px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center; background: #F4ECE6; color: var(--night); margin: 8px auto 0; transition: transform .2s; }
.mic:hover { transform: scale(1.04); }
.mic.rec { background: var(--peach); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,160,123,.55); } 70% { box-shadow: 0 0 0 24px rgba(242,160,123,0); } 100% { box-shadow: 0 0 0 0 rgba(242,160,123,0); } }
.mic-l { text-align: center; font-weight: 600; }
.mic-s { text-align: center; color: var(--muted-2); font-size: 13px; }
.mic-e { text-align: center; color: var(--peach-2); font-size: 14px; }
.talk textarea { font: 16px/1.6 var(--sans); color: var(--ink); background: #fff; border: 0; border-radius: 14px; padding: 14px 16px; min-height: 180px; width: 100%; resize: vertical; }
.talk label { font-weight: 600; }
.nudge { color: var(--peach); font-size: 14px; }
.talk .tnav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; }
.talk .skip { all: unset; cursor: pointer; color: var(--muted); text-decoration: underline; padding: 12px; }
.talk .panel { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.talk .panel input { font: 16px var(--sans); border: 1px solid #D9CBC2; border-radius: 12px; padding: 12px 14px; width: 100%; color: var(--ink); background: #fff; }
.talk .panel h1 { font-size: 38px; }
.review { all: unset; cursor: pointer; display: block; background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.review small { display: block; color: var(--peach); font-size: 14px; }
.review span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.talk .consent { background: var(--night-2); color: #F4ECE6; }
.priv { color: var(--muted-2); font-size: 13px; }
[hidden] { display: none !important; }
.vsec { display: flex; flex-direction: column; gap: 20px; }

/* names in hero + live ticket */
.names { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 8px; max-width: 620px; }
.names input { flex: 1 1 140px; min-width: 0; background: transparent; border: 0; color: #fff; font: 500 17px var(--sans); padding: 12px 14px; }
.names input::placeholder { color: #A89BA2; }
.names input:focus { outline: none; }
.names span { color: var(--peach); font-family: var(--serif); font-size: 24px; }
.names .btn { flex: 0 0 auto; }
.ticket { margin-top: 16px; display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 22px; border-radius: 12px; background: linear-gradient(135deg, #F7C2A6, #F2A07B); color: var(--night); box-shadow: 0 14px 40px -18px rgba(242,160,123,.8); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 99px; background: var(--night); transform: translateY(-50%); }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket span { font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.ticket b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.1; }
@media (max-width: 860px) { .names { margin-left: auto; margin-right: auto; border-radius: 22px; } .names .btn { flex: 1 1 100%; } }
