/* RoRE Score: sibling of atomicblink.io and atomicpulse.io. Values copied from the Blink page. */
@import url("assets/fonts.css");
@font-face { font-family: "Soehne Extrafett"; src: url("assets/fonts/SoehneExtrafett-800-latin.otf") format("opentype"); font-weight: 800; font-display: swap; }

:root {
  --red: #FA2F11; --red-dark: #C9230B; --ink: #202125; --ink-2: #1A1A1A; --bone: #EDEAE1;
  --grey: #4D4D4D; --grey-2: #B7B7B7; --rule: #DDD8CC; --edge: #3A3B40;
  --font-sans: "DM Sans", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "Helvetica Neue", "Inter Tight", "DM Sans", Arial, sans-serif;
  --font-x: "Soehne Extrafett", var(--font-sans);
  --pad-x: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bone); scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 16px; color: var(--ink); }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
@keyframes ab-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wrap { max-width: 1320px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--pad-x); }
.dark { background: var(--ink); color: var(--bone); }
.white { background: #fff; }
.red-bg { background: var(--red); color: var(--bone); }
.red { color: var(--red); }

/* type */
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.h-xl { font-family: var(--font-x); font-weight: 800; font-size: clamp(44px, 6vw, 88px); line-height: .94; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.h-lg { font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h-md { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.lede { font-size: 18px; line-height: 1.6; text-wrap: pretty; }

/* buttons */
.btn { background: var(--red); color: var(--bone); font-weight: 600; font-size: 15px; padding: 16px 26px; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; }
.btn:hover { background: var(--red-dark); text-decoration: none; }
.btn-ghost { color: var(--ink); font-weight: 600; font-size: 15px; padding: 15px 25px; border: 1px solid var(--ink); white-space: nowrap; }
.btn-ghost:hover { background: var(--ink); color: var(--bone); text-decoration: none; }

/* RoRE lockup (from the Atomic Arcade design): "r", a ring for the o, "re", then "score" */
.lockup { --s: 1; --score: var(--bone); display: inline-flex; flex-direction: column; align-items: center; gap: calc(7px * var(--s)); font-family: var(--font-x); font-weight: 800; }
.lockup__top { display: flex; align-items: flex-end; color: var(--red); font-size: calc(96px * var(--s)); line-height: .76; letter-spacing: -.015em; }
.lockup__score { color: var(--score); font-size: calc(40px * var(--s)); line-height: 1; letter-spacing: .02em; }
.ring { position: relative; flex: none; width: calc(52px * var(--s)); height: calc(52px * var(--s)); margin: 0 calc(4px * var(--s)); border: calc(13px * var(--s)) solid var(--red); border-radius: 50%; }
.ring::before, .ring::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: calc(22px * var(--s)); line-height: 1; animation: swap 6s infinite; }
.ring::before { content: "\2665"; }
.ring::after { content: "$"; animation-delay: -3s; }
@keyframes swap { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ring::before, .ring::after { animation: none; } .ring::after { opacity: 0; } }

/* header + footer (same as Blink and Pulse) */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--ink); }
.bar { padding: 14px clamp(20px, 3vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand > a:first-child:hover { text-decoration: none; }
.byline { display: flex; align-items: center; gap: 8px; }
.byline span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--grey-2); text-transform: uppercase; }
.byline img { height: 28px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); flex-wrap: wrap; }
.nav a { color: var(--bone); font-size: 13px; font-weight: 500; white-space: nowrap; }
.nav a.cta { background: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; }
.nav a.cta:hover { background: var(--red-dark); text-decoration: none; }
.site-foot { background: var(--ink); color: var(--grey-2); }
.site-foot .bar { padding: 40px clamp(20px, 3vw, 44px) 28px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.foot-links a { color: var(--grey-2); }
.foot-links a:hover { color: var(--bone); }
.foot-blurb { margin: 0 clamp(20px, 3vw, 44px); padding: 24px 0 40px; border-top: 1px solid var(--ink-2); font-size: 13px; line-height: 1.6; max-width: 60em; text-wrap: pretty; }
.foot-blurb a { color: var(--bone); }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 620px; }
.hero-title { grid-column: 1 / -1; font-family: var(--font-x); font-weight: 800; font-size: clamp(52px, 9vw, 152px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.hero-title sup { font-size: .25em; vertical-align: top; position: relative; top: .35em; margin-left: .05em; }
.hero-sub { font-weight: 700; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.hero .lede { color: var(--ink-2); max-width: 30em; line-height: 1.55; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero score card: Blink's phone frame, holding a RoRE readout */
.card-frame { justify-self: center; width: min(100%, 400px); background: var(--ink); border-radius: 28px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.card { background: #fff; border-radius: 18px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 18px; }
.card-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #EEE; }
.card-top .mono { font-size: 10px; color: var(--grey); }
.card-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); text-align: center; }

/* two-column statement */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.split .body { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.6; color: #EEE; }
.split .body .big { color: #fff; font-weight: 600; font-size: 21px; line-height: 1.45; }

/* proof (red band, like Blink's bias section) */
.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; max-width: 1100px; }
.center .h-red { font-family: var(--font-x); font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -.02em; color: var(--bone); text-wrap: balance; max-width: 900px; }
.center .h-red span { color: var(--ink); }
.center .lede { color: var(--ink); max-width: 44em; }
.adtest { width: 100%; background: var(--ink); color: var(--bone); text-align: left; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.adtest h3 { font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.adtest p { font-size: 16px; line-height: 1.6; color: #EEE; }
.legend { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-2); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; background: var(--grey); }
.legend i.r { background: var(--red); }
.bars { display: flex; flex-direction: column; gap: 22px; }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 64px; gap: 14px; align-items: center; }
.row .mono { font-size: 12px; letter-spacing: .06em; }
.row .pair { display: flex; flex-direction: column; gap: 4px; }
.row .pair i { height: 10px; background: var(--grey); width: var(--a); }
.row .pair i.r { background: var(--red); width: var(--b); }
.row b { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-align: right; color: var(--red); }
.fine { font-size: 13px; line-height: 1.5; color: var(--ink); max-width: 52em; text-wrap: pretty; }

/* how it works (Blink's numbered steps) */
.how-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 40px; flex-wrap: wrap; }
.how-head .facts { display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: 14px; }
.how-head strong { color: var(--red); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(clamp(56px, 7vw, 100px) / 2 - 1px); height: 2px; background: var(--red); }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; text-align: center; }
.steps .dot { width: clamp(56px, 7vw, 100px); height: clamp(56px, 7vw, 100px); border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-x); font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); color: var(--bone); }
.steps li:last-child .dot { background: #fff; border: 3px solid var(--red); color: var(--red); }
.steps li > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.steps b { font-weight: 700; font-size: clamp(13px, 1.5vw, 20px); line-height: 1.25; text-wrap: balance; }
.steps span { font-size: 14px; line-height: 1.45; color: var(--grey); max-width: 16em; text-wrap: pretty; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { left: calc(28px - 1px); right: auto; width: 2px; top: 0; bottom: 0; height: auto; }
  .steps li { flex-direction: row; align-items: flex-start; text-align: left; flex-wrap: wrap; }
  .steps li > div { align-items: flex-start; gap: 4px; flex: 1; min-width: 0; padding-top: 6px; }
  .steps .dot { flex: none; width: 56px; height: 56px; }
}

/* UW Foster */
.tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); background: var(--red); padding: 6px 10px; }
.quote { background: #fff; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.quote figcaption { font-size: 14px; color: var(--grey); }
.quote figcaption b { color: var(--ink); }

/* closing CTA */
.cta { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.cta h2 { font-family: var(--font-x); font-weight: 800; font-size: clamp(48px, 8.4vw, 128px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; max-width: 12em; text-wrap: balance; }
.cta p { font-size: 18px; line-height: 1.55; color: #EEE; max-width: 34em; }
.cta .btn { font-size: 16px; padding: 18px 30px; }
.cta .partner { color: var(--grey-2); font-size: 14px; }
.cta .partner:hover { color: var(--bone); }

/* FAQ (native details/summary in Blink's accordion style) */
.faq-label { display: flex; align-items: center; gap: 10px; }
.faq-label i { width: 10px; height: 10px; background: var(--red); }
.faq-label span { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.faq { border-bottom: 1px solid var(--grey-2); }
.faq details { border-top: 1px solid var(--grey-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--red); flex: none; width: 20px; text-align: center; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 56px 26px 4px; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; animation: ab-fade 160ms ease-out; }
.more { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.more span { color: var(--red); font-weight: 600; }
.more a { color: var(--ink); }

.gap-lg { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }

/* phones: keep the sticky header to one row; anchors clear it */
section[id] { scroll-margin-top: 64px; }
@media (max-width: 640px) {
  .bar { flex-wrap: nowrap; }
  .nav a:not(.cta) { display: none; }
  .nav a.cta { padding: 10px 12px; font-size: 11px; }
}

/* ---- charts: the X/Y axis is RoRE's own device ---- */
.xy, .diagram, .adchart { display: block; width: 100%; height: auto; overflow: visible; }
.xy .grid line { stroke: #EEE; }
.xy .dots { fill: var(--grey-2); fill-opacity: .7; }
.xy .axis line, .diagram .axis line { stroke: var(--ink); stroke-width: 2; }
.fit { stroke: var(--red); stroke-width: 4; stroke-linecap: round; }
.xy .ax, .diagram .ax-big, .adchart .ax-d { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; fill: var(--grey); }
.xy .callout rect { fill: var(--red); }
.xy .callout text { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; fill: var(--bone); }
.readout { display: flex; align-items: flex-end; gap: 14px; padding-top: 14px; border-top: 1px solid #EEE; }
.readout b { font-family: var(--font-x); font-weight: 800; font-size: 56px; line-height: .85; color: var(--red); }
.readout span { font-size: 14px; line-height: 1.3; color: var(--grey); padding-bottom: 2px; }
.card-frame { margin: 0; }

.explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.explain > .stack { grid-column: 1 / -1; max-width: 820px; }
.diagram .step { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 5; }
.diagram .lbl { font-family: var(--font-sans); font-weight: 700; font-size: 17px; fill: var(--ink); }
.diagram .red-t { fill: var(--red); }
.diagram .ax-big { font-size: 13px; fill: var(--ink); }
.keys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.keys li { display: flex; gap: 20px; align-items: flex-start; }
.keys .k { flex: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--bone); font-family: var(--font-x); font-weight: 800; font-size: 24px; }
.keys .k.r { background: var(--red); }
.keys b { display: block; font-weight: 700; font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.keys p { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.panels { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--rule); }
.panels figure { margin: 0; background: var(--bone); color: var(--ink); padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.panels svg { width: 100%; height: auto; }
.panels .pax { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.panels line { stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; }
.panels b { font-family: var(--font-x); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--red); }
.panels figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.panel-key { font-size: 15px; color: var(--ink); margin-top: -20px; }
@media (max-width: 760px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.adchart .axis line { stroke: var(--grey-2); stroke-width: 2; }
.adchart .fitline line { stroke: var(--red); stroke-width: 2; stroke-opacity: .45; stroke-dasharray: 2 6; stroke-linecap: round; }
.adchart .move { fill: none; stroke: var(--bone); stroke-width: 2; stroke-dasharray: 5 5; }
.adchart .pt-a { fill: var(--grey); stroke: var(--bone); stroke-width: 2; }
.adchart .pt-b { fill: var(--red); }
.adchart .legend-d text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--grey-2); }
.adchart .ax-d { fill: var(--grey-2); }
.hero { row-gap: clamp(28px, 4vw, 56px); }
