/* Video Value Calculator — Tell Studios brand (tokens mirrored from tell.css) */

/* Metric-matched fallbacks to kill font-swap layout shift */
@font-face { font-family:"Space Grotesk Fallback"; src:local('Arial'),local('ArialMT');
  ascent-override:89.7072%; descent-override:26.6204%; line-gap-override:0%; size-adjust:109.6903%; }
@font-face { font-family:"Inter Fallback"; src:local('Arial'),local('ArialMT');
  ascent-override:90.44%; descent-override:22.52%; line-gap-override:0%; size-adjust:107.12%; }

:root {
  --navy:    #404655;
  --navy-2:  #363b48;
  --navy-ink:#22262f;
  --coral:   #F15B46;
  --coral-deep:#df4a36;
  --gold:    #EAC11E;
  --cream:   #F4EFE7;
  --cream-2: #FAF6EF;
  --paper:   #FBF9F5;
  --ink:     #2c313b;
  --ink-soft:#5c626f;
  --line:    rgba(44,49,59,.16);
  --line-dark: rgba(255,255,255,.16);
  --font-head: 'Space Grotesk', 'Space Grotesk Fallback', system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  --font-soul: 'Lora', Georgia, serif;
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy-ink);
  line-height: 1.6;
  min-height: 100svh;
}

.wrap { max-width: 660px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem) 4rem; }

/* ---- Top bar ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.1rem, 4vw, 2rem);
  max-width: 660px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.topbar .tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---- Progress ---- */
.progress { max-width: 660px; margin: 0 auto .9rem; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.progress .bar { height: 3px; background: rgba(255,255,255,.14); border-radius: 99px; overflow: hidden; }
.progress .fill { height: 100%; width: 0%; background: var(--gold); transition: width .45s var(--ease); }
.progress .steps { display: flex; justify-content: space-between; margin-top: .45rem;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.progress .steps b { color: var(--gold); font-weight: 600; }

/* ---- Screens ---- */
.screen { display: none; animation: rise .45s var(--ease); }
.screen.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Intro ---- */
.intro { text-align: left; color: #fff; padding-top: clamp(1.5rem, 6vw, 4rem); }
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 1rem;
}
.intro h1 {
  font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -.01em;
  font-size: clamp(2rem, 7vw, 3.1rem); margin: 0 0 1.2rem; color: #fff;
}
.intro h1 em { font-family: var(--font-soul); font-style: italic; color: var(--gold); }
.intro .lede { font-size: clamp(1.02rem, 2.5vw, 1.15rem); color: rgba(255,255,255,.78); max-width: 44ch; margin: 0 0 1.8rem; }
.intro .meta-row { display: flex; gap: 1.4rem; margin: 0 0 2.2rem; font-size: .8rem; color: rgba(255,255,255,.55); }
.intro .meta-row b { color: #fff; font-weight: 600; }

/* ---- Question cards (one per screen, typeform-style) ---- */
.qscreen { padding-top: clamp(.6rem, 3vw, 2rem); }
.qcard {
  background: var(--cream-2); border-radius: 6px; padding: clamp(1.5rem, 5vw, 2.4rem);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.qnum { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); font-weight: 600; margin: 0 0 .9rem; }
.q-label {
  display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.2;
  font-size: clamp(1.25rem, 4.4vw, 1.55rem); color: var(--navy); margin: 0 0 .4rem;
}
.why { font-size: .88rem; color: var(--ink-soft); font-family: var(--font-soul); font-style: italic; margin: 0 0 1rem; }
.auto-hint { font-size: .76rem; color: var(--ink-soft); font-style: italic; opacity: .8; }
.kbd {
  display: inline-block; font-size: .72rem; border: 1px solid rgba(255,255,255,.5);
  border-radius: 3px; padding: 0 .3em; margin-left: .3em; opacity: .8;
}

input[type="text"], input[type="email"], input[type="number"], input[type="date"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .78rem .9rem; outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c626f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { min-height: 84px; resize: vertical; }
.hint { font-size: .78rem; color: var(--ink-soft); margin-top: .35rem; }

/* $ input */
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.money input { padding-left: 1.7rem; }

/* ---- Choice chips (radio / checkbox) ---- */
.choices { display: flex; flex-direction: column; gap: .5rem; }
.choices.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .choices.grid2 { grid-template-columns: 1fr; } }
.chip {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .72rem .85rem; cursor: pointer; font-size: .95rem; color: var(--ink);
  transition: border-color .15s, background .15s; user-select: none;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .dot {
  width: 16px; height: 16px; flex: 0 0 16px; border: 2px solid var(--line);
  border-radius: 50%; transition: all .15s; position: relative;
}
.chip.multi .dot { border-radius: 3px; }
.chip.selected { border-color: var(--navy); background: var(--cream); }
.chip.selected .dot { border-color: var(--coral); background: var(--coral); box-shadow: inset 0 0 0 3px #fff; }
.chip.multi.selected .dot { box-shadow: none; }
.chip.multi.selected .dot::after {
  content: ""; position: absolute; inset: 2px 3px 4px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(40deg) scale(.9);
}
.chip.disabled { opacity: .38; pointer-events: none; }

/* estimator sub-panel */
.estimator {
  margin-top: .7rem; background: var(--cream); border: 1px dashed var(--line);
  border-radius: 4px; padding: .9rem; display: none;
}
.estimator.open { display: block; }
.estimator .row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .6rem; }
.estimator label { font-size: .78rem; color: var(--ink-soft); display: block; margin-bottom: .2rem; }
.estimator .est-out { font-size: .9rem; color: var(--navy); font-weight: 600; }
.estimator .est-out b { color: var(--coral); }

/* not-sure toggle */
.notsure { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; font-size: .84rem; color: var(--ink-soft); cursor: pointer; }
.notsure input { accent-color: var(--coral); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: none; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  padding: .95rem 1.7rem; transition: background .2s, transform .15s;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding-left: .6rem; padding-right: .6rem; }
.btn-ghost:hover { color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: default; }
.nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.err { color: var(--coral-deep); font-size: .82rem; margin-top: 1rem; display: none; }
.err.show { display: block; }

/* ---- Results ---- */
.results { color: #fff; padding-top: 1rem; }
.save-banner {
  background: rgba(234,193,30,.08); border: 1px solid rgba(234,193,30,.3);
  border-radius: 6px; padding: 1.3rem 1.4rem 1.5rem; margin-bottom: 2rem;
}
.save-banner-eyebrow { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 .5rem; }
.save-banner-head { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 3.6vw, 1.35rem); color: #fff; margin: 0 0 .5rem; line-height: 1.25; }
.save-banner-sub { font-size: .86rem; color: rgba(255,255,255,.65); margin: 0 0 1.1rem; max-width: 52ch; }
.save-email-row { display: flex; gap: .6rem; }
.save-email-row input { flex: 1; background: #fff; }
@media (max-width: 480px) { .save-email-row { flex-direction: column; } }
.save-copylink { display: block; margin-top: .9rem; font-size: .78rem; }
.r-block { margin: 0 0 2.4rem; }
.r-head {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 .7rem;
}
.headline-num {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; line-height: 1.1;
  font-size: clamp(1.7rem, 6.4vw, 2.7rem); color: #fff; margin: 0;
}
.headline-num b { color: var(--gold); font-weight: 600; }
.r-sub { color: rgba(255,255,255,.65); font-size: .92rem; margin-top: .6rem; max-width: 52ch; }

.win-card {
  background: var(--cream-2); color: var(--ink); border-radius: 6px;
  padding: 1.4rem 1.5rem; box-shadow: 0 14px 40px rgba(0,0,0,.3);
}
.win-card .big { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 4vw, 1.6rem); color: var(--navy); margin: .2rem 0 0; }
.win-card .big b { color: var(--coral); }

blockquote.their-words {
  font-family: var(--font-soul); font-style: italic; font-size: clamp(1.15rem, 3.6vw, 1.45rem);
  color: var(--gold); line-height: 1.4; margin: 0; padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}
.their-words + .attr { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: .6rem; padding-left: 1.2rem; }

.stakes-line { font-family: var(--font-soul); font-style: italic; font-size: 1.08rem; color: rgba(255,255,255,.85); margin: 0; max-width: 50ch; }

.invest-card {
  background: var(--navy); border: 1px solid var(--line-dark); border-radius: 6px;
  padding: 1.4rem 1.5rem;
}
.invest-card .range { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 4.6vw, 1.9rem); color: #fff; margin: .15rem 0 .4rem; }
.invest-card .pct { color: var(--gold); font-size: .9rem; }
.invest-card .note { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: .7rem; }

.factors { margin: .8rem 0 0; padding: 0; list-style: none; }
.factors li { display: flex; gap: .6rem; align-items: baseline; color: rgba(255,255,255,.78); font-size: .92rem; padding: .3rem 0; }
.factors li::before { content: "—"; color: var(--coral); flex: 0 0 auto; }

/* straight talk (honest path) */
.talk-card {
  background: var(--cream-2); color: var(--ink); border-radius: 6px;
  border-left: 4px solid var(--gold);
  padding: 1.4rem 1.5rem; font-size: .95rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
}
.talk-card p { margin: 0 0 .9rem; }
.talk-card p:last-child { margin-bottom: 0; }
.talk-card b { color: var(--navy); }
.talk-card .talk-caveat { font-family: var(--font-soul); font-style: italic; color: var(--ink-soft); font-size: .9rem; }
.talk-card.flag { border-left-color: var(--coral); }

/* playground */
.playground {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: 6px;
  padding: 1.3rem 1.4rem; color: rgba(255,255,255,.8);
}
.pg-lede { margin: 0 0 1.2rem; font-family: var(--font-soul); font-style: italic; color: rgba(255,255,255,.65); font-size: .92rem; }
.playground .s-row { margin: 0 0 1.2rem; }
.playground .s-row > label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; font-size: .84rem; color: rgba(255,255,255,.78); margin-bottom: .35rem; }
.playground .s-row > label > span:first-child, .playground .s-row > label { min-width: 0; }
.playground .s-row output { color: var(--gold); font-weight: 600; white-space: nowrap; margin-left: auto; }
.playground input[type="range"] { width: 100%; accent-color: var(--coral); }
.playground .pg-sub { display: block; font-size: .84rem; margin-bottom: .5rem; }
.playground .pg-sub small { color: rgba(255,255,255,.45); }
.pg-channels .chip { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: rgba(255,255,255,.85); font-size: .85rem; padding: .55rem .7rem; }
.pg-channels .chip.selected { background: rgba(234,193,30,.12); border-color: var(--gold); }
.pg-channels .chip.selected .dot { border-color: var(--gold); background: var(--gold); }
.playground .money::before { color: rgba(255,255,255,.5); }
.playground .money input { background: rgba(255,255,255,.08); border-color: var(--line-dark); color: #fff; max-width: 220px; }
.pg-reset { color: rgba(255,255,255,.55); font-size: .82rem; margin-bottom: 1rem; }
.pg-reset:hover { color: #fff; }

/* assumptions fine print */
.assume { font-size: .85rem; color: rgba(255,255,255,.65); border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.assume summary { cursor: pointer; font-weight: 600; color: rgba(255,255,255,.85); font-size: .86rem; }
.assume .a-list { margin: .8rem 0 0; padding-left: 1.1rem; }
.assume .a-list li { margin: .25rem 0; }

/* ---- Live value ticker ---- */
body.has-ticker { padding-bottom: 4.2rem; }
.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; row-gap: .1rem; align-items: baseline; justify-content: center; gap: .7rem;
  background: var(--navy-2); border-top: 1px solid var(--line-dark);
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0,0,0,.35);
}
.ticker .t-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; }
.ticker .t-num {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 4vw, 1.45rem);
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap;
}
.ticker .t-vs { font-size: .76rem; color: rgba(255,255,255,.55); white-space: nowrap; }
.ticker .t-vs:empty { display: none; }

/* CTA — one card, one hierarchy, one accent color */
.cta-card {
  background: var(--cream-2); color: var(--ink); border-radius: 6px;
  padding: clamp(1.5rem, 5vw, 2.2rem);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.cta-card h3 { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: clamp(1.3rem, 4.6vw, 1.65rem); margin: 0 0 .5rem; }
.cta-card p { color: var(--ink-soft); margin: 0 0 1.3rem; max-width: 48ch; }
.btn-big { width: 100%; padding: 1.05rem 1.7rem; font-size: 1rem; }
.cta-divider {
  display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0 1.1rem;
  color: var(--ink-soft); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.cta-divider::before, .cta-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cta-alt { font-size: .9rem; margin-bottom: .8rem !important; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.email-row { display: flex; gap: .6rem; }
.email-row input { flex: 1; background: #fff; }
@media (max-width: 520px) { .email-row { flex-direction: column; } }
.email-ok { color: var(--navy); font-weight: 600; font-size: .88rem; margin: .6rem 0 0; display: none; }
.email-ok.show { display: block; }
.secondary-note { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 1.2rem; }
.linklike {
  background: none; border: none; padding: 0; font: inherit; cursor: pointer;
  color: rgba(255,255,255,.55); text-decoration: underline;
}
.linklike:hover { color: #fff; }

/* slider footnotes */
.s-note { font-size: .76rem; color: rgba(255,255,255,.45); margin: .35rem 0 0; line-height: 1.5; }

footer.site { text-align: center; padding: 2.5rem 1rem 3rem; color: rgba(255,255,255,.35); font-size: .75rem; letter-spacing: .05em; }
footer.site a { color: rgba(255,255,255,.55); text-decoration: none; }
