/* Public home (design mock v1, Nov 2026: ~/Documents/Codex/mesh-mock-v1/source/Landing.dc.html holds the exact values).
   Near-black page, chrome-gradient headlines, quiet cards (4.5% → 2% white lift, 8% edge, 24px radius). Fonts are served
   from this site (Inter, JetBrains Mono): no third-party font request. The research pages keep styles.css. */
@font-face{font-family:'Inter Variable';src:url('/assets/fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/JetBrainsMono-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/JetBrainsMono-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
:root{--bg:#08090b;--text:#f3f5f6;--soft:#c9cfd4;--muted:#a9b1b8;--label:#9aa3ab;--faint:#8f989f;--line:rgba(255,255,255,.08);--line-soft:rgba(255,255,255,.07);
 --card:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));--amber:#f2b44b;--green:#7bd9a0;--green-text:#a8e6bf;
 --sans:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display','Inter Variable',Inter,system-ui,sans-serif;--mono:ui-monospace,'SF Mono','JetBrains Mono',Menlo,monospace;
 --mesh-header-width:1116px;color-scheme:dark}
*{box-sizing:border-box}
html{background:var(--bg)}
body.home{margin:0;background:radial-gradient(1100px 620px at 78% 10%,rgba(190,200,210,.10),rgba(8,9,11,0) 70%),var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}
.home a{color:#d9dee2;text-decoration:none}.home a:hover{color:#fff}
.home :is(h1,h2,h3,p,ol){margin:0}
.home :is(a,button,input,summary,[tabindex]):focus-visible{outline:2px solid #e5eaf0;outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;z-index:20;padding:8px 12px;background:#fff;color:#000}
/* Labels: 13px, weight 500, sentence case, faint positive tracking (no tracked uppercase mono). */
.mono{font-family:var(--sans);font-size:13px;line-height:18px;font-weight:500;letter-spacing:.01em;text-transform:none;color:var(--label)}
.card{background:var(--card);border:1px solid var(--line);border-radius:24px}
.num{font-variant-numeric:tabular-nums}
.chrome{background:linear-gradient(180deg,#fff 0%,#c9d0d6 55%,#8d959c 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-main{max-width:1180px;margin:0 auto;padding:0 32px}

/* ---------- Hero ---------- */
.home-hero{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end;padding:96px 0 56px}
.hero-copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero-side{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:22px;align-self:flex-end}
.hero-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;height:36px;padding:0 16px 0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03)}
.hero-badge .mono{color:var(--soft)}
.hero-orb{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#8d959c 60%,#3a4046)}
.home-hero h1{font-size:clamp(52px,7vw,76px);line-height:1.02;letter-spacing:-.03em;font-weight:600}
.hero-lead{font-size:19px;line-height:1.55;color:#b6bdc3;max-width:34ch}
.hero-form{padding:20px;display:flex;flex-direction:column;gap:14px;max-width:520px}
.hero-form label{font-size:14px;color:var(--soft)}
.hero-form-row{display:flex;gap:10px;flex-wrap:wrap}
.hero-form input{flex:1 1 240px;min-width:0;height:52px;padding:0 18px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:#0b0d10;color:var(--text);font:15px var(--sans)}
.hero-form input::placeholder{color:#7f8890}
.hero-form button{height:52px;padding:0 24px;border-radius:999px;border:0;background:var(--text);color:#0b0d10;font:600 15px var(--sans);cursor:pointer}
.hero-form button:hover{background:#fff}
.hero-form-note{font-size:13px;line-height:1.5;color:var(--faint)}
.hero-form-note a{color:var(--soft);border-bottom:1px solid rgba(255,255,255,.2)}
/* The full artwork in a 3:1 band (contain: never cropped), widgets along its bottom edge. */
.home-art{padding:0 0 104px}
.hero-art-frame{position:relative;aspect-ratio:3/1;border-radius:32px;overflow:hidden;border:1px solid var(--line);background:#000}
.hero-art-frame img{width:100%;height:100%;object-fit:contain;display:block}
.hero-art-frame::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,9,11,0) 55%,rgba(8,9,11,.65) 100%)}
.hero-widgets{position:relative;display:flex;flex-wrap:wrap;gap:14px;margin-top:-56px;padding:0 28px}
.hero-float{flex:1 1 260px;min-width:0;padding:18px 20px;background:rgba(14,16,19,.92);display:flex;flex-direction:column;gap:8px}
.hero-float-b,.hero-float-c{flex-direction:row;justify-content:space-between;align-items:center;gap:16px}
.float-pair{display:flex;flex-direction:column;gap:4px}
.float-label{font-size:13px;color:var(--label)}
.float-text{font-size:15px;line-height:1.45}
.float-grade{font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--amber)}
.float-sub{font-size:13px;color:var(--muted)}
.float-value{font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--green-text)}
.hero-credit{margin:14px 28px 0;font-size:12px;color:#7f8890;text-align:right}

/* ---------- How Mesh works ---------- */
.home-how{padding:112px 0 104px;border-top:1px solid var(--line-soft);display:flex;flex-direction:column;gap:72px;scroll-margin-top:24px}
.how-intro{display:flex;flex-direction:column;gap:22px}
.how-intro h2{font-size:clamp(40px,5vw,60px);line-height:1.04;letter-spacing:-.03em;font-weight:600}
.how-intro p{font-size:19px;line-height:1.6;color:#b6bdc3;max-width:60ch}
.how-block{display:flex;flex-direction:column;gap:20px}
.stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.stage{padding:24px;display:flex;flex-direction:column;gap:14px;min-height:236px}
.stage-top{display:flex;justify-content:space-between;align-items:center}
.stage-n{font-family:var(--mono);font-size:13px;color:var(--faint)}
.stage-dot{width:8px;height:8px;border-radius:50%;background:#c9d0d6;box-shadow:0 0 10px rgba(201,208,214,.5)}
.stage-title{font-size:22px;font-weight:600;letter-spacing:-.02em}
.stage-text{font-size:15px;line-height:1.55;color:var(--muted);flex:1}
.stage-foot{font-size:13px;color:var(--soft);padding-top:12px;border-top:1px solid var(--line-soft)}
.how-row{display:flex;flex-wrap:wrap;gap:14px}
.domains{flex:999 1 620px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:22px}
.domains-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.domains-title,.flow-title{font-size:24px;font-weight:600;letter-spacing:-.02em}
.domains-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0 32px}
.domain{display:flex;flex-direction:column;gap:4px;padding:16px 0;border-top:1px solid var(--line-soft)}
.domain-title,.flow-step{font-size:16px;font-weight:600}
.domain-text,.flow-text{font-size:14px;line-height:1.5;color:var(--muted)}
.flow{flex:1 1 340px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:22px;background:linear-gradient(180deg,#161a1f,#0f1215)}
.flow ol{list-style:none;padding:0;display:flex;flex-direction:column;gap:18px}
.flow li{display:flex;gap:16px;align-items:flex-start}
.flow-n{flex:none;width:32px;height:32px;border-radius:50%;border:1px solid rgba(255,255,255,.18);display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:var(--soft)}
.flow-body{display:flex;flex-direction:column;gap:4px}
.flow-note{margin-top:auto;font-size:13px;color:var(--faint)}
.split-head{display:flex;flex-wrap:wrap;gap:16px 64px;align-items:flex-end;justify-content:space-between}
.split-title{display:flex;flex-direction:column;gap:14px}
.split-head h3{font-size:40px;line-height:1.08;letter-spacing:-.03em;font-weight:600}
.split-head>p{font-size:16px;line-height:1.6;color:var(--muted);max-width:52ch}
.how-block>.split-head{margin-bottom:8px}
.edges{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.edge{padding:24px;border-radius:20px;border:1px solid var(--line);background:rgba(255,255,255,.02);display:flex;flex-direction:column;gap:10px}
.edge-title{font-size:17px;font-weight:600}
.edge-text{font-size:14px;line-height:1.55;color:var(--muted)}
.roadmap{padding:40px;display:flex;flex-direction:column;gap:32px;background:radial-gradient(800px 320px at 85% 0%,rgba(190,200,210,.08),rgba(0,0,0,0) 70%),linear-gradient(180deg,#13161a,#0c0e11)}
.roadmap .split-head>p{font-size:15px;max-width:50ch}
.road{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:24px 0}
.road li{display:flex;flex-direction:column;gap:12px;padding:0 20px 0 0}
.road-line{display:flex;align-items:center}
.road-line::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.12);margin-left:10px}
.road-dot{flex:none;width:12px;height:12px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:#0c0e11}
.road .is-now .road-dot{border:0;background:var(--green);box-shadow:0 0 0 4px rgba(123,217,160,.15),0 0 14px rgba(123,217,160,.6)}
.road-when{font-size:13px;font-weight:500;letter-spacing:.01em;color:var(--label)}
.road .is-now .road-when{color:var(--green-text)}
.road-title{font-size:17px;font-weight:600}
.road-text{font-size:14px;line-height:1.5;color:var(--muted)}
.roadmap-note{font-size:13px;line-height:1.5;color:var(--faint)}
.roadmap-note a{color:var(--soft);border-bottom:1px solid rgba(255,255,255,.2)}
.tile{flex:1 1 300px;min-width:0;padding:28px;border-radius:20px;border:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.tile-title{font-size:18px;font-weight:600}
.tile-text{font-size:14px;line-height:1.55;color:var(--muted)}
.tile-light{background:var(--text);border-color:var(--text);color:#0b0d10}
.tile-light .mono{color:#5b636a}
.tile-light .tile-text{color:#3d454c}
.home .tile-button{margin-top:auto;align-self:flex-start;height:40px;padding:0 18px;border-radius:999px;background:#0b0d10;color:var(--text);font-size:14px;font-weight:600;display:inline-flex;align-items:center}
.home .tile-button:hover{color:#fff;background:#000}

/* ---------- Donate: two wide panels ---------- */
.home-donate{padding:104px 0 112px;border-top:1px solid var(--line-soft);display:flex;flex-direction:column;gap:40px;scroll-margin-top:24px}
.donate-head{gap:24px 64px}
.donate-head .split-title{gap:16px}
.home-donate h2{font-size:48px;line-height:1.06;letter-spacing:-.03em;font-weight:600}
.donate-head>p{font-size:17px;line-height:1.6;color:#b6bdc3;max-width:48ch}
.donate-row{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch}
.costs{flex:999 1 560px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:26px}
.costs-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.costs-total{display:flex;flex-direction:column;gap:6px}
.costs-label{font-size:14px;color:var(--label)}
.costs-amount{font-size:56px;line-height:1;font-weight:600;letter-spacing:-.03em}
.cost-list{display:flex;flex-direction:column}
.cost{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;padding:16px 0;border-top:1px solid var(--line-soft)}
.cost-title{font-size:16px;font-weight:600}
/* Amount, then the share in a fixed-width right-aligned column, so every amount ends on the same edge. */
.cost-figures{display:inline-flex;align-items:baseline;gap:12px;justify-self:end}
.cost-amount{font-size:16px;font-weight:600;color:var(--soft);font-variant-numeric:tabular-nums}
.cost-share{flex:none;width:40px;font-size:14px;font-weight:500;color:var(--label);text-align:right;font-variant-numeric:tabular-nums}
.cost-text{font-size:14px;line-height:1.5;color:var(--muted)}
/* The four shares as one thin bar, in muted greys (not rating colours); each row carries the matching swatch. */
.cost-bar{display:flex;gap:2px;height:6px;border-radius:999px;overflow:hidden}
.cost-seg{display:block;min-width:4px}
.share-86{flex:86}.share-8{flex:8}.share-4{flex:4}.share-2{flex:2}
.cost-title{display:inline-flex;align-items:flex-start;gap:10px;line-height:20px}
.cost-key{flex:none;width:8px;height:8px;margin-top:6px;border-radius:2px}
.seg-1{background:#c9cfd4}.seg-2{background:#8b949c}.seg-3{background:#5f6870}.seg-4{background:#3e464d}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fact{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.fact-label{font-size:12px;color:var(--label)}
.fact-value{font-size:16px;font-weight:600}
.contribute{flex:1 1 380px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:20px;background:linear-gradient(180deg,#13161a,#0c0e11)}
.contribute-title{font-size:22px;font-weight:600;letter-spacing:-.02em}
.contribute-who{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
/* The QR is white on transparent: it needs a black ground to scan. */
.contribute-qr{width:160px;height:160px;border-radius:18px;background:#000;border:1px solid rgba(255,255,255,.14);padding:12px;object-fit:contain}
.contribute-copy{flex:1 1 120px;min-width:0;display:flex;flex-direction:column;gap:6px}
.contribute-qr-block{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px;flex:none}
.contribute-name{font-size:15px;font-weight:600;text-align:center}
.contribute-text{font-size:14px;line-height:1.5;color:var(--muted)}
.contribute-address{display:flex;flex-direction:column;gap:8px}
.address-label{font-size:14px;color:var(--label)}
.address-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 8px 6px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:#0b0d10}
/* One line when it fits; otherwise exactly two even halves (22 + 22 characters), never a ragged break. */
.home-address{flex:1;min-width:0;font-family:var(--mono);font-size:13px;line-height:1.5}
.home-address>span{display:inline-block;white-space:nowrap}
.home-copy{flex:none;height:34px;padding:0 14px;border-radius:999px;border:0;background:var(--text);color:#0b0d10;font:600 13px var(--sans);cursor:pointer}
.home-feedback{min-height:18px;font-size:13px;line-height:1.4;color:var(--soft)}
.home-feedback:empty{min-height:0}
.wallet-link{font-size:14px;padding-top:4px;align-self:flex-start}
.contribute-disclosure{margin-top:auto;padding-top:16px;border-top:1px solid var(--line-soft);display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.55;color:var(--faint)}

/* ---------- Footer ---------- */
.home-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;width:calc(100% - 64px);max-width:1116px;margin:0 auto;padding:28px 0 40px;border-top:1px solid var(--line-soft);font-size:13px;color:var(--faint)}
.footer-links{display:flex;gap:20px}

/* ---------- Phones: the same layout reflowed, as in the mock ---------- */
@media (max-width:640px){
 /* Donate facts: one compact row of two tiles. */
 .fact{padding:10px 12px;border-radius:12px}
 .fact-value{font-size:15px}
 .home-main{padding:0 16px}
 .home-footer{width:calc(100% - 32px)}
 .home-hero{padding:48px 0 32px;gap:32px}
 .hero-lead{font-size:17px}
 .home-art{padding-bottom:72px}
 .hero-art-frame{border-radius:20px}
 .hero-widgets{margin-top:14px;padding:0}
 .hero-credit{margin:12px 0 0}
 .home-how{padding:72px 0;gap:56px}
 .domains,.flow,.costs,.contribute{padding:24px}
 .roadmap{padding:24px}
 .split-head h3{font-size:34px}
 .home-donate{padding:72px 0}
 .home-donate h2{font-size:38px}
 .costs-amount{font-size:44px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
