:root {
  --white: #fff;
  --paper: #f7f7f4;
  --ink: #050505;
  --muted: #555;
  --rule: #d8d8d8;
  --red: #c0272d;
  --red-bright: #e3262e;
  --red-dark: #8b1a1e;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Inter',sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(5,5,5,.035) 1px,transparent 1px),linear-gradient(180deg,rgba(5,5,5,.03) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,#000,rgba(0,0,0,.15) 70%,transparent); pointer-events: none; }
a { color: inherit; }

.site-nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 44px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--rule); box-shadow: inset 3px 0 0 var(--red); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.brand img { width: 27px; height: 27px; object-fit: contain; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-menu { position: relative; }
.nav-menu summary,.nav-text-link,.nav-cta { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 12px/1 'IBM Plex Mono',monospace; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; list-style: none; }
.nav-menu summary,.nav-text-link { padding: 0 3px; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid transparent; transition: color .18s,border-color .18s; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: '▾'; color: var(--red-bright); font-size: 12px; transition: transform .18s; }
.nav-menu[open] summary::after { transform: rotate(180deg); }
.nav-menu summary:hover,.nav-menu summary:focus-visible,.nav-text-link:hover,.nav-text-link:focus-visible { color: var(--red); border-bottom-color: var(--red); outline: none; }
.nav-menu-panel { position: absolute; top: calc(100% + 13px); right: 0; width: min(300px,calc(100vw - 28px)); padding: 8px; background: #fff; border: 1px solid var(--ink); box-shadow: 10px 10px 0 rgba(192,39,45,.2); }
.nav-menu-panel a { display: block; padding: 13px 14px; border-bottom: 1px solid var(--rule); font: 600 11px/1.3 'IBM Plex Mono',monospace; text-decoration: none; }
.nav-menu-panel a:last-child { border-bottom: 0; }
.nav-menu-panel a:hover,.nav-menu-panel a[aria-current='page'] { color: #fff; background: var(--red); }
.nav-cta { min-height: 44px; padding-inline: 20px; color: #fff; border: 1px solid var(--red); background: var(--red); }
.nav-cta:hover { background: var(--red-dark); border-color: var(--red-dark); }

.hero { min-height: 100svh; display: grid; align-content: center; gap: 54px; padding: 126px max(44px,calc((100vw - var(--wrap))/2)) 72px; position: relative; overflow: hidden; border-bottom: 1px solid var(--ink); box-shadow: inset 3px 0 0 var(--red); }
.hero::after { content: 'PAID / MEDIA /'; position: absolute; top: 12%; right: -5vw; z-index: -1; width: 5ch; color: transparent; -webkit-text-stroke: 1px rgba(5,5,5,.07); font-size: clamp(7rem,17vw,17rem); font-weight: 800; line-height: .78; letter-spacing: -.09em; pointer-events: none; }
.hero-copy { max-width: 1180px; }
.eyebrow,.kicker { margin: 0 0 24px; color: var(--red); font: 600 11px/1.4 'IBM Plex Mono',monospace; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before,.kicker::before { content: ''; width: 32px; height: 2px; display: inline-block; margin-right: 11px; vertical-align: middle; background: var(--red); }
h1,h2 { margin: 0; font-family: 'Archivo Black','Arial Black',sans-serif; font-weight: 400; letter-spacing: -.055em; text-wrap: balance; }
h1 { max-width: 1200px; font-size: clamp(52px,7vw,106px); line-height: .9; }
h1 em { display: inline; padding: .01em .08em .06em; color: #fff; background: var(--red); font-style: normal; box-shadow: .07em .07em 0 var(--ink); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-lede { max-width: 760px; margin: 34px 0 0; color: var(--muted); font-size: clamp(18px,1.55vw,23px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; font: 600 12px/1 'IBM Plex Mono',monospace; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.button-red { color: #fff; background: var(--red); border: 1px solid var(--red); }
.button-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.text-link { padding-bottom: 6px; border-bottom: 1px solid var(--ink); font: 600 12px/1.3 'IBM Plex Mono',monospace; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link::after { content: ' ↘'; color: var(--red); }

.media-console { width: min(960px,100%); padding: 22px 24px; color: #fff; background: repeating-linear-gradient(90deg,transparent 0 23px,rgba(255,255,255,.06) 23px 24px),var(--ink); border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--red); }
.console-head,.console-flow,.console-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 600 9px/1.4 'IBM Plex Mono',monospace; letter-spacing: .1em; text-transform: uppercase; }
.console-head { color: rgba(255,255,255,.7); }
.live::before { content: ''; width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgba(227,38,46,.18); animation: pulse 1.8s ease-in-out infinite; }
.console-bars { height: 94px; display: grid; grid-template-columns: repeat(12,1fr); align-items: end; gap: clamp(5px,1vw,10px); margin: 20px 0 12px; border-bottom: 1px solid rgba(255,255,255,.35); }
.console-bars i { height: var(--h); background: #fff; opacity: .55; transform-origin: bottom; animation: bars 1.8s ease-in-out infinite; animation-delay: var(--d); }
.console-bars i:nth-child(3n+1),.console-bars i:nth-child(3n+2) { background: var(--red-bright); opacity: .78; }
.console-bars i:nth-child(1){--h:32%;--d:0s}.console-bars i:nth-child(2){--h:58%;--d:.1s}.console-bars i:nth-child(3){--h:82%;--d:.2s}.console-bars i:nth-child(4){--h:46%;--d:.3s}.console-bars i:nth-child(5){--h:72%;--d:.4s}.console-bars i:nth-child(6){--h:54%;--d:.5s}.console-bars i:nth-child(7){--h:90%;--d:.6s}.console-bars i:nth-child(8){--h:64%;--d:.7s}.console-bars i:nth-child(9){--h:42%;--d:.8s}.console-bars i:nth-child(10){--h:76%;--d:.9s}.console-bars i:nth-child(11){--h:60%;--d:1s}.console-bars i:nth-child(12){--h:96%;--d:1.1s}
.console-flow { color: rgba(255,255,255,.48); }
.console-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.console-foot strong { color: #ff4b50; font-family: 'Archivo Black',sans-serif; font-size: 18px; letter-spacing: -.03em; }
.console-foot span { color: rgba(255,255,255,.55); }
@keyframes bars { 0%,100%{transform:scaleY(.58);opacity:.35}50%{transform:scaleY(1);opacity:.9} }
@keyframes pulse { 0%,100%{transform:scale(.72);opacity:.4}50%{transform:scale(1);opacity:1} }

.ticker { overflow: hidden; padding: 17px 0; color: #fff; background: var(--ink); border-bottom: 1px solid var(--ink); }
.ticker div { width: max-content; white-space: nowrap; font-family: 'Archivo Black',sans-serif; font-size: clamp(22px,3vw,40px); text-transform: uppercase; animation: ticker 26s linear infinite; }
.ticker b { padding: 0 20px; color: var(--red-bright); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(82px,10vw,138px) 0; border-bottom: 1px solid var(--ink); box-shadow: inset 3px 0 0 var(--red); }
.wrap { width: min(var(--wrap),calc(100% - 88px)); margin: 0 auto; }
.section-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 72px; }
h2 { font-size: clamp(42px,5vw,76px); line-height: .95; }
.section-intro > p,.measurement-lede { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(17px,1.35vw,20px); line-height: 1.65; }
.problem-grid,.channel-grid { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 58px; border: 1px solid var(--ink); }
.problem-grid article,.channel-grid article { min-height: 260px; padding: 34px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #fff; }
.problem-grid article:nth-child(even),.channel-grid article:nth-child(even) { border-right: 0; }
.problem-grid article:nth-last-child(-n+2),.channel-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.problem-grid span,.channel-label { color: var(--red); font: 600 10px/1.4 'IBM Plex Mono',monospace; letter-spacing: .12em; text-transform: uppercase; }
.problem-grid h3,.channel-grid h3,.phase-list h3,.fit h3 { margin: 46px 0 12px; font-size: clamp(24px,2.2vw,34px); letter-spacing: -.04em; line-height: 1; }
.problem-grid p,.channel-grid p,.phase-list p,.fit li,.faq p { color: var(--muted); line-height: 1.65; }

.system { color: #fff; background: var(--ink); }
.kicker.light { color: #ff4b50; }
.kicker.light::before { background: #ff4b50; }
.system h2 { max-width: 980px; color: #fff; }
.phase-list { margin-top: 58px; border-top: 1px solid rgba(255,255,255,.35); }
.phase-list article { display: grid; grid-template-columns: 170px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.phase-list span { color: #ff4b50; font: 600 10px/1.4 'IBM Plex Mono',monospace; letter-spacing: .12em; text-transform: uppercase; }
.phase-list h3 { margin: 0 0 10px; color: #fff; }
.phase-list p { max-width: 760px; margin: 0; color: rgba(255,255,255,.68); }

.channels { background: var(--paper); }
.channel-label { margin: 0!important; }
.measurement h2 { max-width: 1040px; }
.measurement-lede { margin-top: 28px; }
.measurement-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 54px; }
.measurement-flow div { min-height: 180px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--ink); background: #fff; }
.measurement-flow div span { color: var(--red); font: 600 10px/1 'IBM Plex Mono',monospace; }
.measurement-flow div strong { margin: auto 0 10px; font-size: 21px; letter-spacing: -.035em; }
.measurement-flow div small { color: var(--muted); }
.measurement-flow > b { align-self: center; color: var(--red); font: 400 22px/1 'IBM Plex Mono',monospace; }

.fit { background: var(--paper); }
.fit-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; }
.fit-lists { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: #fff; }
.fit-lists > div { padding: 30px; }
.fit-lists > div:first-child { border-right: 1px solid var(--ink); }
.fit h3 { margin: 0 0 24px; }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li { padding: 13px 0 13px 24px; border-top: 1px solid var(--rule); position: relative; }
.fit li::before { content: '◆'; position: absolute; left: 0; color: var(--red); font-size: 9px; }

.faq h2 { max-width: 820px; }
.faq-list { margin-top: 52px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(20px,2vw,28px); font-weight: 800; letter-spacing: -.035em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font: 400 28px/1 'IBM Plex Mono',monospace; transition: transform .18s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 800px; margin: 0; padding: 0 44px 30px 0; font-size: 17px; }

.cta { padding: clamp(90px,11vw,150px) 44px; color: #fff; background: var(--ink); text-align: center; box-shadow: inset 3px 0 0 var(--red); }
.cta h2 { max-width: 1000px; margin-inline: auto; }
.cta > p:not(.kicker) { max-width: 680px; margin: 26px auto 34px; color: rgba(255,255,255,.68); font-size: 19px; line-height: 1.6; }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 44px; border-top: 1px solid var(--ink); box-shadow: inset 3px 0 0 var(--red); }
footer div { display: flex; gap: 24px; }
footer div a,footer span { color: var(--muted); font: 600 10px/1.4 'IBM Plex Mono',monospace; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }

@media (max-width:900px) {
  .site-nav { padding-inline: 20px; }
  .hero { padding-inline: 24px; }
  .wrap { width: min(var(--wrap),calc(100% - 40px)); }
  .section-intro,.fit-grid { grid-template-columns: 1fr; gap: 30px; }
  .measurement-flow { grid-template-columns: 1fr 1fr; }
  .measurement-flow > b { display: none; }
  .phase-list article { grid-template-columns: 110px 1fr; }
}

@media (max-width:620px) {
  .site-nav { height: 60px; padding-inline: 12px; gap: 8px; }
  .brand { font-size: 15px; }
  .brand img { width: 23px; height: 23px; }
  .nav-actions { gap: 5px; }
  .nav-actions > .nav-text-link { display: none; }
  .nav-menu summary { min-height: 40px; padding-inline: 8px; font-size: 11px; }
  .nav-cta { min-height: 42px; padding-inline: 10px; font-size: 11px; }
  .nav-menu-panel {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 76px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .hero { min-height: auto; padding: 108px 20px 72px; }
  .hero::after { top: 17%; right: -48vw; }
  h1 { font-size: clamp(42px,13vw,60px); }
  h2 { font-size: clamp(38px,10.5vw,52px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button,.hero-actions .text-link { width: 100%; justify-content: center; text-align: center; }
  .media-console { padding: 18px; box-shadow: 8px 8px 0 var(--red); }
  .console-bars { height: 68px; gap: 4px; }
  .console-flow { font-size: 7px; }
  .console-foot { align-items: flex-start; flex-direction: column; }
  .section { padding: 80px 0; }
  .problem-grid,.channel-grid,.fit-lists { grid-template-columns: 1fr; }
  .problem-grid article,.channel-grid article,.problem-grid article:nth-child(even),.channel-grid article:nth-child(even),.problem-grid article:nth-last-child(-n+2),.channel-grid article:nth-last-child(-n+2) { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .problem-grid article:last-child,.channel-grid article:last-child { border-bottom: 0; }
  .phase-list article { grid-template-columns: 1fr; gap: 14px; }
  .measurement-flow { grid-template-columns: 1fr; }
  .fit-lists > div:first-child { border-right: 0; border-bottom: 1px solid var(--ink); }
  .cta { padding-inline: 20px; }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 20px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .console-bars i,.live::before,.ticker div { animation: none; }
}
