/* OpenNodes. Brand tokens from BRAND.md */
:root {
  --green: #16a34a;
  --green-bright: #4ade80;
  --green-deep: #14532d;
  --green-soft: #dcfce7;
  --mint: #f6faf7;
  --charcoal: #1f2937;
  --ink: #0f1a14;
  --body: #4a5650;
  --muted: #6b766f;
  --line: #e3e9e5;

  --forest: #06170e;
  --forest-2: #0a2216;
  --forest-3: #0f2e1d;
  --on-dark: #e8f1ec;
  --on-dark-muted: #9fb3a8;
  --dark-line: rgba(255, 255, 255, .09);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1200px;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--forest); color: var(--body); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.05; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font: 500 1rem/1 var(--font); text-decoration: none; padding: 14px 22px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 0 0 1px rgba(74, 222, 128, .35) inset, 0 10px 30px -10px rgba(22, 163, 74, .8); }
.btn-primary:hover { background: #15924a; transform: translateY(-1px); }
.btn-outline { color: var(--on-dark); border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--green-soft); }
.btn-sm { padding: 10px 18px; font-size: .94rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(6, 23, 14, .55); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.header.scrolled { background: rgba(6, 23, 14, .85); border-bottom-color: var(--dark-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; font-size: 1.32rem; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; }
.logo b { color: var(--green-bright); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav > a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font-size: .96rem; font-weight: 450; transition: color .2s; }
.nav > a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--dark-line); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); padding: 96px 0 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 78% 38%, rgba(22, 163, 74, .28), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(20, 83, 45, .55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 40%, transparent 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .9fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid rgba(74, 222, 128, .25); background: rgba(22, 163, 74, .1); color: #bbf7d0; font-size: .9rem; font-weight: 500; margin-bottom: 30px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
h1 { color: #fff; font-size: clamp(2.7rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -0.05em; font-weight: 600; max-width: 14ch;
  background: linear-gradient(180deg, #ffffff 30%, #b9d9c6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.lede { font-size: 1.2rem; line-height: 1.65; color: var(--on-dark-muted); margin: 28px 0 0; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; color: var(--on-dark-muted); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(74, 222, 128, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Network diagram */
.network { margin: 0; }
.network svg { width: 100%; height: auto; overflow: visible; }
.orbit { fill: none; stroke: rgba(255, 255, 255, .07); stroke-dasharray: 2 6; }
.wires path { stroke: rgba(74, 222, 128, .28); stroke-width: 1.5; fill: none; }
.sparks path { stroke: var(--green-bright); stroke-width: 2.5; stroke-linecap: round; fill: none; stroke-dasharray: 10 400; stroke-dashoffset: 0; opacity: 0; filter: drop-shadow(0 0 4px rgba(74, 222, 128, .9)); }
.core-ring { fill: none; stroke: rgba(74, 222, 128, .35); stroke-width: 1.5; }
.core-fill { fill: var(--green); filter: drop-shadow(0 0 24px rgba(22, 163, 74, .7)); }
.core-label { fill: #fff; font: 600 15px var(--font); letter-spacing: -0.01em; }
.nodes rect { fill: rgba(10, 34, 22, .92); stroke: rgba(255, 255, 255, .14); }
.nodes circle { fill: var(--green-bright); }
.nodes text { fill: var(--on-dark); font: 500 14px var(--font); }
@media (prefers-reduced-motion: no-preference) {
  .sparks path { animation: spark 3.6s linear infinite; }
  .sparks path:nth-child(2) { animation-delay: .5s; } .sparks path:nth-child(3) { animation-delay: 1s; }
  .sparks path:nth-child(4) { animation-delay: 1.5s; } .sparks path:nth-child(5) { animation-delay: 2s; }
  .sparks path:nth-child(6) { animation-delay: 2.5s; } .sparks path:nth-child(7) { animation-delay: 3s; }
  @keyframes spark { 0% { stroke-dashoffset: 10; opacity: 0; } 8% { opacity: 1; } 45% { opacity: 1; } 55% { stroke-dashoffset: -230; opacity: 0; } 100% { stroke-dashoffset: -230; opacity: 0; } }
  .core-ring { animation: breathe 4s ease-in-out infinite; transform-origin: 300px 260px; }
  @keyframes breathe { 50% { transform: scale(1.08); opacity: .5; } }
}

/* Tech stack strip */
.stack { position: relative; display: flex; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 64px; margin-top: 56px; border-top: 1px solid var(--dark-line); }
.stack p { margin: 0; flex: none; font-size: .92rem; color: var(--on-dark-muted); max-width: 15em; line-height: 1.45; }
.stack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
.stack li { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: rgba(232, 241, 236, .55); }

/* Sections */
.section { padding: 128px 0; }
.light { background: var(--mint); }
.white { background: #fff; }
.dark, .contrast { background: var(--forest); color: var(--on-dark-muted); }
.dark h2, .dark h3, .contrast h2, .contrast h3 { color: #fff; }
.contrast { background: linear-gradient(180deg, var(--forest), var(--forest-2)); border-top: 1px solid var(--dark-line); }
.head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.head > p:not(.label) { font-size: 1.15rem; margin: 22px auto 0; max-width: 38em; }
.head.left { text-align: left; margin: 0; }
.head.left > p:not(.label) { margin-left: 0; }
.label { display: inline-block; font-size: .95rem; font-weight: 500; color: var(--green); margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: var(--green-soft); }
.dark .label { background: rgba(74, 222, 128, .12); color: var(--green-bright); }

/* Problem / solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--r-lg); padding: 36px; border: 1px solid var(--dark-line); display: flex; flex-direction: column; }
.panel-before { background: rgba(255, 255, 255, .025); }
.panel-after { background: linear-gradient(160deg, rgba(22, 163, 74, .2), rgba(22, 163, 74, .04) 60%); border-color: rgba(74, 222, 128, .28); }
.panel-label { font-size: .95rem; font-weight: 500; color: var(--on-dark-muted); margin-bottom: 22px; }
.panel-after .panel-label { color: var(--green-bright); }
.subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.subs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); }
.sub-name { color: var(--on-dark); font-weight: 500; }
.sub-tag { font-size: .82rem; color: #fca5a5; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .2); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.panel-foot { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--dark-line); font-weight: 500; color: var(--on-dark); }
.unified { flex: 1; display: grid; gap: 22px; align-content: start; }
.unified-core { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--green); color: #fff; font-weight: 600; font-size: 1.1rem; box-shadow: 0 20px 40px -20px rgba(22, 163, 74, .9); }
.unified-core svg { width: 34px; height: 34px; padding: 4px; background: rgba(0, 0, 0, .18); border-radius: 9px; }
.unified-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.unified-list li { position: relative; padding-left: 32px; color: var(--on-dark); }
.unified-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(74, 222, 128, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.panel-after .panel-foot { border-top-color: rgba(74, 222, 128, .2); color: #fff; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; box-shadow: 0 1px 2px rgba(15, 26, 20, .04); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(20, 83, 45, .35); }
.tile p { margin: 0; color: var(--body); font-size: 1rem; }
.tile-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 40px; }
.tile-copy { flex: 1; display: grid; gap: 12px; }
.tile-copy h3 { font-size: 1.5rem; }
.tile-dark { grid-column: span 2; background: var(--forest-2); border-color: var(--forest-3); }
.tile-dark h3 { color: #fff; }
.tile-dark .tile-copy { max-width: 560px; }
.tile-dark .support-stats { margin-left: auto; gap: 40px; }
.tile-dark .tile-copy { min-width: 300px; }
.tile-dark p { color: var(--on-dark-muted); }

.mock-dash { flex: 0 0 300px; border-radius: 16px; background: var(--mint); border: 1px solid var(--line); padding: 18px; display: grid; gap: 10px; }
.dash-top { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.dash-top b { color: var(--green); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; padding: 6px 0 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--green), #86efac); opacity: .9; }
.bars i:last-child { background: var(--green-deep); }
.dash-row { display: flex; justify-content: space-between; font-size: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; }
.dash-row em { font-style: normal; font-weight: 600; color: var(--charcoal); }

.mock-site, .mock-link, .mock-flow, .mock-check, .mock-chat { height: 124px; border-radius: 14px; background: var(--mint); border: 1px solid var(--line); margin-bottom: 14px; }
.mock-site { overflow: hidden; display: flex; flex-direction: column; }
.ms-bar { display: flex; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.ms-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4ddd7; }
.ms-body { padding: 14px; display: grid; gap: 7px; align-content: start; }
.ms-body b { height: 12px; width: 70%; border-radius: 4px; background: var(--charcoal); }
.ms-body span { height: 7px; width: 90%; border-radius: 4px; background: #cfdad3; }
.ms-body span.short { width: 60%; }
.ms-body em { margin-top: 4px; width: 74px; height: 20px; border-radius: 999px; background: var(--green); }
.mock-link { display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 16px; }
.ml-node { font-size: .82rem; font-weight: 600; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--charcoal); white-space: nowrap; }
.ml-green { background: var(--green); color: #fff; border-color: var(--green); }
.ml-line { flex: 1; min-width: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 10px); position: relative; }
.ml-line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
@media (prefers-reduced-motion: no-preference) {
  .ml-line i { animation: travel 2.4s var(--ease) infinite alternate; }
  @keyframes travel { to { left: calc(100% - 10px); } }
}
.mock-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 12px; }
.mock-flow span { font-size: .78rem; font-weight: 600; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--charcoal); }
.mock-flow span.done { background: var(--green-soft); border-color: #bbf7d0; color: var(--green-deep); }
.mock-flow i { width: 14px; height: 2px; background: var(--green); }
.mock-check { display: grid; align-content: center; gap: 8px; padding: 14px 18px; }
.mock-check span { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 500; color: var(--charcoal); }
.mock-check i { width: 16px; height: 16px; border-radius: 5px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mock-check .todo { color: var(--muted); }
.mock-check .todo i { background: #fff; border: 1.5px solid #c3cfc8; }

.support-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 32px; flex: none; }
.support-stats li { display: grid; gap: 2px; }
.support-stats b { color: #fff; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; }
.support-stats span { font-size: .88rem; color: var(--on-dark-muted); }

.mock-chat { display: grid; align-content: center; gap: 8px; padding: 14px 16px; }
.mock-chat span { font-size: .8rem; line-height: 1.35; padding: 8px 12px; border-radius: 14px; max-width: 85%; }
.mock-chat .q { justify-self: end; background: #fff; border: 1px solid var(--line); color: var(--charcoal); border-bottom-right-radius: 4px; }
.mock-chat .a { justify-self: start; background: var(--green); color: #fff; border-bottom-left-radius: 4px; }
.ml-node { white-space: normal; text-align: center; line-height: 1.25; max-width: 120px; }

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.steps li { counter-increment: s; padding: 36px 30px 40px; position: relative; background: #fff; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 3rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--green); margin-bottom: 40px; }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--green); transition: width .5s var(--ease); }
.steps li:hover::after { width: 100%; }
.steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps p { margin: 0; font-size: 1rem; }

/* Principles */
.principles { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.principles .head { position: sticky; top: 120px; }
.principles .head > p:not(.label) { color: var(--on-dark-muted); }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promises article { padding: 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--dark-line); transition: border-color .3s, background .3s; }
.promises article:hover { border-color: rgba(74, 222, 128, .35); background: rgba(22, 163, 74, .06); }
.promises h3 { margin: 22px 0 10px; }
.promises p { margin: 0; font-size: 1rem; }
.p-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .25); }
.p-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* About */
.about { display: grid; grid-template-columns: 400px 1fr; gap: 88px; align-items: center; }
.about-card { aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 35%, #fff, var(--mint) 75%); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 40px 80px -50px rgba(20, 83, 45, .5); }
.about-card svg { width: 58%; height: auto; margin-bottom: 18px; }
.about-card span { font-weight: 600; color: var(--charcoal); font-size: 1.1rem; letter-spacing: -0.02em; }
.about-card small { color: var(--muted); font-size: .92rem; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p:not(.label) { font-size: 1.12rem; max-width: 36em; }
.creds { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--charcoal); }

/* Contact */
.contact { position: relative; overflow: hidden; padding: 136px 0; background: var(--forest); color: var(--on-dark-muted); text-align: center; }
.contact-wrap { position: relative; display: grid; justify-items: center; }
.contact h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 14ch; }
.contact-lede { font-size: 1.15rem; max-width: 34em; margin: 24px auto 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; margin-top: 56px; justify-content: center; width: 100%; }
.contact-card { display: grid; justify-items: center; gap: 6px; padding: 36px 24px; border-radius: var(--r-lg); text-decoration: none; background: rgba(10, 34, 22, .7); border: 1px solid var(--dark-line); backdrop-filter: blur(10px); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.contact-card:hover { border-color: rgba(74, 222, 128, .45); background: rgba(22, 163, 74, .12); transform: translateY(-3px); }
.cc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green); margin-bottom: 14px; box-shadow: 0 14px 30px -12px rgba(22, 163, 74, .9); }
.cc-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cc-label { font-size: .95rem; color: var(--on-dark-muted); }
.cc-value { font-size: 1.4rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.contact-loc { margin: 32px 0 0; font-size: .95rem; }

/* Footer */
.footer { background: #041009; border-top: 1px solid var(--dark-line); color: var(--on-dark-muted); padding: 64px 0 40px; font-size: .94rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; }
.footer-tag { margin: 14px 0 0; }
.footer-nav { display: flex; gap: 30px; align-items: flex-start; }
.footer-nav a { text-decoration: none; color: var(--on-dark-muted); }
.footer-nav a:hover { color: #fff; }
.footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: .88rem; }

/* Scroll reveal: one quiet fade, only when JS adds .reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .network { max-width: 620px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .principles { grid-template-columns: 1fr; gap: 56px; }
  .principles .head { position: static; }
  .about { grid-template-columns: 300px 1fr; gap: 56px; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 28px; background: rgba(6, 23, 14, .97); border-bottom: 1px solid var(--dark-line); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--dark-line); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stack { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tile-wide { flex-direction: column; align-items: stretch; }
  .mock-dash { flex-basis: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 56px; }
  .lede { font-size: 1.08rem; }
  .actions .btn { flex: 1 1 100%; }
  .network { display: none; }
  .stack { padding-top: 48px; padding-bottom: 48px; margin-top: 32px; }
  .stack ul { gap: 10px 24px; }
  .stack li { font-size: 1rem; }
  .section, .contact { padding: 88px 0; }
  .head { margin-bottom: 48px; }
  .panel { padding: 24px; }
  .sub-tag { font-size: .75rem; }
  .bento, .promises { grid-template-columns: 1fr; }
  .tile-wide, .tile-dark { grid-column: auto; }
  .tile-dark .support-stats { margin-left: 0; gap: 16px; }
  .tile { padding: 24px; }
  .support-stats { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .support-stats b { font-size: 1.25rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps li::before { margin-bottom: 20px; }
  .about { grid-template-columns: 1fr; }
  .about-card { aspect-ratio: auto; padding: 40px 0; }
  .about-card svg { width: 120px; }
  .contact-cards { grid-template-columns: 1fr; }
  .cc-value { font-size: 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; gap: 18px 24px; }
}


/* Simple message pages (thanks, error, 404) */
.msg { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; position: relative; overflow: hidden; color: var(--on-dark-muted); }
.msg-inner { position: relative; max-width: 520px; display: grid; justify-items: center; gap: 18px; }
.msg-inner > svg { width: 64px; height: 64px; }
.msg h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); max-width: none; }
.msg p { font-size: 1.1rem; margin: 0; }
.msg a:not(.btn) { color: #fff; }
