:root {
  --navy: #061C30;
  --midnight: #031323;
  --blue: #2F63B7;
  --ivory: #F3EEE6;
  --paper: #FAF8F4;
  --white: #FFFFFF;
  --gold: #C4984B;
  --teal: #4DB5B1;
  --sand: #D8C9B6;
  --sage: #9BB19B;
  --steel: #73808A;
  --ink: #0B1722;
  --shell: 1180px;
  --pad: clamp(22px, 4.2vw, 64px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(calc(100% - (var(--pad) * 2)), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: white; color: var(--navy); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--ivory);
  border-bottom: 1px solid rgba(243,238,230,.16);
}
.header-inner { height: 86px; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: max-content; }
.brand-mark { font-weight: 800; letter-spacing: -.055em; font-size: 28px; line-height: 1; }
.brand-copy { text-transform: uppercase; font-size: 8.5px; line-height: 1.25; letter-spacing: .11em; font-weight: 650; opacity: .82; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 28px; }
.desktop-nav a { text-decoration: none; font-size: 13px; font-weight: 600; opacity: .82; transition: opacity .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header-cta { text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-cta span { display: inline-block; margin-left: 4px; transition: transform .25s var(--ease); }
.header-cta:hover span { transform: translateX(5px); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
  padding: 150px 0 86px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(243,238,230,.2);
}
.hero-route { position: absolute; inset: 0; opacity: .9; pointer-events: none; }
.hero-route svg { width: 100%; height: 100%; }
.route-line { fill: none; stroke-linecap: round; }
.route-line-muted { stroke: rgba(243,238,230,.1); stroke-width: 2; }
.route-line-main { stroke: var(--blue); stroke-width: 2.4; stroke-dasharray: 4 13; }
.route-node { stroke: var(--navy); stroke-width: 4; }
.route-node.blue { fill: var(--blue); }
.route-node.gold { fill: var(--gold); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(54px, 7vw, 105px); align-items: center; }
.hero-copy { max-width: 710px; }
.eyebrow, .section-label { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(243,238,230,.8); margin-bottom: 28px; }
.eyebrow-rule { width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(46px, 5.25vw, 74px); line-height: .99; letter-spacing: -.048em; font-weight: 780; text-wrap: balance; }
.hero-subline { margin: 26px 0 0; font-size: clamp(21px, 2vw, 28px); line-height: 1.25; max-width: 650px; color: white; font-weight: 500; letter-spacing: -.018em; }
.hero-lead { margin: 28px 0 0; max-width: 650px; color: rgba(243,238,230,.76); font-size: 17px; line-height: 1.68; }
.hero-lead strong { color: white; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; padding: 0 22px; font-size: 14px; font-weight: 750; cursor: pointer; text-decoration: none; transition: transform .22s var(--ease), filter .22s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--midnight); }
.button-gold:hover { filter: brightness(1.07); }
.text-link { text-decoration: none; font-weight: 700; font-size: 14px; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(6px); }
.text-link.light { color: var(--ivory); }
.hero-meta { margin-top: 46px; display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(243,238,230,.16); padding-top: 18px; }
.hero-meta span { font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,238,230,.62); padding-right: 16px; margin-right: 16px; border-right: 1px solid rgba(243,238,230,.18); }
.hero-meta span:last-child { border-right: 0; }

.hero-visual { min-width: 0; }
.book-stage { position: relative; width: min(100%, 430px); margin-left: auto; padding: 26px 30px 32px 10px; }
.book-shadow { position: absolute; width: 72%; height: 30px; border-radius: 50%; background: rgba(0,0,0,.36); filter: blur(18px); left: 16%; bottom: 1%; transform: rotate(-2deg); }
.book-cover {
  position: relative;
  z-index: 2;
  aspect-ratio: .69;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--navy);
  background: var(--paper);
  border-radius: 2px 9px 9px 2px;
  box-shadow: -16px 8px 0 #d7d1c8, -18px 10px 0 rgba(255,255,255,.6), 24px 34px 55px rgba(0,0,0,.28);
  transform: perspective(1000px) rotateY(-9deg) rotateX(2deg) rotateZ(-1deg);
  transform-origin: center center;
}
.book-cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 9px; background: var(--sand); opacity: .8; }
.book-cover-top { padding: 30px 30px 0 34px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 750; letter-spacing: .13em; color: var(--steel); }
.book-cover-route { margin: 18px 0 -12px; height: 190px; }
.book-cover-route svg { width: 100%; height: 100%; }
.book-cover-route path { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-dasharray: 3 10; stroke-linecap: round; }
.book-cover-route circle { fill: var(--blue); }
.book-cover-route circle.book-gold-node { fill: var(--gold); }
.book-cover-copy { padding: 0 38px 0 40px; }
.book-kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 750; margin: 0 0 14px; }
.book-cover h2 { margin: 0; font-size: clamp(30px, 3.1vw, 45px); line-height: 1.02; letter-spacing: -.045em; color: var(--navy); text-wrap: balance; }
.book-cover-copy > p:last-child { margin: 18px 0 0; font-size: 14px; line-height: 1.46; color: var(--steel); max-width: 290px; }
.book-cover-foot { margin-top: auto; padding: 24px 38px 28px 40px; border-top: 1px solid var(--sand); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); display: flex; justify-content: space-between; gap: 12px; }
.visual-caption { margin-top: 24px; color: rgba(243,238,230,.62); display: flex; align-items: center; gap: 10px; justify-content: flex-end; font-size: 11px; letter-spacing: .04em; }
.caption-dot, .gold-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; flex: 0 0 auto; }

.signature-band { background: var(--paper); border-bottom: 1px solid var(--sand); }
.signature-line { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--navy); font-size: clamp(17px, 1.7vw, 22px); font-weight: 720; letter-spacing: -.025em; }
.signature-line span:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: clamp(18px, 4vw, 62px); border-radius: 50%; background: var(--sand); vertical-align: middle; }

.section { padding: clamp(82px, 9vw, 132px) 0; }
.problem-section, .inside-section, .who-section { background: var(--ivory); }
.two-col-intro { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(52px, 9vw, 128px); align-items: start; }
.section-label { color: var(--blue); margin-bottom: 18px; }
.section-label.light-label { color: rgba(243,238,230,.6); }
.section h2, .early-access h2 { margin: 0; color: var(--navy); font-size: clamp(38px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.intro-body { padding-top: 32px; border-top: 1px solid var(--sand); }
.intro-body p { margin: 0 0 18px; max-width: 680px; }
.intro-body .lead { font-size: 22px; line-height: 1.42; letter-spacing: -.022em; color: var(--navy); font-weight: 540; }

.path-visual { margin-top: clamp(62px, 8vw, 105px); display: grid; grid-template-columns: 220px 1fr 235px; gap: 20px; align-items: center; }
.path-endpoint { min-width: 0; }
.path-endpoint.end { text-align: right; }
.endpoint-label { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 760; color: var(--blue); margin-bottom: 7px; }
.gold-label { color: var(--gold); }
.path-endpoint strong { display: block; color: var(--navy); font-size: 21px; line-height: 1.18; }
.path-endpoint small { display: block; margin-top: 5px; color: var(--steel); font-size: 12px; }
.path-track { position: relative; height: 2px; }
.track-line { position: absolute; inset: 0; background: var(--sand); }
.track-line::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(.82); transform-origin: left; }
.track-node { position: absolute; top: 50%; width: 12px; height: 12px; transform: translate(-50%,-50%); border: 3px solid var(--ivory); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.track-node.n1 { left: 10%; }.track-node.n2 { left: 30%; }.track-node.n3 { left: 50%; }.track-node.n4 { left: 70%; }.track-node.n5 { left: 90%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.method-section { background: var(--navy); color: var(--ivory); }
.method-section h2, .proof-section h2, .early-access h2 { color: var(--ivory); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 76px; align-items: end; padding-bottom: 44px; border-bottom: 1px solid rgba(243,238,230,.18); }
.section-head p { margin: 0 0 5px; color: rgba(243,238,230,.68); max-width: 530px; }
.bridges { display: grid; grid-template-columns: repeat(5, 1fr); }
.bridge-item { position: relative; min-height: 340px; padding: 32px 24px 38px 0; border-bottom: 1px solid rgba(243,238,230,.18); }
.bridge-item:not(:last-child) { border-right: 1px solid rgba(243,238,230,.14); margin-right: 24px; }
.bridge-number { color: rgba(243,238,230,.4); font-size: 10px; letter-spacing: .14em; font-weight: 760; }
.bridge-icon { width: 46px; height: 46px; margin: 48px 0 24px; }
.bridge-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--ivory); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bridge-item:nth-child(1) .bridge-icon svg, .bridge-item:nth-child(2) .bridge-icon svg { stroke: #8db1ec; }
.bridge-item:nth-child(3) .bridge-icon svg, .bridge-item:nth-child(5) .bridge-icon svg { stroke: #d7b46e; }
.bridge-item:nth-child(4) .bridge-icon svg { stroke: #77cbc7; }
.bridge-item h3 { margin: 0; font-size: 24px; color: white; letter-spacing: -.025em; }
.bridge-item p { margin: 13px 0 0; color: rgba(243,238,230,.64); font-size: 14.5px; line-height: 1.55; max-width: 190px; }
.method-cta-row { padding-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.method-cta-row p { margin: 0; color: rgba(243,238,230,.72); }
.method-cta-row strong { color: white; }

.inside-intro { margin-bottom: 64px; }
.chapter-list { border-top: 1px solid var(--sand); }
.chapter-row { display: grid; grid-template-columns: 70px minmax(0,1fr) 120px; gap: 26px; align-items: start; padding: 29px 0 30px; border-bottom: 1px solid var(--sand); }
.chapter-no { color: var(--steel); font-size: 11px; letter-spacing: .12em; font-weight: 700; padding-top: 5px; }
.chapter-row h3 { margin: 0; font-size: 24px; line-height: 1.2; color: var(--navy); letter-spacing: -.026em; }
.chapter-row p { margin: 8px 0 0; color: #44515b; font-size: 15.5px; max-width: 720px; }
.chapter-tag { justify-self: end; font-size: 10px; letter-spacing: .12em; font-weight: 760; color: var(--blue); padding-top: 5px; }

.proof-section { background: var(--midnight); color: var(--ivory); }
.proof-grid { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(360px,.94fr); gap: clamp(70px, 10vw, 140px); align-items: center; }
.proof-copy p { color: rgba(243,238,230,.68); max-width: 680px; }
.proof-copy h2 { margin-bottom: 30px; }
.proof-route { display: grid; gap: 0; position: relative; }
.proof-node { position: relative; min-height: 116px; padding: 16px 0 16px 78px; }
.proof-node::before { content: ""; position: absolute; left: 28px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px var(--midnight), 0 0 0 7px rgba(243,238,230,.22); }
.proof-node.decisive::before { background: var(--gold); }
.proof-index { position: absolute; left: 0; top: 17px; color: rgba(243,238,230,.35); font-size: 10px; letter-spacing: .12em; }
.proof-node strong { display: block; font-size: 24px; line-height: 1.2; color: white; }
.proof-node small { display: block; margin-top: 5px; color: rgba(243,238,230,.55); font-size: 12px; letter-spacing: .04em; }
.proof-line { height: 42px; width: 1px; margin-left: 34px; background: rgba(47,99,183,.55); }

.who-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(70px, 10vw, 140px); align-items: start; }
.audience-list { border-top: 1px solid var(--sand); }
.audience-list div { min-height: 58px; border-bottom: 1px solid var(--sand); display: grid; grid-template-columns: 54px 1fr; align-items: center; color: var(--navy); font-weight: 620; }
.audience-list span { font-size: 10px; color: var(--steel); letter-spacing: .12em; }

.early-access { background: var(--navy); color: var(--ivory); padding: clamp(82px, 9vw, 126px) 0; }
.access-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(370px,.85fr); gap: clamp(70px, 9vw, 125px); align-items: start; }
.access-copy p { max-width: 610px; color: rgba(243,238,230,.68); font-size: 18px; }
.access-proof { margin-top: 36px; display: flex; align-items: center; gap: 11px; font-size: 12px; color: rgba(243,238,230,.66); letter-spacing: .02em; }
.form-wrap { border-top: 1px solid rgba(243,238,230,.24); padding-top: 24px; }
.field-row { margin-bottom: 20px; }
.field-row label { display: flex; justify-content: space-between; color: rgba(243,238,230,.72); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.field-row label span { color: rgba(243,238,230,.35); font-weight: 500; text-transform: lowercase; letter-spacing: 0; }
.field-row input { width: 100%; min-height: 51px; border: 1px solid rgba(243,238,230,.24); border-radius: 2px; background: rgba(255,255,255,.035); color: white; padding: 0 14px; outline: none; transition: border-color .2s, background .2s; }
.field-row input::placeholder { color: rgba(243,238,230,.32); }
.field-row input:focus { border-color: var(--blue); background: rgba(255,255,255,.055); }
.form-submit { width: 100%; margin-top: 6px; }
.form-note { font-size: 11px; color: rgba(243,238,230,.4); margin: 12px 0 0; text-align: center; }
.form-status { margin: 10px 0 0; min-height: 20px; font-size: 12px; color: #a8d5d2; text-align: center; }

.site-footer { background: var(--midnight); color: var(--ivory); border-top: 1px solid rgba(243,238,230,.14); }
.footer-grid { min-height: 112px; display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 30px; align-items: center; }
.footer-statement { text-align: center; color: rgba(243,238,230,.52); font-size: 12px; }
.footer-top { text-decoration: none; font-size: 12px; color: rgba(243,238,230,.58); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 220px 1fr auto; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 12px; }
  .hero-grid { grid-template-columns: 1.03fr .97fr; gap: 44px; }
  .hero h1 { font-size: clamp(44px, 6vw, 62px); }
  .bridges { grid-template-columns: repeat(3, 1fr); }
  .bridge-item:nth-child(3) { border-right: 0; margin-right: 0; }
  .bridge-item:nth-child(4), .bridge-item:nth-child(5) { border-top: 0; }
}

@media (max-width: 860px) {
  :root { --pad: clamp(22px, 5.5vw, 42px); }
  .site-header { position: absolute; }
  .header-inner { height: 78px; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .header-cta { font-size: 12px; }
  .hero { min-height: auto; padding: 132px 0 74px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(520px, 86%); margin: 0 auto; }
  .book-stage { margin-inline: auto; padding-top: 2px; }
  .signature-line { overflow-x: auto; justify-content: flex-start; white-space: nowrap; }
  .signature-line span:not(:last-child)::after { margin-left: 28px; margin-right: 4px; }
  .two-col-intro, .section-head, .proof-grid, .who-grid, .access-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-body { padding-top: 26px; }
  .path-visual { grid-template-columns: 180px 1fr 180px; }
  .bridges { grid-template-columns: repeat(2, 1fr); }
  .bridge-item:nth-child(2), .bridge-item:nth-child(4) { border-right: 0; margin-right: 0; }
  .bridge-item:nth-child(3) { border-right: 1px solid rgba(243,238,230,.14); margin-right: 24px; }
  .method-cta-row { align-items: flex-start; flex-direction: column; }
  .proof-route { max-width: 540px; }
  .chapter-row { grid-template-columns: 54px minmax(0,1fr) 95px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-statement { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-copy { display: none; }
  .brand-mark { font-size: 26px; }
  .header-cta { border: 1px solid rgba(243,238,230,.24); padding: 9px 11px; border-radius: 3px; }
  .hero { padding-top: 118px; }
  .eyebrow { align-items: flex-start; font-size: 10px; line-height: 1.5; }
  .hero h1 { font-size: clamp(40px, 12vw, 53px); }
  .hero-subline { font-size: 21px; }
  .hero-lead { font-size: 16px; }
  .hero-meta { gap: 9px 0; }
  .hero-meta span { font-size: 9px; padding-right: 10px; margin-right: 10px; }
  .hero-visual { width: 92%; }
  .book-stage { padding-inline: 8px 20px; }
  .book-cover-copy { padding-inline: 34px 28px; }
  .book-cover h2 { font-size: clamp(30px, 9vw, 40px); }
  .book-cover-route { height: 142px; }
  .book-cover-foot { padding-inline: 34px 26px; flex-direction: column; gap: 2px; }
  .visual-caption { justify-content: center; }
  .signature-band { overflow: hidden; }
  .section { padding: 76px 0; }
  .section h2, .early-access h2 { font-size: clamp(36px, 10.3vw, 48px); }
  .intro-body .lead { font-size: 20px; }
  .path-visual { grid-template-columns: 1fr; gap: 18px; }
  .path-endpoint.end { text-align: left; }
  .path-track { width: 2px; height: 145px; margin-left: 8px; }
  .track-line { inset: 0; width: 2px; height: 100%; }
  .track-line::after { transform: scaleY(.82); transform-origin: top; }
  .track-node { left: 50% !important; top: auto; transform: translate(-50%,-50%); }
  .track-node.n1 { top: 10%; }.track-node.n2 { top: 30%; }.track-node.n3 { top: 50%; }.track-node.n4 { top: 70%; }.track-node.n5 { top: 90%; }
  .section-head { padding-bottom: 34px; }
  .bridges { grid-template-columns: 1fr; }
  .bridge-item, .bridge-item:nth-child(3) { min-height: 0; border-right: 0; margin-right: 0; padding: 27px 0 28px; display: grid; grid-template-columns: 44px 48px 1fr; column-gap: 16px; align-items: start; }
  .bridge-icon { margin: 0; width: 40px; height: 40px; }
  .bridge-item h3 { margin-top: 5px; }
  .bridge-item p { grid-column: 3; max-width: none; margin-top: 7px; }
  .chapter-row { grid-template-columns: 38px 1fr; gap: 16px; }
  .chapter-tag { grid-column: 2; justify-self: start; padding-top: 0; margin-top: -2px; }
  .chapter-row h3 { font-size: 21px; }
  .proof-node { padding-left: 68px; }
  .audience-list div { grid-template-columns: 42px 1fr; font-size: 15px; }
  .form-wrap { padding-top: 22px; }
  .footer-grid { min-height: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tracking / consent UI — same restrained UCT visual language */
.consent-banner {
  position: fixed;
  z-index: 9999;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--midnight);
  color: var(--ivory);
  border: 1px solid rgba(243,238,230,.2);
  box-shadow: 0 18px 45px rgba(3,19,35,.22);
}
.consent-banner[hidden] { display: none !important; }
.consent-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 96px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 36px;
  align-items: center;
}
.consent-inner strong { display: block; font-size: 15px; color: #fff; margin-bottom: 5px; }
.consent-inner p { margin: 0; max-width: 760px; font-size: 13px; line-height: 1.5; color: rgba(243,238,230,.66); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions button {
  min-height: 44px;
  border-radius: 3px;
  padding: 0 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.consent-secondary { color: var(--ivory); background: transparent; border: 1px solid rgba(243,238,230,.28); }
.consent-primary { color: var(--midnight); background: var(--gold); border: 1px solid var(--gold); }
.consent-actions button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 720px) {
  .consent-banner { left: 10px; right: 10px; bottom: 10px; }
  .consent-inner { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 16px; padding: 18px 0; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* QA-only tracking console: enabled with ?debug=1 */
.tracking-debug-panel {
  position: fixed;
  z-index: 10000;
  top: 14px;
  right: 14px;
  width: min(410px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
  background: #07131f;
  color: #f7f4ee;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}
.tracking-debug-head { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tracking-debug-head button { background: transparent; border: 0; color: white; width: 30px; height: 30px; cursor: pointer; }
.tracking-debug-meta { padding: 8px 12px; color: rgba(255,255,255,.66); border-bottom: 1px solid rgba(255,255,255,.1); }
.tracking-debug-events { overflow: auto; }
.tracking-debug-event { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tracking-debug-event span { display: block; color: #fff; }
.tracking-debug-event small { display: block; margin-top: 3px; color: rgba(255,255,255,.48); line-height: 1.35; }
.tracking-debug-actions { padding: 8px 10px; border-top: 1px solid rgba(255,255,255,.1); }
.tracking-debug-actions button { min-height: 32px; padding: 0 9px; color: #f7f4ee; background: transparent; border: 1px solid rgba(255,255,255,.18); font: inherit; cursor: pointer; }
.tracking-debug-collapsed { width: 230px; grid-template-rows: auto; }
.tracking-debug-collapsed .tracking-debug-meta,
.tracking-debug-collapsed .tracking-debug-events,
.tracking-debug-collapsed .tracking-debug-actions { display: none; }
.footer-actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.footer-privacy { background: transparent; border: 0; padding: 0; color: rgba(243,238,230,.58); font: inherit; font-size: 12px; cursor: pointer; }
.footer-privacy:hover, .footer-privacy:focus-visible { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
