/* finesse · register=product · shell=canvas-radar · palette=graphite+lime · density=scan · motion=canvas-radar */
:root {
  color-scheme: dark;
  --canvas: #0a0c0b;
  --surface: #111512;
  --surface-2: #161b17;
  --ink: #f1f5ef;
  --muted: #9ba49e;
  --line: #303631;
  --lime: #d9ff63;
  --lime-ink: #12170c;
  --cyan: #72c7c0;
  --signal: #ff6b50;
  --paper: #eef0e9;
  --paper-ink: #191d1a;
  font-family: Bahnschrift, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 11, .94);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: baseline; gap: 11px; text-decoration: none; }
.brand strong { color: var(--lime); font-size: 19px; text-transform: uppercase; }
.brand span { font: 500 15px Georgia, "Microsoft YaHei", serif; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav .login-button { color: var(--lime); border: 1px solid var(--lime); padding: 9px 15px; }
.site-nav .login-button:hover { color: var(--lime-ink); background: var(--lime); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); }

.hero {
  position: relative;
  min-height: 720px;
  height: 92vh;
  max-height: 920px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#radarCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .82; }
.hero-content { position: relative; z-index: 2; width: min(720px, 90vw); margin-left: 5vw; padding-top: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--lime); font: 700 11px/1.2 Consolas, monospace; text-transform: uppercase; }
.hero h1 { margin: 0 0 27px; font: 600 88px/.9 Georgia, "Times New Roman", serif; }
.hero h1 span { display: block; margin-top: 17px; color: var(--lime); font: 700 38px/1.1 "Microsoft YaHei", sans-serif; }
.hero-copy { max-width: 630px; margin: 0 0 31px; color: #bac2bc; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; text-decoration: none; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--lime-ink); }
.button-primary:hover { background: #e5ff91; }
.button-secondary { border-color: #58605a; color: var(--ink); background: rgba(10, 12, 11, .62); }
.button-secondary:hover { border-color: var(--lime); color: var(--lime); }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; color: var(--muted); font: 11px/1.5 Consolas, monospace; }
.trust-line i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lime); }
.radar-readout { position: absolute; z-index: 2; right: 5vw; bottom: 68px; width: 180px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: right; }
.radar-readout span, .radar-readout small { display: block; color: var(--muted); font: 10px/1.5 Consolas, monospace; text-transform: uppercase; }
.radar-readout strong { display: block; margin: 4px 0; color: var(--lime); font: 500 34px Georgia, serif; }
.scroll-cue { position: absolute; z-index: 2; left: 5vw; bottom: 24px; color: #7f8982; font: 10px Consolas, monospace; text-decoration: none; text-transform: uppercase; }

.stats-band { padding: 58px 5vw 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.band-heading { display: flex; align-items: baseline; gap: 20px; }
.band-heading .eyebrow { margin: 0; }
.band-heading h2 { margin: 0; font: 500 32px Georgia, serif; }
.band-heading > p:last-child { margin-left: auto; color: var(--muted); font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 37px 0 0; border-top: 1px solid var(--line); }
.stats-grid div { min-width: 0; padding: 27px 22px 25px 0; border-right: 1px solid var(--line); }
.stats-grid div + div { padding-left: 22px; }
.stats-grid div:last-child { border-right: 0; }
.stats-grid dt { color: var(--muted); font-size: 12px; }
.stats-grid dd { min-height: 44px; margin: 10px 0 0; font: 500 36px Georgia, serif; }
.privacy-note { margin: 16px 0 0; color: #747e77; font-size: 11px; }

.capabilities-section, .fields-section { padding: 100px 5vw; }
.section-heading { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr); column-gap: 8vw; align-items: end; max-width: 1280px; margin-bottom: 48px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; font: 500 47px/1.08 Georgia, "Microsoft YaHei", serif; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.capability-rows { border-top: 1px solid var(--line); }
.capability-rows article { display: grid; grid-template-columns: 70px minmax(180px, .65fr) minmax(300px, 1.35fr); align-items: baseline; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.capability-rows article > span { color: var(--lime); font: 11px Consolas, monospace; }
.capability-rows h3 { margin: 0; font: 500 24px Georgia, "Microsoft YaHei", serif; }
.capability-rows p { margin: 0; color: var(--muted); line-height: 1.7; }

.fields-section { background: #0e110f; }
.compact-heading { align-items: start; }
.field-console { display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(360px, .85fr); gap: 42px; border-top: 1px solid var(--line); padding-top: 34px; }
.field-selector { display: flex; flex-wrap: wrap; align-content: start; gap: 9px; }
.field-button { min-height: 42px; padding: 10px 14px; border: 1px solid #454d47; background: transparent; color: #b7c0ba; cursor: pointer; }
.field-button:hover, .field-button.active, .field-button:focus-visible { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); outline: 0; }
.field-readout { padding-left: 34px; border-left: 1px solid var(--line); }
.readout-label { margin: 0 0 23px; color: var(--lime); font: 700 12px Consolas, monospace; }
.signal-row { display: grid; grid-template-columns: 120px 1fr 52px; align-items: center; gap: 13px; margin: 17px 0; font-size: 12px; }
.signal-track { position: relative; height: 5px; background: #262c28; overflow: hidden; }
.signal-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--cyan); transition: width .45s ease; }
.signal-row strong { text-align: right; font: 500 16px Georgia, serif; }
.field-readout small { color: #747e77; }
.stat-toggle, [data-capability] { cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.stat-toggle.active { background: rgba(217, 255, 99, .08); }
[data-capability].active { background: rgba(114, 199, 192, .08); }
.stat-toggle:focus-visible, [data-capability]:focus-visible, .source-button:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.interactive-readout { min-height: 24px; margin: 18px 0 0; color: #a7b1aa; line-height: 1.7; font-size: 13px; }
.capability-readout { padding-left: 56px; color: #a7b1aa; }

.sources-section { padding: 100px 5vw; background: var(--paper); color: var(--paper-ink); }
.light-heading .eyebrow { color: #286c61; }
.light-heading > p:last-child { color: #5e6761; }
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #b9beb7; border-bottom: 1px solid #b9beb7; }
.source-button { min-width: 0; min-height: 142px; padding: 24px 20px; border: 0; border-right: 1px solid #b9beb7; border-bottom: 1px solid #b9beb7; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.source-button:nth-child(4n) { border-right: 0; }
.source-button.active { background: #1f2925; color: #f6f7f2; }
.source-button strong { display: block; margin: 18px 0 8px; font: 500 21px Georgia, serif; overflow-wrap: anywhere; }
.source-button small { color: #687069; font: 11px Consolas, monospace; text-transform: uppercase; }
.source-button.active small { color: #b8c2ba; }
.source-status { color: #286c61; font: 700 10px Consolas, monospace; text-transform: uppercase; }
.source-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #2e806f; }
.source-status.pending { color: #8a5b36; }
.source-status.pending::before { background: #b87943; }
.source-readout { display: grid; grid-template-columns: 150px minmax(180px, 1fr) 2fr; gap: 26px; align-items: start; padding: 28px 0 0; }
.source-readout > span { color: #286c61; font: 700 10px Consolas, monospace; text-transform: uppercase; }
.source-readout h3 { margin: 0; font: 500 27px Georgia, serif; }
.source-readout p { margin: 0; color: #687069; line-height: 1.75; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 78px 5vw; border-bottom: 1px solid var(--line); }
.final-cta h2 { margin: 0; font: 500 43px/1.1 Georgia, "Microsoft YaHei", serif; }
.site-footer { display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; padding: 25px 5vw; color: #78827b; font: 10px Consolas, monospace; text-transform: uppercase; }
.site-footer a { text-decoration: none; }
.site-footer a:last-child { justify-self: end; }
.site-footer a:hover { color: var(--lime); }

@media (max-width: 900px) {
  .hero { min-height: 740px; height: 92vh; }
  .hero h1 { font-size: 70px; }
  .hero-content { width: 72vw; }
  .radar-readout { right: 4vw; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .stats-grid, .source-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .source-button:nth-child(4n) { border-right: 1px solid #b9beb7; }
  .source-button:nth-child(2n) { border-right: 0; }
  .source-readout { grid-template-columns: 1fr 2fr; }
  .source-readout p { grid-column: 1 / -1; }
  .field-console { grid-template-columns: 1fr; }
  .field-readout { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
}

@media (max-width: 680px) {
  .site-header { padding: 0 18px; }
  .menu-button { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: var(--canvas); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 11px 0; }
  .site-nav .login-button { margin-top: 4px; text-align: center; }
  .hero { min-height: 690px; height: 92vh; max-height: 780px; }
  .hero-content { width: auto; margin: 0 18px; padding-top: 60px; }
  .hero h1 { font-size: 54px; }
  .hero h1 span { font-size: 28px; }
  .hero-copy { font-size: 15px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: min(320px, 100%); }
  .trust-line { display: grid; gap: 8px; }
  .radar-readout { display: none; }
  .scroll-cue { left: 18px; }
  .stats-band, .capabilities-section, .fields-section, .sources-section, .final-cta { padding-left: 18px; padding-right: 18px; }
  .band-heading { display: grid; gap: 10px; }
  .band-heading > p:last-child { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div { padding: 21px 12px 21px 0; }
  .stats-grid div + div { padding-left: 12px; }
  .stats-grid dd { font-size: 29px; }
  .section-heading h2 { font-size: 37px; }
  .capability-rows article { grid-template-columns: 38px 1fr; gap: 12px; }
  .capability-rows article p { grid-column: 2; }
  .source-grid { grid-template-columns: 1fr; }
  .source-button, .source-button:nth-child(2n), .source-button:nth-child(4n) { border-right: 0; }
  .source-readout { grid-template-columns: 1fr; }
  .source-readout p { grid-column: auto; }
  .signal-row { grid-template-columns: 105px 1fr 46px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .final-cta h2 { font-size: 35px; }
  .site-footer { grid-template-columns: 1fr; padding: 24px 18px; }
  .site-footer a, .site-footer a:last-child { justify-self: start; }
}

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