:root {
  --ink: #07101e;
  --night: #020714;
  --paper: #f3f1e9;
  --muted: #9da9b9;
  --line: rgba(255, 255, 255, 0.15);
  --blue: #0077ff;
  --red: #ff203f;
  --display: "DIN Condensed", "Avenir Next Condensed", sans-serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--night);
  background-size: 44px 44px;
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; }

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

.ambient {
  position: fixed;
  z-index: 0;
  width: 36vw;
  height: 36vw;
  min-width: 300px;
  min-height: 300px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
}

.ambient-blue { top: -12vw; left: -12vw; background: var(--blue); }
.ambient-red { right: -12vw; bottom: -12vw; background: var(--red); }

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand img { border-radius: 13px; }

.text-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover { color: var(--paper); }

.hero {
  padding-block: clamp(76px, 12vw, 150px) 58px;
  display: grid;
  grid-template-columns: minmax(0, 880px);
}

.eyebrow,
.number {
  margin: 0 0 18px;
  color: #b8c4d4;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1,
h2,
p { max-width: 70ch; }

h1,
h2 {
  margin-top: 0;
  font-family: var(--display);
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}

.lede,
.legal-title > p:last-child {
  color: #c8d1dd;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--paper);
  color: var(--night);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-quiet { color: var(--paper); background: transparent; }

.signal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}

.signal-panel {
  aspect-ratio: 1.55 / 1;
  border-radius: 4px;
}

.signal-panel.blue {
  background: radial-gradient(circle at 50% 50%, #d9f6ff 0 4%, #36b9ff 10%, #0064ff 44%, #002152 100%);
  box-shadow: 0 0 55px rgba(0,119,255,0.62);
}

.signal-panel.red {
  background: radial-gradient(circle at 50% 50%, #fff4d1 0 4%, #ff6b55 10%, #ff163a 44%, #59000f 100%);
  box-shadow: 0 0 55px rgba(255,32,63,0.62);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-block: 90px;
  border: 1px solid var(--line);
  background: var(--line);
}

.support-grid article {
  min-height: 310px;
  padding: 38px;
  background: #07101e;
}

.support-grid article p:last-child,
.legal-body p { color: #aeb9c7; }

.legal { padding-block: 84px 120px; }

.legal-title {
  padding-bottom: 62px;
  border-bottom: 1px solid var(--line);
}

.legal-title h1 { font-size: clamp(3.7rem, 9vw, 8rem); }

.legal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
}

.legal-body section {
  padding: clamp(28px, 5vw, 54px);
  background: #07101e;
}

.legal-body a { color: #dbe7f5; text-decoration-color: var(--blue); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 78px; }
  .brand { font-size: 0.95rem; }
  .brand img { width: 40px; height: 40px; }
  .hero { padding-top: 72px; }
  h1 { font-size: clamp(3.25rem, 18vw, 5.5rem); }
  .signal { gap: 4px; padding: 4px; }
  .support-grid,
  .legal-body { grid-template-columns: 1fr; }
  .support-grid { margin-block: 60px; }
  .support-grid article { min-height: auto; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .signal-panel.blue { animation: blue-pulse 2.2s steps(1, end) infinite; }
  .signal-panel.red { animation: red-pulse 2.2s steps(1, end) infinite; }
  @keyframes blue-pulse { 0%, 18%, 36%, 100% { filter: brightness(1.2); } 9%, 27%, 45%, 90% { filter: brightness(0.45); } }
  @keyframes red-pulse { 0%, 45%, 63%, 81% { filter: brightness(0.45); } 54%, 72%, 90%, 100% { filter: brightness(1.2); } }
}
