/* ---------- Tokens (pulled from the logo kit) ---------- */
:root {
  --cyan: #08c7d6;
  --navy: #02023e;
  --ink: #0b0b1a;
  --muted: #4a4d63;
  --line: #e4e6ee;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --brand-grad: linear-gradient(115deg, var(--cyan) 0%, #0a6f9e 45%, var(--navy) 100%);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
a { color: inherit; }
[id] { scroll-margin-top: 88px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip-link { position: absolute; left: 8px; top: -48px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0a7e9e;
  margin-bottom: 16px;
}
.grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px;
  border: 0; border-radius: 10px;
  background: var(--navy); color: #fff;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { background: var(--brand-grad); box-shadow: 0 8px 24px -8px rgba(8, 199, 214, .55); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #fff; box-shadow: 0 8px 28px -6px rgba(8, 199, 214, .7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { height: 36px; width: auto; }
.brand-wordmark { height: 24px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 10vw, 128px);
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(8, 199, 214, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.fine { margin-top: 12px; font-size: .875rem; color: var(--muted); }

.hero-mark { position: relative; display: grid; place-items: center; }
.hero-mark img { position: relative; width: min(100%, 300px); filter: drop-shadow(0 24px 40px rgba(2, 2, 62, .18)); animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.glow {
  position: absolute; inset: 10% 5%;
  background: radial-gradient(closest-side, rgba(8, 199, 214, .35), rgba(8, 199, 214, 0));
  filter: blur(20px);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Signup form ---------- */
.signup {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  max-width: 520px;
}
.signup input[type="email"] {
  height: 52px; width: 100%; min-width: 0;
  padding: 0 16px;
  border: 1px solid #cfd3df; border-radius: 10px;
  background: #fff; color: var(--ink);
  font: 400 1rem var(--font-body);
}
.signup input[type="email"]::placeholder { color: #8a8ea3; }
.signup input[type="email"]:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(8, 199, 214, .2); }
.signup input[aria-invalid="true"] { border-color: #d13b3b; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-size: .9375rem; font-weight: 500; }
.form-status[data-state="error"] { color: #c62828; }
.form-status[data-state="success"] { color: #0a7e5a; }

.interest { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; border: 0; }
.interest legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: .875rem; color: var(--muted); }
.interest label { position: relative; cursor: pointer; }
.interest input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.interest span {
  display: inline-block; padding: 7px 14px;
  border: 1px solid #cfd3df; border-radius: 999px; background: #fff;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.interest label:hover span { border-color: var(--cyan); }
.interest input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.interest input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- Pillars ---------- */
.pillars { padding: clamp(64px, 10vw, 120px) 0; }
.pillars h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); text-transform: uppercase; max-width: 16ch; }
.grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px;
  background: var(--brand-grad); border-radius: 0 0 3px 3px;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(2, 2, 62, .25); }
.num { font-family: var(--font-display); font-size: .9375rem; color: #0a7e9e; letter-spacing: .1em; }
.card h3 { margin-top: 12px; font-size: 1.75rem; text-transform: uppercase; }
.card p { margin-top: 12px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(50% 90% at 10% 50%, rgba(8, 199, 214, .28), transparent 70%),
    var(--navy);
  color: #fff;
}
.cta-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-logo { width: clamp(160px, 20vw, 220px); }
.cta h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); text-transform: uppercase; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .78); max-width: 36em; }
.signup-dark input[type="email"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.signup-dark input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.signup-dark .form-status[data-state="error"] { color: #ff9a9a; }
.signup-dark .form-status[data-state="success"] { color: #7ef0c8; }

/* ---------- Footer ---------- */
.site-footer { background: #010128; color: rgba(255, 255, 255, .65); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 24px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .hero-mark img { width: 140px; }
  .grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 520px) {
  .signup { grid-template-columns: 1fr; }
  .signup .btn { width: 100%; }
  .brand-wordmark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
