:root {
  color-scheme: dark;
  --ink: #f5f3ea;
  --ink-soft: #b8c9c1;
  --ink-faint: #758a81;
  --night: #07110e;
  --night-raised: #0c1915;
  --night-soft: #11251e;
  --line: rgba(178, 255, 225, 0.14);
  --mint: #8fffd9;
  --mint-strong: #4ee7b4;
  --forest: #214e45;
  --amber: #ffc778;
  --danger: #ff937e;
  --shell: min(1180px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(33, 78, 69, 0.34), transparent 32rem),
    linear-gradient(180deg, #07110e 0%, #08130f 55%, #06100d 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--night);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}
.ambient-one {
  top: 7rem;
  right: -19rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(143, 255, 217, 0.08);
  box-shadow: 0 0 0 5rem rgba(143, 255, 217, 0.018), 0 0 0 11rem rgba(143, 255, 217, 0.012);
}
.ambient-two {
  top: 78rem;
  left: -20rem;
  width: 34rem;
  height: 34rem;
  background: rgba(33, 78, 69, 0.18);
  filter: blur(120px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.brand img { border-radius: 12px; box-shadow: 0 9px 30px rgba(0, 0, 0, 0.24); }

nav { display: flex; align-items: center; gap: 30px; }
nav a {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}
nav a:hover { color: var(--ink); }
nav .nav-download {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  min-height: 760px;
  padding-block: 90px 110px;
}

.eyebrow, .kicker {
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(143, 255, 217, 0.08), 0 0 20px rgba(143, 255, 217, 0.5);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-block: 25px 24px;
  font-size: clamp(3.45rem, 7vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.074em;
}
h1 em { color: var(--mint); font-family: Georgia, "Times New Roman", serif; font-weight: 450; }

.hero-lede {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, nav a:focus-visible, .hash-card button:focus-visible {
  outline: 3px solid rgba(143, 255, 217, 0.42);
  outline-offset: 3px;
}
.button svg { width: 20px; height: 20px; fill: currentColor; }
.button-primary {
  color: #03100c;
  background: var(--mint);
  box-shadow: 0 18px 45px rgba(78, 231, 180, 0.13);
}
.button-primary:hover { background: #a7ffe2; box-shadow: 0 20px 55px rgba(78, 231, 180, 0.2); }
.button-quiet { border-color: var(--line); color: var(--ink-soft); background: rgba(255, 255, 255, 0.025); }
.button-quiet:hover { border-color: rgba(143, 255, 217, 0.3); color: var(--ink); }
.button-large { min-height: 58px; padding-inline: 26px; font-size: 0.96rem; }

.release-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 0; color: var(--ink-faint); font-size: 0.78rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.trust-row li { color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.71rem; letter-spacing: 0.05em; }
.trust-row li::before { margin-right: 8px; color: var(--mint); content: "✓"; }

.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.visual-grid {
  position: absolute;
  inset: 2% -10%;
  opacity: 0.22;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, #000 15%, transparent 72%);
}
.signal { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(143, 255, 217, 0.11); border-radius: 50%; animation: breathe 5s ease-in-out infinite; }
.signal-b { width: 520px; height: 520px; animation-delay: -2.5s; }

.call-card {
  position: relative;
  width: min(100%, 410px);
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(178, 255, 225, 0.2);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(20, 48, 39, 0.91), rgba(7, 17, 14, 0.96));
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}
.call-card::before { position: absolute; top: -120px; left: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(78, 231, 180, 0.12); filter: blur(70px); content: ""; }
.call-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.micro-label { color: var(--ink-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.63rem; letter-spacing: 0.13em; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(143, 255, 217, 0.13); border-radius: 99px; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.61rem; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.identity-mark { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin: 54px auto 22px; }
.identity-mark img { z-index: 1; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.identity-ring { position: absolute; inset: 0; border: 1px solid rgba(143, 255, 217, 0.24); border-radius: 50%; box-shadow: 0 0 0 12px rgba(143, 255, 217, 0.025), 0 0 0 26px rgba(143, 255, 217, 0.018); }
.connection-title { margin-bottom: 6px; text-align: center; font-size: 1.15rem; font-weight: 750; }
.connection-subtitle { margin-bottom: 15px; color: var(--ink-faint); text-align: center; font-size: 0.76rem; }
.verify-code { display: flex; justify-content: center; gap: 8px; }
.verify-code span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--mint); background: rgba(143, 255, 217, 0.035); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
.waveform { display: flex; align-items: center; justify-content: center; gap: 4px; height: 48px; margin-block: 26px 18px; }
.waveform i { display: block; width: 3px; height: 8px; border-radius: 9px; background: var(--mint); opacity: 0.75; animation: wave 1.5s ease-in-out infinite; }
.waveform i:nth-child(2n) { animation-delay: -0.7s; }
.waveform i:nth-child(3n) { animation-delay: -1.1s; }
.waveform i:nth-child(4n) { animation-delay: -0.2s; }
.route { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: start; padding-top: 20px; border-top: 1px solid var(--line); }
.route > div { text-align: center; }
.route-node { display: block; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.09em; }
.route-node-muted { color: var(--mint); }
.route small { display: block; margin-top: 6px; color: var(--ink-faint); font-size: 0.58rem; }
.route-line { position: relative; display: block; height: 1px; margin-top: 6px; background: var(--line); }
.route-line i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); animation: travel 2.4s linear infinite; }

.proof-strip { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.proof-track { display: flex; align-items: center; justify-content: space-between; min-height: 82px; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; letter-spacing: 0.13em; }
.proof-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }

.section { padding-block: clamp(90px, 12vw, 160px); }
.section-heading { display: grid; grid-template-columns: 0.65fr 1.25fr 0.8fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.section-heading h2, .warning-panel h2, .download-section h2, .final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.section-heading > p:last-child { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.section-heading.compact { grid-template-columns: 0.55fr 1.45fr; }
.section-heading.compact > p:last-child { grid-column: 2; max-width: 650px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.022);
}
.feature-card-wide { grid-column: span 2; }
.feature-card h3 { margin-top: 86px; margin-bottom: 13px; font-size: 1.23rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.7; }
.feature-number { color: var(--ink-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.64rem; }
.feature-icon, .lock-mark, .blind-mark { position: absolute; top: 55px; right: 28px; width: 90px; height: 90px; }
.onion-icon { display: grid; place-items: center; }
.onion-icon i { position: absolute; border: 1px solid rgba(143, 255, 217, 0.25); border-radius: 50%; }
.onion-icon i:nth-child(1) { width: 72px; height: 72px; }
.onion-icon i:nth-child(2) { width: 48px; height: 48px; }
.onion-icon i:nth-child(3) { width: 22px; height: 22px; background: rgba(143, 255, 217, 0.11); }
.lock-mark span { position: absolute; right: 10px; bottom: 8px; width: 48px; height: 40px; border: 1px solid rgba(143, 255, 217, 0.3); border-radius: 9px; }
.lock-mark span::before { position: absolute; top: -27px; left: 11px; width: 24px; height: 30px; border: 1px solid rgba(143, 255, 217, 0.3); border-bottom: 0; border-radius: 15px 15px 0 0; content: ""; }
.lock-mark span::after { position: absolute; top: 14px; left: 21px; width: 5px; height: 11px; border-radius: 5px; background: var(--mint); content: ""; }
.blind-mark { display: flex; align-items: center; justify-content: center; gap: 11px; }
.blind-mark::before { position: absolute; width: 78px; height: 40px; border: 1px solid rgba(143, 255, 217, 0.26); border-radius: 100% 0; transform: rotate(45deg); content: ""; }
.blind-mark i { z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: var(--mint); }
.blind-mark::after { position: absolute; z-index: 2; width: 88px; height: 1px; background: var(--danger); transform: rotate(-32deg); content: ""; }
.feature-card-accent { display: grid; grid-column: 1 / -1; grid-template-columns: 1.4fr 0.6fr; align-items: end; min-height: 270px; background: linear-gradient(135deg, rgba(33, 78, 69, 0.38), rgba(143, 255, 217, 0.035)); }
.feature-card-accent h3 { margin-top: 0; }
.zero-stack { align-self: center; text-align: center; }
.zero-stack span { display: block; color: var(--mint); font-family: Georgia, serif; font-size: 6.5rem; line-height: 0.8; }
.zero-stack small { color: var(--ink-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.58rem; text-transform: uppercase; }

.mechanics { border-block: 1px solid var(--line); background: var(--night-raised); }
.mechanics-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 90px; }
.mechanics .section-heading { display: block; align-self: start; position: sticky; top: 40px; margin-bottom: 0; }
.mechanics .section-heading h2 { margin-top: 22px; }
.mechanic-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mechanic-list li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.mechanic-list > li > span { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.66rem; }
.mechanic-list h3 { margin-bottom: 8px; font-size: 1.08rem; }
.mechanic-list p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.7; }

.beta-section { padding-top: 140px; }
.warning-panel { display: grid; grid-template-columns: 150px 1fr; gap: 42px; padding: 48px; border: 1px solid rgba(255, 199, 120, 0.25); border-radius: 26px 26px 0 0; background: linear-gradient(135deg, rgba(255, 199, 120, 0.08), rgba(255, 147, 126, 0.03)); }
.warning-symbol { display: grid; place-items: center; width: 120px; height: 120px; border: 1px solid rgba(255, 199, 120, 0.25); border-radius: 50%; color: var(--amber); font-family: Georgia, serif; font-size: 4rem; }
.warning-kicker { color: var(--amber); }
.warning-panel h2 { max-width: 800px; margin: 18px 0 26px; }
.warning-lede { max-width: 880px; margin: 0; color: #d4c6b0; font-size: 1rem; line-height: 1.75; }
.limits-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 199, 120, 0.2); border-top: 0; border-radius: 0 0 26px 26px; }
.limits-grid article { min-height: 210px; padding: 28px; border-right: 1px solid rgba(255, 199, 120, 0.15); }
.limits-grid article:last-child { border-right: 0; }
.limits-grid h3 { font-size: 0.96rem; }
.limits-grid p { margin: 0; color: #b9aea0; font-size: 0.81rem; line-height: 1.68; }

.download-section { border-block: 1px solid var(--line); background: linear-gradient(135deg, #143b31, #0c1d18 62%); }
.download-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: center; }
.download-section h2 { margin: 20px 0 25px; }
.download-lede { max-width: 560px; margin-bottom: 32px; color: var(--ink-soft); line-height: 1.7; }
.release-status { margin: 14px 0 0; color: var(--ink-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; }
.release-status.is-ready { color: var(--mint); }
.release-status.is-error { color: var(--danger); }
.install-list { margin: 0; padding: 0; list-style: none; }
.install-list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-block: 23px; border-bottom: 1px solid var(--line); }
.install-list li:first-child { border-top: 1px solid var(--line); }
.install-list > li > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(143, 255, 217, 0.24); border-radius: 50%; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.67rem; }
.install-list h3 { margin-bottom: 6px; font-size: 1rem; }
.install-list p { margin: 0; color: var(--ink-soft); font-size: 0.84rem; line-height: 1.6; }

.provenance .section-heading { margin-bottom: 42px; }
.hash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hash-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.018); }
.hash-card > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.hash-card span { color: var(--ink-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.65rem; letter-spacing: 0.09em; text-transform: uppercase; }
.hash-card button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--mint); background: transparent; cursor: pointer; font: inherit; font-size: 0.7rem; }
.hash-card code { display: block; overflow-wrap: anywhere; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.74rem; line-height: 1.55; }
.provenance-note { max-width: 720px; margin: 20px 0 0; color: var(--ink-faint); font-size: 0.76rem; line-height: 1.6; }

.final-cta { display: grid; grid-template-columns: 1fr 0.6fr; gap: 80px; align-items: end; padding-top: 80px; }
.final-cta h2 { margin-top: 18px; }
.final-cta > div:last-child { padding-bottom: 8px; }
.final-cta > div:last-child p { max-width: 380px; margin: 18px 0 0; color: var(--ink-faint); font-size: 0.75rem; line-height: 1.55; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 35px; align-items: center; min-height: 120px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.7rem; }
.site-footer p { margin: 0; }

@keyframes breathe { 0%, 100% { opacity: 0.35; transform: scale(0.96); } 50% { opacity: 0.75; transform: scale(1.03); } }
@keyframes wave { 0%, 100% { height: 8px; opacity: 0.35; } 50% { height: 34px; opacity: 0.95; } }
@keyframes travel { from { transform: translateX(0); } to { transform: translateX(39px); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 600px; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr 2fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 1; }
  .mechanics-inner { grid-template-columns: 1fr; gap: 60px; }
  .mechanics .section-heading { position: static; }
  .limits-grid { grid-template-columns: repeat(2, 1fr); }
  .limits-grid article:nth-child(2) { border-right: 0; }
  .limits-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 199, 120, 0.15); }
  .download-grid { gap: 60px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p:nth-child(2) { display: none; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1180px); }
  nav > a:not(.nav-download) { display: none; }
  .site-header { min-height: 72px; }
  .hero { min-height: 0; padding-block: 64px 80px; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 500px; }
  .signal-a { width: 340px; height: 340px; }
  .signal-b { width: 430px; height: 430px; }
  .call-card { padding: 21px; border-radius: 22px; }
  .proof-track { justify-content: flex-start; gap: 28px; overflow: hidden; }
  .proof-track span { white-space: nowrap; }
  .section { padding-block: 90px; }
  .section-heading, .section-heading.compact { display: block; margin-bottom: 42px; }
  .section-heading h2 { margin-block: 18px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; }
  .feature-card-accent { grid-template-columns: 1fr; min-height: 340px; }
  .zero-stack { text-align: left; }
  .mechanic-list li { grid-template-columns: 42px 1fr; }
  .warning-panel { grid-template-columns: 1fr; padding: 28px; }
  .warning-symbol { width: 78px; height: 78px; font-size: 2.8rem; }
  .limits-grid { grid-template-columns: 1fr; }
  .limits-grid article, .limits-grid article:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255, 199, 120, 0.15); }
  .limits-grid article:last-child { border-bottom: 0; }
  .download-grid, .hash-grid, .final-cta { grid-template-columns: 1fr; gap: 55px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
