@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #090c12;
  --bg-raised: #0d121b;
  --panel: #111824;
  --panel-soft: #151e2c;
  --line: rgba(216, 229, 255, 0.11);
  --line-strong: rgba(216, 229, 255, 0.23);
  --text: #f4f7fb;
  --muted: #9aa8bc;
  --faint: #66758b;
  --blue: #4d8dff;
  --blue-bright: #79aaff;
  --cyan: #65dce9;
  --green: #65e6a7;
  --yellow: #ffd166;
  --blue-wash: rgba(77, 141, 255, 0.13);
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 8%, rgba(77, 141, 255, 0.11), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 75%);
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid #a8c5ff;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell { display: flex; align-items: center; min-height: 74px; gap: 32px; }
.brand {
  display: inline-flex;
  align-items: baseline;
  flex: none;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand-prompt { margin-right: 1px; color: var(--blue); font-family: var(--font-mono); font-size: .83em; font-weight: 600; }
.brand-cursor { width: 8px; height: 1em; margin-left: 5px; transform: translateY(2px); background: var(--blue); animation: cursor-blink 1.2s steps(1) infinite; }
@keyframes cursor-blink { 50% { opacity: .15; } }
.nav-shell nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-shell nav a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .01em;
  text-decoration: none;
}
.nav-shell nav a:hover { color: var(--text); }
.nav-shell nav .nav-cta { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); }
.nav-shell nav .nav-cta:hover { border-color: var(--blue); background: var(--blue-wash); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: min(780px, calc(100svh - 74px));
  padding-block: 96px;
}
.eyebrow, .section-index {
  margin: 0 0 22px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.15rem, 7vw, 6.4rem);
  font-weight: 760;
  letter-spacing: -.066em;
  line-height: .91;
}
.hero h1 span { color: var(--blue-bright); }
.hero-intro {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--blue); background: var(--blue); color: #061020; }
.button-primary:hover { background: var(--blue-bright); }
.button-secondary { background: rgba(255,255,255,.025); color: var(--text); }
.button-secondary:hover { border-color: var(--blue); background: var(--blue-wash); }
.signal-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 30px 0 0; list-style: none; }
.signal-list li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: .66rem;
}
.signal-list li::before { content: "#"; margin-right: 2px; color: var(--blue); }

.hub-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(21,30,44,.94), rgba(13,18,27,.96));
  box-shadow: var(--shadow);
}
.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: .66rem;
}
.panel-status { color: var(--muted); }
.panel-status span { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(101,230,167,.65); }
.route-map {
  position: relative;
  min-height: 395px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(77,141,255,.19), transparent 32%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.route-map::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to bottom, transparent 70%, var(--bg-raised)); pointer-events: none; }
.route-orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(121,170,255,.27); border-radius: 50%; transform: translate(-50%, -50%); }
.route-orbit-one { width: 220px; height: 220px; }
.route-orbit-two { width: 355px; height: 300px; }
.route-core {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  display: grid;
  place-items: center;
  width: 124px; height: 124px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(121,170,255,.52);
  border-radius: 50%;
  background: #111b2b;
  box-shadow: 0 0 0 12px rgba(77,141,255,.045), 0 0 50px rgba(77,141,255,.24);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.route-core span { position: absolute; top: 25px; color: var(--blue); font-family: var(--font-mono); font-size: .7rem; }
.route-node {
  position: absolute;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(9,12,18,.89);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .67rem;
}
.route-node span { margin-right: 6px; color: var(--blue); }
.node-blog { left: 8%; top: 21%; }
.node-docs { right: 9%; top: 17%; }
.node-video { right: 5%; top: 62%; }
.node-code { left: 10%; top: 70%; }
.node-store { left: 41%; bottom: 6%; }
.route-packet { position: absolute; z-index: 4; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); animation: packet-pulse 2.4s ease-in-out infinite; }
.packet-one { left: 27%; top: 42%; }
.packet-two { right: 26%; top: 46%; animation-delay: 1.2s; }
@keyframes packet-pulse { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.3); } }
.panel-readout { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.panel-readout div { padding: 15px 16px 17px; border-right: 1px solid var(--line); }
.panel-readout div:last-child { border-right: 0; }
.panel-readout dt { color: var(--faint); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.panel-readout dd { margin: 5px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: .65rem; }

.section { padding-block: 108px; scroll-margin-top: 72px; }
.section-heading { display: grid; grid-template-columns: 150px minmax(0, 720px); gap: 30px; align-items: start; margin-bottom: 48px; }
.section-heading h2, .about-copy h2, .contact-panel h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 730;
  letter-spacing: -.055em;
  line-height: .98;
}
.section-heading > div > p { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }

.destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.destination {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  min-height: 215px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s ease;
}
.destination:nth-child(even) { border-right: 0; }
.destination:hover { background: var(--panel); }
.destination:focus-visible { z-index: 2; }
.destination-wide { grid-column: 1 / -1; min-height: 240px; grid-template-columns: 48px minmax(0, 690px) auto; border-right: 0; background: linear-gradient(100deg, var(--blue-wash), transparent 65%); }
.destination-accent { background: rgba(77,141,255,.055); }
.destination-number { color: var(--faint); font-family: var(--font-mono); font-size: .7rem; }
.destination-label { margin: 0 0 10px; color: var(--blue-bright); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; }
.destination h3 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.7rem); letter-spacing: -.045em; line-height: 1; }
.destination p:last-child { max-width: 520px; margin: 18px 0 0; color: var(--muted); }
.destination-arrow { align-self: start; color: var(--blue-bright); font-family: var(--font-mono); font-size: 1.2rem; transition: transform .2s ease; }
.destination:hover .destination-arrow { transform: translate(3px, -3px); }

.projects-section { border-block: 1px solid var(--line); background: rgba(13,18,27,.73); }
.project-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; }
.project-meta > span:last-child { margin-left: auto; color: var(--blue-bright); text-transform: none; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(101,230,167,.45); }
.trove-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 8%, rgba(77,141,255,.16), transparent 24rem),
    linear-gradient(140deg, #121c2c, var(--panel) 55%, #0d131e);
  box-shadow: var(--shadow);
}
.trove-copy { display: flex; flex-direction: column; min-height: 610px; padding: clamp(30px, 5vw, 58px); border-right: 1px solid var(--line); }
.trove-wordmark {
  margin: 65px 0 10px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
}
.trove-wordmark span { animation: cursor-blink 1.2s steps(1) infinite; }
.trove-copy h3 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 740;
  letter-spacing: -.06em;
  line-height: .94;
}
.trove-lead { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 1.04rem; }
.trove-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 38px 0 0; border-block: 1px solid var(--line); list-style: none; }
.trove-features li { padding: 15px 16px 15px 0; color: var(--muted); font-size: .78rem; }
.trove-features li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.trove-features span { display: block; margin-bottom: 5px; color: var(--blue); font-family: var(--font-mono); font-size: .57rem; }
.trove-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 36px; }
.trove-console { display: flex; flex-direction: column; min-width: 0; background: rgba(5,9,15,.48); }
.trove-console-bar { display: flex; justify-content: space-between; gap: 20px; padding: 17px 20px; border-bottom: 1px solid var(--line); color: var(--faint); font-family: var(--font-mono); font-size: .63rem; }
.trove-console-bar span:last-child { color: var(--muted); }
.trove-console-bar i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(101,230,167,.5); }
.trove-topology {
  position: relative;
  display: grid;
  grid-template-columns: minmax(125px, .75fr) 80px minmax(150px, 1fr);
  align-items: center;
  flex: 1;
  min-height: 470px;
  padding: 42px clamp(22px, 3vw, 40px);
  background:
    linear-gradient(rgba(216,229,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,229,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.trove-sources { display: grid; gap: 12px; }
.trove-sources span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(13,18,27,.92);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .64rem;
}
.trove-sources b { margin-right: 9px; color: var(--blue); font-size: .54rem; }
.trove-flow { position: relative; height: 232px; }
.trove-flow::before { position: absolute; left: 50%; top: 14%; bottom: 14%; width: 1px; content: ""; background: var(--line-strong); }
.trove-flow i { position: absolute; left: 0; right: 50%; height: 1px; background: var(--line-strong); }
.trove-flow i::after { position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; content: ""; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(101,220,233,.7); }
.trove-flow i:nth-child(1) { top: 14%; }
.trove-flow i:nth-child(2) { top: 50%; }
.trove-flow i:nth-child(3) { top: 86%; }
.trove-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 28px 18px;
  border: 1px solid rgba(121,170,255,.48);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,141,255,.18), rgba(13,18,27,.95) 66%);
  box-shadow: 0 0 0 12px rgba(77,141,255,.04), 0 0 55px rgba(77,141,255,.18);
  text-align: center;
}
.trove-core small, .trove-core span { color: var(--faint); font-family: var(--font-mono); font-size: .53rem; letter-spacing: .08em; }
.trove-core strong { color: var(--text); font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: .05em; }
.trove-core span { color: var(--green); letter-spacing: 0; }
.trove-readout { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.trove-readout div { min-width: 0; padding: 15px 13px 17px; border-right: 1px solid var(--line); }
.trove-readout div:last-child { border-right: 0; }
.trove-readout dt { color: var(--faint); font-family: var(--font-mono); font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.trove-readout dd { overflow-wrap: anywhere; margin: 5px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: .61rem; }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 9vw, 120px); align-items: center; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.section-index) { max-width: 650px; color: var(--muted); font-size: 1.02rem; }
.about-copy .about-lead { color: var(--text); font-size: clamp(1.22rem, 2vw, 1.55rem); line-height: 1.5; }
.about-manifest { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); }
.manifest-command { margin: 0; padding: 15px 20px; border-bottom: 1px solid var(--line); background: var(--bg-raised); color: var(--blue-bright); font-family: var(--font-mono); font-size: .7rem; }
.about-manifest ul { padding: 0; margin: 0; list-style: none; }
.about-manifest li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.about-manifest li:last-child { border-bottom: 0; }
.about-manifest li span { color: var(--blue); font-family: var(--font-mono); font-size: .68rem; }

.contact-section { padding-top: 34px; }
.contact-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(45px, 8vw, 110px); padding: clamp(32px, 6vw, 72px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(130deg, rgba(77,141,255,.15), var(--panel) 42%, var(--bg-raised)); }
.contact-panel > div > p:not(.section-index) { max-width: 560px; margin: 22px 0 0; color: var(--muted); }
.social-list { border-top: 1px solid var(--line); }
.social-list a { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: center; padding: 17px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.social-list a:hover span { color: var(--blue-bright); }
.social-list span { font-weight: 650; }
.social-list small { color: var(--faint); font-family: var(--font-mono); font-size: .64rem; }
.social-list b { color: var(--blue); font-family: var(--font-mono); font-size: .85rem; }

.site-footer { margin-top: 80px; padding-block: 50px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 48px; align-items: end; }
.footer-grid p { margin: 10px 0 0; color: var(--faint); font-size: .84rem; }
.footer-note { max-width: 420px; font-family: var(--font-mono); font-size: .68rem !important; }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-grid nav a { color: var(--muted); font-family: var(--font-mono); font-size: .7rem; text-underline-offset: 4px; }

.error-page { min-height: 100svh; }
.error-main { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; min-height: calc(100svh - 75px); padding-block: 80px; }
.error-code { color: transparent; font-size: clamp(9rem, 25vw, 22rem); font-weight: 800; letter-spacing: -.1em; line-height: .75; -webkit-text-stroke: 1px rgba(121,170,255,.3); text-shadow: 0 0 80px rgba(77,141,255,.15); }
.error-copy h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.06em; line-height: .95; }
.error-copy > p:not(.eyebrow) { max-width: 590px; color: var(--muted); font-size: 1.1rem; }

.destination-private { background: linear-gradient(110deg, rgba(101,220,233,.09), rgba(77,141,255,.08)); }
.destination-private .destination-label, .destination-private .destination-arrow { color: var(--cyan); }

.vault-body { min-height: 100svh; }
.vault-main { padding-block: 76px 110px; }
.vault-hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 64px; margin-bottom: 48px; }
.vault-hero h1, .share-card h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -.06em; line-height: .95; }
.vault-hero h1 span { color: var(--blue-bright); }
.vault-hero > div > p:last-child { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.vault-hero code { color: var(--cyan); font-family: var(--font-mono); font-size: .88em; }
.vault-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.vault-summary div { padding: 17px 14px; border-right: 1px solid var(--line); }
.vault-summary div:last-child { border-right: 0; }
.vault-summary dt { color: var(--faint); font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; }
.vault-summary dd { margin: 3px 0 0; font-size: .78rem; font-weight: 700; }
.vault-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.vault-panel { padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(13,18,27,.88); box-shadow: var(--shadow); }
.vault-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.vault-panel-heading .section-index { margin-bottom: 5px; }
.vault-panel-heading h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.04em; }
.vault-panel-heading > span { color: var(--faint); font-family: var(--font-mono); font-size: .64rem; }
.file-drop { display: grid; place-items: center; min-height: 190px; padding: 24px; border: 1px dashed var(--line-strong); border-radius: 14px; background: rgba(77,141,255,.045); cursor: pointer; text-align: center; }
.file-drop:hover, .file-drop:focus-within { border-color: var(--blue); background: var(--blue-wash); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop-icon { color: var(--blue-bright); font-family: var(--font-mono); font-size: 2.3rem; line-height: 1; }
.file-drop strong { margin-top: 8px; overflow-wrap: anywhere; }
.file-drop small { color: var(--faint); }
.vault-upload > label:not(.file-drop):not(.check-field), .field-grid label { display: grid; gap: 7px; margin-top: 18px; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; }
.vault-upload label small { color: var(--faint); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vault-upload input:not([type="checkbox"]), .vault-upload textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; padding: 11px 12px; background: #090d14; color: var(--text); font-family: var(--font-sans); font-size: .9rem; resize: vertical; }
.vault-upload input:not([type="checkbox"]):focus, .vault-upload textarea:focus { border-color: var(--blue); outline: 2px solid rgba(77,141,255,.25); outline-offset: 0; }
.check-field { display: flex; gap: 12px; align-items: flex-start; margin: 21px 0; cursor: pointer; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.check-field span { display: grid; }
.check-field strong { font-size: .88rem; }
.check-field small { color: var(--faint); }
.vault-upload .button { width: 100%; }
.upload-progress { height: 5px; overflow: hidden; margin-top: 12px; border-radius: 999px; background: var(--line); }
.upload-progress span { display: block; width: 0; height: 100%; background: var(--green); transition: width .15s linear; }
.vault-status { margin-bottom: 20px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); font-size: .9rem; overflow-wrap: anywhere; }
.vault-status[data-kind="success"] { border-color: rgba(101,230,167,.45); color: var(--green); }
.vault-status[data-kind="error"] { border-color: rgba(255,209,102,.45); color: var(--yellow); }
.text-button, .share-row-actions button, .share-row-actions a { padding: 0; border: 0; background: transparent; color: var(--blue-bright); font-family: var(--font-mono); font-size: .68rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.text-button:disabled, .share-row-actions button:disabled { color: var(--faint); cursor: not-allowed; }
.share-list { display: grid; gap: 10px; }
.share-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.share-row > div:first-child { display: grid; min-width: 0; }
.share-row strong, .share-row-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-row-name { color: var(--muted); font-size: .78rem; }
.share-row small { margin-top: 6px; color: var(--faint); font-family: var(--font-mono); font-size: .59rem; }
.share-row-actions { display: flex; align-items: center; gap: 12px; }
.share-row.is-inactive { opacity: .48; }
.empty-state { padding: 46px 15px; margin: 0; border: 1px dashed var(--line); border-radius: 11px; color: var(--faint); text-align: center; }
.share-shell { width: min(760px, calc(100% - 32px)); margin-inline: auto; padding-block: 58px 90px; }
.share-card { margin-top: 44px; padding: clamp(26px, 6vw, 54px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(21,30,44,.96), rgba(13,18,27,.98)); box-shadow: var(--shadow); }
.share-card h1 { font-size: clamp(2.5rem, 8vw, 4.7rem); overflow-wrap: anywhere; }
.share-description, .share-card > p:not(.eyebrow):not(.share-warning):not(.share-footnote) { color: var(--muted); }
.share-file { display: flex; gap: 17px; align-items: center; margin: 30px 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.17); }
.share-file > span { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 10px; background: var(--blue-wash); color: var(--blue-bright); font-family: var(--font-mono); font-size: 1.3rem; }
.share-file div { display: grid; min-width: 0; }
.share-file strong { overflow-wrap: anywhere; }
.share-file small { color: var(--faint); font-family: var(--font-mono); font-size: .63rem; }
.share-flags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.share-flags span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--faint); font-family: var(--font-mono); font-size: .58rem; }
.share-warning { padding: 11px 13px; border-left: 2px solid var(--yellow); background: rgba(255,209,102,.07); color: var(--yellow); font-size: .83rem; }
.share-form { display: grid; gap: 10px; }
.share-form label { color: var(--muted); font-family: var(--font-mono); font-size: .68rem; }
.share-form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: #090d14; color: var(--text); }
.share-footnote { margin: 22px 0 0; color: var(--faint); font-family: var(--font-mono); font-size: .62rem; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 78px; }
  .hub-panel { width: min(100%, 620px); }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .trove-showcase { grid-template-columns: 1fr; }
  .trove-copy { min-height: 570px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trove-console { min-height: 570px; }
  .about-grid, .contact-panel, .error-main { grid-template-columns: 1fr; }
  .error-code { position: absolute; z-index: -1; opacity: .3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid nav { grid-column: 1 / -1; justify-content: flex-start; }
  .vault-hero, .vault-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav-shell { min-height: 66px; }
  .nav-shell nav { gap: 16px; }
  .nav-shell nav a:not(.nav-cta) { display: none; }
  .hero { gap: 54px; padding-block: 62px 78px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-intro { font-size: 1rem; }
  .button { width: 100%; }
  .route-map { min-height: 340px; }
  .route-orbit-two { width: 290px; height: 260px; }
  .node-blog { left: 4%; }
  .node-docs { right: 3%; }
  .node-video { right: 2%; }
  .node-code { left: 4%; }
  .panel-readout { grid-template-columns: 1fr; }
  .panel-readout div { border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-readout div:last-child { border-bottom: 0; }
  .section { padding-block: 78px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination, .destination-wide { grid-column: auto; grid-template-columns: 34px 1fr auto; min-height: 205px; padding: 24px 16px; border-right: 0; }
  .trove-copy { min-height: auto; padding: 28px 20px; }
  .trove-wordmark { margin-top: 48px; }
  .trove-features { grid-template-columns: 1fr; }
  .trove-features li { padding: 13px 0; }
  .trove-features li + li { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .trove-actions { margin-top: 0; }
  .trove-console { min-height: 0; }
  .trove-topology { grid-template-columns: 1fr 42px 1fr; min-height: 390px; padding: 30px 14px; }
  .trove-sources span { min-height: 45px; padding: 8px; font-size: .54rem; }
  .trove-sources b { display: none; }
  .trove-core { min-height: 145px; padding: 18px 8px; }
  .trove-core strong { font-size: 1rem; }
  .trove-readout { grid-template-columns: 1fr; }
  .trove-readout div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trove-readout div:last-child { border-bottom: 0; }
  .contact-panel { padding: 28px 20px; }
  .social-list a { grid-template-columns: 1fr auto; }
  .social-list small { grid-row: 2; }
  .social-list b { grid-column: 2; grid-row: 1 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { grid-column: auto; }
  .error-main { gap: 20px; }
  .vault-main { padding-block: 52px 80px; }
  .vault-hero { gap: 28px; }
  .vault-summary { grid-template-columns: 1fr; }
  .vault-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .vault-summary div:last-child { border-bottom: 0; }
  .vault-panel { padding: 22px 16px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .share-row { grid-template-columns: 1fr; }
  .share-row-actions { justify-content: flex-start; }
}

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

@media (prefers-contrast: more) {
  :root { --muted: #c3ccda; --faint: #a6b2c4; --line: rgba(255,255,255,.25); --line-strong: rgba(255,255,255,.42); }
}
