:root {
  color-scheme: dark;
  --ink: #f5f8fb;
  --muted: #9bb1c9;
  --navy-950: #06111f;
  --navy-900: #091827;
  --navy-850: #0d2033;
  --navy-800: #122941;
  --line: #24445e;
  --cyan: #32d1c4;
  --cyan-strong: #1ce2d1;
  --cyan-dark: #062f35;
  --amber: #f7b84b;
  --danger: #ff7a82;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 2%, rgba(35, 126, 160, .23), transparent 30rem),
    var(--navy-950);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: -9999px; top: 1rem; }
.skip-link:focus { left: 1rem; z-index: 100; background: var(--cyan); color: #03141b; padding: .7rem 1rem; border-radius: .6rem; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 17, 31, .88);
  border-bottom: 1px solid rgba(80, 122, 150, .28);
  backdrop-filter: blur(18px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; min-width: max-content; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--cyan); border-radius: 14px; color: var(--cyan); font-weight: 900; letter-spacing: .02em; }
.brand-copy { line-height: 1.15; }
.brand-copy strong { display: block; font-size: 1.05rem; }
.brand-copy span { display: block; color: var(--muted); font-size: .8rem; margin-top: .25rem; }
.nav-links { display: flex; align-items: center; gap: .4rem; }
.nav-links a { text-decoration: none; color: var(--muted); padding: .65rem .75rem; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: .5rem;
  padding: .75rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #03151b;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--cyan-strong); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(28, 226, 209, .15); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(50, 209, 196, .35); outline-offset: 3px; }
.button.secondary { background: transparent; color: var(--cyan); border-color: rgba(50, 209, 196, .4); }
.button.secondary:hover { background: rgba(50, 209, 196, .08); }
.button.block { width: 100%; }
.button[disabled] { opacity: .62; cursor: wait; transform: none; }

.hero { padding: clamp(4.5rem, 10vw, 8rem) 0 3rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 .8rem; color: var(--cyan); font-weight: 900; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6.6vw, 5.8rem); max-width: 850px; margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
.lead { color: #b9cbe0; font-size: clamp(1.08rem, 2vw, 1.32rem); max-width: 720px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.microcopy { color: var(--muted); font-size: .9rem; margin-top: 1rem; }

.field-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18, 41, 65, .92), rgba(8, 26, 42, .96));
  padding: 1.25rem;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
}
.field-panel::before { content: "RADAR®"; position: absolute; right: 1.2rem; top: 1rem; color: rgba(50, 209, 196, .18); font-weight: 1000; font-size: 2rem; letter-spacing: .12em; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: .4rem .2rem 1.2rem; border-bottom: 1px solid var(--line); }
.screen-top strong { color: var(--cyan); font-size: .85rem; letter-spacing: .08em; }
.screen-top span { color: var(--muted); font-size: .8rem; }
.symptom-card { margin-top: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 15px; background: rgba(6,17,31,.65); }
.symptom-card small { color: var(--cyan); font-weight: 900; letter-spacing: .08em; }
.symptom-card h3 { margin: .45rem 0 .6rem; }
.symptom-card p { color: var(--muted); margin: 0; font-size: .9rem; }
.radar-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; margin-top: 1rem; }
.radar-steps span { min-height: 5px; border-radius: 10px; background: var(--cyan); }
.radar-steps span:nth-child(n+3) { background: #28465e; }
.pilot-chip { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .55rem .75rem; border-radius: 999px; background: rgba(247,184,75,.12); color: #ffd68d; font-size: .84rem; font-weight: 800; }
.pilot-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.stats { padding: 1rem 0 4rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(13, 32, 51, .65); }
.stat { padding: 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.65rem; color: var(--cyan); }
.stat span { color: var(--muted); font-size: .92rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.alt { background: rgba(13, 32, 51, .48); border-block: 1px solid rgba(80, 122, 150, .18); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: 20px; background: var(--navy-850); padding: clamp(1.4rem, 3vw, 2rem); }
.card .tag { display: inline-block; margin-bottom: 1.3rem; color: var(--cyan); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.card p { color: var(--muted); }
.check-list { padding: 0; margin: 1.2rem 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.6rem; margin-top: .65rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }

.method-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; counter-reset: method; }
.method-step { counter-increment: method; padding: 1.2rem; min-height: 175px; border: 1px solid var(--line); background: var(--navy-850); border-radius: 16px; }
.method-step::before { content: "0" counter(method); display: block; color: var(--cyan); font-size: .8rem; font-weight: 900; letter-spacing: .12em; margin-bottom: 1.4rem; }
.method-step strong { display: block; font-size: 1.1rem; }
.method-step span { display: block; color: var(--muted); font-size: .9rem; margin-top: .5rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-item { padding: 1.4rem; border-top: 2px solid var(--cyan); background: rgba(13,32,51,.58); }
.process-item b { display: block; color: var(--cyan); font-size: .85rem; margin-bottom: .7rem; }
.process-item p { color: var(--muted); margin: 0; }

.form-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form-intro { position: sticky; top: 110px; }
.form-intro p { color: var(--muted); }
.notice { border-left: 3px solid var(--amber); background: rgba(247,184,75,.08); color: #f8dca9; padding: 1rem 1.1rem; border-radius: 0 12px 12px 0; }
.application-form { border: 1px solid var(--line); border-radius: 22px; background: var(--navy-850); padding: clamp(1.3rem, 4vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field.full { grid-column: 1 / -1; }
label, legend { display: block; font-weight: 800; margin-bottom: .4rem; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #365773;
  border-radius: 11px;
  background: #071523;
  color: var(--ink);
  padding: .75rem .9rem;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #70869c; }
select { appearance: auto; }
.checkboxes { grid-column: 1 / -1; display: grid; gap: .8rem; margin-top: .3rem; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; color: #bfd0e1; font-weight: 500; }
.checkbox input { width: 20px; min-height: 20px; margin-top: .2rem; accent-color: var(--cyan); }
.checkbox a { color: var(--cyan); }
.form-status { display: none; grid-column: 1 / -1; padding: 1rem; border-radius: 12px; }
.form-status.show { display: block; }
.form-status.error { background: rgba(255,122,130,.1); border: 1px solid rgba(255,122,130,.45); color: #ffc7cb; }
.form-status.success { background: rgba(50,209,196,.1); border: 1px solid rgba(50,209,196,.38); color: #b8fff8; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.faq { display: grid; gap: .75rem; max-width: 860px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--navy-850); padding: 1rem 1.2rem; }
summary { cursor: pointer; font-weight: 850; }
details p { color: var(--muted); margin-bottom: .2rem; }

.legal-main { padding: 5rem 0 7rem; }
.legal { width: min(calc(100% - 2.5rem), 840px); margin-inline: auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.legal h2 { font-size: 1.55rem; margin-top: 2.3rem; }
.legal p, .legal li { color: #b9cbe0; }
.back-link { display: inline-flex; color: var(--cyan); margin-bottom: 2rem; font-weight: 800; }

.site-footer { border-top: 1px solid var(--line); padding: 2.3rem 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero-grid, .form-layout { grid-template-columns: 1fr; }
  .field-panel { max-width: 650px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .form-intro { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.4rem), var(--max)); }
  .site-header { position: static; }
  .nav { min-height: 72px; }
  .brand-copy span { display: none; }
  .nav .button { padding-inline: .8rem; font-size: .9rem; }
  .hero { padding-top: 3.5rem; }
  h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .cards, .form-grid, .process, .method-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

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