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

:root {
  --navy: #111FA2;
  --navy-deep: #0B1670;
  --blue: #5478FF;
  --sky: #53CBF3;
  --gold: #FFDE42;
  --ink: #0E1330;
  --body: #4A5270;
  --soft: #7A83A3;
  --line: #E6E9F5;
  --line-soft: #F0F2FA;
  --bg: #FFFFFF;
  --bg-tint: #F7F8FD;
  --good: #10B981;
  --warn: #F59E0B;
  --poor: #EF4444;
  --c-speed: #F59E0B;
  --c-google: #2563EB;
  --c-ai: #7C3AED;
  --c-mobile: #06B6D4;
  --c-trust: #10B981;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 19, 48, .05), 0 2px 8px rgba(14, 19, 48, .04);
  --shadow-md: 0 4px 12px rgba(14, 19, 48, .06), 0 12px 32px rgba(14, 19, 48, .06);
  --shadow-lg: 0 8px 24px rgba(14, 19, 48, .08), 0 24px 64px rgba(14, 19, 48, .10);
  --shadow-gold: 0 4px 14px rgba(255, 190, 0, .35);
}

@property --sweep {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 920px; }

.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 0;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.head-note { font-size: 14px; color: var(--soft); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700;
  padding: 15px 28px; text-decoration: none; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: #FFE870; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(17, 31, 162, .28); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 20px;
}
.card-flush { padding: 0; overflow: hidden; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 14px;
}

.modal-veil {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(14, 19, 48, .55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: veilIn .25s ease both;
}
@keyframes veilIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 470px;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  animation: modalIn .35s cubic-bezier(.2, .9, .3, 1.2) both;
  max-height: 92vh; overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.modal h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.02em; }
.modal .sub { margin: 0 0 22px; color: var(--body); font-size: 15px; }
.modal .target-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 99px; padding: 6px 14px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); margin-bottom: 18px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.field-label { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.input {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #A8B0C8; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(17, 31, 162, .1); }
.stack { display: grid; gap: 14px; margin-bottom: 18px; }

.consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; color: var(--body); margin-bottom: 20px; cursor: pointer;
}
.consent input {
  margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 auto;
  accent-color: var(--navy); cursor: pointer;
}
.fineprint { font-size: 12.5px; color: var(--soft); margin: 14px 0 0; line-height: 1.55; }
.fineprint a { color: var(--navy); }

.alert {
  border-radius: 12px; padding: 13px 16px; font-size: 14.5px;
  background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B;
  margin-top: 14px;
}
.alert b { display: block; margin-bottom: 3px; }

[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 560px) {
  .card { padding: 20px; border-radius: 18px; }
  .modal { padding: 24px; }
  .btn { width: 100%; }
}

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