
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --cream: #F5C45E;
  --navy: #102E50;
  --red: #BE3D2A;
  --paper: #FBF7ED;
  --line: rgba(16,46,80,.16);
  --muted: rgba(16,46,80,.66);
  --max: 1240px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--navy);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.site-shell {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 861px) {
  .site-shell.scrollable {
    height: auto;
    overflow: visible;
  }
}
.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.logo { width: auto; height: 30px; max-width: 138px; display: block; }



.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px 24px 28px;
}
.hero-inner {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font: 600 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
}
h1 {
  margin: 0;
  max-width: 680px;
  font: 600 clamp(56px, 7.2vw, 104px)/.91 "Space Grotesk", sans-serif;
  letter-spacing: -.065em;
}
h1 em {
  color: var(--red);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 4px;
  bottom: -8px;
  height: 3px;
  background: var(--red);
  transform-origin: left;
  animation: draw 2.2s var(--ease) .7s both;
}
.hero-copy p {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}
.hero-note {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font: 600 12px/1.4 "Space Grotesk", sans-serif;
  letter-spacing: .03em;
}
.hero-note .mini-line { width: 34px; height: 1px; background: var(--navy); opacity: .35; }

.signal-wrap {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.signal {
  --mx: 0px;
  --my: 0px;
  width: min(72vw, 500px);
  aspect-ratio: 1;
  position: relative;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .35s var(--ease);
}
.signal::before {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(16,46,80,.14);
  border-radius: 50%;
  animation: breathe 5s ease-in-out infinite;
}
.signal::after {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px dashed rgba(16,46,80,.12);
  border-radius: 50%;
  animation: spin 32s linear infinite;
}
.orbit {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(16,46,80,.24);
  border-radius: 50%;
  animation: spin 18s linear infinite reverse;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: 50%; left: -5px;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(190,61,42,.08);
}
.orbit::after {
  top: auto; left: auto; right: -5px; bottom: 24%;
  width: 7px; height: 7px;
  background: var(--navy);
  box-shadow: none;
}
.core {
  position: absolute;
  inset: 26%;
  border-radius: 38% 62% 55% 45% / 48% 42% 58% 52%;
  background: var(--cream);
  box-shadow:
    0 35px 70px rgba(16,46,80,.12),
    inset -20px -20px 45px rgba(190,61,42,.09);
  animation: morph 8s ease-in-out infinite;
}
.core::before {
  content: "";
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 14px rgba(16,46,80,.06);
  animation: corepulse 3.2s ease-in-out infinite;
}
.core::after {
  content: "";
  position: absolute;
  width: 13px; height: 13px;
  top: 24%; right: 19%;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(190,61,42,.11);
  animation: blink 2.1s ease-in-out infinite;
}
.signal-label {
  position: absolute;
  right: 4%;
  bottom: 11%;
  padding: 10px 12px;
  border: 1px solid rgba(16,46,80,.16);
  background: rgba(251,247,237,.76);
  backdrop-filter: blur(8px);
  font: 600 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}
.signal-label b { color: var(--red); font-weight: 600; }

.site-footer {
  flex: 0 0 auto;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(16,46,80,.58);
  font-size: 12px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--red); }

.legal {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 54px 0 80px;
}
.legal-kicker { font: 600 11px/1 "Space Grotesk"; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.legal h1 { margin-top: 18px; font-size: clamp(46px, 7vw, 80px); }
.legal-meta { color: var(--muted); margin: 16px 0 46px; }
.notice {
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: rgba(245,196,94,.22);
  margin-bottom: 42px;
  font-size: 14px;
  line-height: 1.55;
}
.legal h2 { margin: 38px 0 10px; font: 600 25px/1.1 "Space Grotesk"; letter-spacing: -.03em; }
.legal p, .legal li { color: rgba(16,46,80,.78); line-height: 1.75; font-size: 16px; }
.legal ul { padding-left: 22px; }

@keyframes ping { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(190,61,42,.35); } 20% { box-shadow: 0 0 0 7px rgba(190,61,42,0); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes breathe { 0%,100% { transform: scale(.97); opacity: .7; } 50% { transform: scale(1.03); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes morph { 0%,100% { border-radius: 38% 62% 55% 45% / 48% 42% 58% 52%; transform: rotate(-4deg) scale(.97); } 50% { border-radius: 58% 42% 39% 61% / 42% 57% 43% 58%; transform: rotate(7deg) scale(1.02); } }
@keyframes corepulse { 0%,100% { transform: scale(.9); opacity: .95; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes blink { 0%, 72%, 100% { opacity: 1; transform: scale(1); } 80% { opacity: .35; transform: scale(.75); } }

@media (max-width: 860px) {
  .site-shell { height: auto; min-height: 100vh; overflow: clip; }
  .site-header { padding-top: 22px; }
  .hero { min-height: auto; overflow: visible; padding-top: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  h1 { max-width: 760px; }
  .hero-copy p { max-width: 580px; }
  .signal-wrap { min-height: 430px; }
  .signal { width: min(80vw, 430px); }
}
@media (max-width: 560px) {
  .site-header, .site-footer, .legal { width: min(calc(100% - 32px), var(--max)); }
  .logo { height: 27px; max-width: 126px; }
  .hero { padding: 26px 16px 38px; }
  h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-copy p { font-size: 16px; }
  .signal-wrap { min-height: 350px; margin-top: -5px; }
  .signal { width: min(88vw, 350px); }
  .signal-label { right: 1%; bottom: 6%; }
  .site-footer { flex-direction: column; align-items: flex-start; padding-bottom: 22px; }
  .footer-links { gap: 18px; }
  .legal { padding-top: 34px; }
  .legal h1 { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .signal { transform: none !important; }
}
