/* CodeMarina — Noir & Gold */
:root {
  --noir: #0A0A0A;
  --noir-2: #141412;
  --noir-3: #1E1D1A;
  --line-dark: #2A2925;
  --ivory: #FAFAF7;
  --ivory-2: #F2F1EC;
  --line-light: #E3E0D8;
  --pewter: #6E6A60;
  --muted-dark: #A8A399;   /* body text on noir */
  --muted-light: #55524B;  /* body text on ivory */
  --gold: #D4AF37;         /* on dark only */
  --gold-deep: #A8861C;    /* accents on light (not for text) */
  --gold-ink: #7A6413;     /* gold-toned text on light, passes AA */
  --drift: #E8833A;
  --ok: #9BC48A;

  --font: 'Space Grotesk', Inter, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 0.82em; }
.dim { color: var(--muted-dark); }
.gold { color: var(--gold); }
.muted { color: var(--muted-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--noir); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); }
.brand-mark { width: 34px; height: 29px; color: var(--ivory); }
.wordmark { font-size: 22px; letter-spacing: -0.03em; font-weight: 400; }
.wordmark b { font-weight: 700; color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--noir); }
.btn-gold:hover { background: #E2C26B; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted-dark); font-size: 15px; padding: 10px 0; }
.nav-links a:hover { color: var(--ivory); }
@media (max-width: 820px) { .nav-links { display: none; } .wordmark { font-size: 20px; } }

/* Hero */
.hero { padding: 96px 0 104px; background: radial-gradient(1200px 500px at 85% 10%, rgba(212,175,55,.07), transparent 60%), var(--noir); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.eyebrow.ink { color: var(--gold-ink); }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 700; letter-spacing: -0.035em; }
.lede { font-size: 19px; color: var(--muted-dark); margin-top: 24px; max-width: 34em; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 64px 0 72px; } }

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: 520px; }
.waitlist input {
  flex: 1 1 240px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: var(--noir-2); color: var(--ivory);
  font: 16px var(--font);
}
.waitlist input::placeholder { color: #807B70; }
.waitlist input:focus { border-color: var(--gold); outline: none; }
.form-note { flex-basis: 100%; font-size: 14px; color: var(--muted-dark); min-height: 1.4em; }
.form-note.ok { color: var(--gold); }
.form-note.err { color: var(--drift); }

/* Marina panel */
.marina { background: var(--noir-2); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.marina-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); color: var(--ivory); }
.marina-head .dim { margin-left: auto; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--noir-3); border: 1px solid var(--line-dark); }
.boats { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.boat { display: grid; grid-template-columns: 12px minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 16px; border-radius: 14px; }
.boat-dock { background: var(--noir-3); box-shadow: inset 0 0 0 1px rgba(212,175,55,.35); }
.boat-title { font-weight: 500; }
.boat-main .mono { margin-top: 4px; }
.state { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.state-ok { background: var(--ok); }
.state-wait { background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.2); }
.state-drift { background: var(--drift); }
.tag { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-dark); white-space: nowrap; }
.tag-gold { color: var(--gold); border-color: rgba(212,175,55,.5); }
.tag-drift { color: var(--drift); border-color: rgba(232,131,58,.5); }
.cmd { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--noir); border: 1px solid var(--line-dark); font: 13px var(--mono); color: var(--ivory); overflow-x: auto; white-space: nowrap; }
.boat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--ivory); }
.chip-gold { background: var(--gold); color: var(--noir); border-color: var(--gold); font-weight: 500; }
@media (max-width: 520px) { .boat { grid-template-columns: 12px minmax(0,1fr); } .boat .tag { grid-column: 2; justify-self: start; } }

/* Statement */
.statement { padding: 88px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.big { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; max-width: 26em; }

/* Sections */
.section { padding: 112px 0; }
.section h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; max-width: 18em; }
.section .sub { font-size: 19px; margin-top: 18px; max-width: 38em; }
.light { background: var(--ivory); color: var(--noir); }
.light.alt { background: var(--ivory-2); }
.light .sub, .light p { color: var(--muted-light); }
.light h3 { color: var(--noir); }
.dark { background: var(--noir); }
.dark p { color: var(--muted-dark); }
@media (max-width: 720px) { .section { padding: 72px 0; } .statement { padding: 64px 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 56px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #FFFFFF; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 32px; }
.card h3, .point h3 { font-size: 22px; margin-bottom: 12px; }
.point { border-top: 2px solid var(--noir); padding-top: 22px; }
.point h3 { font-size: 20px; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 56px; }
.module { background: #FFFFFF; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.module:first-child { grid-column: span 2; background: var(--noir); border-color: var(--noir); }
.module:first-child h3 { color: var(--ivory); }
.module:first-child p { color: var(--muted-dark); }
.module:first-child .label { color: var(--gold); }
.module h3 { font-size: 26px; }
.module .label { color: var(--gold-ink); }
.module.soon { background: transparent; border-style: dashed; }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .modules { grid-template-columns: 1fr; } .module:first-child { grid-column: auto; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.steps h3 { font-size: 22px; margin: 18px 0 10px; }
.step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

.receipt { margin: 72px 0 0; background: var(--noir-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 24px 28px; }
.receipt figcaption { margin-bottom: 14px; }
.receipt pre { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ivory); overflow-x: auto; }
.receipt .ok { color: var(--ok); }
.receipt .warn { color: var(--drift); }

.fail-open { margin-top: 56px; padding: 24px 28px; border-radius: var(--radius); background: var(--noir); color: var(--muted-dark) !important; }
.fail-open b { color: var(--ivory); font-weight: 500; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 56px; }
.tier { background: #FFFFFF; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px; }
.tier h3 { font-size: 22px; }
.tier .price { font-size: 30px; font-weight: 700; color: var(--noir) !important; margin: 10px 0 22px; letter-spacing: -0.02em; }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted-light); font-size: 15px; }
.tier li { padding-left: 22px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-deep); }
.tier-pro { background: var(--noir); border-color: var(--noir); }
.tier-pro h3, .tier-pro .price { color: var(--ivory) !important; }
.tier-pro ul { color: var(--muted-dark); }
.tier-pro li::before { background: var(--gold); }
@media (max-width: 1020px) { .tiers { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding: 120px 0; text-align: center; background: radial-gradient(800px 400px at 50% 0%, rgba(212,175,55,.09), transparent 70%), var(--noir); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 88px; height: 74px; color: var(--ivory); margin-bottom: 28px; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); }
.cta .waitlist { justify-content: center; }
.cta .form-note { text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line-dark); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 14px; }
.footer a { color: var(--ivory); }

/* ---------- v2: recorder & judge layout ---------- */
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); }
.panel { background: var(--noir-2); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; margin: 0; }
.panel-head { padding: 14px 20px; border-bottom: 1px solid var(--line-dark); color: var(--ivory); }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line-dark); }
.trend { box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modrows { list-style: none; margin: 0; padding: 6px 8px; }
.modrow { display: grid; grid-template-columns: 74px 36px minmax(0,1fr); gap: 12px; align-items: start; padding: 16px 12px; border-radius: 14px; }
.modrow + .modrow { border-top: 1px solid var(--line-dark); border-radius: 0; }
.mod { color: var(--ivory); padding-top: 3px; }
.mod-why p:first-child { color: var(--ivory); }
.mod-why .mono { margin-top: 4px; }
.arrow { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.arrow.down { background: rgba(232,131,58,.16); color: var(--drift); }
.arrow.steady { background: rgba(168,163,153,.14); color: var(--muted-dark); }
.arrow.up { background: rgba(155,196,138,.16); color: var(--ok); }
.big i { font-style: normal; text-decoration: underline; text-decoration-color: var(--pewter); text-underline-offset: 6px; }

.stats .stat { border-top: 2px solid var(--noir); padding-top: 22px; }
.stat-n { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--noir) !important; margin-bottom: 10px; }
.source { margin-top: 32px; font-size: 13px; }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted-dark); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); }
.ticks.ink li { color: var(--muted-light); }
.ticks.ink li::before { background: var(--gold-deep); }

.receipt.panel { padding: 0; }
.receipt .verdict { padding: 20px 24px; border-bottom: 1px solid var(--line-dark); }
.receipt .verdict p { font-size: 20px; font-weight: 500; color: var(--ivory); margin-top: 6px; }
.receipt pre { padding: 20px 24px; margin: 0; font-size: 13px; line-height: 1.95; color: var(--ivory); overflow-x: auto; }
.ok { color: var(--ok); }
.warn { color: var(--drift); }

.signals { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 56px; }
@media (max-width: 960px) { .signals { grid-template-columns: 1fr; } }
.sig-group { background: #FFFFFF; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 26px; }
.sig-group h3 { font-size: 18px; margin-bottom: 16px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.chips li { display: flex; flex-direction: column; gap: 2px; }
.chips code { font: 500 14px var(--mono); color: var(--noir); }
.chips span { font-size: 14px; color: var(--muted-light); }
.overlap, .isnt { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--noir); display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.overlap p, .isnt p { color: var(--muted-dark) !important; flex: 1 1 400px; }
.overlap b { color: var(--ivory); font-weight: 500; }
.overlap .label-ink, .isnt .label-ink { flex: 0 0 auto; color: var(--gold) !important; }

.light-panel { background: #FFFFFF; border-color: var(--line-light); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.light-panel .dim { color: var(--muted-light); }
.card-big { font-size: 34px; font-weight: 700; color: var(--noir) !important; display: flex; align-items: center; gap: 12px; letter-spacing: -0.02em; }
.causes { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; }
.causes li { padding: 12px 0; border-top: 1px solid var(--line-light); color: var(--noir); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.causes li .dim { margin-left: auto; }

.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; }
.link { background: var(--noir-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.link b { font-weight: 500; color: var(--ivory); }
.gold-link { border-color: rgba(212,175,55,.6); }
.gold-link b { color: var(--gold); }
.join { width: 24px; height: 2px; background: var(--pewter); }
@media (max-width: 720px) { .join { display: none; } }
.dark-points { margin-top: 48px; }
.dark-points h3 { font-size: 20px; margin-bottom: 10px; color: var(--ivory); }

.boats.panel { list-style: none; padding: 8px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.boats .boat { grid-template-columns: 12px minmax(0,1fr) auto; }
.principles { row-gap: 40px; }
.light .boats .boat-title { color: var(--ivory); }
.light .boats .dim { color: var(--muted-dark); }

/* Hero visual: course chart */
.course { position: relative; padding: 0; }
.course-svg { width: 100%; height: auto; display: block; }
.tagk { position: absolute; font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(10,10,10,.85); border: 1px solid var(--line-dark); white-space: nowrap; }
.k-plan { top: 6%; right: 12%; color: var(--gold); }
.k-claude { top: 40%; left: 40%; color: var(--ok); }
.k-codex { top: 58%; right: 5%; color: var(--drift); }
.course-mods { display: flex; justify-content: space-around; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: 14px; color: var(--ivory); }
.course-mods span { display: inline-flex; align-items: center; gap: 10px; }
.trail { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s ease-out forwards; }
.trail.t2 { animation-delay: .4s; }
.pulse { transform-origin: 400px 262px; animation: pulse 2s ease-out 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .trail { animation: none; stroke-dashoffset: 0; } .pulse { animation: none; } }
@media (max-width: 520px) { .tagk { font-size: 11px; } .k-claude { left: 34%; top: 36%; } .k-codex { top: 48%; right: 4%; } }

/* Statement: three cards */
.vs { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 20px; align-items: stretch; }
.vs-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; color: var(--muted-dark); }
.vs-card svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; opacity: .7; }
.vs-who { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.vs-what { font-size: 22px; line-height: 1.3; color: var(--pewter); }
.vs-card.on { border-color: rgba(212,175,55,.55); background: rgba(212,175,55,.06); color: var(--gold); }
.vs-card.on svg { opacity: 1; }
.vs-card.on .vs-what { color: var(--ivory); }
.vs-card.on b { color: var(--gold); font-weight: 600; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } .vs-what { font-size: 19px; } }

/* Problem: visual stats */
.pstat { border-top: 2px solid var(--noir); padding-top: 24px; }
.pstat svg { width: 100%; max-width: 240px; height: auto; margin-bottom: 18px; font-family: var(--mono); font-size: 14px; fill: var(--muted-light); }
.pstat svg .big-t { font-family: var(--font); font-size: 26px; font-weight: 700; fill: var(--noir); }
.pstat-n { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--noir) !important; }
.pstat-l { margin-top: 4px; font-size: 15px; color: var(--muted-light); }
/* Problem charts: brand colours only (ink, warm grey, gold) */
.pstat svg { max-width: 220px; }
.pstat svg text { fill: var(--muted-light); }
.pstat svg .axis { stroke: var(--line-light); stroke-width: 1.5; }
.pstat svg .neutral { fill: #DCD8CE; }
.pstat svg .neutral-s { stroke: #DCD8CE; }
.pstat svg .hit { fill: var(--gold-deep); }
.pstat svg .hit-s { stroke: var(--gold-deep); }
.pstat svg .hit-t { fill: var(--gold-ink); font-weight: 600; }
.pstat svg .big-t { fill: var(--noir); }

/* Receipt slip */
.slip { margin: 0 auto; width: 100%; max-width: 400px; background: var(--ivory); color: var(--noir); padding: 28px 28px 34px; border-radius: 14px; position: relative; transform: rotate(-1.5deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.slip-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--muted-light); }
.slip-agent { display: inline-flex; align-items: center; gap: 8px; }
.slip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); display: inline-block; }
.slip-ask { margin-top: 18px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--noir) !important; }
.slip-rows { margin-top: 22px; border-top: 2px dashed #D6D2C7; }
.slip-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #E8E5DD; font-size: 16px; }
.slip-row svg { width: 20px; height: 20px; fill: none; stroke: var(--muted-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slip-row b { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--muted-light); }
.slip-row b.g { color: var(--noir); }
.slip-row.flag { color: var(--gold-ink); font-weight: 600; }
.slip-row.flag svg { stroke: var(--gold-deep); fill: rgba(168,134,28,.2); }
.slip-row.flag b { color: var(--gold-ink); }
.slip-foot { margin-top: 20px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted-light); }
.barcode { width: 120px; height: 28px; background: repeating-linear-gradient(90deg, var(--noir) 0 2px, transparent 2px 4px, var(--noir) 4px 5px, transparent 5px 8px, var(--noir) 8px 11px, transparent 11px 13px); }
#receipts .sub { font-size: 20px; max-width: 26em; }
@media (max-width: 960px) { .slip { transform: none; } }

/* Receipt shown inside a phone */
.rphone { margin: 0 auto; width: 340px; aspect-ratio: 390 / 844; background: #000; border-radius: 52px; padding: 10px; box-shadow: 0 0 0 1px #2E2C28, 0 50px 100px -30px rgba(0,0,0,.8); }
.rphone-screen { height: 100%; border-radius: 42px; background: #F6F4EF; display: flex; flex-direction: column; padding: 0 16px 12px; overflow: hidden; color: var(--noir); }
.rp-status { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 14px; font-size: 14px; font-weight: 600; }
.rp-island { width: 92px; height: 26px; border-radius: 14px; background: #000; }
.rp-bat { width: 24px; height: 11px; border: 1.5px solid var(--noir); border-radius: 3px; box-shadow: inset -6px 0 0 #F6F4EF, inset 0 0 0 1.5px #F6F4EF; background: var(--noir); }
.rp-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 15px; }
.rp-back { color: var(--gold-ink); font-weight: 500; }
.rp-done { font-size: 12px; font-weight: 600; color: #2F6B3A; background: #E3EEDD; padding: 4px 10px; border-radius: 999px; }
.rp-repo { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted-light); }
.rphone .slip { transform: none; max-width: none; margin-top: 10px; padding: 18px 16px 16px; background: #fff; border-radius: 18px; box-shadow: 0 1px 0 #E3E0D8; }
.rphone .slip-ask { margin-top: 0; font-size: 21px; }
.rphone .slip-rows { margin-top: 14px; }
.rphone .slip-row { padding: 11px 0; font-size: 14px; gap: 10px; grid-template-columns: 18px 1fr auto; }
.rphone .slip-row svg { width: 17px; height: 17px; }
.rphone .slip-row b { font-size: 12px; }
.rphone .slip-foot { margin-top: 14px; }
.rphone .barcode { width: 90px; height: 22px; }
.rp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.rp-btn { height: 42px; border-radius: 21px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: #EFEBE3; }
.rp-btn.dark { background: var(--noir); color: #F6F4EF; }
.rp-tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid #E3E0D8; font-size: 11px; color: var(--muted-light); }
.rp-tabs .on { color: var(--gold-ink); font-weight: 600; }
@media (max-width: 520px) { .rphone { width: 300px; } .rphone .slip { padding: 14px 12px; } .rphone .slip-ask { font-size: 17px; } .rphone .slip-row { font-size: 12px; white-space: nowrap; gap: 8px; } .rphone .slip-row b { font-size: 11px; } }
.rp-h { margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--muted-light); }
.rp-steps { list-style: none; margin: 8px 0 0; padding: 0 0 0 4px; font-size: 13px; color: var(--muted-light); }
.rp-steps li { position: relative; padding: 5px 0 5px 18px; }
.rp-steps li::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; border-left: 1.5px solid #DCD8CE; }
.rp-steps li:first-child::before { top: 50%; } .rp-steps li:last-child::before { bottom: 50%; }
.rp-steps i { position: absolute; left: 0; top: 50%; margin-top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #C9C5BA; }
.rp-steps em { font-style: normal; font-family: var(--mono); font-size: 11px; margin-left: 4px; }
.rp-steps .ok { color: var(--noir); } .rp-steps .ok i { background: #2F6B3A; }
.rp-steps .fl { color: var(--gold-ink); font-weight: 600; } .rp-steps .fl i { background: var(--gold-deep); }
@media (max-width: 520px) { .rp-steps li:nth-child(1) { display: none; } .rp-steps { font-size: 12px; } }

/* Drift: live phone + three kinds */
#drift .sub { font-size: 20px; }
.dkinds { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.dkind { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.dkind svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line-light); fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dkind b { display: block; font-size: 19px; color: var(--noir); }
.dkind span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted-light); }
#drift .rphone { box-shadow: 0 50px 100px -40px rgba(0,0,0,.45); }
.rp-live { font-size: 12px; font-weight: 600; color: var(--gold-ink); background: #F1EAD3; padding: 4px 10px; border-radius: 999px; }
.rp-ask { margin-top: 10px; font-size: 15px; font-weight: 600; }
#drift .rp-steps { margin-top: 12px; }
.dalert { margin-top: 12px; background: #fff; border: 1.5px solid var(--gold-deep); border-radius: 18px; padding: 14px; box-shadow: 0 12px 30px -16px rgba(122,100,19,.5); animation: dpop .5s ease-out 1s both; }
.dalert-k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .06em; }
.dalert-k svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.dalert-t { margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--noir) !important; }
.dalert-why { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--muted-light); }
.dalert-b { margin-top: 12px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.dalert-b .rp-btn { height: 36px; font-size: 13px; }
.dnote { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-light); background: #EFEBE3; border-radius: 12px; padding: 10px 12px; }
.dnote span { font-weight: 700; color: var(--noir); } .dnote em { font-style: normal; margin-left: auto; font-size: 11px; }
@keyframes dpop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dalert { animation: none; } }
.soon-line { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 17px; color: var(--muted-light); }
.soon { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); border: 1px solid var(--gold-deep); border-radius: 999px; padding: 4px 10px; }
.dmeter { margin-top: 14px; background: #fff; border-radius: 16px; padding: 12px 14px; }
.dm-h { font-size: 12px; font-weight: 600; color: var(--muted-light); }
.dm-bar { display: flex; gap: 3px; height: 8px; margin-top: 10px; }
.dm-bar i { flex: 5; border-radius: 4px; background: #CFCABE; } .dm-bar i.off { flex: 1; background: var(--gold-deep); }
.dm-leg { display: flex; gap: 14px; margin-top: 8px; font-size: 11.5px; color: var(--muted-light); }
.dm-leg span { display: inline-flex; align-items: center; gap: 5px; }
.dm-leg i { width: 8px; height: 8px; border-radius: 2px; background: #CFCABE; } .dm-leg i.off { background: var(--gold-deep); }
.dm-row { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #EFEBE3; font-size: 12.5px; }
.dm-row b { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--gold-ink); }
@media (max-width: 520px) { .dnote em { display: none; } .dalert-why { font-size: 11.5px; } }

/* Direction: weekly phone */
.split.flip > figure { order: 0; }
#direction .sub { font-size: 20px; }
#direction .rphone { box-shadow: 0 50px 100px -40px rgba(0,0,0,.45); }
.tw-k { margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--muted-light); }
.tw-h { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--noir) !important; }
.trows { margin-top: 14px; background: #fff; border-radius: 18px; padding: 4px 14px; }
.trow { display: grid; grid-template-columns: 1fr 80px 30px; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #EFEBE3; }
.trow:first-child { border-top: 0; }
.tname { font-family: var(--mono); font-size: 14px; color: var(--noir); }
.spark { width: 80px; height: 24px; }
.spark polyline { fill: none; stroke: #CFCABE; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trow.down .spark polyline { stroke: var(--gold-deep); }
.trow.down .tname { font-weight: 700; }
.trows .arrow { width: 26px; height: 26px; font-size: 14px; }
/* recolour arrows on light to brand palette */
#direction .arrow.down { background: #F1EAD3; color: var(--gold-ink); }
#direction .arrow.steady { background: #EFEBE3; color: var(--muted-light); }
#direction .arrow.up { background: #E3EEDD; color: #2F6B3A; }
.tcause { background: #FBF8EF; border-radius: 12px; padding: 10px 12px; margin: 0 -4px 10px; }
.tcause p { font-size: 12.5px; color: var(--muted-light); margin-bottom: 8px; }
.tcause b { color: var(--gold-ink); }
.tchip { display: inline-block; font-size: 11px; background: #fff; border: 1px solid var(--line-light); border-radius: 999px; padding: 3px 8px; margin: 0 4px 4px 0; color: var(--noir); }
.tlegend { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 16px; color: var(--muted-light); }
.tlegend span { display: inline-flex; align-items: center; gap: 10px; }
.tlegend .arrow { width: 30px; height: 30px; }
@media (max-width: 960px) { .split.flip > figure { order: 2; } }
.tagents { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tagents div { background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; row-gap: 2px; }
.tagents b { font-size: 14px; color: var(--noir); }
.tagents span { grid-column: 1; font-size: 11.5px; color: var(--muted-light); }
.tagents .arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 26px; height: 26px; font-size: 14px; font-style: normal; }

/* ===== Sections 4–9 (visual) ===== */
.center-head { text-align: center; max-width: 760px; margin: 0 auto; }
.center-head .sub { margin-left: auto; margin-right: auto; font-size: 20px; }
#accountability .sub, #teams .sub { font-size: 20px; }

/* Risk ladder */
.risk { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.risk-row { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 14px; background: var(--noir-2); }
.risk-lv { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.lv1 { color: var(--muted-dark); } .lv2 { color: var(--ivory); } .lv3 { color: var(--gold); }
.risk-eg { color: var(--muted-dark); font-size: 16px; }
.risk-row b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ivory); }
.risk-row:last-child { border-color: rgba(212,175,55,.5); }
.risk-row:last-child b { color: var(--gold); }
.risk-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.trail-chain { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ivory); }
.trail-chain span { padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; }
.trail-chain span.g { color: var(--gold); border-color: rgba(212,175,55,.5); }
.trail-chain i { width: 14px; height: 1px; background: var(--pewter); }
.note-dark { margin-top: 14px; font-size: 14px; color: var(--muted-dark); }
.soon-dark { color: var(--gold); border-color: rgba(212,175,55,.5); margin: 0 4px; }
.eyebrow .soon { margin-left: 10px; font-size: 11px; vertical-align: 2px; }

/* Approval phone */
.rp-hi { font-size: 12px; font-weight: 700; color: #8A2B1E; background: #F6E1DC; padding: 4px 10px; border-radius: 999px; }
.appr { margin-top: 16px; background: #fff; border-radius: 18px; padding: 16px; }
.appr-who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-light); }
.appr .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); display: inline-block; }
.appr-t { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--noir) !important; }
.appr-d { margin-top: 4px; font-size: 14px; color: var(--noir) !important; }
.appr-why { margin-top: 10px; font-size: 13px; font-style: italic; color: var(--muted-light); background: #F6F4EF; border-radius: 10px; padding: 8px 10px; }
.appr-facts { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.appr-facts span { font-size: 11px; font-family: var(--mono); background: #EFEBE3; border-radius: 999px; padding: 3px 8px; color: var(--noir); }
.faceid { margin: 22px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.faceid svg { width: 64px; height: 64px; fill: none; stroke: var(--gold-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: fid 2.4s ease-in-out infinite; }
.faceid p { font-size: 13px; font-weight: 600; color: var(--gold-ink); }
@keyframes fid { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .faceid svg { animation: none; } }
#accountability .rp-actions { margin-top: auto; }
.appr-foot { margin-top: 10px; text-align: center; font-size: 11.5px; color: var(--muted-light); }

/* Harbour */
.harbour { margin: 48px 0 0; }
.harbour svg { width: 100%; height: auto; }
.hlabels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.hl { display: grid; grid-template-columns: 14px 1fr; column-gap: 10px; }
.hl b { font-size: 18px; color: var(--noir); }
.hl span:not(.hl-dot) { grid-column: 2; font-size: 15px; color: var(--muted-light); }
.hl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.hl-dot.gold { background: var(--gold-deep); } .hl-dot.ink { background: var(--noir); } .hl-dot.grey { background: #B9B4A8; }
.where { margin-top: 80px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.mini2 { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone2 { width: 220px; aspect-ratio: 390/844; background: #0B0B0A; border-radius: 36px; padding: 7px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.phone2 img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.mini2 figcaption { margin-top: 16px; font-weight: 600; font-size: 16px; color: var(--noir); }

/* Principles icons */
.icons6 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px 32px; }
.ic { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ic svg { width: 48px; height: 48px; padding: 12px; margin-bottom: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line-light); fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic b { font-size: 18px; color: var(--noir); }
.ic span { font-size: 15px; color: var(--muted-light); }
.isnt2 { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.isnt-k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); }
.isnt2 s { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); color: var(--muted-light); text-decoration-color: var(--gold-deep); text-decoration-thickness: 2px; }

/* Team PR card */
.pr { margin: 0; background: var(--noir-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 22px; color: var(--ivory); }
.pr-head { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.pr-head .mono { color: var(--muted-dark); font-size: 14px; }
.pr-open { font-size: 12px; font-weight: 600; background: #2F6B3A; color: #fff; padding: 4px 10px; border-radius: 999px; }
.pr-check { margin-top: 18px; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line-dark); border-radius: 14px; }
.pr-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--noir-3, #1E1D1A); display: flex; align-items: center; justify-content: center; color: var(--ivory); }
.pr-ico svg { width: 22px; height: 18px; }
.pr-t { font-weight: 600; }
.pr-grid { margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.pr-grid span { color: var(--muted-dark); } .pr-grid b { font-weight: 500; } .pr-grid b.g { color: var(--gold); }
.pr-warn { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.4); font-size: 14px; }
.pr-warn b { color: var(--gold); }
.pr-av { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #3A3833; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.pr-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-tags span { font-size: 12px; color: var(--muted-dark); border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 10px; }

/* Pricing */
.tiers2 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.t2 { position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: 20px; padding: 28px 24px; }
.t2.pro { border: 2px solid var(--gold-deep); }
.t2-badge { position: absolute; top: -12px; left: 24px; font-size: 11px; font-weight: 700; background: var(--gold); color: var(--noir); padding: 3px 10px; border-radius: 999px; }
.t2 h3 { font-size: 17px; color: var(--muted-light); }
.t2-p { margin-top: 4px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--noir) !important; }
.t2 ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--noir); }
.t2 li { padding-left: 24px; position: relative; }
.t2 li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }

@media (max-width: 960px) {
  .tiers2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .icons6 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .hlabels { grid-template-columns: 1fr; gap: 14px; }
  .where { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 56px; }
  .phone2 { width: 100%; border-radius: 20px; padding: 4px; } .phone2 img { border-radius: 16px; }
  .mini2 figcaption { font-size: 12px; text-align: center; }
  .tiers2, .icons6 { grid-template-columns: 1fr; }
  .risk-row { grid-template-columns: 70px 1fr; } .risk-row b { grid-column: 2; }
}
.commits { list-style: none; margin: 6px 0 0; padding: 0; background: #fff; border-radius: 14px; font-size: 12.5px; }
.commits li { display: flex; gap: 10px; padding: 9px 12px; border-top: 1px solid #EFEBE3; color: var(--noir); }
.commits li:first-child { border-top: 0; }
.commits .mono { font-size: 11px; color: var(--muted-light); }
.commits .fl { color: var(--gold-ink); font-weight: 600; }
.faceid { margin-top: 18px; }
@media (max-width: 620px) {
  #accountability .rp-h, .commits { display: none; }
  .appr-why { display: none; }
  .icons6 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 16px; }
  .ic b { font-size: 16px; } .ic span { font-size: 13px; }
}

/* Principles: data-flow diagram */
.flow { margin: 64px 0 0; }
.flow-cloud { display: flex; flex-direction: column; align-items: flex-start; margin-left: 0; width: 200px; }
.fc-box { font-size: 14px; font-weight: 600; color: var(--muted-light); border: 1.5px dashed #C9C5BA; border-radius: 999px; padding: 8px 16px; }
.fc-line { position: relative; margin: 0 0 0 40px; padding: 10px 0 10px 18px; font-size: 13px; color: var(--muted-light); border-left: 2px solid #C9C5BA; }
.flow-row { display: grid; grid-template-columns: 200px 1fr 260px 1fr 180px 0.6fr 180px; align-items: center; }
.fnode { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fnode b { font-size: 18px; color: var(--noir); }
.fn-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted-light); }
.fn-sub svg, .fn-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn-sub svg { width: 15px; height: 15px; flex: none; }
.fn-ico { width: 28px; height: 28px; color: var(--noir); margin-bottom: 4px; }
.agents { padding: 0; gap: 10px; }
.chip-a { background: #fff; border: 1px solid var(--line-light); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 16px; color: var(--noir); }
.mac { background: #fff; border: 2px solid var(--noir); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.mac .fn-sub { color: var(--gold-ink); font-weight: 600; }
.relay { border: 1.5px dashed #C9C5BA; text-align: left; }
.relay b { color: var(--muted-light); }
.phone { background: var(--noir); }
.phone b, .phone .fn-ico { color: var(--ivory); }
.phone .fn-sub { color: var(--gold); }
.fjoin { position: relative; height: 2px; background: var(--noir); margin: 0 8px; }
.fjoin::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--noir); border-right: 0; }
.fjoin span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: var(--muted-light); white-space: nowrap; }
.fjoin.enc { background: repeating-linear-gradient(90deg, var(--gold-deep) 0 8px, transparent 8px 13px); }
.fjoin.enc::after { border-left-color: var(--gold-deep); }
.fjoin.enc span { color: var(--gold-ink); }
.promises { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.promises span { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-light); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--noir); }
.promises svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .flow-cloud { width: auto; align-items: center; }
  .fc-line { margin: 0; }
  .flow-row { grid-template-columns: 1fr; justify-items: center; }
  .fnode { width: 100%; max-width: 320px; align-items: center; text-align: center; }
  .agents { flex-direction: row; justify-content: center; }
  .fjoin { width: 2px; height: 44px; margin: 4px 0; }
  .fjoin.enc { background: repeating-linear-gradient(180deg, var(--gold-deep) 0 8px, transparent 8px 13px); }
  .fjoin::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--noir); border-bottom: 0; }
  .fjoin.enc::after { border-top-color: var(--gold-deep); border-left-color: transparent; }
  .fjoin span { left: 14px; bottom: 50%; transform: translateY(50%); }
}
.fc-line { white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
