/* Content-led visual system. All diagrams are local and responsive. */
.beta-invite,.beta-section { background: #e7edf7; }
.beta-invite-grid,.beta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.beta-invite h2,.beta-layout h2 { margin: 16px 0; font-size: clamp(32px,3.5vw,48px); }
.beta-invite .btn { margin-top: 24px; }
.beta-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.beta-benefits > div { padding: 24px; background: #f8faff; border: 1px solid #becce6; border-radius: 14px; }
.beta-benefits b { display: block; color: #3c5088; font: 36px/1.1 var(--fd); margin-bottom: 12px; }
.beta-benefits span { font-size: 15px; display: block; }
.beta-form { padding: 32px; border: 1px solid #bfcce3; border-radius: 18px; background: #fff; box-shadow: 0 16px 35px #273b6310; }
.beta-form h3 { font: 30px var(--fd); margin-bottom: 12px; }
.form-help { font-size: 13px; color: #4d5365; line-height: 1.6; margin: 8px 0; }
.beta-form label:not(.consent-label) { display: block; font-size: 14px; font-weight: 600; margin-top: 20px; margin-bottom: 8px; }
.beta-form input:not([type="checkbox"]),.beta-form select { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #9eacc6; background: #fcfdff; border-radius: 7px; font: 16px var(--fb); color: #18233c; }
.beta-form input[aria-invalid="true"],.beta-form select[aria-invalid="true"] { border: 2px solid #a12626; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { display: block; font-size: 13px; color: #9c2525; margin-top: 6px; }
.field-error:empty { display: none; }
.consent-label { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 10px; font-size: 13px; }
.consent-label input { margin-top: 3px; flex: 0 0 19px; height: 19px; accent-color: #394d86; }
.consent-label a { text-decoration: underline; }
.beta-form .btn { margin-top: 20px; white-space: normal; }
.beta-form .btn:disabled { opacity: .65; cursor: default; }
#beta-status { font-size: 14px; line-height: 1.6; margin-top: 20px; overflow-wrap: anywhere; }
#beta { scroll-margin-top: 110px; }
.ambition-section { background: #19233b; color: #f4f7ff; }
.ambition-section .kicker { color: #c0d0f5; }
.ambition-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-top: 20px; }
.ambition-heading h2 { font: clamp(42px,5vw,68px)/1.08 var(--fd); }
.ambition-heading p { font-size: 19px; line-height: 1.6; color: #d2daec; }
.ambition-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.ambition-flow article { padding: 28px; border: 1px solid #7d96c280; border-radius: 14px; background: #9bb7eb0c; }
.ambition-flow .concept-icon { color: #b7d0fc; margin-bottom: 24px; }
.ambition-flow span { display: block; font: 10px/1.6 var(--fm); text-transform: uppercase; color: #bbcceb; }
.ambition-flow h3 { font: 30px var(--fd); margin: 14px 0; }
.ambition-flow p,.ambition-note { font-size: 15px; line-height: 1.7; color: #d2daec; }
.ambition-note { margin: 24px 0 14px; max-width: 84ch; }
.ambition-section .cht-src { color: #b9c9e6; }
.ambition-section .cht-src a { text-decoration: underline; }
.ambition-section .row { margin-top: 28px; }
.ambition-section .btn-p { background: #d2dffb; color: #162441; }
.ambition-section .btn-g { color: #edf3ff; border-color: #7184a8; }
.ambition-section .btn-g:hover { background: #314563; }
body .core-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.core-card:nth-child(5) { border-top-color: #467569; }
.core-card:nth-child(6) { border-top-color: #6a5a91; }
.statband .s:last-child b { overflow-wrap: normal; }
@media(max-width:900px) { .beta-invite-grid,.beta-layout,.ambition-heading { grid-template-columns: 1fr; } .ambition-flow { grid-template-columns: 1fr; } body .core-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .beta-form { padding: 22px; } .form-pair,.beta-benefits { grid-template-columns: 1fr; } body .core-grid { grid-template-columns: 1fr; } .ambition-flow article { padding: 22px; } }
.guardian-storage { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 20px; padding: 32px; border: 1px solid #bdcde1; border-radius: 14px; background: linear-gradient(115deg,#e3eaf6,#e2eeea); }
.guardian-storage h3 { font: 34px var(--fd); margin: 12px 0; }
.guardian-storage p { max-width: 40ch; }
.guardian-transfer { display: flex; align-items: center; flex-direction: column; color: #355a63; text-align: center; gap: 8px; }
.guardian-transfer .concept-icon { width: 38px; height: 38px; }
.guardian-arrow { font-size: 26px; line-height: 1; }
.civilisation { border-radius: 22px; overflow: hidden; padding: clamp(24px,3vw,32px); background: radial-gradient(ellipse at 80% 0,#354971,#141c30 60%); color: #f2f5ff; border: 1px solid #4b5a79; }
.civilisation .kicker { color: #bccded; }
.civilisation figcaption h2 { font-size: clamp(36px,4.5vw,60px); margin: 18px 0; max-width: 24ch; }
.civilisation figcaption h2 em { color: #c6ddce; font-weight: 400; }
.civilisation figcaption > p:last-child { color: #c4cee2; max-width: 66ch; font-size: 17px; }
.civil-lanes { display: grid; grid-template-columns: 3fr 2fr; margin-top: 40px; font-size: 13px; gap: 20px; }
.civil-lanes > span { padding: 16px; border-top: 2px solid #8da8e5; background: #a6b9e70b; color: #c6d4f2; }
.civil-lanes > span:last-child { border-color: #c1dbaa; color: #d3e6c5; background: #b3d9950b; }
.civil-lanes b { font-size: 11px; font-weight: 400; }
.civil-eras { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; margin: 26px 0 0; gap: 16px; }
.civil-era { position: relative; min-width: 0; }
.civil-number { color: #9aaecf; font: 11px var(--fm); }
.civil-symbol { display: grid; place-items: center; position: relative; height: 104px; margin: 16px 0 22px; border: 1px solid #7697d877; border-radius: 50% 50% 14px 14px; background: linear-gradient(140deg,#7a9fe12b,#8fb9ea08); color: #c8daff; }
.civil-symbol .concept-icon { width: 54px; height: 54px; }
.civil-era:not(:last-child) .civil-symbol:after { content: '→'; position: absolute; right: -18px; top: 38px; color: #a8bddf; }
.civil-era-4 .civil-symbol,.civil-era-5 .civil-symbol { border-color: #bad39c; border-style: dashed; color: #d3e6be; background: linear-gradient(140deg,#b7d4972b,#c6e19c08); }
.civil-era .civil-tag { font: 10px/1.5 var(--fm); text-transform: uppercase; letter-spacing: .06em; color: #a9bddf; min-height: 3em; }
.civil-era-4 .civil-tag,.civil-era-5 .civil-tag { color: #c9ddae; }
.civil-era h3 { font: 28px/1.08 var(--fd); min-height: 2.3em; margin: 12px 0; }
.civil-era > strong { display: block; font-size: 14px; line-height: 1.45; margin: 14px 0; }
.civil-era > p:last-child { font-size: 14px; line-height: 1.65; color: #c4cee2; }
.civil-accelerators { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; margin-top: 32px; }
.civil-accelerators > div { padding: 22px; border: 1px solid #7189b966; border-radius: 10px; background: #8dabdf0b; }
.civil-accelerators > div:last-child { border-color: #abc58b66; background: #b7d9930b; }
.civil-accelerators .concept-icon { float: left; width: 28px; height: 28px; margin: 0 12px 10px 0; }
.civil-accelerators strong { font-size: 16px; }
.civil-accelerators p { clear: both; font-size: 14px; color: #c4cee2; margin-top: 12px; }
.evolution-shift { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; padding-top: 34px; border-top: 1px solid #8ca4d34d; margin-top: 34px; }
.evolution-shift h3 { font: 28px var(--fd); margin: 12px 0; }
.evolution-shift p:last-child { font-size: 15px; color: #c4cee2; }
.shift-arrow { font-size: 36px; color: #c5dda7; }
.civil-thesis { margin-top: 28px; padding: 24px; border-left: 3px solid #c3dba7; background: #c3dba70c; font: 28px var(--fd); }
.civil-thesis span { display: block; font: 14px/1.7 var(--fb); color: #c4cee2; margin-top: 12px; }
@media(max-width:1199px) {
  .civil-eras { grid-template-columns: 1fr; gap: 0; }
  .civil-era { padding: 24px 0 24px 108px; border-left: 1px solid #8da8e566; margin-left: 8px; }
  .civil-number { position: absolute; top: 30px; left: 20px; }
  .civil-symbol { position: absolute; width: 72px; height: 72px; left: 16px; top: 40px; border-radius: 50%; }
  .civil-symbol .concept-icon { width: 34px; height: 34px; }
  .civil-era:not(:last-child) .civil-symbol:after { display: none; }
  .civil-era h3,.civil-era .civil-tag { min-height: 0; }
  .civil-era-4 { border-top: 1px dashed #b7ce94; margin-top: 12px; padding-top: 30px; }
  .civil-lanes,.civil-accelerators { grid-template-columns: 1fr; }
}
@media(max-width:620px) {
  .guardian-storage { grid-template-columns: 1fr; padding: 24px; }
  .guardian-transfer { padding-top: 20px; border-top: 1px solid #b9cddd; }
  .evolution-shift { grid-template-columns: 1fr; gap: 14px; }
  .shift-arrow { transform: rotate(90deg); width: 35px; }
  .civil-era { padding-left: 90px; }
  .civil-symbol { width: 62px; height: 62px; left: 10px; }
  .civil-number { left: 12px; }
  .civilisation { padding: 24px 20px; }
}
@media(max-width:620px) {
  body .growth-split.align-top .kv > div { grid-template-columns: minmax(0,1fr); gap: 6px; }
  body .growth-split.align-top .kv > div > span { overflow-wrap: anywhere; }
}
.stage-picture .stage-scene { width: 100%; height: 130px; overflow: visible; }
.stage-scene text { fill: currentColor; font: 10px var(--fb); text-anchor: middle; }
.visual-home .statband .s:nth-child(4) b { font-size: clamp(24px,2.8vw,36px); }
.section .two:has(> .idea) { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.idea { padding: 32px; border-radius: 16px; background: #e4e9f7; border: 1px solid #c9d3eb; }
.idea.bci { background: #ede7f3; border-color: #d9cde6; }
.idea h3 { font: 32px var(--fd); margin: 15px 0; }
.idea p { color: var(--ink-2); }
@media(max-width:620px) { .section .two:has(> .idea) { grid-template-columns: 1fr; } }
.roadmap-picture { float: right; margin: 0 0 24px 28px; width: 150px; min-height: 135px; display: grid; place-items: center; gap: 10px; padding: 20px; border-radius: 12px; background: #e4e9f7; color: #4858a8; }
.roadmap-picture span { font: 10px var(--fm); text-align: center; }
.rmstep-direction .roadmap-picture { background: #f0ece5; color: #806939; border: 1px dashed #c6b591; }
.rmstep-building .roadmap-picture { background: #e0ece9; color: #396d60; }
@media(max-width:620px) { .roadmap-picture { float: none; width: 100%; min-height: 105px; margin: 0 0 20px; display: flex; justify-content: space-between; } }
.concept-icon { width: 48px; height: 48px; flex: 0 0 auto; }
.visual-home.hero { padding-top: 64px; }
.visual-home .hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 32px 48px; align-items: center; }
.visual-home .hero-story { min-width: 0; }
.visual-home .t-display { font-size: clamp(44px, 5.1vw, 72px); }
.visual-home .statband { grid-column: 1 / -1; margin-top: 20px; }
.legacy-art { position: relative; padding: 26px; color: #f7f8ff; background: radial-gradient(ellipse at 50% 42%, #46518a 0, #242d50 44%, #151b31 80%); border: 1px solid #505c86; border-radius: 22px; box-shadow: 0 24px 64px #202e5026; overflow: hidden; }
.art-topline { display: flex; justify-content: space-between; gap: 12px; font: 9px var(--fm); letter-spacing: .12em; color: #c6cdeb; }
.art-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.art-sources > div { display: grid; justify-items: center; gap: 10px; background: #ffffff0b; border: 1px solid #a7b6e43b; border-radius: 10px; padding: 16px 5px; text-align: center; font-size: 12px; }
.art-sources .concept-icon { width: 28px; height: 28px; color: #c7d0ff; }
.art-connector { width: 66%; height: 26px; margin: 0 auto; border: 1px solid #aeb9e880; border-top: 0; border-radius: 0 0 16px 16px; position: relative; }
.art-connector:after { content: ''; position: absolute; left: 50%; top: 100%; height: 18px; border-left: 1px solid #aeb9e8; }
.twin-orbit { position: relative; display: grid; place-items: center; height: 210px; }
.orbit-ring { position: absolute; width: 240px; height: 185px; border: 1px solid #b4c2f83b; border-radius: 50%; transform: rotate(-18deg); }
.orbit-ring:after { content: ''; position: absolute; inset: -12px 12px; border: 1px solid #b4c2f829; border-radius: 50%; transform: rotate(40deg); }
.twin-core { position: relative; width: 162px; height: 162px; border: 1px solid #bbc8ff80; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #6676b8, #333f6f 70%); display: flex; align-items: center; justify-content: center; flex-direction: column; box-shadow: 0 0 45px #a3b5ff24; }
.twin-core strong { font: 23px var(--fd); margin-top: 8px; max-width: 140px; text-align: center; }
.twin-core span { font-size: 11px; color: #e0e6ff; margin-top: 5px; max-width: 125px; text-align: center; line-height: 1.4; }
.art-fork { width: 51%; height: 22px; border: 1px solid #aeb9e880; border-bottom: 0; border-radius: 12px 12px 0 0; margin: -1px auto 0; }
.art-destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.art-destinations > div { display: grid; justify-items: center; gap: 6px; padding: 16px 6px; border: 1px solid #b9c8f357; border-radius: 10px; background: #ffffff08; }
.art-destinations > div:last-child { border-color: #e4cea15e; color: #f4dfb7; }
.art-destinations .concept-icon { width: 28px; height: 28px; }
.art-destinations strong { font-size: 15px; }
.art-destinations span { font-size: 12px; text-align: center; }
.legacy-art figcaption { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #e1e6fc; }
.legacy-art figcaption .concept-icon { width: 23px; height: 23px; }
.legacy-art figcaption small { font-size: 11px; color: #bfc8e4; }
.core-card > .concept-icon { color: var(--em); margin-bottom: 22px; width: 38px; height: 38px; }
.stage-picture { height: 130px; margin: -4px -4px 24px; display: flex; align-items: center; justify-content: space-between; padding: 24px; border-radius: 12px; background: linear-gradient(130deg,#dde4fa,#eef0fa); color: #4858a8; }
.stage:nth-child(2) .stage-picture { background: linear-gradient(130deg,#dad7ed,#eeebf6); color: #66538d; }
.stage:nth-child(3) .stage-picture { background: linear-gradient(130deg,#e9ddc4,#f6f0e2); color: #80642b; }
.stage:nth-child(4) .stage-picture { background: linear-gradient(130deg,#d1e1dc,#edf4ef); color: #3e7162; }
.stage-picture .concept-icon { width: 62px; height: 62px; }
.stage-picture span { font: 23px var(--fd); }
.access-section { background: #e9edf6; border-block: 1px solid #d7dfee; }
.access-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.access-layout h2 { margin: 15px 0 22px; font-size: clamp(32px,3.6vw,48px); max-width: 19ch; }
.access-instruction { margin: 24px 0 15px; color: var(--mid); }
.audience-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.audience-controls button { display: flex; gap: 8px; align-items: center; border: 1px solid #b6bfd5; padding: 12px 14px; border-radius: 9px; background: #f8faff; font-size: 13px; }
.audience-controls button .concept-icon { width: 19px; height: 19px; }
.audience-controls button[aria-pressed="true"] { color: white; background: #39497c; border-color: #39497c; box-shadow: 0 4px 12px #29385a20; }
.audience-controls button:hover { border-color: #39497c; }
.visual-note { margin-top: 18px; font-size: 12px; color: var(--mid); }
.access-demo { padding: 26px; border-radius: 18px; background: #f8faff; box-shadow: 0 15px 40px #30416813; border: 1px solid #d1d9eb; }
.memory-example { position: relative; padding: 28px; background: #f3ecd9; border: 1px solid #e1d6b5; border-radius: 10px; transform: rotate(-2deg); }
.memory-example .concept-icon { color: #80642b; margin: 20px 0 12px; }
.memory-example h3 { font: 30px/1.15 var(--fd); }
.memory-example p { margin-top: 12px; font-size: 13px; }
.access-route { height: 40px; border-left: 2px dashed #7b8dbd; margin-left: 50%; }
.access-result { padding: 22px; border: 1px solid #c2cdea; border-radius: 10px; background: #e7edfb; min-height: 170px; }
.access-result strong { font-size: 18px; }
.access-result p { font-size: 14px; margin-top: 8px; }
[data-access-demo][data-audience="private"] .access-result { background: #eeeaf5; border-color: #d3c5e8; }
[data-access-demo][data-audience="public"] .access-result { background: #e2eee7; border-color: #bbd7c7; }
.access-demo figcaption { font-size: 12px; color: var(--mid); text-align: center; margin-top: 20px; }
.visual-overview { padding: 0 0 40px; }
.visual-journey { padding: clamp(24px,4vw,48px); border: 1px solid #d5dcec; border-radius: 20px; background: #edf0f9; }
.visual-journey figcaption > h2 { margin: 12px 0; }
.visual-journey figcaption > p { color: var(--mid); max-width: 64ch; }
.visual-journey ol { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 38px; }
.visual-journey li { min-width: 0; position: relative; border-top: 1px solid #b2bedb; padding-top: 24px; }
.visual-journey li:not(:last-child):after { content: '→'; position: absolute; right: -21px; top: -16px; color: #7183b0; font-size: 21px; }
.visual-step-number { float: right; font: 11px var(--fm); color: #63759f; }
.visual-journey li .concept-icon { margin-bottom: 22px; color: #4858a8; }
.visual-journey h3 { font-size: 18px; line-height: 1.3; }
.visual-journey li p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--mid); }
.visual-dark { background: radial-gradient(ellipse at top right,#34436c,#171f35 70%); color: #f4f6ff; border-color: #435477; }
.visual-dark .kicker,.visual-dark .visual-step-number { color: #b8c7f1; }
.visual-dark figcaption > p,.visual-dark li p { color: #c8d1e6; }
.visual-dark li { border-color: #697ca6; }
.visual-dark li .concept-icon { color: #b4c6ff; }
@media(max-width:1000px) {
  .visual-home .hero-inner { gap: 30px; }
  .legacy-art { padding: 20px; }
  .access-layout { gap: 30px; }
}
@media(max-width:760px) {
  .visual-home .hero-inner,.access-layout { grid-template-columns: 1fr; }
  .visual-home.hero { padding-top: 44px; }
  .visual-home .t-display { font-size: clamp(42px,8vw,60px); }
  .legacy-art { width: 100%; max-width: 510px; margin-inline: auto; }
  .visual-home .statband { margin-top: 10px; }
  .visual-journey ol { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .visual-journey li:nth-child(2):after { display: none; }
}
@media(max-width:420px) {
  .art-destinations span { font-size: 12px; }
  .art-topline { font-size: 8px; }
  .access-demo { padding: 18px; }
  .memory-example { padding: 20px; }
  .visual-journey ol { grid-template-columns: 1fr; }
  .visual-journey li:not(:last-child):after { display: none; }
  .visual-journey li .concept-icon { width: 38px; height: 38px; }
}

/* ============================================================
   Genacy Labs · Field Notes v2 — production stylesheet
   ------------------------------------------------------------
   Cool slate-white palette (genacy.com match) + long-form
   rhythm. Single stylesheet for the home page + three act
   pages. Tokens lifted directly from genacy.com so the
   surface reads as the same product family.
============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Fonts — genacy.com family */
  --fd: 'Instrument Serif', 'Source Serif 4', Georgia, serif;
  --fb: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, monospace;

  /* Palette — genacy.com cool-white (locked) */
  --paper:   #F6F7FB;
  --paper-2: #EEF0F7;
  --paper-3: #FBFCFE;
  --ink:     #0A0D18;
  --ink-2:   #2A2F3D;
  --mid:     #4D5365;
  --dim:     #6E7488;
  --rule:    #E4E7F0;
  --rule-2:  #DCE0EC;
  --rule-3:  #C8CDDC;

  /* Accents — genacy.com exact */
  --em:      #4858A8;
  --em-d:    #3A4890;
  --em-l:    #E4E8F8;
  --em-b:    #C8D0F0;
  --gold:    #8A6818;
  --gold-l:  #F4ECD4;
  --gold-b:  #E0D0A0;
  --rose:    #B43838;
  --rose-l:  #F4DCDC;
  --moss:    #4A6B3D;
  --moss-l:  #E2EBD8;

  /* Shadows — genacy.com cool-purple family */
  --sh-1: 0 1px 2px rgba(80, 90, 160, .06);
  --sh-2: 0 6px 18px rgba(80, 90, 160, .10);
  --sh-3: 0 16px 40px rgba(80, 90, 160, .14);

  /* Layout */
  --col:        1200px;
  --col-narrow: 720px;
  --col-mid:    920px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--fb); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ─── TYPOGRAPHY ────────────────────────────────────────── */
.serif { font-family: var(--fd); }
.mono  { font-family: var(--fm); }
.italic { font-style: italic; }
.t-display {
  font-family: var(--fd); font-weight: 400;
  font-size: clamp(46px, 7vw, 92px); line-height: 1.02; letter-spacing: -.012em;
}
.t-h1 { font-family: var(--fd); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.005em; }
.t-h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.t-h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.t-lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.t-body { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.t-meta { font-size: 13.5px; line-height: 1.5; color: var(--mid); }
.kicker { font-family: var(--fm); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--em); font-weight: 600; }
.eyebrow { font-family: var(--fm); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); font-weight: 500; }
em.gold {
  font-style: italic; font-weight: 400;
  background: linear-gradient(95deg, var(--gold) 0%, var(--em) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.italic-em { font-style: italic; color: var(--em); font-weight: 400; }
mark { background: var(--gold-l); padding: 0 4px; border-radius: 3px; color: var(--ink); }

/* ─── LAYOUT ────────────────────────────────────────────── */
.wrap        { max-width: var(--col);        margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px); }
.wrap-narrow { max-width: var(--col-narrow); margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px); }
.wrap-mid    { max-width: var(--col-mid);    margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px); }
.section     { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.center { text-align: center; }
.hr { height: 1px; background: var(--rule); border: 0; }

:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 4px; }

/* ─── SKIP LINK ─────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--gold); outline-offset: 2px; }

/* ─── TOP CONTEXT BAR ───────────────────────────────────── */
.labs-context-bar {
  background: #1B1B25; color: rgba(255, 255, 255, .92);
  padding: 8px 0; position: relative; z-index: 51;
}
.labs-context-bar .inner {
  max-width: var(--col); margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 28px;
}
.labs-context-bar .name {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.labs-context-bar .name::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.labs-context-bar .links {
  display: inline-flex; gap: 18px;
  font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.labs-context-bar .links a { color: rgba(255, 255, 255, .62); transition: color .15s ease; }
.labs-context-bar .links a:hover { color: var(--gold); }
@media (max-width: 540px) { .labs-context-bar .links { display: none; } }

/* ─── NAV (sticky) ──────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(246, 247, 251, .82);
  border-bottom: 1px solid var(--rule);
}
.site-nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 3vw, 32px);
  max-width: var(--col); margin: 0 auto; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fd); line-height: 1;
}
.brand .brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand .brand-word {
  font-family: var(--fb); font-weight: 600; font-size: 18px; letter-spacing: -.01em;
  color: var(--ink); line-height: 1;
}
.brand .brand-word em {
  font-family: var(--fd); font-style: italic; font-weight: 400;
  background: linear-gradient(95deg, var(--gold) 0%, var(--em) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand .brand-tag {
  font-family: var(--fm); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mid); font-weight: 500;
  padding: 4px 8px; border: 1px solid var(--rule-2); border-radius: 4px; line-height: 1;
  margin-left: 4px;
}
.nav-links { display: none; }
@media (min-width: 880px) {
  .nav-links { display: flex; gap: clamp(16px, 2.5vw, 26px); align-items: center; }
}
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--em); }
.nav-links a[aria-current="page"] { color: var(--em); font-weight: 500; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--rule-2);
  cursor: pointer; transition: background .15s ease;
}
.nav-burger:hover { background: var(--paper-2); }
.nav-burger svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.75; fill: none; }
@media (min-width: 880px) { .nav-burger { display: none; } }

/* ─── NAV OVERLAY (mobile) ──────────────────────────────── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 13, 24, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.nav-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .35s ease, visibility 0s linear 0s;
}
.nav-overlay-panel {
  position: relative; display: flex; flex-direction: column;
  height: 100dvh; padding: clamp(20px, 5vw, 32px);
  padding-top: max(env(safe-area-inset-top), clamp(20px, 5vw, 32px));
  color: #fff;
}
.nav-overlay-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 32px; }
.nav-overlay-head .brand .brand-word, .nav-overlay-head .brand .brand-tag { color: #fff; border-color: rgba(255, 255, 255, .18); }
.nav-close {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.nav-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; }
.nav-overlay-links {
  list-style: none; display: flex; flex-direction: column;
  gap: 8px; margin-top: 24px; flex: 1;
}
.nav-overlay-links a {
  display: block;
  font-family: var(--fd); font-size: clamp(28px, 7vw, 44px);
  line-height: 1.1; letter-spacing: -.01em;
  padding: 10px 0; color: #fff;
  transition: color .2s ease;
}
.nav-overlay-links a:hover { color: var(--gold); }
.nav-overlay-foot {
  margin-top: 18px; text-align: center;
  font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--fb); font-weight: 500; font-size: 14.5px;
  letter-spacing: .005em; transition: all .18s ease;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-p { background: var(--ink); color: #fff; }
.btn-p:hover { background: var(--em); transform: translateY(-1px); }
.btn-g { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-g:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #6E5210; transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn-lg { padding: 18px 28px; font-size: 15.5px; }
.btn-arrow::after { content: "→"; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ─── BREADCRUMBS ───────────────────────────────────────── */
.breadcrumbs {
  background: var(--paper-2); border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--fm); font-size: 12px; letter-spacing: .04em;
}
.breadcrumbs ol {
  list-style: none; margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px);
  display: flex; flex-wrap: wrap; align-items: center;
  max-width: var(--col);
}
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--mid); }
.breadcrumbs li + li::before {
  content: "›"; margin: 0 10px; color: var(--rule-3); font-size: 14px;
}
.breadcrumbs a { color: var(--mid); transition: color .15s ease; padding: 4px 0; }
.breadcrumbs a:hover { color: var(--em); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative; padding: clamp(80px, 11vw, 140px) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
}
.hero .mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 20%, rgba(220, 228, 245, .85), transparent 70%),
    radial-gradient(50% 45% at 88% 30%, rgba(232, 220, 240, .7), transparent 70%),
    radial-gradient(70% 60% at 50% 95%, rgba(240, 224, 216, .55), transparent 70%);
}
.hero .stamp {
  position: absolute; top: clamp(60px, 8vw, 100px); right: clamp(20px, 5vw, 64px);
  width: clamp(120px, 14vw, 170px); height: clamp(120px, 14vw, 170px);
  border: 2px solid var(--rose); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--fm); color: var(--rose);
  font-size: clamp(10px, 1.1vw, 12px); letter-spacing: .14em; text-transform: uppercase;
  text-align: center; line-height: 1.3;
  transform: rotate(-8deg); opacity: .65;
  padding: 18px; pointer-events: none; z-index: 2;
}
@media (max-width: 720px) { .hero .stamp { display: none; } }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin-top: 22px; max-width: 18ch; }
.hero p.lede {
  max-width: 62ch; margin-top: 28px;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; color: var(--ink-2);
}
.hero p.lede a { color: var(--em); border-bottom: 1px solid var(--em); }
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
  margin-top: 36px;
  font-family: var(--fm); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mid);
}
.hero-meta strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.hero-stats {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: clamp(20px, 3vw, 28px) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.hero-stats .n .v { font-family: var(--fd); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1; color: var(--ink); }
.hero-stats .n .l { font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin-top: 8px; line-height: 1.45; }

/* ─── SECTION HEAD ─────────────────────────────────────── */
.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap;
}
.sec-head .num { font-family: var(--fm); font-size: 11px; letter-spacing: .18em; color: var(--em); text-transform: uppercase; }
.sec-head .label { font-family: var(--fm); font-size: 11px; letter-spacing: .18em; color: var(--mid); text-transform: uppercase; }
.sec-head .grow { flex: 1; height: 1px; background: var(--rule); min-width: 40px; }

/* ─── PROSE (long-form body for act pages) ─────────────── */
.prose { max-width: 65ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose p em { font-style: italic; }
.prose h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.12; color: var(--ink); margin-top: 2.4em; }
.prose h2 + p { margin-top: 0.8em; }
.prose h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; color: var(--ink); margin-top: 1.8em; margin-bottom: .4em; }
.prose ul, .prose ol { padding-left: 22px; margin-top: 0.8em; }
.prose ul li, .prose ol li { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-top: .4em; }
.prose code {
  font-family: var(--fm); font-size: 13.5px;
  background: var(--paper-2); padding: 2px 7px;
  border-radius: 4px; color: var(--em);
  border: 1px solid var(--rule);
}
.prose blockquote {
  border-left: 3px solid var(--em);
  padding: 6px 0 6px 22px;
  margin: 1.6em 0;
  font-family: var(--fd); font-style: italic;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.4; color: var(--ink);
}
.prose a:not(.btn) {
  color: var(--em); border-bottom: 1px solid var(--em-b);
  transition: border-color .15s ease;
}
.prose a:not(.btn):hover { border-color: var(--em); }

/* ─── ACT CARDS (home) ─────────────────────────────────── */
.acts-grid {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2vw, 24px);
}
.act-card {
  padding: clamp(28px, 3vw, 36px) clamp(26px, 3vw, 32px);
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  display: flex; flex-direction: column;
  position: relative; transition: all .25s ease;
  min-height: 320px;
}
.act-card:hover {
  transform: translateY(-3px);
  border-color: var(--em);
  box-shadow: var(--sh-2);
}
.act-card.act-2 { background: linear-gradient(180deg, var(--paper-3) 0%, var(--paper-2) 100%); }
.act-card.act-2:hover { border-color: var(--rose); }
.act-card .act-num {
  font-family: var(--fm); font-size: 10.5px; letter-spacing: .16em;
  color: var(--gold); text-transform: uppercase; font-weight: 600;
}
.act-card.act-2 .act-num { color: var(--rose); }
.act-card .act-name {
  font-family: var(--fd); font-size: clamp(28px, 3vw, 34px);
  line-height: 1.12; margin: 14px 0 8px;
  color: var(--ink); font-weight: 400;
}
.act-card .act-dates {
  font-family: var(--fm); font-size: 11px; letter-spacing: .12em;
  color: var(--mid); text-transform: uppercase; margin-bottom: 18px;
}
.act-card .act-teaser {
  font-family: var(--fd); font-style: italic; font-size: 17px;
  line-height: 1.5; color: var(--ink-2); margin-bottom: 22px;
}
.act-card .act-bullets {
  list-style: none; padding: 0; margin: 0; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.act-card .act-bullets li {
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
  padding-left: 18px; position: relative;
}
.act-card .act-bullets li::before {
  content: "›"; position: absolute; left: 0; color: var(--em); font-weight: 600;
}
.act-card.act-2 .act-bullets li::before { color: var(--rose); }
.act-card .act-more {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-family: var(--fm); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--em);
  display: inline-flex; gap: 6px; align-items: center;
}
.act-card.act-2 .act-more { color: var(--rose); }
.act-card .act-more::after { content: "→"; transition: transform .15s ease; }
.act-card:hover .act-more::after { transform: translateX(4px); }

/* ─── DARK FEATURE BAND ────────────────────────────────── */
.feature-band {
  background: linear-gradient(135deg, #0A0D18 0%, #1A2040 60%, #0A0D18 100%);
  color: #fff;
  position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 120px) 0;
}
.feature-band::before {
  content: ""; position: absolute; right: -120px; top: -100px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 180, 90, .18), transparent 70%);
}
.feature-band::after {
  content: ""; position: absolute; left: -160px; bottom: -120px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 56, 56, .12), transparent 70%);
}
.feature-band .inner { position: relative; z-index: 1; }
.feature-band .num {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.feature-band h2 {
  font-family: var(--fd); font-weight: 400; font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; max-width: 24ch; color: #fff;
  letter-spacing: -.005em;
}
.feature-band p.lede {
  margin-top: 24px; max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55;
  color: rgba(255, 255, 255, .85);
}
.feature-band p.lede code {
  font-family: var(--fm); font-size: .85em;
  background: rgba(255, 255, 255, .08); padding: 2px 8px;
  border-radius: 4px; color: #fff;
}
.feature-band em { color: var(--gold); font-style: italic; }

.byte-counter {
  margin-top: 48px; padding: 32px; max-width: 800px;
  background: rgba(0, 0, 0, .25); border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.byte-counter .lbl {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase; font-weight: 600; margin-bottom: 16px;
}
.byte-counter .lbl code {
  background: rgba(255, 255, 255, .08); padding: 2px 8px; border-radius: 4px;
  color: #fff; font-family: var(--fm); text-transform: none; letter-spacing: 0;
}
.byte-counter .seq {
  display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap;
  font-family: var(--fm); font-size: clamp(20px, 3vw, 36px);
  color: #fff; font-weight: 500;
}
.byte-counter .seq span:nth-child(n+2)::before {
  content: "·"; margin-right: 24px; color: rgba(255, 255, 255, .35);
}
.byte-counter .caption {
  margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .65);
  font-style: italic;
}
.feature-band .cta {
  margin-top: 40px; display: inline-flex; gap: 14px; flex-wrap: wrap;
}
.feature-band .btn-g { border-color: rgba(255, 255, 255, .3); color: #fff; }
.feature-band .btn-g:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .55); }

/* Stack-trace block — used inside the dark band for the TDZ moment */
.stack-trace {
  margin-top: 36px; padding: 26px 28px; max-width: 720px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  font-family: var(--fm); font-size: 13px; line-height: 1.65;
  color: rgba(255, 255, 255, .85);
}
.stack-trace .err { color: var(--rose); font-weight: 600; }
.stack-trace .loc { color: rgba(220, 180, 90, .9); }

/* ─── PULL QUOTE CENTRE ───────────────────────────────── */
.pull-quote-section {
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(220, 228, 245, .35), transparent 70%),
    var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pull-quote-section p {
  font-family: var(--fd); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.2; color: var(--ink);
  max-width: 24ch; margin: 0 auto;
  letter-spacing: -.005em;
}
.pull-quote-section .attrib {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em;
  color: var(--mid); text-transform: uppercase; margin-top: 28px;
}

/* ─── GROWTH ARC SPLIT ────────────────────────────────── */
.growth-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.growth-split > div {
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.growth-split .before { background: var(--paper); border-right: 1px solid var(--rule); }
.growth-split .after { background: linear-gradient(135deg, var(--paper-2) 0%, #E0E6F2 100%); }
.growth-split .chip {
  display: inline-flex; align-self: flex-start;
  font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper-2); color: var(--mid); border: 1px solid var(--rule-2);
}
.growth-split .after .chip { background: var(--gold-l); color: var(--gold); border-color: var(--gold-b); }
.growth-split h3 {
  font-family: var(--fd); font-size: clamp(32px, 4vw, 48px); line-height: 1.05;
  margin-top: 16px; margin-bottom: 8px; color: var(--ink);
  letter-spacing: -.005em;
}
.growth-split .date {
  font-family: var(--fm); font-size: 12px; letter-spacing: .14em;
  color: var(--mid); text-transform: uppercase; margin-bottom: 28px;
}
.growth-split ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.growth-split ul li {
  font-size: 16px; line-height: 1.55; color: var(--ink-2);
  padding-left: 22px; position: relative;
}
.growth-split .before ul li::before { content: "—"; position: absolute; left: 0; color: var(--mid); }
.growth-split .after ul li::before { content: "✓"; position: absolute; left: 0; color: var(--em); font-weight: 600; }
.growth-split ul li code {
  font-family: var(--fm); font-size: .85em; background: var(--paper-2);
  padding: 2px 6px; border-radius: 4px; color: var(--em);
}
@media (max-width: 880px) {
  .growth-split { grid-template-columns: 1fr; }
  .growth-split .before { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ─── LESSONS MATRIX ──────────────────────────────────── */
.matrix-table {
  width: 100%; border-collapse: collapse; margin-top: 32px;
  font-size: 14.5px;
}
.matrix-table th, .matrix-table td {
  padding: 22px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.matrix-table thead th {
  font-family: var(--fm); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mid); font-weight: 500;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px;
}
.matrix-table .lesson-num {
  font-family: var(--fm); font-size: 11px; letter-spacing: .14em;
  color: var(--em); text-transform: uppercase; font-weight: 600;
  display: block; margin-bottom: 4px;
}
.matrix-table .lesson-name {
  font-family: var(--fd); font-size: clamp(22px, 2vw, 26px);
  font-weight: 400; color: var(--ink); line-height: 1.2;
}
.matrix-table .lesson-punch {
  font-family: var(--fd); font-style: italic; font-size: 18px;
  line-height: 1.45; color: var(--ink-2); max-width: 50ch;
}
.matrix-table .lesson-where {
  font-family: var(--fm); font-size: 11px; letter-spacing: .12em;
  color: var(--em); text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.matrix-table .lesson-where::after { content: "→"; }
.matrix-table tbody tr:hover { background: var(--paper-2); }

/* Rename rules matrix (Act 2) */
.rename-matrix th:nth-child(3), .rename-matrix td:nth-child(3) {
  font-family: var(--fm); font-size: 13px; color: var(--em);
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.rename-matrix .kept { color: var(--moss); }
.rename-matrix .changed { color: var(--em); }

/* ─── CALLOUTS ────────────────────────────────────────── */
.callout {
  margin: clamp(32px, 5vw, 48px) 0;
  padding: 22px 26px;
  border-left: 3px solid var(--em);
  background: var(--em-l);
  border-radius: 0 12px 12px 0;
  max-width: 60ch;
}
.callout .label {
  font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--em); font-weight: 600; margin-bottom: 8px;
}
.callout p {
  font-family: var(--fd); font-style: italic;
  font-size: 20px; font-weight: 400; line-height: 1.4; color: var(--ink);
}
.callout p code { font-style: normal; font-family: var(--fm); font-size: 14px; background: var(--paper-3); padding: 2px 6px; border-radius: 4px; color: var(--em); }
.callout.is-rose { border-left-color: var(--rose); background: var(--rose-l); }
.callout.is-rose .label { color: var(--rose); }
.callout.is-gold { border-left-color: var(--gold); background: var(--gold-l); }
.callout.is-gold .label { color: var(--gold); }
.callout.is-moss { border-left-color: var(--moss); background: var(--moss-l); }
.callout.is-moss .label { color: var(--moss); }

/* ─── RULES CARDS (numbered) ──────────────────────────── */
.rules { margin-top: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.rule {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 18px; padding: 22px 26px;
  background: var(--paper-3);
  border: 1px solid var(--rule); border-radius: 12px;
  align-items: baseline;
}
.rule .n {
  font-family: var(--fd); font-style: italic;
  font-size: 36px; color: var(--em); font-weight: 300; line-height: 1;
}
.rule h4 {
  font-family: var(--fd); font-size: 21px; font-weight: 400;
  color: var(--ink); margin-bottom: 8px; line-height: 1.25;
}
.rule p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.rule p code { font-family: var(--fm); font-size: 13px; background: var(--paper-2); padding: 2px 6px; border-radius: 4px; color: var(--em); }

/* ─── INLINE TAGS ─────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--fm); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: var(--paper-2); color: var(--mid);
  margin-right: 4px; margin-bottom: 8px;
}
.tag.is-em { background: var(--em-l); color: var(--em); }
.tag.is-rose { background: var(--rose-l); color: var(--rose); }
.tag.is-gold { background: var(--gold-l); color: var(--gold); }
.tag.is-moss { background: var(--moss-l); color: var(--moss); }

/* ─── EMBEDDED MINI-TIMELINE (used inside Act 1) ──────── */
.mini-tl { margin-top: clamp(24px, 3vw, 36px); position: relative; padding-left: 28px; max-width: 720px; }
.mini-tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--rule-2); }
.mini-tl-entry { position: relative; padding: 0 0 32px 0; }
.mini-tl-entry::before {
  content: ""; position: absolute; left: -25px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--em); z-index: 1;
}
.mini-tl-entry.is-pivot::before { background: var(--rose); border-color: var(--rose); }
.mini-tl-entry.is-major::before { background: var(--em); }
.mini-tl-entry .date {
  font-family: var(--fm); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--em); font-weight: 600; margin-bottom: 6px;
}
.mini-tl-entry h4 {
  font-family: var(--fd); font-size: 21px; font-weight: 400;
  color: var(--ink); margin-bottom: 8px; line-height: 1.2;
}
.mini-tl-entry p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* ─── ASK PANEL (dark) ────────────────────────────────── */
.ask-panel {
  background: linear-gradient(135deg, #0A0D18 0%, #1F2540 100%);
  color: #fff; padding: clamp(80px, 9vw, 120px) 0;
  text-align: center;
}
.ask-panel .wrap { max-width: 820px; }
.ask-panel .kicker { color: var(--gold); margin-bottom: 18px; }
.ask-panel h2 {
  font-family: var(--fd); font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1;
  color: #fff; margin-bottom: 22px; font-weight: 400;
}
.ask-panel p.lede { max-width: 60ch; margin: 0 auto; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.ask-panel .row { justify-content: center; margin-top: 36px; }
.ask-panel .btn-g { border-color: rgba(255, 255, 255, .3); color: #fff; }
.ask-panel .btn-g:hover { background: rgba(255, 255, 255, .06); }
.ask-panel .foot-note {
  margin-top: 36px; font-size: 12.5px; color: rgba(255, 255, 255, .55);
  font-family: var(--fm); letter-spacing: .06em;
}

/* ─── NEXT-ACT CTA (used at end of each act page) ─────── */
.next-act {
  background: var(--paper-2); padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
}
.next-act .wrap-narrow { text-align: center; }
.next-act .kicker { color: var(--em); }
.next-act h2 { font-family: var(--fd); font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; margin-top: 14px; margin-bottom: 16px; color: var(--ink); font-weight: 400; max-width: 24ch; margin-inline: auto; }
.next-act p.lede { max-width: 56ch; margin-inline: auto; color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.next-act .row { justify-content: center; margin-top: 32px; }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-foot {
  background: #0A0D18; color: #D6DAE5;
  padding: clamp(64px, 8vw, 96px) 0 40px;
}
.site-foot a { color: #D6DAE5; opacity: .78; transition: opacity .15s ease; }
.site-foot a:hover { opacity: 1; color: #fff; }
.site-foot h4 {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); font-weight: 500; margin-bottom: 18px;
}
.site-foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.site-foot .brand .brand-word { color: #fff; }
.site-foot .brand .brand-tag { color: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .18); }
.foot-bar {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}

/* ─── CHAT WIDGET (carried over from v1) ──────────────── */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  border: 0; cursor: pointer;
  z-index: 95;
  box-shadow: 0 10px 28px -8px rgba(10, 13, 24, .5);
  display: grid; place-items: center;
  transition: transform .25s ease, background .15s ease;
}
.chat-fab:hover { background: var(--em); transform: translateY(-2px); }
.chat-fab.hidden { display: none; }
.chat-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 380px; height: 560px;
  background: rgba(251, 252, 254, .98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--rule);
  border-radius: 12px; z-index: 96;
  display: none;
  flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(10, 13, 24, .35);
}
.chat-panel.open { display: flex; }
@media (max-width: 500px) {
  .chat-panel.open { inset: 0; width: 100%; height: 100%; border-radius: 0; }
}
.chat-header {
  padding: 16px 20px; border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.chat-header .title { font-family: var(--fb); font-size: 15px; font-weight: 600; color: var(--ink); }
.chat-header .title .live-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #4ec0a0;
  margin-right: 8px; vertical-align: middle;
  animation: pulse-live 2s ease-in-out infinite;
}
.chat-header .title .live-dot.loading { background: var(--gold); }
.chat-header .title .live-dot.error { background: var(--rose); animation: none; }
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 4px rgba(78, 192, 160, .18); }
  50%      { box-shadow: 0 0 0 8px rgba(78, 192, 160, 0); }
}
.chat-close { width: 32px; height: 32px; border-radius: 50%; background: transparent; border: 0; cursor: pointer; font-size: 22px; color: var(--ink); }
.chat-close:hover { background: var(--em-l); }
.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
}
.msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { align-self: flex-start; background: var(--em-l); border: 1px solid var(--em-b); color: var(--ink-2); border-bottom-left-radius: 2px; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 2px; }
.msg.bot.typing { font-style: italic; opacity: .7; }
.msg .meta-line { display: block; margin-top: 8px; font-family: var(--fm); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.chat-suggestions { padding: 0 20px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chip { padding: 6px 12px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; font-size: 12px; color: var(--em); cursor: pointer; font-family: var(--fb); }
.chat-chip:hover { background: var(--em-l); }
.chat-input-row { padding: 12px 20px 16px; border-top: 1px solid var(--rule); display: flex; gap: 8px; }
.chat-input { flex: 1; height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--paper); font-family: var(--fb); font-size: 14px; color: var(--ink); outline: none; }
.chat-input:focus { border-color: var(--em); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.chat-send:hover { background: var(--em); }
.chat-send:disabled { opacity: .35; cursor: not-allowed; }

/* ─── REVEAL ON SCROLL ────────────────────────────────── */
/* Text is NEVER hidden behind a script. A .reveal block starts fully readable and
   the animation only slides it a few pixels, so a failed observer, a blocked module
   or an over-tall block can cost a little motion but never the content itself.
   (An opacity-based version of this hid every act page in Sept 2026.) */
.reveal { opacity: 1; transform: none; }
.has-js .reveal {
  transform: translateY(10px);
  transition: transform .6s ease-out;
}
.has-js .reveal.in { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
  .has-js .reveal { transform: none; }
}

/* ─── SAFETY RAILS ────────────────────────────────────── */
img, video, iframe, table, pre, code { max-width: 100%; }
.wrap { min-width: 0; }
.wrap > * { min-width: 0; max-width: 100%; }
.btn { max-width: 100%; }
@media (max-width: 479px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
}

/* ============================================================
   GENACY LABS (genacy.co) — additions, 13 Sep 2026
   Components used by the company site on top of the Field Notes shell.
============================================================ */
.hide-on-mobile { }
@media (max-width: 760px) { .hide-on-mobile { display: none !important; } }
.foot-tag { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.62); max-width: 30ch; }
.btn.btn-sm { padding: 8px 14px; font-size: 13.5px; }

/* Numbers strip (home / investors) */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule-2); }
.numbers .n .v { font-family: var(--fd); font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); line-height: 1; color: var(--ink); }
.numbers .n .v sub { font-size: .45em; vertical-align: baseline; color: var(--mid); margin-left: 2px; }
.numbers .n .l { font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin-top: 8px; line-height: 1.45; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 32px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--sh-1); }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--em-b); }
.card .nm { font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--em); }
.card .ttl { font-family: var(--fd); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.15; color: var(--ink); margin-top: 10px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.card .more { display: inline-block; margin-top: 14px; font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--em); }
.card.em { background: var(--em-l); border-color: var(--em-b); }
.card.gold { background: var(--gold-l); border-color: var(--gold-b); }
.card.rose { background: var(--rose-l); border-color: #E8C0C0; }
.card.moss { background: var(--moss-l); border-color: #C6D6B8; }
.card .big { font-family: var(--fd); font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--ink); }

/* Problem statements (why now) */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 32px; }
.problem { border-left: 4px solid var(--rose); padding: 6px 0 6px 20px; }
.problem h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; color: var(--ink); }
.problem p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin-top: 10px; }
.problem.answer { border-color: var(--moss); }

/* Ticks */
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ticks li { padding-left: 30px; position: relative; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--em-l); color: var(--em); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ticks.no li::before { content: "–"; background: var(--paper-2); color: var(--mid); }

/* Key/value facts */
.kv { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 20px; border-top: 1px solid var(--rule); }
.kv > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.6; }
.kv > div > b { font-family: var(--fm); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); padding-top: 4px; }
.kv > div > span { color: var(--ink-2); }
@media (max-width: 560px) { .kv > div { grid-template-columns: 1fr; gap: 4px; } }

/* Founder */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-aside { position: sticky; top: 90px; }
@media (max-width: 860px) { .founder-aside { position: static; } }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 28px; }
.pillar { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; }
.pillar .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--em-l); color: var(--em); display: grid; place-items: center; font-family: var(--fm); font-size: 13px; font-weight: 600; }
.pillar h3 { font-family: var(--fd); font-weight: 400; font-size: 24px; line-height: 1.15; margin-top: 14px; color: var(--ink); }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; }
.achievements { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-direction: column; }
.achievements li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.6; color: var(--ink-2); display: grid; grid-template-columns: 56px 1fr; gap: 14px; }
.achievements li b { font-family: var(--fd); font-weight: 400; font-size: 26px; line-height: 1; color: var(--em); }

/* Quote */
.quote { margin-top: 32px; padding: 26px 30px; background: var(--paper-3); border: 1px solid var(--rule); border-left: 5px solid var(--gold); border-radius: 12px; }
.quote p { font-family: var(--fd); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: var(--ink); }
.quote cite { display: block; margin-top: 12px; font-family: var(--fm); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); font-style: normal; }

/* Flow (how it was built) */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; counter-reset: step; }
.flow .step { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; position: relative; }
.flow .step::before { counter-increment: step; content: counter(step); font-family: var(--fm); font-size: 12px; color: var(--em); background: var(--em-l); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.flow .step h3 { font-family: var(--fd); font-weight: 400; font-size: 21px; margin-top: 12px; color: var(--ink); line-height: 1.15; }
.flow .step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; }

/* Legal */
.legal-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.legal-meta { font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin-top: 14px; }
.legal-body { max-width: 780px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) 20px clamp(48px, 6vw, 80px); }
.legal-body h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--ink); margin-top: 2em; margin-bottom: .5em; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-top: .6em; }
.legal-body ol, .legal-body ul { padding-left: 22px; }
.legal-body table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.legal-body th { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); font-weight: 500; }
.legal-body .commit { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.legal-body .commit .chk { color: var(--moss); font-weight: 700; }
.legal-body a { color: var(--em); border-bottom: 1px solid currentColor; }
.notice { max-width: 780px; margin: 24px auto 0; padding: 14px 18px; background: var(--gold-l); border: 1px solid var(--gold-b); border-radius: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.back-link { font-family: var(--fm); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--em); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 32px; }
.contact-grid .card a.mail { font-family: var(--fd); font-size: clamp(22px, 2.4vw, 30px); color: var(--em); display: inline-block; margin-top: 10px; border-bottom: 1px solid var(--em-b); }

/* Small print */
.small { font-size: 13.5px; line-height: 1.55; color: var(--mid); }
.section-band { background: var(--paper-2); }
.wrap-narrow .prose { max-width: 68ch; }

/* ============================================================
   EVOLUTION MODEL — the interactive simulation on evolution.html
   All rules scoped to .model-root so nothing leaks into the site.
============================================================ */
:root { --upl: #8A6818; --upl-l: #F4ECD4; --opn: #2E6F86; --opn-l: #DCEDF3; --qc: #6B5AA6; --qc-l: #E8E4F3; }

.model-root { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; margin-top: 32px; }
@media (max-width: 900px) { .model-root { grid-template-columns: 1fr; } }
.model-root .rail { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .model-root .rail { position: static; } }
.model-root .panel { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; box-shadow: var(--sh-1); }
.model-root .panel h3 { font-family: var(--fd); font-weight: 400; font-size: 21px; color: var(--ink); margin-bottom: 12px; }
.model-root .ctl { display: flex; flex-direction: column; gap: 6px; padding-block: 12px; border-top: 1px solid var(--rule); }
.model-root .ctl:first-of-type { border-top: 0; padding-top: 0; }
.model-root .ctl label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.model-root .ctl output { font-family: var(--fm); font-size: 12.5px; color: var(--em); font-variant-numeric: tabular-nums; white-space: nowrap; }
.model-root .ctl small { color: var(--dim); font-size: 13px; line-height: 1.45; }
.model-root input[type=range] { width: 100%; accent-color: var(--em); margin: 2px 0; }
.model-root input[type=range]:focus-visible, .model-root button:focus-visible, .model-root input:focus-visible { outline: 2px solid var(--em); outline-offset: 2px; }
.model-root .presets { display: flex; gap: 6px; flex-wrap: wrap; }
.model-root .presets button { flex: 1; min-width: 68px; font: inherit; font-size: 13.5px; font-weight: 500; padding: 8px; border-radius: 8px; border: 1px solid var(--rule-2); background: var(--paper-3); color: var(--ink); cursor: pointer; }
.model-root .presets button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.model-root .linkbtn { font: inherit; font-size: 13.5px; color: var(--mid); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.model-root .main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.model-root .answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .model-root .answers { grid-template-columns: 1fr; } }
.model-root .answer { background: var(--paper-3); border: 1px solid var(--rule); border-top: 4px solid var(--acc); border-radius: 14px; padding: 20px; }
.model-root .answer.drug { --acc: var(--upl); }
.model-root .answer.bci { --acc: var(--opn); }
.model-root .answer .eyebrow { color: var(--acc); }
.model-root .answer .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.model-root .answer .d b { font-family: var(--fd); font-weight: 400; font-size: 38px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; display: block; }
.model-root .answer .d span { font-size: 13px; color: var(--dim); }
.model-root .answer .gap { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.model-root .answer .q { margin-top: 8px; font-size: 13px; color: var(--qc); font-weight: 600; line-height: 1.5; }
.model-root .chart { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.model-root .chart .hd { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.model-root .chart .hd h3 { font-family: var(--fd); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--ink); }
.model-root .chart .hd p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 70ch; }
.model-root .legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.model-root .legend i { display: inline-block; width: 14px; height: 10px; vertical-align: -1px; margin-right: 6px; border-radius: 2px; }
.model-root svg { width: 100%; height: auto; display: block; }
.model-root svg text { font-family: var(--fb); font-size: 13px; fill: var(--mid); }
.model-root svg .yr { font-family: var(--fm); font-size: 11.5px; }
.model-root svg .lbl { fill: var(--ink); font-size: 13.5px; }
.model-root svg .grp { fill: var(--acc); font-family: var(--fm); font-size: 11px; letter-spacing: .08em; }
.model-root svg .grid { stroke: var(--rule); }
.model-root svg .axis { stroke: var(--rule-2); }
.model-root svg .now { stroke: var(--dim); stroke-dasharray: 3 3; }
.model-root svg .nowt { fill: var(--dim); font-family: var(--fm); font-size: 11px; }
.model-root .tbl-wrap { overflow-x: auto; }
.model-root table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 820px; }
.model-root th { font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); text-align: left; font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--rule-2); }
.model-root td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.model-root td.num, .model-root th.num { text-align: right; font-family: var(--fm); font-variant-numeric: tabular-nums; font-size: 13px; }
.model-root td.chk, .model-root th.chk { text-align: center; }
.model-root td.chk input { accent-color: var(--qc); width: 16px; height: 16px; }
.model-root td.name b { font-weight: 600; display: block; color: var(--ink); }
.model-root td.name span { color: var(--dim); font-size: 13px; display: block; margin-top: 2px; max-width: 36ch; }
.model-root tr.path td.name b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; background: var(--acc); vertical-align: 1px; }
.model-root tr.drug { --acc: var(--upl); }
.model-root tr.bci { --acc: var(--opn); }
.model-root tr.qc { --acc: var(--qc); }
.model-root tr.grp td { font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding-top: 18px; border-bottom: 1px solid var(--rule-2); }
.model-root td input[type=number] { width: 66px; font: inherit; font-family: var(--fm); font-size: 13px; padding: 4px 6px; border: 1px solid var(--rule-2); border-radius: 6px; background: var(--paper); color: var(--ink); text-align: right; }
.assume { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-top: 24px; }
.assume > div { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; }
.assume h3 { font-family: var(--fd); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 6px; line-height: 1.2; }
.assume p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.assume p + p { margin-top: 8px; }

/* ============================================================
   BRAND LOGO — the real Genacy Labs lockup
============================================================ */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; height: 46px; width: auto; max-width: 100%; }
@media (max-width: 560px) { .brand-logo { height: 36px; } }
.site-foot .brand-logo, .brand-foot .brand-logo { height: 54px; }
.nav-overlay-head .brand-logo { height: 40px; }

/* ============================================================
   DEVELOPER JOURNAL
============================================================ */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 32px; }
.entry { display: block; background: var(--paper-3); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(20px, 2.4vw, 28px); text-decoration: none; color: inherit; box-shadow: var(--sh-1); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.entry:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--em-b); }
.entry-date { font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--em); }
.entry h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.14; color: var(--ink); margin-top: 10px; }
.entry-ex { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin-top: 12px; }
.entry .more { display: inline-block; margin-top: 16px; font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--em); }
.entry-featured { grid-column: 1 / -1; background: linear-gradient(135deg, var(--paper-3) 0%, var(--em-l) 100%); border-color: var(--em-b); }
.entry-featured h3 { font-size: clamp(28px, 3.4vw, 40px); max-width: 22ch; }
.entry-featured .entry-ex { font-size: 16.5px; max-width: 68ch; }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; background: var(--paper-2); border-left: 4px solid var(--em); border-radius: 0 10px 10px 0; }
.prose blockquote p { font-family: var(--fd); font-size: 19px; line-height: 1.5; color: var(--ink); }

/* Ghost buttons sitting on dark surfaces need light text, not ink. */
.nav-overlay .btn-g, .site-foot .btn-g, .next-act.on-dark .btn-g {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.nav-overlay .btn-g:hover, .site-foot .btn-g:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
}
.nav-overlay-cta { display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   CORE MESSAGES · STATUS CHIPS · THE FLOW DIAGRAM
============================================================ */
.core-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 28px; }
.core-card { background: var(--paper-3); border: 1px solid var(--rule); border-top: 4px solid var(--rose); border-radius: 14px; padding: 22px 24px; }
.core-card:nth-child(3) { border-top-color: var(--em); }
.core-card:nth-child(4) { border-top-color: var(--gold); }
.core-card h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.15; color: var(--ink); }
.core-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }

.chip { display: inline-block; font-family: var(--fm); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; vertical-align: 2px; }
.chip-live { background: var(--moss-l); color: var(--moss); }
.chip-building { background: var(--gold-l); color: var(--gold); }
.chip-next { background: var(--paper-2); color: var(--mid); }
.status-rule { font-size: 14px; line-height: 1.6; color: var(--ink-2); background: var(--paper-2); border-left: 3px solid var(--rule-3); padding: 12px 18px; border-radius: 0 8px 8px 0; margin-top: 18px; max-width: 76ch; }
.status-rule em { font-style: normal; font-weight: 600; color: var(--ink); }

.flowmap { margin-top: 34px; }
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 1080px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .stages { grid-template-columns: 1fr; } }
.stage { position: relative; background: var(--paper-3); border: 1px solid var(--rule); padding: 24px 22px 26px; }
.stage:first-child { border-radius: 14px 0 0 14px; }
.stage:last-child  { border-radius: 0 14px 14px 0; }
.stage + .stage { border-left: 0; }
@media (max-width: 1080px) {
  .stage { border-radius: 14px !important; border-left: 1px solid var(--rule) !important; }
  .stages { gap: 14px; }
}
/* the arrow between stages */
.stage + .stage::before {
  content: ""; position: absolute; left: -9px; top: 38px; width: 16px; height: 16px;
  background: var(--paper-3); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule);
  transform: rotate(45deg); z-index: 2;
}
@media (max-width: 1080px) { .stage + .stage::before { display: none; } }
.stage-head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.stage-num { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; color: #fff; background: var(--ink); border-radius: 6px; padding: 5px 8px; }
.stage-head h3 { font-family: var(--fd); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--ink); }
.stage-sub { font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 5px; }
.stage-items { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.stage-items li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; }
.dot-live { background: var(--moss); }
.dot-building { background: var(--gold); }
.dot-next { background: var(--rule-3); }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flow-key { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.flow-key .dot { margin-right: 7px; margin-top: 0; vertical-align: 0; }

/* Big stat band */
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 24px; margin-top: 30px; padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.statband .s { min-width: 0; }
/* The value is sometimes a word ("Hundreds") rather than a figure, and at the old
   size those overflowed their track and collided with the next stat. */
.statband .s b { display: block; font-family: var(--fd); font-weight: 400;
  font-size: clamp(28px, 3.3vw, 42px); line-height: 1.05; color: var(--ink);
  overflow-wrap: break-word; }
.statband .s span { display: block; font-family: var(--fm); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--mid); margin-top: 9px; line-height: 1.5; }
.statband .s.em b { color: var(--em); }

/* Problem grid + why-now timeline (investors) */
.probgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 30px; }
.prob { background: var(--paper-3); border: 1px solid var(--rule); border-radius: 14px; padding: 24px; position: relative; }
.prob .pn { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; color: var(--rose); background: var(--rose-l); border-radius: 6px; padding: 4px 8px; }
.prob h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; color: var(--ink); margin-top: 12px; }
.prob p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.prob p b { color: var(--ink); }
.whynow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin-top: 30px; }
.whynow .wn { padding: 22px 24px; border-top: 3px solid var(--rule-2); }
.whynow .wn.on { border-top-color: var(--em); }
.whynow .wn b { display: block; font-family: var(--fm); font-size: 12px; letter-spacing: .12em; color: var(--mid); }
.whynow .wn.on b { color: var(--em); }
.whynow .wn p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }

/* Roadmap columns */
.rmgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; align-items: start; }
.rmcol { background: var(--paper-3); border: 1px solid var(--rule); border-top: 5px solid var(--acc); border-radius: 14px; padding: 24px; }
.rmcol.rm-now { --acc: var(--moss); }
.rmcol.rm-soon { --acc: var(--gold); }
.rmcol.rm-later { --acc: var(--rule-3); }
.rmcol .eyebrow { color: var(--acc); }
.rmcol h2 { margin-top: 8px; color: var(--ink); }
.rmlist { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 16px; }
.rmlist li { border-top: 1px solid var(--rule); padding-top: 14px; }
.rmlist li:first-child { border-top: 0; padding-top: 0; }
.rm-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rm-h h3 { font-family: var(--fd); font-weight: 400; font-size: 19px; line-height: 1.15; color: var(--ink); }
.rm-count { font-family: var(--fm); font-size: 10.5px; letter-spacing: .06em; color: var(--mid); white-space: nowrap; }
.rmlist p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 7px; }

/* Act pages: short version box + rule list */
.tldr { background: var(--em-l); border: 1px solid var(--em-b); border-radius: 14px; padding: 22px 26px; }
.tldr .eyebrow { color: var(--em); }
.tldr ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tldr li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.tldr li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--em); }
.rulelist { list-style: none; padding: 0; margin: 26px 0 0; counter-reset: r; display: flex; flex-direction: column; gap: 0; }
.rulelist li { counter-increment: r; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--rule); align-items: start; }
.rulelist .rule-txt { min-width: 0; }
.rulelist li::before { content: counter(r, decimal-leading-zero); font-family: var(--fm); font-size: 12px; color: var(--gold); background: var(--gold-l); border-radius: 8px; padding: 7px 0; text-align: center; }
.rulelist li b { font-family: var(--fd); font-weight: 400; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.15; color: var(--ink); display: block; }
.rulelist li span { display: block; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-top: 6px; }

/* ── The "what comes next" track on evolution.html ───────────────────────── */
.evojourney { margin-top: 34px; }
.evosteps { list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 0; }
@media (max-width: 1180px) { .evosteps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .evosteps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .evosteps { grid-template-columns: 1fr; } }
.evostep { position: relative; padding: 0 16px 22px; }
/* the line the markers sit on */
.evostep::before { content: ""; position: absolute; left: 0; right: 0; top: 17px;
  height: 2px; background: var(--rule-3); }
.evostep:first-child::before { left: 50%; border-radius: 2px 0 0 2px; }
.evostep:last-child::before  { right: 50%; border-radius: 0 2px 2px 0; }
@media (max-width: 1180px) { .evostep::before { display: none; } }
.evo-dot { position: relative; z-index: 1; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; font-family: var(--fm);
  font-size: 13px; font-weight: 600; color: #fff; background: var(--ink);
  box-shadow: 0 0 0 5px var(--paper); }
.evo-now   .evo-dot { background: var(--ink); }
.evo-uplift .evo-dot { background: var(--gold); }
.evo-open  .evo-dot { background: var(--em); }
.evo-lane { font-family: var(--fm); font-size: 10.5px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--dim); margin-top: 16px; }
.evo-now .evo-lane    { color: var(--ink); }
.evo-uplift .evo-lane { color: var(--gold); }
.evo-open .evo-lane   { color: var(--em); }
.evo-here { display: inline-block; margin-left: 6px; background: var(--ink); color: #fff;
  border-radius: 20px; padding: 3px 9px; letter-spacing: .06em; }
.evostep h3 { font-family: var(--fd); font-weight: 400; font-size: 20px; line-height: 1.15;
  color: var(--ink); margin-top: 9px; }
.evo-line { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 8px; }
.evo-key { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px;
  padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.evo-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 7px; }
.evo-key .k-now { background: var(--ink); }
.evo-key .k-uplift { background: var(--gold); }
.evo-key .k-open { background: var(--em); }
.evo-foot { margin-top: 12px; max-width: 70ch; }
.tldr a { color: var(--em-d); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1.5px; }
.tldr a:hover { color: var(--ink); }

/* ── Charts ──────────────────────────────────────────────────────────────────
   Palette validated against the dataviz six checks on surface #FBFCFE:
   #4858A8 / #B07A10 / #00897B. Bars capped at 24px, 4px rounded data-end,
   hairline solid rules, labels in text tokens only. */
.cht { margin: 0; background: var(--paper-3); border: 1px solid var(--rule);
  border-radius: 14px; padding: clamp(20px, 2.6vw, 30px); }
.cht + .cht { margin-top: 20px; }
.cht-hd h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.15; color: var(--ink); }
.cht-hd p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 7px;
  max-width: 68ch; }
.cht-note { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 18px;
  padding-top: 14px; border-top: 1px solid var(--rule); max-width: 72ch; }
.cht-src { font-family: var(--fm); font-size: 11px; line-height: 1.6; color: var(--dim);
  margin-top: 8px; }

/* horizontal bars */
.cht-bars { list-style: none; padding: 0; margin: 24px 0 0; display: flex;
  flex-direction: column; gap: 16px; }
.cht-row { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 16px;
  align-items: center; }
@media (max-width: 620px) { .cht-row { grid-template-columns: 1fr; gap: 5px; } }
.cht-lab { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.cht-track { display: flex; align-items: center; min-width: 0; }
.cht-bar { display: block; height: 22px; background: var(--rule-3);
  border-radius: 0 4px 4px 0; flex: 0 0 auto; }
.cht-bar.is-em { background: #4858A8; }
.cht-val { font-family: var(--fb); font-weight: 600; font-size: 15px; color: var(--ink);
  white-space: nowrap; margin-left: 12px; }

/* columns */
.cht-cols { list-style: none; padding: 0; margin: 26px 0 0; display: grid;
  grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(24px, 6vw, 72px);
  align-items: end; height: 210px; border-bottom: 1px solid var(--rule-2);
  max-width: 440px; }
.cht-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  height: 100%; position: relative; }
.cht-cbar { display: block; width: 100%; max-width: 24px; background: #4858A8;
  border-radius: 4px 4px 0 0; }
.cht-cval { font-family: var(--fb); font-weight: 600; font-size: 15px; color: var(--ink);
  margin-bottom: 8px; }
.cht-clab { position: absolute; bottom: -26px; font-family: var(--fm); font-size: 11.5px;
  color: var(--dim); }
.cht-cols + .cht-note { margin-top: 44px; }

/* one stacked bar */
.cht-split { display: flex; gap: 2px; margin-top: 24px; }
.cht-seg { display: block; height: 26px; }
.cht-seg:first-child { border-radius: 4px 0 0 4px; }
.cht-seg:last-child  { border-radius: 0 4px 4px 0; }
.cht-keys { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-size: 14px;
  color: var(--ink-2); }
.cht-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  margin-right: 7px; }
.cht-key b { font-weight: 600; color: var(--ink); }

/* the table view — no value is gated behind colour or hover */
.cht-table { margin-top: 16px; }
.cht-table summary { font-family: var(--fm); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--em); cursor: pointer; }
.cht-table table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.cht-table caption { text-align: left; font-size: 13px; color: var(--dim); padding-bottom: 8px; }
.cht-table th, .cht-table td { text-align: left; padding: 8px 10px;
  border-bottom: 1px solid var(--rule); color: var(--ink-2); font-weight: 400; }
.cht-table thead th { font-family: var(--fm); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--dim); }
.cht-table .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.cht-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 900px) { .cht-grid { grid-template-columns: 1fr; } }
.dot-plain { background: var(--em); opacity: .55; }
.flow-hd { font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--em); font-weight: 600; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--rule); }

/* Bug #14, 13 Sep 2026: in a text-beside-table split the two columns must start
   on the same line. The default .growth-split centres each column vertically,
   which is right for the two-panel before/after but wrong here, and the 220px
   label column squeezed the values into a narrow ribbon. */
.growth-split.align-top { min-height: 0; }
.growth-split.align-top > div { justify-content: flex-start; }
.growth-split.align-top .prose > p:first-child,
.growth-split.align-top .prose > h3:first-child { margin-top: 0; }
.growth-split.align-top .card { margin-top: 0; }
.growth-split.align-top .kv > div { grid-template-columns: minmax(110px, 150px) minmax(0, 1fr); }
@media (max-width: 900px) { .growth-split.align-top { grid-template-columns: 1fr; } }

/* ── Roadmap track ───────────────────────────────────────────────────────── */
.rmtrack { list-style: none; padding: 0; margin: 34px 0 0; }
.rmstep { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: clamp(18px, 2.5vw, 32px);
  padding-bottom: clamp(30px, 4vw, 46px); }
@media (max-width: 620px) { .rmstep { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; } }
.rmstep-rail { position: relative; display: flex; justify-content: center; }
/* the line runs between the markers, and stops at the last one */
.rmstep-rail::before { content: ""; position: absolute; top: 46px; bottom: -46px; width: 2px;
  background: var(--rule-2); }
.rmstep:last-child .rmstep-rail::before { display: none; }
.rmstep-num { position: relative; z-index: 1; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; font-family: var(--fm); font-size: 13px;
  font-weight: 600; color: #fff; background: var(--rule-3); box-shadow: 0 0 0 6px var(--paper); }
@media (max-width: 620px) { .rmstep-num { width: 38px; height: 38px; font-size: 12px; }
  .rmstep-rail::before { top: 40px; bottom: -40px; } }
.rmstep-built    .rmstep-num { background: var(--moss); }
.rmstep-building .rmstep-num { background: var(--gold); }
.rmstep-direction .rmstep-num { background: var(--em); opacity: .55; }
.rmstep-body { padding-top: 4px; min-width: 0; }
.rmstep-state { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim); }
.rmstep-built .rmstep-state    { color: var(--moss); }
.rmstep-building .rmstep-state { color: var(--gold); }
.rmstep-body h3 { font-family: var(--fd); font-weight: 400; font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1; color: var(--ink); margin-top: 8px; max-width: 24ch; }
.rmstep-lede { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; color: var(--mid);
  margin-top: 10px; max-width: 60ch; }
.rmstep-p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin-top: 12px;
  max-width: 68ch; }
.rmstep-needs { font-size: 14px; line-height: 1.6; color: var(--dim); margin-top: 12px;
  padding-left: 14px; border-left: 2px solid var(--rule-2); max-width: 66ch; }
.rmstep-needs b { color: var(--mid); font-weight: 600; }
.rmtrack-key { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 20px;
  border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); }
.rmtrack-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 8px; }
.rmtrack-key .k-built { background: var(--moss); }
.rmtrack-key .k-building { background: var(--gold); }
.rmtrack-key .k-direction { background: var(--em); opacity: .55; }

/* ── Use-case grid on the investors page ─────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 32px;
  border-top: 1px solid var(--rule); }
@media (max-width: 1080px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .uc-grid { grid-template-columns: 1fr; } }
.uc-col { padding: 26px clamp(16px, 2vw, 26px) 30px; border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); min-width: 0; }
.uc-col:last-child { border-right: 0; }
@media (max-width: 1080px) { .uc-col:nth-child(2n) { border-right: 0; } }
@media (max-width: 620px)  { .uc-col { border-right: 0; } }
.uc-col h3 { font-family: var(--fm); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--em); font-weight: 600; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule); }
.uc-col ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex;
  flex-direction: column; gap: 13px; }
.uc-col li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5;
  color: var(--ink-2); }
.uc-col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--em); opacity: .5; }

/* In the narrow founder sidebar the 220px label column leaves the value about
   140px, which wraps every entry into a ribbon. Stack them there instead. */
.founder-aside .kv > div { grid-template-columns: 1fr; gap: 5px; }
.founder-aside .kv > div > b { padding-top: 0; }

/* At phone width the value label has nowhere to go beside the bar, so put it
   above and let the bar have the row. Caught by tests/visual.js at 390px. */
@media (max-width: 620px) {
  .cht-track { flex-direction: column; align-items: stretch; }
  .cht-val { order: -1; margin-left: 0; margin-bottom: 7px; }
  .cht-bar { border-radius: 0 4px 4px 0; }
}
/* App arrival / recovery: the same visual story, with honest HTTP states. */
.arrival{background:#0a0d18;color:#f4f1e9;position:relative;overflow:hidden;background-image:radial-gradient(ellipse at 77% 43%,#17424288,transparent 52%)}
.arrival-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:40px;padding-top:92px;padding-bottom:80px;min-height:650px}
.arrival-copy{position:relative;z-index:2}.arrival .kicker{color:#a4dec4}.arrival h1{font-family:'Instrument Serif',serif;font-size:clamp(54px,6.8vw,100px);font-weight:400;line-height:.99;letter-spacing:-.035em;margin:24px 0}.arrival h1 em{color:#b4e4c7;font-weight:400}.arrival-lede{font-size:20px;line-height:1.65;max-width:470px;color:#cbd1d3}.arrival .btn-g{color:#eef4ef;border-color:#667573}.arrival .btn-g:hover{background:#243c39}.arrival .row{margin-top:28px}.arrival-offer{font:13px/1.8 'JetBrains Mono',monospace;color:#afc1ba;margin-top:25px}
.memory-orbit{position:relative;width:100%;aspect-ratio:1;max-width:550px;isolation:isolate}.orbit-ring{position:absolute;border:1px solid #78b9a136;border-radius:50%;inset:8%;transform:rotate(-24deg)}.ring-two{inset:20%;border-style:dashed;animation:orbit-spin 100s linear infinite}.ring-three{inset:0 15%;transform:rotate(48deg)}.orbit-ring:after{content:'';position:absolute;left:17%;top:10%;width:7px;height:7px;background:#c8f3c6;border-radius:100%;box-shadow:0 0 24px #a7fbd2}.orbit-core{position:absolute;inset:30%;border:1px solid #a3dab16b;background:radial-gradient(circle at 30% 25%,#467267,#152928 70%);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 0 70px #69c9a526,inset 0 0 35px #89c7a221}.orbit-core span{font:10px 'JetBrains Mono',monospace;letter-spacing:.25em;color:#afd5bd}.orbit-core strong{font:clamp(24px,3vw,39px)/1.05 'Instrument Serif',serif;margin:12px 0}.orbit-core i{display:block;height:5px;width:5px;background:#cbf9ce;border-radius:50%;box-shadow:0 0 14px #d9ffdd}
.orbit-node{position:absolute;background:#111f29eb;border:1px solid #779c924f;border-radius:12px;padding:16px 19px;box-shadow:0 14px 45px #0004;font-size:15px;min-width:170px}.orbit-node span{display:block;font:10px 'JetBrains Mono',monospace;color:#9acaaf;margin-bottom:6px}.orbit-node b{display:block;font-size:11px;font-weight:400;color:#b2c0c3;margin-top:9px}.node-voice{left:8%;top:5%}.node-voice svg{display:block;width:110px;height:25px;stroke:#a1dec0;stroke-width:2;fill:none;margin-top:8px}.node-memories{right:-1%;top:42%}.node-future{left:11%;bottom:4%}.arrival-strip{display:flex;justify-content:center;gap:60px;padding:22px;border-top:1px solid #769d902f;font:11px 'JetBrains Mono',monospace;color:#bed0c8}.arrival-strip span:before{content:'✦';color:#9cd5b7;margin-right:10px}.s>a{display:block;font-size:13px;text-decoration:underline;text-underline-offset:4px}.discovery-links a{text-underline-offset:3px}
@keyframes orbit-spin{to{transform:rotate(336deg)}}
@media(max-width:900px){.arrival-grid{gap:15px;min-height:580px;padding-top:65px;padding-bottom:55px}.orbit-node{min-width:140px;padding:12px}.orbit-node b{max-width:125px}.arrival-strip{gap:22px}.arrival-lede{font-size:18px}}
@media(max-width:650px){.arrival-grid{grid-template-columns:1fr;padding-top:48px;padding-bottom:30px}.arrival h1{font-size:clamp(49px,12vw,72px)}.memory-orbit{max-width:430px;margin:12px auto 0}.orbit-node{min-width:125px;font-size:13px}.node-memories{right:0}.orbit-core strong{font-size:27px}.arrival-strip{flex-direction:column;gap:10px;text-align:center}.arrival-offer{font-size:11px}.arrival .row{gap:12px}.arrival .btn{font-size:14px}.arrival .btn-lg{padding:13px 18px}}
@media(prefers-reduced-motion:reduce){.ring-two{animation:none}}
@media(max-width:650px){.memory-orbit{aspect-ratio:auto;height:430px}.orbit-core{inset:auto;top:135px;left:calc(50% - 75px);width:150px;height:150px}.node-voice{left:0;top:8px}.node-memories{right:0;top:8px}.orbit-node{width:130px;min-width:0}.node-future{left:calc(50% - 90px);bottom:12px;width:180px}.node-future b{max-width:none}.arrival .btn-p{background:#4758a9;color:#fff}}
