/* TZA ad landing: the member card. Loaded after styles.css. */
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

body.tza-start {
  --ink: #0b0b0a;
  --card: #161614;
  --card-2: #1f1e1b;
  --line: #2f2e29;
  --paper: #eceadf;
  --soft: #a6a397;
  --y: #ffd60a;
  --y-ink: #161200;
  --y-deep: #e0b800;
  --rust: #d9663a;
  --display: "Big Shoulders Display", "Barlow", sans-serif;
  /* site tokens, so the shared header, menu and footer follow the card */
  --bg: var(--ink);
  --text: var(--paper);
  --strong: #fbfaf3;
  --muted: var(--soft);
  --faint: #858276;
  --border: var(--line);
  color-scheme: dark;
  background: var(--ink);
  color: var(--paper);
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
}
body.tza-start ::selection { background: var(--y); color: var(--y-ink); }
body.tza-start main { padding: 8px 0 0; }
body.tza-start section { border: 0; padding: 0; }
body.tza-start .defs { position: absolute; width: 0; height: 0; overflow: hidden; }
body.tza-start p, body.tza-start li { font-size: 17px; line-height: 1.55; }
body.tza-start a:focus-visible, body.tza-start button:focus-visible, body.tza-start input:focus-visible, body.tza-start [tabindex]:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }

.wrap-wide { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  color: var(--strong);
  font-size: clamp(44px, 7.4vw, 88px);
  text-wrap: balance;
  margin: 0 0 18px;
}
.sub { max-width: 58ch; color: var(--soft); margin-bottom: 36px; }

/* Store button */
.store {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 14px;
  background: var(--y); color: var(--y-ink); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .9);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s;
}
.store svg { width: 22px; height: 22px; }
.store:hover { color: var(--y-ink); background: #ffe04a; transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(0, 0, 0, .95); }
.store:active { transform: translateY(1px) scale(.99); }
.cta-meta { font-size: 14px !important; color: var(--soft); }

/* Stamps */
.stamp { display: block; width: 100%; height: 100%; color: var(--y); filter: url(#ink); }

/* Hero */
.s-hero { padding: 24px 0 72px !important; overflow: hidden; }
.hero-stage { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hero-phone { position: absolute; right: 24px; top: 30px; width: min(26%, 280px); margin: 0; transform: rotate(6deg); }
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 30px; padding: 7px; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 60px -30px rgba(0,0,0,.8); }
.card {
  position: relative; z-index: 1;
  width: min(100%, 780px);
  margin-top: 18px;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: 26px;
  background:
    radial-gradient(120% 90% at 0% 0%, #26251f 0%, transparent 55%),
    linear-gradient(160deg, #1b1a17, #121210);
  box-shadow: 0 0 0 1px #34332c, 0 1px 0 0 #4a483f inset, 0 50px 80px -40px rgba(0,0,0,.9);
  transform: rotate(-1.6deg);
  transform-origin: 30% 50%;
}
.card::before { content: ""; position: absolute; left: 50%; top: 14px; width: 54px; height: 12px; margin-left: -27px; border-radius: 99px; background: var(--ink); box-shadow: inset 0 1px 2px rgba(0,0,0,.8), 0 1px 0 #2d2c26; }
.card.thunk { animation: thunk .22s cubic-bezier(.2,.8,.2,1); }
@keyframes thunk { 30% { transform: rotate(-1.6deg) translateY(3px) scale(.995); } }
.card-top { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 22px; }
.card-brand { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--y-ink); background: var(--y); padding: 4px 8px 1px; border-radius: 4px; }
.card-kind { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.card-no { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .2em; color: #8f8c80; text-shadow: 0 1px 0 #000, 0 -1px 0 #34332c; font-variant-numeric: tabular-nums; }
.card h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 9.6vw, 112px); line-height: .86; letter-spacing: 0;
  color: var(--strong); max-width: none; margin: 0 0 16px;
}
.card-lead { max-width: 46ch; color: #cfccbf; font-size: 18px !important; margin-bottom: 26px; }
.card-stamps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px 28px; align-items: center; padding: 22px 0; border-top: 1px dashed #3c3a33; border-bottom: 1px dashed #3c3a33; }
.stamp-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.slot { position: relative; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px #33322c; background: radial-gradient(circle at 50% 40%, #1c1b18, #131311); }
.slot svg { position: absolute; inset: -6%; width: 112%; height: 112%; }
.slot.inked svg { animation: stamp-in .34s cubic-bezier(.16,1,.3,1) both; }
@keyframes stamp-in { from { opacity: 0; transform: scale(1.7) rotate(-14deg); filter: blur(3px); } 60% { opacity: 1; } to { opacity: 1; } }
.stamp-grid:hover .slot:not(.inked):first-of-type, .stamp-grid .slot.next { box-shadow: inset 0 0 0 2px var(--y-deep); }
.card-meter { display: grid; gap: 4px; }
.xp { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 6vw, 72px) !important; line-height: 1 !important; color: var(--y); font-variant-numeric: tabular-nums; }
.xp span { display: inline-block; min-width: 3ch; }
.rank { font-family: var(--display); font-weight: 800; font-size: 22px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.rank strong { color: var(--strong); font-weight: 900; }
.rank.up strong { color: var(--y); animation: rankup .6s cubic-bezier(.2,.8,.2,1); display: inline-block; }
@keyframes rankup { 0% { transform: scale(1.5); } 100% { transform: none; } }
.tap-hint { font-size: 14px !important; color: var(--soft); line-height: 1.45 !important; margin-top: 6px; }
.card-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }

/* Founder line */
.s-why { padding: 24px 0 96px !important; }
.why { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 900px; }
.why img { width: 120px; height: auto; }
.why blockquote p { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px) !important; line-height: 1.3 !important; color: var(--strong); text-wrap: balance; }
.why blockquote footer { border: 0; padding: 0; margin-top: 12px; font-size: 15px; color: var(--soft); }

/* Math: drenched yellow */
.s-math { background: var(--y); color: var(--y-ink); padding: 88px 0 80px !important; }
.s-math .display { color: var(--y-ink); }
.s-math .sub, .s-math .calc-note { color: #4b3f00; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: start; }
.calc-in { display: grid; gap: 10px; }
.calc label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.calc output { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin-bottom: 18px; cursor: pointer; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: var(--y-ink); }
.calc input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--y-ink); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--y); border: 5px solid var(--y-ink); }
.calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--y); border: 5px solid var(--y-ink); }
.calc input[type=range]:focus-visible { outline-color: var(--y-ink) !important; }
.calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--y-ink); }
.calc-out div { padding: 14px 0 16px; border-bottom: 1px solid rgba(22, 18, 0, .25); }
.calc-out div:nth-child(2) { padding-left: 20px; border-left: 1px solid rgba(22, 18, 0, .25); }
.calc-out .hl { grid-column: 1 / -1; }
.calc-out dt { font-size: 15px; color: #4b3f00; order: 2; }
.calc-out div { display: flex; flex-direction: column-reverse; }
.calc-out dd { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 68px); line-height: .95; font-variant-numeric: tabular-nums; }
.calc-out .hl dd { font-size: clamp(76px, 12vw, 148px); }
.calc-note { margin-top: 26px; font-size: 14px !important; max-width: 70ch; }

/* Rust */
.s-rust { padding: 104px 0 96px !important; overflow: hidden; }
.week { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.d { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.d .dn { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.d .stamp, .d.off::after { width: 100%; max-width: 74px; aspect-ratio: 1; }
.d.off::after { content: ""; order: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px #2f2e28; }
.d.off .dv { order: 2; }
.d .dv { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; color: var(--strong); font-variant-numeric: tabular-nums; }
.d.off .dv { color: #8f8c80; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.d.ru .stamp { color: var(--rust); }
.d.ru .dv { color: var(--rust); }
.d.back { background: var(--y); box-shadow: none; }
.d.back .stamp { color: var(--y-ink); }
.d.back .dn, .d.back .dv { color: var(--y-ink); }
.rust-rank { margin-top: 22px; color: var(--soft); }
.rust-rank strong { color: var(--y); font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; }
.js .s-rust .d .stamp { opacity: 0; transform: scale(1.6) rotate(-12deg); }
.js .s-rust.play .d .stamp { animation: stamp-in .34s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 180ms); }
.js .s-rust.play .d .stamp { opacity: 1; transform: none; }

/* Tiers wallet */
.s-tiers { padding: 40px 0 104px !important; }
.wallet, .screens { scroll-padding-inline: max(24px, calc((100vw - 1072px) / 2)); }
.wallet { list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(24px, calc((100vw - 1072px) / 2)) 22px; scrollbar-width: thin; scrollbar-color: #3a3933 transparent; }
.tier {
  flex: 0 0 clamp(200px, 22vw, 240px); scroll-snap-align: start;
  display: grid; grid-template-rows: auto auto auto; justify-items: start;
  padding: 18px 18px 16px; border-radius: 18px; aspect-ratio: .7;
  background: linear-gradient(165deg, #1e1d1a, #141412); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.tier:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: inset 0 0 0 1px #4a483f, 0 24px 40px -24px #000; }
.tier img { width: 100%; height: auto; margin-bottom: 8px; }
.tn { font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--strong); }
.tx { font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; margin-top: 4px; }
.tier.top { background: var(--y); box-shadow: none; }
.tier.top .tn, .tier.top .tx { color: var(--y-ink); }

/* Targets */
.s-targets { padding: 104px 0 !important; background: var(--card); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.targets { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 40px 64px; align-items: center; }
.t-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.t-row li { display: grid; justify-items: center; text-align: center; padding: 12px 8px 14px; border-radius: 16px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.t-row img { width: 82%; height: auto; }
.t-row span { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.05; text-transform: uppercase; color: var(--strong); margin-top: 4px; }
.t-row em { font-style: normal; font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.t-row li.on { background: var(--y); box-shadow: none; }
.t-row li.on span, .t-row li.on em { color: var(--y-ink); }
.t-phone { margin: 0; transform: rotate(3deg); }
.t-phone img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 32px; padding: 7px; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -30px #000; }

/* App screens */
.s-app { padding: 104px 0 96px !important; }
.screens { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(24px, calc((100vw - 1072px) / 2)) 22px; scrollbar-width: thin; scrollbar-color: #3a3933 transparent; }
.screens figure { flex: 0 0 clamp(190px, 21vw, 240px); margin: 0; scroll-snap-align: start; }
.screens img { display: block; width: 100%; height: auto; border-radius: 26px; padding: 6px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.screens figcaption { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; color: var(--paper); }

/* Switchers */
.s-switch { padding: 40px 0 80px !important; }
.switch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: start; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--y-ink); background: var(--y); }
.steps strong { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--strong); line-height: 1.05; }
.steps span { color: var(--soft); font-size: 16px; }

/* Pricing */
.s-price { padding: 24px 0 104px !important; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.plan { padding: 26px; border-radius: 22px; background: linear-gradient(165deg, #1e1d1a, #141412); box-shadow: inset 0 0 0 1px var(--line); }
.plan-name { font-family: var(--display); font-weight: 800; font-size: 20px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.plan-price { font-family: var(--display); font-weight: 900; font-size: 72px !important; line-height: 1 !important; color: var(--strong); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 28px; color: var(--soft); }
.plan-alt { color: var(--soft); font-size: 15px !important; }
.plan ul { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.plan li { position: relative; padding-left: 26px; font-size: 16px !important; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2.5px solid var(--y); border-bottom: 2.5px solid var(--y); transform: rotate(-45deg); }
.plan-note { margin-top: 16px; font-size: 14px !important; }
.plan.pro { background: var(--y); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .9); transform: rotate(1deg); }
.plan.pro .plan-name, .plan.pro .plan-price span, .plan.pro .plan-alt, .plan.pro .plan-note { color: #4b3f00; }
.plan.pro .plan-price, .plan.pro li { color: var(--y-ink); }
.plan.pro li::before { border-color: var(--y-ink); }

/* Card back */
.s-back { padding: 0 0 104px !important; }
.card-back { position: relative; overflow: hidden; max-width: 900px; padding: 96px clamp(22px, 4vw, 44px) 36px; border-radius: 26px; background: linear-gradient(160deg, #1b1a17, #121210); box-shadow: 0 0 0 1px #34332c, 0 50px 80px -40px #000; }
.stripe { position: absolute; left: 0; right: 0; top: 30px; height: 44px; background: linear-gradient(180deg, #050505, #1a1a18 50%, #050505); }
.card-back .display { font-size: clamp(36px, 5vw, 58px); }
.fine { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.fine li { color: var(--paper); font-size: 16px !important; }
.fine strong { color: var(--strong); font-weight: 600; }
.sig { margin-top: 28px; height: 46px; max-width: 360px; border-radius: 4px; background: repeating-linear-gradient(-45deg, #e9e6d8 0 6px, #dcd8c6 6px 12px); display: flex; align-items: flex-end; padding: 0 10px 4px; }
.sig span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #4a4639; }

/* Close */
.s-close { padding: 40px 0 120px !important; }
.close { display: grid; justify-items: center; text-align: center; }
.close .stamp.big { width: 130px; height: 130px; margin-bottom: 18px; transform: rotate(-12deg); }
.close .display { max-width: 16ch; font-size: clamp(44px, 6vw, 72px); }
.close .cta-meta { margin-top: 14px; }
.close .links { margin-top: 26px; font-size: 15px !important; color: var(--soft); }
.close .links a { color: var(--paper); }

body.tza-start > footer { border-top: 1px solid var(--line); }
body.tza-start > header .wrap, body.tza-start > footer .wrap { max-width: 1120px; }

/* Reveal */
.js body.tza-start main section { opacity: 1; transform: none; }
.js .tza-start .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.js .tza-start .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-phone { display: none; }
  .card { transform: rotate(-1deg); }
  .targets, .switch, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.tza-start { font-size: 16px; }
  .s-hero { padding: 12px 0 56px !important; }
  .hero-stage { padding: 0 14px; }
  .card { border-radius: 22px; padding: 22px 18px 20px; transform: none; }
  .card-no { display: none; }
  .card-stamps { grid-template-columns: 1fr; padding: 18px 0; }
  .stamp-grid { gap: 8px; }
  .card-cta .store { width: 100%; font-size: 19px; padding: 0 16px; }
  .close .store { font-size: 19px; padding: 0 18px; }
  .card-cta { justify-content: center; }
  .why { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .why img { width: 76px; }
  .s-why { padding-bottom: 72px !important; }
  .s-math, .s-rust, .s-targets, .s-app { padding-top: 72px !important; padding-bottom: 72px !important; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .t-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .fine { grid-template-columns: 1fr; }
  .plan.pro { transform: none; }
  .calc-out .hl dd { font-size: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .slot.inked svg, .js .s-rust.play .d .stamp, .card.thunk, .rank.up strong { animation: none !important; }
  .js .s-rust .d .stamp { opacity: 1; transform: none; }
  .js .tza-start .reveal { opacity: 1; transform: none; transition: none; }
  .tier, .store { transition: none; }
}

/* Target calculator */
.tcalc { display: grid; gap: 22px; }
.t-pick { list-style: none; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: #3a3933 transparent; }
.t-pick li { flex: 0 0 104px; scroll-snap-align: start; display: flex; }
.tg { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center; gap: 2px; padding: 10px 6px 10px; border: 0; border-radius: 14px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); color: var(--strong); font: inherit; cursor: pointer; transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s; }
.tg:hover { transform: translateY(-3px); }
.tg img { width: 72px; height: 72px; object-fit: contain; }
.tg span { font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.05; text-transform: uppercase; text-align: center; }
.tg em { font-style: normal; font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
.tg.on { background: var(--y); box-shadow: none; color: var(--y-ink); }
.tg.on em { color: #4b3f00; }
.tc-in { display: grid; gap: 6px; max-width: 560px; }
.tc-in label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; color: var(--paper); }
.tc-in output { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--y); font-variant-numeric: tabular-nums; }
.tc-in input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin-bottom: 10px; cursor: pointer; }
.tc-in input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: #3a3933; }
.tc-in input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: #3a3933; }
.tc-in input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--y); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--y); }
.tc-in input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--y); border: 4px solid var(--ink); }
.tc-out { font-size: 20px !important; line-height: 1.5 !important; color: var(--paper); max-width: 40ch; }
.tc-out strong { color: var(--strong); font-weight: 600; font-variant-numeric: tabular-nums; }
.tc-out .tc-big { display: block; margin-top: 6px; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: .95; text-transform: uppercase; color: var(--y); }
.tc-note { font-size: 14px !important; color: var(--soft); max-width: 60ch; }

/* Mini call to action after each calculator */
.mini-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; padding: 20px 22px; border-radius: 18px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); max-width: 760px; }
.mini-cta p { flex: 1 1 280px; color: var(--paper); font-size: 17px !important; }
.mini-cta.on-y { background: var(--y-ink); box-shadow: none; }
.mini-cta.on-y p { color: #f6f1d8; }
.store.dark { background: var(--y); color: var(--y-ink); }

/* Target illustration on the right */
.t-big { margin: 0; display: grid; justify-items: center; text-align: center; position: sticky; top: 40px; }
.t-big img { width: 100%; max-width: 380px; height: auto; transition: opacity .25s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.t-big img.swap { opacity: 0; transform: scale(.92) rotate(-3deg); }
.t-big figcaption span { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; text-transform: uppercase; color: var(--strong); }
.t-big figcaption em { display: block; margin-top: 6px; font-style: normal; font-size: 18px; color: var(--y); font-variant-numeric: tabular-nums; }
.targets { align-items: start; }

/* Quotes */
.quote { margin: 34px 0 0; max-width: 640px; padding-left: 20px; box-shadow: inset 3px 0 0 var(--y); }
.quote p { font-size: 20px !important; line-height: 1.45 !important; color: var(--strong); }
.quote figcaption { margin-top: 8px; font-size: 14px; color: var(--soft); }
.quote.big { max-width: 880px; margin: 0; padding-left: 0; box-shadow: none; }
.quote.big p { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 50px) !important; line-height: 1.15 !important; }
.quote.big p::before { content: "\201C"; display: block; font-family: var(--display); font-weight: 900; font-size: 110px; line-height: .6; color: var(--y); margin-bottom: 8px; }
.s-quote { padding: 24px 0 96px !important; }

/* Share and Pro features */
.s-share { padding: 104px 0 !important; }
.feat { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px 64px; align-items: center; }
.feat-phone { margin: 0; transform: rotate(-3deg); }
.feat-phone img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 32px; padding: 7px; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -30px #000; }
.s-pro { padding: 104px 0 !important; background: var(--card); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.pro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
.pro-item { padding: 28px; border-radius: 22px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pro-art { width: 120px; height: auto; margin-bottom: 10px; }
.pro-item h3 { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; text-transform: uppercase; color: var(--strong); margin: 0 0 12px; }
.pro-item p { color: #cfccbf; }
.pro-item .why-line { margin-top: 14px; color: var(--y); font-weight: 600; }
.pro-shot { margin: 24px 0 0; }
.pro-shot img { display: block; width: 62%; max-width: 260px; height: auto; border-radius: 26px; padding: 6px; background: #000; box-shadow: 0 0 0 1px var(--line); }

/* Pricing and data cards at full width */
.plans { max-width: none; align-items: stretch; }
.plan.pro { transform: none; }
.plan-badge { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 99px; background: var(--y-ink); color: var(--y); font-family: var(--display); font-weight: 800; font-size: 17px !important; letter-spacing: .06em; text-transform: uppercase; }
.plan-note { margin-top: 10px; }
.card-back { max-width: none; padding-bottom: 44px; }
.fine.checks { gap: 18px 40px; }
.fine.checks li { position: relative; padding-left: 52px; min-height: 38px; display: flex; align-items: center; font-size: 18px !important; }
.fine.checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--y); }
.fine.checks li::after { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 7px; margin-top: -6px; border-left: 3.5px solid var(--y-ink); border-bottom: 3.5px solid var(--y-ink); transform: rotate(-45deg); }

@media (max-width: 900px) {
  .feat, .pro-grid { grid-template-columns: 1fr; }
  .targets { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .t-copy, .tcalc { display: contents; }
  .t-copy .display { order: 1; margin-bottom: 0; }
  .t-copy .sub { order: 2; margin-bottom: 0; }
  .t-pick { order: 3; }
  .t-big { order: 4; position: static; }
  .tc-in { order: 5; }
  .tc-out { order: 6; }
  .tc-note { order: 7; }
  .tcalc .mini-cta { order: 8; margin-top: 8px; }
  .t-big img { max-width: 180px; }
  .feat-phone img { max-width: 240px; }
}
@media (max-width: 640px) {
  .s-share, .s-pro { padding: 72px 0 !important; }
  .pro-item { padding: 22px 18px; }
  .mini-cta .store { width: 100%; }
  .quote.big p::before { font-size: 80px; }
}

/* Sticky download bar on phones */
.dl-bar { display: none; }
@media (max-width: 640px) {
  .dl-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 10px; border-radius: 18px;
    background: rgba(22, 22, 20, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px var(--line), 0 14px 30px -10px rgba(0, 0, 0, .9);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease;
  }
  .dl-bar.show { transform: none; opacity: 1; pointer-events: auto; }
  .dl-bar img { width: 40px; height: 40px; flex: none; }
  .dl-bar p { flex: 1; display: grid; line-height: 1.15 !important; font-size: 14px !important; }
  .dl-bar strong { font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--strong); letter-spacing: .02em; }
  .dl-bar p span { color: var(--soft); font-size: 13px; }
  .dl-bar .store { min-height: 46px; padding: 0 16px; font-size: 19px; border-radius: 12px; width: auto; }
  .dl-bar .store svg { width: 18px; height: 18px; }
  body.tza-start.has-bar > footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .dl-bar { transition: none; } }

/* Language switch */
.lang-switch { position: relative; z-index: 2; display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: #161613; box-shadow: 0 0 0 1px var(--line); }
.lang-switch a { min-width: 40px; padding: 7px 10px 5px; border-radius: 99px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .08em; line-height: 1; color: var(--soft); text-decoration: none; }
.lang-switch a:hover { color: var(--strong); }
.lang-switch a[aria-current="page"] { background: var(--y); color: var(--y-ink); }

/* Card follows the pointer on desktop */
.card { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.card.tilt { transform: perspective(1100px) rotate(-1.6deg) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .12s linear; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 214, 10, .07), transparent 60%); }
.card.tilt::after { opacity: 1; }

/* +50 XP floats up from each new stamp */
.xp-pop { position: absolute; left: 50%; top: 0; z-index: 3; transform: translateX(-50%); white-space: nowrap; pointer-events: none; font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: .02em; color: var(--y); text-shadow: 0 2px 8px rgba(0, 0, 0, .9); animation: xp-pop .9s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes xp-pop { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.8); } 25% { opacity: 1; transform: translate(-50%, -14px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -38px); } }

/* Result line pulses when the time changes */
.tc-out .tc-big { transform-origin: 0 60%; }
.tc-out .tc-big.bump { animation: bump .42s cubic-bezier(.16,1,.3,1); }
@keyframes bump { from { opacity: .35; transform: scale(.94); } }

/* Rank cards and phone screens deal in */
.js .deal:not(.dealt) > * { opacity: 0; }
.js .deal.dealt > * { animation: deal-in .7s cubic-bezier(.16,1,.3,1) backwards; animation-delay: calc(var(--n, 0) * 70ms); }
@keyframes deal-in { from { opacity: 0; transform: translateX(48px) rotate(3deg); } }

/* Slider labels: short label, hint underneath, value never wraps */
.calc output, .tc-in output { white-space: nowrap; }
.tc-in label > span { min-width: 0; }
.tc-in label small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--soft); }
.price-note { margin-top: 18px; font-size: 13px !important; color: var(--soft); }

@media (max-width: 640px) {
  .lang-switch a { min-width: 38px; padding: 7px 9px 5px; font-size: 14px; }
  .calc label { font-size: 16px; }
  .calc output { font-size: 26px; }
  /* Results become rows: label on the left, number on the right */
  .calc-out { grid-template-columns: minmax(0, 1fr); }
  .calc-out div:not(.hl) { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; }
  .calc-out div:nth-child(2) { padding-left: 0; border-left: 0; }
  .calc-out div:not(.hl) dt { order: 0; min-width: 0; }
  .calc-out div:not(.hl) dd { flex: none; font-size: 38px; white-space: nowrap; }
  .calc-out .hl dd { white-space: nowrap; }
  .card h1 { font-size: clamp(44px, 14.5vw, 64px); overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card.tilt { transition: none; }
  .xp-pop, .tc-out .tc-big.bump, .js .deal.dealt > * { animation: none !important; }
  .js .deal:not(.dealt) > * { opacity: 1; }
}

/* Romanian capitals carry accents above the cap height (Î, Ă, Â), so tight headings need a little more leading */
html[lang="ro"] .tza-start .display, html[lang="ro"] .card h1 { line-height: 1; }
#tc-r-kg, #tc-r-reps, #tc-r-wo { white-space: nowrap; }
