/* Home page. Shared tokens, header, buttons, faq and footer live in site.css. */
@font-face { font-family: Anton; font-display: swap; src: url(/assets/fonts/Anton-Regular.ttf) format("truetype"); }
@font-face { font-family: "DM Serif Display"; font-display: swap; src: url(/assets/fonts/DMSerifDisplay-Regular.ttf) format("truetype"); }
@font-face { font-family: "Archivo Black"; font-display: swap; src: url(/assets/fonts/ArchivoBlack-Regular.ttf) format("truetype"); }

.home { --radius: 28px; --ink2: #3A3F52; }
.home svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Sticky header */
.top-bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 236, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top-bar.scrolled { border-bottom-color: var(--border); }
.top-bar .top { padding-block: 14px; }
.top nav { align-items: center; }
.nav-cta { background: var(--text); color: #fff !important; padding: 9px 16px; border-radius: 999px; }
@media (max-width: 640px) { .top nav a:not(.nav-cta):not([href="#pricing"]) { display: none; } }

.kicker { font: 800 .85rem Nunito, system-ui, sans-serif; letter-spacing: .02em; color: var(--muted); margin-bottom: 14px; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.home h1, .home h2 { text-wrap: balance; }
.section-head .lead { color: var(--muted); font-size: 1.1rem; }
.section { padding-block: 72px; }
.lead { font-size: 1.15rem; }

/* Hero */
/* Same 12 columns as the header: copy on 1–7, phone on 9–12, so the phone's
   right edge lines up with the "Get the app" button and the copy with the logo. */
.hero2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; padding-block: 48px 40px; }
.hero-copy { grid-column: 1 / span 7; }
.hero-stage { grid-column: 9 / -1; }
/* Two lines on wide screens: "The teleprompter that" / "follows your voice." */
.hero2 h1 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); }
@media (min-width: 901px) { .hero2 h1 .l1, .hero2 h1 .highlight { display: inline-block; white-space: nowrap; } }
.hero2 .lead { color: var(--muted); max-width: 36ch; font-size: 1.2rem; }
.btn.store { background: var(--text); color: #fff; padding: 12px 24px 12px 20px; box-shadow: 0 10px 26px rgba(30, 34, 48, .22); }
.btn.store span { display: grid; line-height: 1.1; text-align: left; font-size: 1.15rem; }
.btn.store small { font: 600 .72rem Inter, system-ui, sans-serif; opacity: .8; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: .95rem; font-weight: 600; }
.proof li { display: inline-flex; align-items: center; gap: 6px; }
.proof svg { width: 16px; height: 16px; stroke: #2E9E60; stroke-width: 2.4; }

.hero-stage { position: relative; justify-self: end; width: min(100%, 360px); }
.hero-mascot { position: absolute; width: 132px; left: -78px; bottom: 36px; filter: drop-shadow(0 14px 26px rgba(247, 212, 76, .5)); animation: float 4s ease-in-out infinite; }

/* Phone frame */
.phone { position: relative; border-radius: 52px; padding: 10px; background: linear-gradient(145deg, #2B3145, #11151F); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 40px 80px -20px rgba(30, 34, 48, .45), 0 18px 36px -18px rgba(30, 34, 48, .35); }
.phone .screen, .phone.shot img { display: block; border-radius: 42px; overflow: hidden; }
.phone .screen { position: relative; aspect-ratio: 9 / 19.5; background: #0F1626; }
.phone .cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 11px; left: 50%; width: 30%; height: 26px; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }

/* Live prompter */
.prompter { position: absolute; top: 46px; left: 8%; right: 8%; height: 34%; border-radius: 24px; background: rgba(26, 32, 48, .82); overflow: hidden; z-index: 2;
  -webkit-mask-image: linear-gradient(#000 68%, transparent); mask-image: linear-gradient(#000 68%, transparent); }
.prompter .script { margin: 0; padding: 18px 18px 0; font: 800 clamp(17px, 4.6vw, 21px)/1.32 Nunito, system-ui, sans-serif; color: rgba(255, 255, 255, .5); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.prompter .w { transition: color .18s; }
.prompter .w.said { color: #fff; }
.prompter .w.now { color: var(--firefly); }
.rec { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font: 800 14px Nunito, system-ui, sans-serif; font-variant-numeric: tabular-nums; z-index: 2; }
.rec .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.voice { position: absolute; left: 50%; bottom: 5.5%; transform: translateX(-50%); display: flex; gap: 4px; align-items: center; height: 22px; z-index: 2; }
.voice i { width: 4px; height: 4px; border-radius: 4px; background: var(--firefly); transition: height .12s; }

.bubble { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 10px 14px; font: 800 .92rem/1.25 Nunito, system-ui, sans-serif; box-shadow: var(--shadow); z-index: 4; }
.b1 { right: -12px; top: 42%; display: flex; align-items: center; gap: 8px; min-width: 150px; }
.b1 .pulse { width: 10px; height: 10px; border-radius: 50%; background: #2E9E60; box-shadow: 0 0 0 0 rgba(46, 158, 96, .5); animation: ring 1.6s infinite; }
.b1.waiting .pulse { background: var(--firefly); box-shadow: none; animation: none; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(46, 158, 96, 0); } }
.b2 { left: -86px; top: 50%; font-weight: 700; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-copy, .hero-stage { grid-column: 1 / -1; }
  .hero-stage { justify-self: center; }
  .hero2 .lead { margin-inline: auto; }
  .hero2 .cta-row, .proof { justify-content: center; }
  .hero-stage { width: min(78vw, 330px); }
  .b1 { right: -14px; } .b2 { display: none; }
  .hero-mascot { width: 96px; left: -40px; bottom: 20px; }
}

/* Fixed speed vs Blinko */
.race { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.lane { background: #141B2C; border-radius: var(--radius); padding: 18px; color: #fff; }
.lane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; font-size: .9rem; }
.tag { font: 800 .8rem Nunito, system-ui, sans-serif; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.tag.yellow { background: var(--firefly); color: var(--text); }
.lost { color: var(--coral); opacity: 0; transition: opacity .3s; }
.lane.bad.off .lost { opacity: 1; }
.ok { color: var(--lime); }
.mini { position: relative; height: 172px; overflow: hidden; border-radius: 16px; background: #1A2030; }
.roll { padding: 14px 16px; font: 800 18px/1.45 Nunito, system-ui, sans-serif; color: rgba(255, 255, 255, .42); transition: transform .5s linear; }
.roll .w.now { color: var(--firefly); }
.roll .w.said { color: #fff; }
.mini .line { position: absolute; left: 0; right: 0; top: 40px; height: 30px; border-top: 1px dashed rgba(255, 255, 255, .12); border-bottom: 1px dashed rgba(255, 255, 255, .12); pointer-events: none; }
.timeline { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--muted); }
.track { flex: 1; height: 14px; border-radius: 99px; background: var(--chip); position: relative; overflow: hidden; }
.track .seg { position: absolute; top: 0; bottom: 0; background: #E9D9BF; }
.track .seg.talk { background: rgba(46, 158, 96, .55); }
.track .head { position: absolute; top: -3px; bottom: -3px; width: 4px; border-radius: 4px; background: var(--text); }
@media (max-width: 700px) { .race { grid-template-columns: 1fr; } .mini { height: 140px; } }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.step-list li { text-align: center; }
.step-list .phone.shot { width: min(100%, 248px); margin: 0 auto 26px; border-radius: 40px; padding: 8px; }
.step-list .phone.shot img { border-radius: 32px; }
.step-list li:nth-child(2) .phone { transform: translateY(-16px); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--firefly); font: 900 1rem Nunito, system-ui, sans-serif; margin-bottom: 10px; }
.step-list p { color: var(--muted); max-width: 32ch; margin-inline: auto; }
@media (max-width: 860px) { .step-list { grid-template-columns: 1fr; gap: 48px; } .step-list li:nth-child(2) .phone { transform: none; } }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { grid-column: span 2; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); overflow: hidden; }
.tile h3 { margin-bottom: .35em; }
.tile p { color: var(--muted); margin: 0; }
.tile-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(247, 212, 76, .32); margin-bottom: 16px; color: var(--text); }
.t-hands, .t-captions { grid-column: span 3; }
.t-export, .t-ai, .t-pauses { grid-column: span 2; }
.t-retake, .t-mic, .t-free { grid-column: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .t-hands, .t-captions, .t-export, .t-ai, .t-pauses, .t-retake, .t-mic, .t-free { grid-column: span 1; } .t-hands, .t-captions { grid-column: 1 / -1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile { grid-column: 1 / -1 !important; } }

.signs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.signs li { display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px; background: var(--chip); font-weight: 700; font-size: .85rem; }
.signs span { font-size: 30px; line-height: 1; }

.cap-stage { position: relative; height: 170px; margin-top: 20px; border-radius: 20px; background: #1A2030 url(/assets/img/app/presenter.webp) center 46% / 100% auto no-repeat; overflow: hidden; }
.cap-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .25)); }
.cap { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; z-index: 1; opacity: 0; animation: cap 12.5s infinite; color: #fff; }
.cap b { color: var(--firefly); font-weight: inherit; }
.c-box { font: 900 19px Nunito, system-ui, sans-serif; background: rgba(0, 0, 0, .55); padding: 6px 12px; border-radius: 12px; }
.c-outline { font: 900 20px Nunito, system-ui, sans-serif; -webkit-text-stroke: 5px #000; paint-order: stroke fill; animation-delay: 2.5s; }
.c-pop { font: 400 30px Anton, Impact, sans-serif; letter-spacing: .01em; -webkit-text-stroke: 6px #000; paint-order: stroke fill; text-shadow: 0 3px 8px rgba(0, 0, 0, .5); animation-delay: 5s; }
.c-hi { font: 400 21px "DM Serif Display", Georgia, serif; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); animation-delay: 7.5s; }
.c-hi b { color: var(--text); background: var(--firefly); padding: 0 6px; border-radius: 7px; text-shadow: none; }
.c-min { font: 600 15px Inter, system-ui, sans-serif; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); animation-delay: 10s; }
@keyframes cap { 0% { opacity: 0; transform: translate(-50%, 6px); } 3%, 18% { opacity: 1; transform: translate(-50%, 0); } 21%, 100% { opacity: 0; } }

.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--chip); margin: 14px 8px 0 0; font-weight: 700; font-size: .82rem; }
.seg span { padding: 6px 10px; border-radius: 10px; color: var(--muted); }
.seg .on { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.t-export .size { margin-top: 12px; font-size: .85rem; font-variant-numeric: tabular-nums; }

.mark-demo { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #141B2C; color: #fff; font: 800 16px/1.4 Nunito, system-ui, sans-serif; }
.mark-demo .m { color: #9AA3BC; font-weight: 700; }
.mark-demo em { font-style: normal; color: var(--firefly); text-decoration: underline 2px; text-underline-offset: 3px; }

.wave { display: flex; align-items: center; gap: 4px; height: 52px; margin-top: 18px; }
.wave i { flex: 1; height: 60%; border-radius: 4px; background: var(--text); opacity: .75; }
.wave i:nth-child(3n) { height: 90%; } .wave i:nth-child(4n) { height: 40%; }
.wave i.gap { height: 10%; background: var(--coral); opacity: .7; animation: squeeze 4s ease-in-out infinite; }
@keyframes squeeze { 0%, 35% { flex: 1; opacity: .7; } 55%, 85% { flex: .0001; opacity: 0; margin: 0 -2px; } 100% { flex: 1; opacity: .7; } }

/* Privacy (night) */
.promise.night { background: #141B2C; color: #fff; }
.promise.night p { color: rgba(255, 255, 255, .72); }
.promise.night a { color: var(--firefly); font-weight: 600; }
.promise.night img { width: 170px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.plan.pro { border: 2px solid var(--firefly); background: linear-gradient(180deg, #FFF6D6, var(--surface) 40%); }
.plan .price { font: 900 2.6rem Nunito, system-ui, sans-serif; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 800; }
.plan .alt { color: var(--muted); font-size: .92rem; margin-bottom: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { margin-top: 3px; stroke: #2E9E60; stroke-width: 2.4; width: 18px; height: 18px; }
.ribbon { position: absolute; top: -13px; left: 26px; background: var(--firefly); font: 800 .8rem Nunito, system-ui, sans-serif; padding: 5px 12px; border-radius: 99px; }
.fine { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 18px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

.more { text-align: center; margin-top: 18px; font-weight: 600; }

/* Final */
.final { text-align: center; }
.final img { width: 150px; margin: 0 auto 8px; display: block; animation: float 4s ease-in-out infinite; }
.final .lead { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-mascot, .final img, .rec .dot, .b1 .pulse, .wave i.gap { animation: none !important; }
  .cap { animation: none; } .c-box { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .prompter .script, .roll { transition: none; }
}
