:root {
  --bg: #08111d;
  --bg-raise: #0e1a2c;
  --bg-raise-2: #13243a;
  --line: rgba(232, 224, 208, 0.12);
  --text: #e8eef6;
  --muted: #b7c4d6;
  --faint: #8ea0b5;
  --blue: #4c8dff;
  --blue-deep: #2a62c9;
  --gold: #e0c48a;
  --gold-ink: #6d4c28;
  --green: #3dbe8b;
  --red: #e26868;
  --paper: #efeae0;
  --paper-2: #f7f4ee;
  --ink: #172033;
  --ink-soft: #3d4c63;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius: 16px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

::selection { background: #c6a36a; color: #08111d; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: #08111d;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--nav-h);
  padding: 0 28px;
  background: rgba(8, 17, 29, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(224, 196, 138, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.nav.is-scrolled { border-bottom-color: rgba(224, 196, 138, 0.45); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
  position: relative;
  z-index: 2;
}
.brand img { width: 28px; height: 34px; object-fit: contain; }
.brand-name {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transform: translateY(1px);
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: white; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.nav-links a.menu-buy { display: none; }

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.nav-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 7px 10px;
  border: 1px solid rgba(224, 196, 138, 0.4);
  border-radius: 999px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: white;
  position: relative;
  transition: transform 180ms var(--ease), top 180ms var(--ease), background 180ms;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-ink { background: var(--ink); color: white; }
.btn-ink:hover { background: #0c1726; }
.btn-block { width: 100%; }
.nav-buy { margin-left: 4px; padding-inline: 16px; }

.idx {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46rem;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0; }

.hero {
  position: relative;
  padding: 42px 0 28px;
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 72% 40%, #000 10%, transparent 68%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -8vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(76, 141, 255, 0.2), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - 80px);
}
.hero h1 { max-width: 11ch; }
.hero .lede { margin-top: 18px; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 8px 28px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  max-width: 34rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.facts li { display: flex; align-items: center; gap: 8px; }
.facts i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  display: block;
}
.hero-visual { position: relative; }
.hero-visual img {
  width: 118%;
  max-width: none;
  margin-left: -6%;
  mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 52%, transparent 78%);
}
.caption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}

.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip article {
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}
.strip article:first-child { border-left: 0; padding-left: 0; }
.strip h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}
.strip p { color: var(--muted); font-size: 0.95rem; }

.band { padding: clamp(64px, 8vw, 108px) 0; }
.band-paper {
  background: var(--paper);
  color: var(--ink);
}
.band-paper .lede,
.band-paper .quiet { color: var(--ink-soft); }
.band-paper .idx { color: var(--gold-ink); }

.sec-intro { max-width: 40rem; margin-bottom: 36px; }
.sec-intro h2 { margin-bottom: 12px; }

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.chapter + .chapter { margin-top: clamp(64px, 8vw, 100px); }
.chapter.is-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.chapter.is-flip .chapter-copy { order: 0; }
.chapter p { color: var(--muted); margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.ticks li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
  background: center / 16px no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3 8.2 6.2 11.4 13 4.6' stroke='%234c8dff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #05070c;
}
.shot img { width: 100%; }

.readout {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.readout header p:last-child { color: var(--faint); font-size: 0.88rem; }
.readout-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 18px 0 8px;
}
.readout-stat strong {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.bars { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--muted);
}
.bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2a62c9, #7eb0ff); }
.fill-a { width: 78%; }
.fill-b { width: 46%; }
.fill-c { width: 33%; }
.fill-d { width: 22%; }
.readout-note { margin-top: 16px; color: var(--faint); font-size: 0.88rem; }

.console {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #070e18;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.console-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a3544; display: block; }
.dots i:first-child { background: #c45c4a; }
.dots i:nth-child(2) { background: #c6a36a; }
.dots i:nth-child(3) { background: #3dbe8b; }
.pill {
  margin-left: auto;
  border: 1px solid rgba(61, 190, 139, 0.4);
  color: var(--green);
  border-radius: 99px;
  padding: 3px 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pill.is-busy { color: var(--gold); border-color: rgba(224, 196, 138, 0.45); }
.console-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 360px; }
.console-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.console-nav button {
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
}
.console-nav button[aria-selected="true"] {
  background: rgba(76, 141, 255, 0.14);
  color: white;
}
.console-view { padding: 22px; }
.console-view[hidden] { display: none; }
.status-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.status-row h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.shield {
  width: 54px;
  height: 54px;
  flex: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.stats div {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.stats span {
  display: block;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.scan-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  margin: 14px 0 8px;
}
.scan-line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2a62c9, #9cc2ff);
  border-radius: inherit;
}
.scan-phase { min-height: 1.4em; color: var(--muted); font-size: 0.92rem; }
.row-list { list-style: none; padding: 0; margin: 8px 0 0; }
.row-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.chip {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip.on { color: var(--green); border-color: rgba(61, 190, 139, 0.35); }
.chip.off { color: var(--faint); }
.toggle {
  min-width: 64px;
  min-height: 36px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toggle[aria-pressed="true"] {
  background: rgba(61, 190, 139, 0.15);
  color: var(--green);
  border-color: rgba(61, 190, 139, 0.4);
}
.fine a { color: #9ec1ff; }

.license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.license {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 18px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.license.is-featured {
  background: #102033;
  color: var(--text);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.license .eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.license.is-featured .eyebrow { color: var(--gold); }
.license h3 { margin: 10px 0 4px; font-size: 1.7rem; }
.license .seats { color: var(--ink-soft); }
.license.is-featured .seats,
.license.is-featured .blurb,
.license.is-featured .ticks li { color: var(--muted); }
.price {
  margin: 18px 0 4px;
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.price small {
  font-size: 0.85rem;
  letter-spacing: 0;
  margin-left: 4px;
  color: var(--ink-soft);
  font-weight: 500;
}
.license.is-featured .price small { color: var(--faint); }
.blurb { margin-top: 8px; }
.license .ticks { margin-top: 18px; flex: 1; }
.license .ticks li { color: var(--ink); }
.license.is-featured .ticks li { border-top-color: rgba(255, 255, 255, 0.1); }
.license .btn { margin-top: 22px; }
.assure {
  margin-top: 18px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.tool-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.tool-index a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  min-height: 56px;
}
.tool-index a:hover span:first-child { color: white; }
.tool-index span:last-child {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  letter-spacing: 0.06em;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quotes figure { margin: 0; }
.quotes blockquote {
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.quotes figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  min-height: 44px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; max-width: 46rem; }

.close {
  text-align: left;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: end;
}
.close .btn { justify-self: start; }

.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 28px;
  color: var(--faint);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
}
.footer h2 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 8px;
}
.footer h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover { color: white; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.page-hero { padding: 48px 0 10px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 14px; }

.sheet {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 42px);
}
.sheet h2 { margin: 28px 0 8px; font-size: 1.45rem; }
.sheet h2:first-child { margin-top: 0; }
.sheet p, .sheet li { color: var(--ink-soft); }
.sheet a { color: #1d4fa3; }
.sheet ul, .sheet ol { margin: 8px 0 0; padding-left: 1.1rem; }
.sheet li + li { margin-top: 6px; }

.spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.spec th, .spec td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(23, 32, 51, 0.1);
  vertical-align: top;
  font-weight: 500;
}
.spec th { width: 34%; color: var(--ink); }
.spec td { color: var(--ink-soft); font-weight: 400; }

.flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}
.flow b {
  display: grid;
  place-items: center;
  min-width: 110px;
  min-height: 64px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  font-weight: 500;
  text-align: center;
}
.flow span { color: var(--faint); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; }

.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 72px;
}
.panel {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.panel h2 { font-size: 1.25rem; margin-bottom: 14px; }
.plans { display: grid; gap: 10px; }
.plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  min-height: 72px;
}
.plan:has(input:checked) {
  border-color: rgba(76, 141, 255, 0.85);
  background: rgba(76, 141, 255, 0.08);
}
.plan input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  margin: 0;
}
.plan input:checked { border-color: var(--blue); }
.plan input:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.plan small { display: block; color: var(--faint); }
.plan .amt {
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
}
.field { display: grid; gap: 6px; margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  background: #091321;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field.is-bad input { border-color: var(--red); }
.err { color: #ffb4b4; min-height: 1.2em; font-size: 0.85rem; }
.summary { position: sticky; top: 86px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--faint); }
.summary dd { margin: 0; text-align: right; }
.total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.4rem;
}
.ref {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.pay-note { margin-top: 10px; color: var(--faint); font-size: 0.85rem; }

.catalog { display: grid; gap: 16px; padding-bottom: 28px; }
.tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tool h2 { font-size: 1.6rem; margin-bottom: 8px; }
.tool p { color: var(--muted); max-width: 46rem; }
.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-top: 14px;
}
.meta div { min-width: 0; }
.meta dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.meta dd { margin: 3px 0 0; }
.meta code {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  word-break: break-all;
}
.text-btn {
  margin-top: 6px;
  background: transparent;
  border: 0;
  color: var(--blue);
  padding: 0;
  min-height: 32px;
  font-size: 0.82rem;
}
.lockup {
  width: min(280px, 70%);
  margin: 12px auto 0;
}
.center-note { text-align: center; color: var(--faint); font-size: 0.85rem; margin-top: 8px; }

@media (max-width: 900px) {
  .hero-grid,
  .chapter,
  .chapter.is-flip,
  .license-grid,
  .quotes,
  .close,
  .desk,
  .footer-grid,
  .strip-grid,
  .routes { grid-template-columns: 1fr; }
  .chapter.is-flip .chapter-copy { order: -1; }
  .strip article { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .strip article:first-child { border-top: 0; }
  .hero-visual img { width: 100%; margin-left: 0; }
  .hero-grid { min-height: 0; }
  .hero h1 { max-width: none; }
  .flow { grid-template-columns: 1fr; }
  .flow span { display: none; }
  .summary { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav-buy, .nav-meta, .nav-end { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    transform: none;
    margin: 0;
    padding: 8px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 17, 29, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open {
    display: flex;
    background: #08111d;
    min-height: calc(100dvh - var(--nav-h));
    z-index: 45;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }
  .nav-links a.menu-buy {
    display: inline-flex;
    margin-top: 8px;
    align-self: flex-start;
  }
  .console-body { grid-template-columns: 1fr; }
  .console-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .console-nav button { white-space: nowrap; }
  .stats { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

.band-tight { padding: clamp(40px, 6vw, 72px) 0; }
.routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.route {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 22px 20px 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%), var(--bg-raise);
}
.route:hover { border-color: rgba(76, 141, 255, 0.55); transform: translateY(-2px); }
.route h3 { margin-top: 4px; }
.route p { color: var(--muted); font-size: 0.95rem; }
.route > span {
  margin-top: auto;
  padding-top: 16px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

