:root {
  --ground: #0b0b0a;
  --step-1: #161614;
  --step-2: #22211e;
  --ink: #f1f1ee;
  --soft: #a3a097;
  --dim: #5f5d57;
  --accent: #ffd21a;
  --accent-ink: #0b0b0a;
  --green: #b9f26a;

  --font: "Archivo", system-ui, sans-serif;
  --display: 800 var(--d, 1em)/0.95 var(--font);

  --s-text: 17px;
  --s-small: 14px;
  --s-mid: clamp(24px, 2.4vw, 36px);
  --s-h2: clamp(36px, 5vw, 84px);
  --s-hero: clamp(42px, 6.4vw, 112px);

  --gutter: clamp(20px, 3vw, 44px);
  --gap: clamp(120px, 14vw, 200px);
  --radius: 0px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--s-text)/1.55 var(--font);
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }

.h2 {
  font-weight: 850;
  font-size: var(--s-h2);
  line-height: .95;
  letter-spacing: -0.035em;
  word-spacing: .12em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 78;
}
.body { font-size: 19px; line-height: 1.55; max-width: 46ch; }
.body em { font-style: normal; color: var(--accent); }
.sub { color: var(--soft); font-size: var(--s-text); margin-top: 20px; }
.note { color: var(--soft); font-size: var(--s-small); line-height: 1.5; max-width: 62ch; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 17px/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; border-radius: var(--radius);
  transition: transform .25s var(--ease), background-color .2s;
}
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover { background: #ffe066; }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 68px; padding: 0 36px; font-size: 20px; }
.btn-ink { background: var(--ground); color: var(--ink); }
.btn-ink:hover { background: #2a2925; }
.textlink { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: color .2s; }
.textlink:hover { color: var(--accent); }

/* bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--ground);
}
.mark { font-weight: 900; font-size: 19px; letter-spacing: -0.03em; text-transform: uppercase; text-decoration: none; font-variation-settings: "wdth" 80; }
.bar nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
.bar nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--soft); transition: color .2s; }
.bar nav a:hover { color: var(--ink); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(40px, 6vh, 80px) var(--gutter) clamp(48px, 8vh, 96px);
  max-width: 1600px; margin-inline: auto;
}
h1 {
  font-weight: 900; font-size: var(--s-hero); line-height: .98; letter-spacing: -0.04em; word-spacing: .12em;
  text-transform: uppercase; font-variation-settings: "wdth" 72;
}
.mask .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask .line > span { display: inline-block; }
.slot {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  padding: 0 .12em; margin-left: .06em;
  font-variant-numeric: tabular-nums;
}
.slot-val { display: inline-block; transition: transform .45s var(--ease), opacity .3s; }
.slot-val.out { transform: translateY(-.25em); opacity: 0; }
.slot-val.pre { transform: translateY(.25em); opacity: 0; transition: none; }
.mask .line > span { white-space: nowrap; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 44ch; margin-top: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.hero-note { margin-top: 28px; color: var(--soft); font-size: var(--s-small); }

/* dashboard panel */
.panel { background: var(--step-1); padding: clamp(22px, 2.2vw, 32px); }
.panel-head { display: flex; justify-content: space-between; font-size: var(--s-small); color: var(--soft); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.panel-big { margin-top: 18px; }
.panel-big strong { display: block; font-size: clamp(56px, 6vw, 96px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "wdth" 72; color: var(--accent); font-variant-numeric: tabular-nums; }
.panel-big span { display: block; margin-top: 10px; color: var(--soft); font-size: 15px; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 170px; margin-top: 28px; }
.bars div { position: relative; height: var(--h); min-height: 30px; background: var(--step-2); transform-origin: bottom; }
.bars div.hot { background: var(--accent); }
.bars span { position: absolute; top: -24px; left: 0; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bars em { position: absolute; bottom: 8px; left: 8px; font-style: normal; font-size: 13px; color: var(--soft); }
.bars .hot em { color: var(--accent-ink); }
.panel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.panel-row div { background: var(--step-2); padding: 14px; }
.panel-row span { display: block; font-size: 13px; color: var(--soft); }
.panel-row strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ticker */
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-weight: 850; font-size: clamp(18px, 1.8vw, 26px); text-transform: uppercase; letter-spacing: -0.02em; font-variation-settings: "wdth" 80; padding-right: 1.4em; white-space: nowrap; }
.ticker span::after { content: ""; display: inline-block; width: .42em; height: .42em; background: currentColor; margin-left: 1.4em; vertical-align: .18em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* niches */
.niches { padding: var(--gap) var(--gutter) 0; max-width: 1600px; margin-inline: auto; }
.niche-line { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--dim); max-width: 60ch; }
.niche-line b { color: var(--ink); font-weight: 800; }
.niche-line span { transition: color .4s; }
.niche-line span.lit { color: var(--accent); }

/* pain bands */
.pain { padding-top: var(--gap); }
.bands { margin-top: 56px; }
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 19vh; padding: 28px var(--gutter);
  background: var(--ground);
  transition: background-color .45s var(--ease);
  cursor: pointer;
}
.band + .band { margin-top: 6px; }
.band:nth-child(odd) { background: var(--step-1); }
.band-text { position: relative; flex: 1; min-width: 0; }
.band-pain, .band-cure { font-size: clamp(24px, 2.5vw, 36px); font-weight: 750; letter-spacing: -0.015em; word-spacing: .06em; line-height: 1.12; max-width: 32ch; }
.band-pain { transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
.band-cure { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s; }
.band.on[data-tone="a"] { background: var(--accent); color: var(--accent-ink); }
.band.on[data-tone="b"] { background: var(--ink); color: var(--ground); }
.band.on .band-pain { opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s; }
.band.on .band-cure { opacity: 1; visibility: visible; transform: none; transition: opacity .3s .1s, transform .45s var(--ease), visibility 0s; }
.switch {
  flex: none; position: relative; width: 84px; height: 44px; border: 0; padding: 0; cursor: pointer;
  background: var(--step-2); border-radius: 44px; transition: background-color .3s;
}
.switch i { position: absolute; top: 5px; left: 5px; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); transition: transform .4s var(--ease), background-color .3s; }
.band.on .switch { background: var(--ground); }
.band.on .switch i { transform: translateX(40px); background: var(--accent); }
.band.on[data-tone="b"] .switch i { background: var(--ink); }
.band:hover .switch i { background: var(--ink); }

/* proof */
.proof { padding-top: var(--gap); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.proof-copy .body { margin-top: 32px; }
.figures { margin-top: 48px; display: grid; gap: 8px; }
.figures div { display: grid; grid-template-columns: 4.2em 1fr; align-items: baseline; gap: 20px; font-size: clamp(36px, 3.6vw, 56px); }
.figures dt { font-size: 17px; color: var(--soft); }
.figures dt b { color: var(--ink); }
.figures dd { font-size: clamp(36px, 3.6vw, 56px); font-weight: 900; letter-spacing: -0.04em; color: var(--accent); font-variation-settings: "wdth" 75; font-variant-numeric: tabular-nums; line-height: 1; }
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.shot { align-self: start; }
.shot img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.02); }
.shot-link { display: block; overflow: hidden; cursor: zoom-in; }
.zoom-hint { display: none; }
.shot figcaption { background: var(--ground); color: var(--soft); padding-top: 12px; font-size: 15px; }
.shot-a { grid-column: 1 / -1; }
.shot-b { grid-column: 1 / 5; }
.shot-c { grid-column: 5 / -1; }
.shot { overflow: hidden; }

/* calculator */
.calc { margin-top: var(--gap); background: var(--step-1); padding: clamp(80px, 10vw, 140px) 0; }
.calc-label { display: block; margin-top: 48px; color: var(--soft); font-weight: 600; }
.calc-field { position: relative; display: flex; align-items: center; margin-top: 8px; }
.calc-field input {
  width: 100%; background: transparent; border: 0; padding: 0; color: var(--accent);
  font: 900 clamp(64px, 11vw, 184px)/1 var(--font); letter-spacing: -0.045em; font-variation-settings: "wdth" 70;
  font-variant-numeric: tabular-nums; caret-color: var(--accent);
}
.calc-field input:focus { outline: none; }
.calc-field:focus-within { outline: 3px solid var(--accent); outline-offset: 8px; }
.caret { display: none; }
.range { width: min(100%, 720px); margin-top: 24px; accent-color: var(--accent); height: 28px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.calc-out { margin-top: 40px; display: grid; gap: 6px; }
.calc-out .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: var(--step-2); padding: 18px 22px; }
.calc-out .row span { color: var(--soft); }
.calc-out .row strong { font-size: clamp(22px, 2vw, 30px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-out .row.main { background: var(--accent); color: var(--accent-ink); }
.calc-out .row.main span { color: var(--accent-ink); }
.calc-out .row.main strong { font-size: clamp(30px, 3vw, 44px); }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; }
.presets span { color: var(--soft); margin-right: 6px; }
.presets button { min-height: 44px; padding: 0 16px; border: 0; background: var(--step-2); color: var(--ink); font: 600 15px var(--font); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.presets button:hover { background: var(--ink); color: var(--ground); }
.presets button:active { transform: scale(.97); }
.calc .note { margin-top: 28px; }

/* formats */
.formats { padding-top: var(--gap); }
.formats-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.formats-copy { position: sticky; top: 110px; }
.formats-copy .body { margin-top: 28px; }
.rank li { padding: 28px 0 32px; }
.rank li + li { margin-top: 6px; }
.rank h3 { font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; word-spacing: .12em; line-height: .95; font-variation-settings: "wdth" 72; }
.rank p { margin-top: 12px; max-width: 48ch; }
.rank .r1 h3 { font-size: clamp(64px, 8.4vw, 140px); color: var(--accent); }
.rank .r2 h3 { font-size: clamp(54px, 6.8vw, 112px); color: var(--accent); }
.rank .r3 h3 { font-size: clamp(48px, 6vw, 96px); color: var(--accent); }
.rank .r4 h3 { font-size: clamp(32px, 3.4vw, 52px); color: var(--soft); }
.rank .r5 h3 { font-size: clamp(26px, 2.4vw, 36px); color: var(--dim); text-decoration: line-through; text-decoration-thickness: .08em; }
.rank .r4 p, .rank .r5 p { color: var(--soft); }

/* compare */
.compare { padding-top: var(--gap); }
.table-wrap { margin-top: 56px; overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 680px; }
th, td { text-align: left; vertical-align: top; padding: 20px 22px; font-size: 17px; line-height: 1.45; }
thead th { font-size: var(--s-mid); font-weight: 850; letter-spacing: -0.02em; text-transform: uppercase; font-variation-settings: "wdth" 80; padding-bottom: 8px; color: var(--soft); }
thead th.us { color: var(--accent); }
tbody th { font-weight: 700; width: 22%; background: var(--step-1); }
tbody td { background: var(--step-1); color: var(--soft); width: 39%; }
tbody td.us { background: var(--step-2); color: var(--ink); font-weight: 600; }
tbody tr { transition: transform .3s var(--ease); }
tbody tr:hover td.us { background: var(--accent); color: var(--accent-ink); }
.aside { margin-top: 40px; max-width: 68ch; font-size: 19px; }

/* steps */
.steps { padding-top: var(--gap); }
.stagebar { display: flex; gap: 6px; margin-top: 64px; min-height: 30vh; }
.seg { flex: var(--g) 1 0; min-width: 12%; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.seg h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 850; letter-spacing: -0.02em; line-height: 1.05; }
.seg p { font-size: 16px; line-height: 1.45; max-width: 24ch; }
.s1 { background: var(--ink); color: var(--ground); }
.s2 { background: var(--step-2); }
.s3 { background: var(--ink); color: var(--ground); }
.s4 { background: var(--accent); color: var(--accent-ink); }

/* faq */
.faq { padding-top: var(--gap); }
.qa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; }
.qa + .qa { margin-top: 72px; }
.q { grid-column: 1 / 7; font-size: clamp(26px, 2.6vw, 40px); font-weight: 750; letter-spacing: -0.015em; word-spacing: .06em; line-height: 1.1; }
.q.soft { color: var(--soft); }
.qa p { grid-column: 8 / 13; font-size: 18px; line-height: 1.55; max-width: 42ch; padding-top: .35em; }

/* cta */
.cta { margin-top: var(--gap); background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 10vw, 150px) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.cta-h { font-weight: 900; font-size: clamp(44px, 6.2vw, 104px); line-height: .95; letter-spacing: -0.04em; word-spacing: .12em; text-transform: uppercase; font-variation-settings: "wdth" 72; }
.cta .body { margin-top: 28px; }
.cta .btn { margin-top: 36px; background: var(--ground); color: var(--ink); }
.cta .btn:hover { background: #2a2925; }
.cta .note { color: #3b3a33; margin-top: 16px; }
.fit li { background: rgba(11,11,10,.08); padding: 22px 24px; font-size: 17px; line-height: 1.5; }
.fit li + li { margin-top: 6px; }
.fit strong { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }

/* footer */
.foot { position: relative; overflow: hidden; background: var(--ink); color: var(--ground); padding-top: clamp(80px, 10vw, 140px); min-height: 100svh; display: flex; flex-direction: column; }
.foot-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; width: 100%; }
.foot-h { font-weight: 800; font-size: clamp(36px, 4.2vw, 68px); line-height: 1; letter-spacing: -0.015em; word-spacing: .1em; text-transform: uppercase; font-variation-settings: "wdth" 112; margin-bottom: 32px; }
.foot-links { justify-self: end; display: grid; gap: 10px; align-content: start; }
.foot-links a { font-weight: 700; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { margin-top: auto; display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; font-size: 13px; color: #55534c; width: 100%; padding-top: 64px; }
.foot-name {
  font-weight: 900; font-size: 25vw; line-height: .8; letter-spacing: -0.05em; text-transform: uppercase;
  font-variation-settings: "wdth" 62; white-space: nowrap; transform: translateY(18%);
  padding-left: calc(var(--gutter) - .04em); margin-top: 16px;
}

/* entrance motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .mask .line > span { transform: translateY(105%); transition: transform .95s var(--ease); }
.js .mask .line:nth-child(2) > span { transition-delay: .11s; }
.js .mask.in .line > span { transform: none; }
.js .bars div { transform: scaleY(0); transition: transform 1s var(--ease); }
.js .bars div:nth-child(2) { transition-delay: .08s; } .js .bars div:nth-child(3) { transition-delay: .16s; } .js .bars div:nth-child(4) { transition-delay: .24s; }
.js .panel.in .bars div { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .mask .line > span, .js .bars div { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}

/* tablet */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .panel { max-width: 640px; }
  .proof-grid, .formats-grid, .cta-grid, .calc-grid { grid-template-columns: 1fr; }
  .formats-copy { position: static; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-links { justify-self: start; }
  .bar nav { display: none; }
}

/* phone */
@media (max-width: 640px) {
  :root { --gutter: 20px; --gap: 112px; }
  h1 { font-size: 11.2vw; }
  .lede { margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .bars { height: 130px; }
  .panel-row strong { font-size: 20px; }
  .band { min-height: 136px; padding: 24px var(--gutter); }
  .band-pain, .band-cure { font-size: 22px; }
  .switch { width: 64px; height: 36px; }
  .switch i { width: 28px; height: 28px; top: 4px; left: 4px; }
  .band.on .switch i { transform: translateX(28px); }
  .figures div { grid-template-columns: 1fr; gap: 4px; }
  table, thead, tbody, tr, th, td { display: block; min-width: 0; width: auto !important; }
  thead { display: none; }
  tbody tr { margin-bottom: 14px; }
  tbody th { padding-bottom: 6px; }
  tbody td { padding-top: 10px; }
  tbody td.us::before { content: "Adsterra: "; font-weight: 800; color: var(--accent); }
  tbody td:not(.us)::before { content: "AdSense: "; font-weight: 700; }
  .shot-b, .shot-c { grid-column: 1 / -1; }
  .zoom-hint { display: inline; }
  .calc-field input { font-size: 22vw; }
  .calc-out .row { flex-direction: column; gap: 2px; }
  .presets span { width: 100%; }
  .stagebar { flex-direction: column; min-height: 0; }
  .seg { flex: none; min-height: calc(var(--g) * 26px + 104px); }
  .qa { display: block; }
  .qa + .qa { margin-top: 56px; }
  .q { font-size: 24px; }
  .qa p { padding-top: 12px; font-size: 17px; }
  .foot-h { font-size: 7.6vw; }
  .foot .btn { width: 100%; }
  .foot-name { font-size: 25vw; transform: translateY(12%); }
}
