@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #071014;
  --bg-deep: #03090c;
  --panel: #0c181d;
  --panel-2: #102127;
  --line: rgba(173, 225, 217, .14);
  --line-strong: rgba(50, 213, 196, .36);
  --text: #eefcf9;
  --muted: #91aaa8;
  --teal: #32d5c4;
  --teal-soft: #91f0e5;
  --blue: #5da8ff;
  --warning: #ffb45f;
  --shell: min(1180px, calc(100vw - 48px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", sans-serif; line-height: 1.62; }
body::before { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--teal); color: #03100f; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(3, 9, 12, .91); backdrop-filter: blur(16px); }
.header-row { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 2; }
.brand-mark path:nth-child(2) { stroke: var(--text); }
.brand-mark circle { fill: var(--teal); stroke: none; }
.brand > span { display: grid; line-height: 1.05; }
.brand b { font-size: 16px; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 25px; }
.desktop-nav a { color: #b3c8c6; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--teal-soft); }
.header-access, .primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; font-size: 13px; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.header-access { min-height: 42px; padding: 0 17px; background: var(--teal); color: #03100f; }
.header-access:hover, .primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.mobile-rail { display: none; }

.home-hero, .record-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 76% 22%, rgba(50, 213, 196, .12), transparent 28%), linear-gradient(125deg, #071014 28%, #0b1a1f); }
.signal-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(50,213,196,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(50,213,196,.15) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, transparent, #000 35%, #000); }
.signal-grid::after { content: ""; position: absolute; left: 60%; top: 0; width: 1px; height: 100%; background: var(--teal); box-shadow: 0 0 24px var(--teal); animation: scan 5s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateX(-170px); opacity: .1; } to { transform: translateX(170px); opacity: .8; } }
.hero-layout { position: relative; min-height: 650px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 84px; padding-block: 76px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font: 600 10px/1.4 "IBM Plex Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { color: var(--teal); margin-right: 13px; }
h1, h2, h3 { letter-spacing: -.04em; }
h1 { max-width: 820px; margin: 0; font-size: clamp(46px, 6.5vw, 82px); line-height: .98; }
h1 em { color: var(--teal); font-style: normal; }
.hero-deck { max-width: 710px; margin: 28px 0 0; color: #b6cdca; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.primary-button { position: relative; min-height: 60px; padding: 0 25px; overflow: hidden; background: var(--teal); color: #03100f; box-shadow: 0 16px 42px rgba(50, 213, 196, .18); }
.primary-button::before { content: ""; position: absolute; inset: -2px; transform: translateX(-120%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: buttonSweep 3.8s ease-in-out infinite; }
.primary-button span, .primary-button b { position: relative; z-index: 1; }
.primary-button:hover { background: var(--teal-soft); }
.secondary-button { min-height: 60px; padding: 0 24px; border-color: rgba(238,252,249,.22); color: var(--text); }
.secondary-button:hover { border-color: var(--teal); background: rgba(50,213,196,.06); }
.microcopy { margin-top: 20px; color: #6f8987; font: 500 9px/1.6 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
@keyframes buttonSweep { 0%, 58% { transform: translateX(-120%) skewX(-18deg); } 82%, 100% { transform: translateX(140%) skewX(-18deg); } }

.directory-console, .record-panel { position: relative; padding: 30px; border: 1px solid var(--line-strong); background: linear-gradient(150deg, rgba(16,33,39,.96), rgba(5,13,17,.96)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.directory-console::before, .record-panel::before { content: ""; position: absolute; left: -1px; top: 28px; width: 3px; height: 74px; background: var(--teal); box-shadow: 0 0 18px rgba(50,213,196,.6); }
.console-head, .record-state { display: flex; justify-content: space-between; color: #76918f; font: 600 9px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; }
.console-head b, .record-state span { color: var(--teal); }
.record-state i, .footer-status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.console-ring { width: 190px; height: 190px; display: grid; place-content: center; margin: 44px auto 38px; border: 1px solid rgba(50,213,196,.28); border-radius: 50%; text-align: center; box-shadow: inset 0 0 0 20px rgba(50,213,196,.025), 0 0 38px rgba(50,213,196,.05); }
.console-ring span { color: var(--teal); font: 600 58px/.9 "IBM Plex Mono", monospace; }
.console-ring small { margin-top: 9px; color: var(--muted); font: 500 9px/1.5 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.directory-console dl, .record-panel dl { margin: 0; }
.directory-console dl div, .record-panel dl div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 11px; }
.directory-console dt, .record-panel dt { color: #718b89; }
.directory-console dd, .record-panel dd { margin: 0; color: #d1e5e2; text-align: right; }

.directory, .route-guide, .checklist, .faq-section { padding-block: 104px; }
.section-heading { max-width: 770px; margin-bottom: 48px; }
.section-heading h2, .purpose-grid h2, .final-access h2, .record-intro h2 { margin: 0; font-size: clamp(34px, 4.5vw, 55px); line-height: 1.07; }
.section-heading > p:last-child { color: var(--muted); font-size: 16px; }
.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.market-card { min-height: 180px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 20px; padding: 27px; border-bottom: 1px solid var(--line); transition: background .22s ease; }
.market-card:nth-child(odd) { border-right: 1px solid var(--line); }
.market-card:hover { background: var(--panel); }
.card-index { align-self: start; color: var(--teal); font: 600 10px/1.4 "IBM Plex Mono", monospace; }
.market-card small { color: #617b79; font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .12em; }
.market-card h3 { margin: 8px 0; font-size: 24px; }
.market-card p { margin: 0; color: var(--muted); font-size: 12px; }
.market-card > b { align-self: end; color: var(--teal-soft); font-size: 11px; }

.purpose-band { border-block: 1px solid var(--line); background: #dcece9; color: #071014; }
.purpose-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; padding-block: 100px; }
.purpose-grid .eyebrow { color: #53716e; }
.purpose-grid .eyebrow span { color: #087b70; }
.purpose-grid > div:first-child > p:last-child { color: #45615e; }
.principles { border-top: 1px solid rgba(7,16,20,.2); }
.principles article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(7,16,20,.2); }
.principles article > span { color: #087b70; font: 600 10px/1.6 "IBM Plex Mono", monospace; }
.principles h3 { margin: 0 0 6px; font-size: 18px; }
.principles p { grid-column: 2; margin: 0; color: #526b68; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.guide-card { min-height: 320px; display: flex; flex-direction: column; padding: 32px; background: var(--bg); transition: background .22s ease; }
.guide-card:hover { background: var(--panel); }
.guide-card > span { color: var(--teal); font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .14em; }
.guide-card h3 { margin: 64px 0 15px; font-size: 25px; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-card b { margin-top: auto; padding-top: 32px; color: var(--teal-soft); font-size: 12px; }

.final-access { background: linear-gradient(105deg, #0d2025, #061014); border-top: 1px solid var(--line); }
.final-access-row { min-height: 210px; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding-block: 52px; }
.final-access-row h2 { font-size: clamp(30px, 4vw, 48px); }
.final-access-row > div > p:last-child { color: var(--muted); }

.record-hero { background: radial-gradient(circle at 84% 15%, rgba(93,168,255,.12), transparent 31%), linear-gradient(125deg, #071014, #0b1a1f); }
.record-layout { min-height: 560px; display: grid; grid-template-columns: 1.34fr .66fr; gap: 80px; align-items: center; padding-block: 70px; }
.breadcrumbs { margin: 0 0 42px; color: #66817f; font: 500 10px "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs a { color: var(--teal); }
.record-layout h1 { font-size: clamp(44px, 5.5vw, 70px); }
.record-panel h2 { margin: 46px 0 25px; font-size: 30px; }
.record-panel > p { color: var(--muted); }
.warning-hero { background: radial-gradient(circle at 84% 15%, rgba(255,180,95,.13), transparent 31%), linear-gradient(125deg, #071014, #1c1610); }
.record-panel.warning { border-color: rgba(255,180,95,.42); }
.record-panel.warning::before, .record-panel.warning .record-state i { background: var(--warning); box-shadow: 0 0 15px rgba(255,180,95,.55); }
.record-panel.warning .record-state span { color: var(--warning); }

.record-body { display: grid; grid-template-columns: 1fr .48fr; gap: 90px; padding-block: 100px; }
.record-intro > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 16px; }
.query-panel { padding: 30px; border: 1px solid var(--line-strong); background: var(--panel); }
.query-panel > span { color: var(--teal); font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .14em; }
.query-panel p { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); color: #c4d9d6; font-size: 13px; }
.query-panel p:first-of-type { margin-top: 25px; border-top: 1px solid var(--line); }

.record-steps { padding-block: 96px; border-block: 1px solid var(--line); background: var(--bg-deep); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-grid article { min-height: 280px; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.step-grid article > span { color: var(--teal); font: 600 10px "IBM Plex Mono", monospace; }
.step-grid h3 { margin: 65px 0 15px; font-size: 22px; }
.step-grid p { margin: 0; color: var(--muted); }

.check-rows { border-top: 1px solid var(--line); }
.check-row { display: grid; grid-template-columns: 60px 1fr 100px; gap: 24px; padding: 30px 5px; border-bottom: 1px solid var(--line); }
.check-row > span { color: var(--teal); font: 600 10px "IBM Plex Mono", monospace; }
.check-row h3 { margin: 0 0 8px; font-size: 20px; }
.check-row p { max-width: 760px; margin: 0; color: var(--muted); }
.check-row > b { justify-self: end; color: #617b79; font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .12em; }
.signal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.signal-card { min-height: 260px; padding: 32px; background: var(--bg); }
.signal-card > span { color: var(--warning); font: 600 10px "IBM Plex Mono", monospace; }
.signal-card h3 { margin: 45px 0 13px; font-size: 22px; }
.signal-card p { margin: 0; color: var(--muted); }

.faq-list { max-width: 930px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; padding: 25px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--teal); font: 600 10px/1.7 "IBM Plex Mono", monospace; }
.faq-item summary::after { content: "+"; color: var(--teal); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 760px; margin: 0 0 28px 70px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #020709; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .55fr .55fr .6fr; gap: 65px; padding-block: 70px; }
.footer-brand { width: max-content; margin-bottom: 24px; }
.footer-grid > div:first-child > p { max-width: 410px; color: var(--muted); font-size: 13px; }
.footer-grid nav { display: grid; align-content: start; gap: 11px; color: #9db4b1; font-size: 12px; }
.footer-grid nav a:hover { color: var(--teal); }
.footer-status > span { color: var(--teal); font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .1em; }
.footer-status p { color: #66817f; font-size: 11px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 34px, 760px); }
  .desktop-nav, .header-access { display: none; }
  .header-row { min-height: 70px; }
  .mobile-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
  .mobile-rail a { padding: 11px 4px; border-right: 1px solid var(--line); color: #9db4b1; text-align: center; font-size: 10px; }
  .hero-layout, .record-layout { grid-template-columns: 1fr; gap: 48px; min-height: auto; }
  .directory-console, .record-panel { max-width: 620px; }
  .purpose-grid, .record-body { grid-template-columns: 1fr; gap: 48px; }
  .guide-grid, .step-grid { grid-template-columns: 1fr; }
  .guide-card, .step-grid article { min-height: 240px; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card:nth-child(odd) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  h1, .record-layout h1 { font-size: 43px; }
  .hero-layout, .record-layout { padding-block: 54px; }
  .hero-actions { display: grid; }
  .primary-button, .secondary-button { width: 100%; }
  .directory-console, .record-panel { padding: 24px; }
  .console-ring { width: 155px; height: 155px; }
  .directory, .route-guide, .checklist, .faq-section { padding-block: 74px; }
  .market-card { grid-template-columns: 42px 1fr; min-height: 155px; padding: 22px 4px; }
  .market-card > b { grid-column: 2; }
  .purpose-grid, .record-body { padding-block: 74px; }
  .final-access-row { grid-template-columns: 1fr; gap: 24px; }
  .check-row { grid-template-columns: 38px 1fr; }
  .check-row > b { grid-column: 2; justify-self: start; }
  .signal-cards { grid-template-columns: 1fr; }
  .faq-item summary { grid-template-columns: 34px 1fr auto; font-size: 15px; }
  .faq-item p { margin-left: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

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