:root {
  --bg: #0e0c0a;
  --surface: #181511;
  --surface-2: #211d17;
  --paper: #f5f2ea;
  --text: #d8d3c8;
  --muted: #968e80;
  --soft: #bdb5a8;
  --orange: #ff6a2b;
  --orange-hover: #ff8149;
  --green: #46b478;
  --blue: #5d8ce8;
  --amber: #e8a24c;
  --line: rgba(255, 243, 224, 0.12);
  --hairline: rgba(255, 243, 224, 0.07);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(255, 106, 43, 0.09), transparent 70%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 44px 44px, 44px 44px, auto;
  font-family: "Archivo", sans-serif;
  line-height: 1.6;
}

::selection { color: var(--bg); background: var(--orange); }

a { color: inherit; }

a:focus-visible { outline: 3px solid rgba(255, 106, 43, 0.65); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .65rem .9rem;
  color: var(--bg);
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,106,43,.32);
  border-radius: 9px;
  background: rgba(255,106,43,.08);
}
.brand-mark svg { width: 29px; height: 29px; }
.wordmark { color: var(--paper); font-size: 1.15rem; font-weight: 760; font-stretch: 112%; letter-spacing: -.035em; }
.wordmark span { color: var(--muted); font-weight: 450; }

.domain-label,
.eyebrow,
.mono,
.label,
.live-chip,
.route-line,
.microcopy,
.source-note {
  font-family: "IBM Plex Mono", monospace;
}

.domain-label { color: var(--soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(70,180,120,.65); }

main,
footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.hero { padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 100px); }
.route-line { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .64rem; letter-spacing: .15em; }
.route-line i { height: 1px; width: clamp(20px, 6vw, 76px); background: linear-gradient(90deg, var(--orange), var(--line)); position: relative; }
.route-line i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: clamp(48px, 8vw, 108px); align-items: center; margin-top: 42px; }
.eyebrow { margin: 0 0 1rem; color: var(--orange); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; color: var(--paper); font-size: clamp(3.1rem, 6.9vw, 6.6rem); font-stretch: 112%; font-weight: 760; letter-spacing: -.072em; line-height: .94; text-wrap: balance; }
.lede { max-width: 680px; margin: 30px 0 34px; color: var(--soft); font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.65; }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; border-radius: 7px; color: #120d09; background: var(--orange); font-weight: 760; text-decoration: none; transition: background 140ms ease, transform 140ms ease; }
.button:hover { background: var(--orange-hover); transform: translateY(-2px); }
.button span { font-size: 1.3rem; line-height: 1; }
.microcopy { margin: 13px 0 0; color: var(--muted); font-size: .7rem; }

.record-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(33,29,23,.97), rgba(18,16,13,.98)); box-shadow: 0 28px 70px rgba(0,0,0,.42); }
.record-card::before,
.record-card::after { content: ""; position: absolute; width: 38px; height: 38px; pointer-events: none; }
.record-card::before { top: 9px; left: 9px; border-top: 1px solid rgba(255,106,43,.45); border-left: 1px solid rgba(255,106,43,.45); }
.record-card::after { right: 9px; bottom: 9px; border-right: 1px solid rgba(255,106,43,.45); border-bottom: 1px solid rgba(255,106,43,.45); }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 21px 24px; border-bottom: 1px solid var(--hairline); color: var(--muted); font-size: .62rem; letter-spacing: .1em; }
.live-chip { display: inline-flex; align-items: center; gap: 7px; color: #8ed7ad; }
.live-chip b { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.record-identity { display: grid; grid-template-columns: 1.5fr 1fr; padding: 26px 24px 20px; gap: 20px; }
.record-identity div + div { border-left: 1px solid var(--hairline); padding-left: 20px; }
.label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .58rem; letter-spacing: .13em; }
.record-identity strong { color: var(--paper); font-size: 1rem; }
.signal-row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; margin: 0 14px 8px; padding: 15px 12px; border: 1px solid transparent; border-radius: 8px; }
.signal-row.active { border-color: rgba(255,106,43,.25); background: rgba(255,106,43,.07); }
.signal-number { color: var(--muted); font: 500 .7rem "IBM Plex Mono", monospace; }
.signal-row.active .signal-number { color: var(--orange); }
.signal-row strong { display: block; color: var(--paper); font-size: .92rem; }
.signal-row small { display: block; margin-top: 2px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.source-note { margin: 22px 24px 25px; padding-top: 18px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: .62rem; line-height: 1.6; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip article { position: relative; padding: 35px clamp(20px, 4vw, 44px); }
.proof-strip article + article { border-left: 1px solid var(--line); }
.proof-strip span { position: absolute; top: 34px; right: 28px; color: rgba(255,106,43,.45); font: 500 .7rem "IBM Plex Mono", monospace; }
.proof-strip strong { display: block; padding-right: 32px; color: var(--paper); font-size: 1rem; }
.proof-strip p { margin: 7px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 10vw, 140px); padding: clamp(80px, 11vw, 140px) 0; }
h2 { margin: 0; color: var(--paper); font-size: clamp(2.15rem, 4vw, 4rem); font-stretch: 110%; letter-spacing: -.052em; line-height: 1.03; }
.about-copy { max-width: 680px; font-size: 1.05rem; }
.about-copy p { margin: 0 0 1.25rem; }
.about-copy strong { color: var(--paper); }

.contact-band { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 88px; padding: clamp(30px, 5vw, 56px); border: 1px solid rgba(255,106,43,.3); border-radius: 12px; background: linear-gradient(100deg, rgba(255,106,43,.1), rgba(255,106,43,.025)); }
.contact-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.contact-band p:last-child { margin: 5px 0 0; color: var(--muted); }
.contact-band a { color: var(--paper); font: 500 clamp(.72rem, 1.4vw, .95rem) "IBM Plex Mono", monospace; text-decoration-color: var(--orange); text-underline-offset: 6px; overflow-wrap: anywhere; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 18px 36px; padding: 28px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.footer-brand { color: var(--paper); font-weight: 700; }
.footer-brand span { margin-left: 10px; color: var(--muted); font-weight: 400; }
footer nav { display: flex; gap: 24px; }
footer nav a { text-underline-offset: 4px; }
footer > p { grid-column: 1 / -1; margin: 0; }

.legal-page { max-width: 780px; padding: 76px 0 110px; }
.legal-page h1 { margin: 0 0 18px; color: var(--paper); font-size: clamp(2.7rem, 6vw, 5rem); font-stretch: 112%; letter-spacing: -.06em; line-height: 1; }
.legal-page .updated { color: var(--muted); font: .72rem "IBM Plex Mono", monospace; }
.legal-page h2 { margin-top: 46px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-page p,
.legal-page li { color: var(--soft); }
.legal-page a { color: var(--amber); }
.back-link { display: inline-block; margin-bottom: 42px; color: var(--soft); text-underline-offset: 5px; }

.not-found { min-height: calc(100vh - 180px); display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: rgba(255,106,43,.5); font: 600 clamp(6rem, 20vw, 14rem) "IBM Plex Mono", monospace; line-height: .8; }
.not-found h1 { color: var(--paper); font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; }

@media (max-width: 850px) {
  .hero-grid,
  .about-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 680px; }
  .record-card { max-width: 620px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip article + article { border-left: 0; border-top: 1px solid var(--line); }
  .contact-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 70px; }
  .domain-label { font-size: 0; }
  .domain-label .status-dot { margin: 0; width: 9px; height: 9px; }
  .hero { padding-top: 58px; }
  .route-line { gap: 8px; font-size: .52rem; letter-spacing: .08em; }
  .hero-grid { margin-top: 34px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .record-identity { grid-template-columns: 1fr; }
  .record-identity div + div { border-left: 0; border-top: 1px solid var(--hairline); padding: 16px 0 0; }
  .card-head { align-items: flex-start; gap: 16px; }
  .contact-band { padding: 28px 22px; }
  footer { grid-template-columns: 1fr; }
  footer nav { grid-row: 2; flex-wrap: wrap; }
  footer > p { grid-column: auto; }
  .footer-brand span { display: block; margin: 4px 0 0; }
}

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