/* Talkie landing page. Tokens follow mobile/src/talkie/theme.ts. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --fg: #1f1915;
  --muted: #645c55;
  --border: #e7e0d7;
  --acc: #f56d00;
  --acc-strong: #ca3c00;
  --acc-ink: #ae3200;
  --soft: #ffe6cc;
  --tile: #f9eee2;
  --band: #241e1a;
  --on-band: #f7f5f1;
  --on-band-muted: #c2bdb7;
  --ok-soft: #dcf7e1;
  --ok-ink: #195c2e;
  --shadow: 0 10px 26px rgba(90, 60, 30, .16);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--body); overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--acc); color: var(--fg); font: 800 17px var(--head); border: 0; border-radius: 999px; padding: 17px 24px; text-decoration: none; box-shadow: 0 10px 24px rgba(245, 109, 0, .35); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.cta:hover { background: #ff7a10; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(245, 109, 0, .4); }
.cta:active { transform: translateY(0); }
.cta .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.cta-sm { width: auto; padding: 10px 18px; font-size: 14px; box-shadow: none; }
.btn-out { display: inline-flex; align-items: center; font: 600 14px var(--body); color: var(--fg); border: 1.5px solid var(--fg); border-radius: 999px; padding: 8px 16px; text-decoration: none; white-space: nowrap; }
.btn-out:hover { background: var(--fg); color: var(--bg); }
.ghost { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 11px 18px; font: 700 15px var(--body); cursor: pointer; white-space: nowrap; }
.ghost:hover { border-color: var(--fg); }
.play { width: 30px; height: 30px; border-radius: 50%; background: var(--fg); display: grid; place-items: center; flex: none; }
.play::after { content: ""; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.note { font-size: 13px; color: var(--muted); text-align: center; margin: 9px 0 12px; }

/* ---------- nav ---------- */
.nav { position: relative; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 6px; }
.nav .logo img { height: 32px; width: auto; }
.nav .links { display: none; gap: 30px; font: 500 15px var(--body); }
.nav .links a { text-decoration: none; }
.nav .links a:hover { color: var(--acc-strong); }
.nav .right { display: flex; align-items: center; gap: 12px; }
.nav .right .cta { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: 36px; }
.hero-grid { display: flex; flex-direction: column; }
.hero-copy { position: relative; z-index: 3; max-width: 480px; margin: 0 auto; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px 6px 6px; font: 600 13px var(--body); color: var(--muted); }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; }
.eyebrow .dot .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.hero h1 { font: 800 40px/1.04 var(--display); letter-spacing: -.035em; margin: 16px 0 14px; }
.hero h1 em { font-style: normal; color: var(--acc); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -6px; bottom: -10px; width: calc(100% + 12px); height: 14px; }
.hero .sub { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.perks { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; margin-top: 22px; justify-content: space-between; }
.perks div { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); line-height: 1.25; }
.perks span { width: 34px; height: 34px; border-radius: 11px; background: var(--soft); color: var(--acc-strong); display: grid; place-items: center; flex: none; }
.perks .ico { width: 17px; height: 17px; }
.actions { display: block; }
.only-d { display: none; }

/* stage: everything inside is sized in stage units so it scales like one picture */
.stage { position: relative; container-type: inline-size; width: 100%; max-width: 430px; margin: 0 auto; aspect-ratio: 375 / 330; }
.stage > * { --u: calc(100cqw / 375); }
.stage .glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(245, 109, 0, .18), transparent 55%); }
.stage .rings { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.stage .woman { position: absolute; z-index: 2; width: calc(250 * var(--u)); left: calc(62 * var(--u)); top: calc(18 * var(--u)); height: auto; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.bub { position: absolute; z-index: 3; background: var(--surface); border-radius: calc(16 * var(--u)); padding: calc(9 * var(--u)) calc(12 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.35; box-shadow: var(--shadow); border: 1px solid rgba(231, 224, 215, .7); }
.bub .who { font: 700 calc(10.5 * var(--u)) var(--body); color: var(--acc); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.bub.mine { background: var(--soft); border-color: #ffd6ad; }
.bub s { color: #a3988d; }
.bub b { color: var(--acc-strong); }
.stage-m .b1 { left: calc(6 * var(--u)); top: calc(28 * var(--u)); white-space: nowrap; }
.stage-m .b2 { right: calc(8 * var(--u)); top: calc(172 * var(--u)); width: calc(138 * var(--u)); }
.fixcard { position: absolute; z-index: 3; display: flex; align-items: center; gap: calc(8 * var(--u)); background: var(--surface); border-radius: calc(14 * var(--u)); padding: calc(8 * var(--u)) calc(11 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u)); box-shadow: var(--shadow); font-size: calc(12 * var(--u)); line-height: 1.25; }
.fixcard .ok { width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: calc(8 * var(--u)); background: var(--ok-soft); color: var(--ok-ink); display: grid; place-items: center; }
.fixcard .ok .ico { width: 60%; height: 60%; stroke-width: 3; }
.fixcard strong { display: block; font-size: calc(12.5 * var(--u)); }
.fixcard span { color: var(--muted); }
.stage-m .fixcard { left: calc(8 * var(--u)); top: calc(262 * var(--u)); }
.stage-d { display: none; }

/* desktop stage (base 560 x 580) */
.stage-d > * { --u: calc(100cqw / 560); }
.stage-d { aspect-ratio: 560 / 580; max-width: 560px; }
.stage-d .glow { background: radial-gradient(circle at 50% 66%, rgba(245, 109, 0, .18), transparent 55%); }
.stage-d .woman { width: calc(440 * var(--u)); left: calc(40 * var(--u)); top: calc(22 * var(--u)); }
.stage-d .bub { padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(18 * var(--u)); }
.stage-d .bub .who { display: flex; align-items: center; gap: calc(7 * var(--u)); margin-bottom: calc(6 * var(--u)); font-size: calc(11.5 * var(--u)); text-transform: none; letter-spacing: 0; color: var(--fg); }
.stage-d .bub .who img { width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; object-fit: cover; }
.stage-d .bub .who .me { width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; font-size: calc(10 * var(--u)); }
.stage-d .bub .who small { font-weight: 500; color: var(--muted); font-size: inherit; }
.wave { display: flex; align-items: center; gap: calc(2 * var(--u)); height: calc(16 * var(--u)); margin-bottom: calc(5 * var(--u)); }
.wave i { display: block; width: calc(3 * var(--u)); border-radius: 2px; background: var(--acc); }
.bub.mine .wave i { background: var(--fg); }
.stage-d .b1 { left: calc(-50 * var(--u)); top: calc(96 * var(--u)); width: calc(205 * var(--u)); }
.stage-d .b2 { right: calc(70 * var(--u)); top: calc(300 * var(--u)); width: calc(185 * var(--u)); }
.stage-d .fixcard { left: calc(-30 * var(--u)); top: calc(430 * var(--u)); }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.kicker { display: inline-block; font: 700 13px var(--body); color: var(--acc-strong); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.h2 { font: 800 32px/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 12px; }
.lead { font-size: 17px; color: var(--muted); margin: 0; max-width: 620px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

.pains { display: grid; gap: 14px; margin-top: 30px; }
.pain { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px; }
.pain .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); color: var(--acc-strong); display: grid; place-items: center; margin-bottom: 14px; }
.pain .icon .ico { width: 22px; height: 22px; }
.pain h3 { font: 700 19px/1.25 var(--head); margin: 0 0 6px; }
.pain p { margin: 0; color: var(--muted); }

.how { background: var(--tile); }
.steps { display: grid; gap: 16px; margin-top: 32px; counter-reset: step; }
.step { position: relative; background: var(--surface); border-radius: 24px; padding: 24px 22px 22px; box-shadow: 0 6px 12px rgba(90, 60, 30, .06); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--acc); color: var(--fg); font: 800 18px var(--display); display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font: 700 19px/1.25 var(--head); margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.video-card { display: grid; gap: 28px; align-items: center; margin-top: 8px; }
.poster { position: relative; width: min(280px, 72vw); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 30px; border: 8px solid var(--fg); overflow: hidden; background: #000; cursor: pointer; padding: 0; box-shadow: 0 24px 50px rgba(90, 60, 30, .25); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster .big { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255, 255, 255, .35); transition: transform .15s; }
.poster:hover .big { transform: translate(-50%, -50%) scale(1.06); }
.poster .big::after { content: ""; border-left: 24px solid var(--fg); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 7px; }
.poster .dur { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: rgba(0, 0, 0, .6); color: #fff; font: 600 13px var(--body); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.chapters { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.chapters li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.chapters li span { width: 30px; height: 30px; border-radius: 10px; background: var(--soft); color: var(--acc-strong); display: grid; place-items: center; flex: none; }
.chapters .ico { width: 16px; height: 16px; }

.features { display: grid; gap: 14px; margin-top: 32px; }
.feat { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px; }
.feat .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--soft); color: var(--acc-strong); display: grid; place-items: center; flex: none; }
.feat .icon .ico { width: 21px; height: 21px; }
.feat h3 { font: 700 17px/1.3 var(--head); margin: 0 0 4px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font: 700 11px var(--body); color: var(--acc-ink); background: var(--soft); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; text-transform: uppercase; letter-spacing: .04em; }

.tutors { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; margin: 30px calc(-1 * var(--gutter)) 0; padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; }
.tutors::-webkit-scrollbar { display: none; }
.tutor { flex: none; width: 150px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 16px 14px; text-align: center; scroll-snap-align: start; }
.tutor img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--soft); }
.tutor strong { display: block; font: 700 16px var(--head); }
.tutor span { display: block; font-size: 13px; color: var(--muted); }
.tutor em { display: inline-block; margin-top: 8px; font: 600 12px var(--body); font-style: normal; color: var(--acc-ink); background: var(--tile); border-radius: 999px; padding: 3px 10px; }

.offer { position: relative; overflow: hidden; background: var(--surface); border: 2px solid var(--acc); border-radius: 30px; padding: 30px 22px; max-width: 760px; margin: 0 auto; }
.offer .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--acc); color: var(--fg); font: 800 13px var(--head); border-radius: 999px; padding: 6px 12px; }
.offer .badge .ico { width: 15px; height: 15px; }
.offer h2 { margin-top: 14px; }
.offer ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; }
.offer li { display: flex; gap: 12px; align-items: flex-start; }
.offer li .ok { width: 26px; height: 26px; border-radius: 8px; background: var(--ok-soft); color: var(--ok-ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.offer li .ok .ico { width: 15px; height: 15px; stroke-width: 3; }
.offer .rings-deco { position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; pointer-events: none; opacity: .7; }

.faq { max-width: 760px; margin: 30px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 700 16px/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--acc-strong); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.final { background: var(--band); color: var(--on-band); text-align: center; position: relative; overflow: hidden; }
.final .h2 { color: var(--on-band); }
.final .lead { color: var(--on-band-muted); }
.final .cta { max-width: 360px; margin: 28px auto 0; }
.final .note { color: var(--on-band-muted); }
.final .rings-deco { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); pointer-events: none; opacity: .5; }
.final .wrap { position: relative; }

footer { background: var(--band); color: var(--on-band-muted); border-top: 1px solid rgba(255, 255, 255, .08); padding: 28px 0 36px; font-size: 14px; }
footer .wrap { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
footer img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
footer a { color: var(--on-band); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* sticky CTA on phones once the hero button scrolls away */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .25s; }
.sticky.show { transform: none; }
.sticky .cta { box-shadow: 0 10px 30px rgba(31, 25, 21, .35); }

/* video dialog */
.vmodal { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(29, 20, 13, .9); align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 16px; }
.vmodal.open { display: flex; }
.vmodal .frame { position: relative; height: min(80vh, 760px); aspect-ratio: 9 / 16; max-width: 100%; }
.vmodal video { width: 100%; height: 100%; border-radius: 18px; background: #000; object-fit: contain; }
.vmodal .end { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(31, 25, 21, .82); border-radius: 18px; text-align: center; color: #fff; }
.vmodal .end.show { display: flex; }
.vmodal .end h3 { font: 800 26px/1.1 var(--display); margin: 0 0 6px; }
.vmodal .end .cta { width: auto; }
.vmodal .end .again { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font-weight: 600; }
.vmodal .close { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--body); background: #fff; color: var(--fg); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .pains, .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .h2 { font-size: 40px; }
  .offer { padding: 40px; }
  .tutors { justify-content: flex-start; }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .nav .wrap { padding-top: 24px; }
  .nav .logo img { height: 38px; }
  .nav .links { display: flex; }
  .nav .right .cta { display: flex; }
  .hero { padding-bottom: 72px; }
  .hero-grid { display: grid; grid-template-columns: 1fr 560px; gap: 20px; align-items: center; }
  .hero-copy { margin: 0; max-width: none; padding-bottom: 30px; }
  .hero h1 { font-size: 66px; }
  .hero .sub { font-size: 19px; max-width: 470px; }
  .actions { display: flex; gap: 12px; align-items: center; }
  .actions .cta { width: auto; padding: 18px 30px; }
  .actions .ghost { width: auto; border: 0; background: transparent; }
  .hero .note { text-align: left; }
  .actions .only-m { display: none; }
  .only-d { display: block; }
  .perks { display: flex; justify-content: flex-start; gap: 28px; margin-top: 34px; }
  .stage-m { display: none; }
  .stage-d { display: block; order: 2; }
  .hero-copy { order: 1; }
  section { padding: 96px 0; }
  .h2 { font-size: 48px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .video-card { grid-template-columns: 1fr 1fr; gap: 60px; }
  .poster { width: 300px; }
  .tutors { overflow: visible; flex-wrap: wrap; justify-content: center; gap: 12px; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .tutor { width: 140px; }
  footer .wrap { flex-direction: row; justify-content: space-between; text-align: left; }
  .sticky { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
