/* ============================================================
   DMARC/25 SPF — Landing page
   Visual system: TwoFive light enterprise
   Type: IBM Plex Sans (UI) / IBM Plex Mono (records)
   Palette: deep navy + brand blue + teal accent
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #06203c;
  --navy-800: #0a2945;
  --navy-700: #0e3358;
  --blue-700: #0f4c9c;
  --blue-600: #1763c6;
  --blue-500: #2d82e3;
  --teal-600: #0a9690;
  --teal-500: #11b3ac;
  --teal-400: #2dd4ce;

  /* Neutrals */
  --ink: #122033;
  --ink-soft: #38485c;
  --muted: #62748a;
  --line: #e2eaf3;
  --line-strong: #cdd9e8;
  --bg: #ffffff;
  --bg-soft: #f2f7fc;
  --bg-softer: #f8fbfe;

  /* Code surface */
  --code-bg: #0a2440;
  --code-ink: #d8e6f7;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(12, 38, 70, .06), 0 1px 3px rgba(12, 38, 70, .04);
  --shadow-md: 0 4px 14px rgba(12, 38, 70, .08), 0 1px 4px rgba(12, 38, 70, .05);
  --shadow-lg: 0 18px 48px rgba(10, 41, 69, .14), 0 4px 14px rgba(10, 41, 69, .08);
  --shadow-teal: 0 12px 30px rgba(17, 179, 172, .26);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 64px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
code, .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #eaf1fa; }

/* Eyebrow + heading rhythm (TwoFive pattern) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--teal-400); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; color: var(--navy-800); font-weight: 600; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
h2.sec-title { font-size: clamp(28px, 4vw, 44px); margin-top: 16px; }
.sec-lead { margin-top: 18px; max-width: 60ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); text-wrap: pretty; }
.section--navy .sec-lead { color: #b9cbe1; }

.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-head--center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--teal-500); color: #04201f;
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--teal-400); }
.btn--blue { background: var(--blue-700); color: #fff; box-shadow: 0 12px 28px rgba(15,76,156,.28); }
.btn--blue:hover { transform: translateY(-2px); background: var(--blue-600); }
.btn--ghost { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-700); transform: translateY(-2px); }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.section--navy .btn--ghost:hover { border-color: var(--teal-400); color: var(--teal-400); }
/* Ghost buttons on the dark CTA band must read light, not navy-on-navy */
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.42); }
.cta-band .btn--ghost:hover { color: var(--teal-400); border-color: var(--teal-400); background: rgba(255,255,255,.06); }
.btn--lg { padding: 17px 34px; font-size: 17px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 600; letter-spacing: -.02em; }
.brand__d { font-size: 21px; color: var(--navy-800); }
.brand__slash { font-size: 21px; color: var(--teal-500); font-weight: 700; }
.brand__n { font-size: 21px; color: var(--navy-800); }
.brand__spf {
  margin-left: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--teal-600); background: rgba(17,179,172,.12);
  padding: 4px 9px; border-radius: 6px; align-self: center;
}

.nav__links { display: flex; align-items: center; gap: 24px; margin-left: auto; flex-shrink: 1; min-width: 0; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--navy-800); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__signin { padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.nav__signin svg { width: 17px; height: 17px; }

/* Auth area (sign-in button OR signed-in state) */
.auth { position: relative; display: flex; align-items: center; gap: 10px; }
.who { color: rgba(255,255,255,.7); font-size: 14px; margin-right: 2px; white-space: nowrap; }
.who b { color: #fff; font-weight: 600; }

/* OAuth popover (shown only when NOT signed in) */
.auth__pop {
  position: absolute; top: calc(100% + 12px); right: 0; width: min(270px, calc(100vw - 28px)); z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px;
  transform-origin: top right; transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.auth__pop[hidden] { display: none; }
.auth__pop.is-closing, .auth__pop.is-opening { display: block; }
.auth__pop.is-opening { opacity: 0; transform: translateY(-6px) scale(.97); }
.auth__head { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 12px; }
.auth__opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 11px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--navy-800); background: #fff; text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
}
.auth__opt + .auth__opt { margin-top: 8px; }
.auth__opt:hover { border-color: var(--blue-600); background: var(--bg-softer); }
.auth__opt:active { transform: scale(.99); }
.auth__mark {
  flex: none; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: #fff;
}
.auth__mark--ms { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; padding: 5px; border: 1px solid var(--line); }
.auth__mark--ms i { display: block; border-radius: 1px; }
.auth__mark--ms i:nth-child(1) { background: #f25022; }
.auth__mark--ms i:nth-child(2) { background: #7fba00; }
.auth__mark--ms i:nth-child(3) { background: #00a4ef; }
.auth__mark--ms i:nth-child(4) { background: #ffb900; }
.auth__fine { font-size: 12px; color: var(--muted); margin: 12px 4px 2px; line-height: 1.5; text-wrap: pretty; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; flex: none; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 19px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .2s;
}
.nav__burger span::before { transform: translateY(-6px); }
.nav__burger span::after { transform: translateY(4px); }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: rotate(-45deg) translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--bg); padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 88% -8%, rgba(45,212,206,.12), transparent 60%),
    radial-gradient(720px 540px at 6% 8%, rgba(23,99,198,.10), transparent 58%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.hero__pill b { color: var(--navy-800); font-weight: 600; }
.hero__pill .tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--teal-600); padding: 3px 8px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); margin-top: 22px; }
.hero h1 .hl { color: var(--blue-700); }
.hero h1 .teal { color: var(--teal-600); }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 40ch; text-wrap: pretty; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; color: var(--teal-600); }

/* Hero visual: include-collapse diagram */
.collapse { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; }
.collapse__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.collapse__title { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.collapse__badge { font-size: 11px; font-weight: 700; color: var(--teal-600); background: rgba(17,179,172,.12); padding: 4px 10px; border-radius: 999px; }

.col-state { display: grid; gap: 9px; }
.col-state__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.col-state__label .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--red { background: #e0564f; }
.dot--green { background: var(--teal-500); }

.inc-list { display: grid; gap: 6px; }
.inc {
  display: flex; align-items: flex-start; gap: 9px; font-family: "IBM Plex Mono", monospace; font-size: 12.5px;
  color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px;
  min-width: 0; word-break: break-all; overflow-wrap: anywhere;
}
.inc .x { color: #e0564f; font-weight: 700; flex: none; }
.inc--over { border-color: #f3c9c6; background: #fdf1f0; color: #b53d36; }
.col-warn { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #c0463e; margin-top: 4px; }
.col-warn svg { width: 16px; height: 16px; }

.col-divider { display: flex; align-items: center; justify-content: center; margin: 16px 0; }
.col-divider span { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: var(--blue-700); background: rgba(23,99,198,.08); padding: 7px 16px; border-radius: 999px; }
.col-divider svg { width: 15px; height: 15px; }

.col-result { background: var(--code-bg); border-radius: 12px; padding: 16px 18px; position: relative; overflow: hidden; }
.col-result::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 120px at 90% -20%, rgba(45,212,206,.22), transparent); pointer-events: none; }
.col-result__label { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #6c8fb8; margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.col-result__label .ok { color: var(--teal-400); }
.col-result code { font-size: 12.5px; line-height: 1.7; color: var(--code-ink); word-break: break-all; overflow-wrap: anywhere; }

/* Marquee of trusted senders under hero */
.senders { margin-top: clamp(48px, 6vw, 76px); }
.senders__label { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.senders__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
.sender-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.sender-chip .gd { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 30px 26px; }
.stat__num { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.03em; color: var(--blue-700); line-height: 1; }
.stat__num .u { font-size: .55em; color: var(--teal-600); margin-left: 2px; }
.stat__label { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ============================================================
   PROBLEM CARDS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.ic {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(17,179,172,.1); color: var(--teal-600); margin-bottom: 20px;
}
.ic svg { width: 24px; height: 24px; stroke-width: 1.7; }
.ic--blue { background: rgba(23,99,198,.1); color: var(--blue-700); }
.pcard h3 { font-size: 19px; margin-bottom: 10px; }
.pcard p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how__lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }

/* SPF record showcase */
.record { background: var(--code-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.record__bar { display: flex; align-items: center; gap: 9px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.record__bar .dotz { display: flex; gap: 7px; }
.record__bar .dotz i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.record__bar .dotz i:nth-child(1) { background: #ff6159; }
.record__bar .dotz i:nth-child(2) { background: #ffbd2e; }
.record__bar .dotz i:nth-child(3) { background: #29c941; }
.record__bar .name { margin-left: 8px; font-size: 12.5px; color: #7d9bbd; font-family: "IBM Plex Mono", monospace; }
.record__copy { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #b7cde8; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 6px 12px; transition: background .2s, color .2s, border-color .2s; }
.record__copy svg { width: 14px; height: 14px; }
.record__copy:hover { background: rgba(255,255,255,.08); color: #fff; }
.record__copy.copied { color: var(--teal-400); border-color: rgba(45,212,206,.5); }

.record__body { padding: 26px 22px; font-family: "IBM Plex Mono", monospace; font-size: clamp(13px, 1.35vw, 16px); line-height: 1.9; word-break: break-all; overflow-wrap: anywhere; }
.tok { transition: background .2s, color .2s; border-radius: 4px; padding: 1px 2px; }
.tok-key { color: #8ad8ff; }
.tok-fn { color: #ffd479; }
.tok-domain { color: #c8d6e8; }
.tok-qual { color: #ff8b7e; }
.macro { color: var(--teal-400); cursor: help; position: relative; }
.macro.is-active, .macro:hover { background: rgba(45,212,206,.18); color: #eafffd; }

.legend { margin-top: 26px; display: grid; gap: 10px; }
.legend__item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; cursor: default; }
.legend__item.is-active { border-color: var(--teal-500); box-shadow: var(--shadow-md); transform: translateX(3px); }
.legend__code { font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 600; color: var(--teal-600); background: rgba(17,179,172,.1); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.legend__txt strong { display: block; font-size: 14.5px; color: var(--navy-800); font-weight: 600; }
.legend__txt span { font-size: 13.5px; color: var(--muted); }

/* Step flow */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(48px, 6vw, 72px); counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__n {
  counter-increment: step; width: 40px; height: 40px; border-radius: 11px; background: var(--navy-800); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 17px; margin-bottom: 18px;
}
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--muted); text-wrap: pretty; }
.step__arrow { position: absolute; right: -22px; top: 46px; color: var(--line-strong); z-index: 2; }
.step__arrow svg { width: 26px; height: 26px; }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.fcard { display: grid; grid-template-columns: auto 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.fcard h3 { font-size: 18.5px; margin-bottom: 8px; }
.fcard p { font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* ============================================================
   SECURITY (navy)
   ============================================================ */
.sec-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.trust-list { display: grid; gap: 4px; }
.trust { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.trust:last-child { border-bottom: none; }
.trust__ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(17,179,172,.1); color: var(--teal-600); display: flex; align-items: center; justify-content: center; }
.trust__ic svg { width: 22px; height: 22px; stroke-width: 1.7; }
.trust h3 { font-size: 17.5px; margin-bottom: 5px; color: var(--navy-800); }
.trust p { font-size: 14.5px; color: var(--muted); text-wrap: pretty; }

.sla-card { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-lg); }
.sla-card__big { font-size: clamp(48px, 7vw, 76px); font-weight: 600; letter-spacing: -.04em; color: var(--teal-400); line-height: 1; }
.sla-card__sub { color: #bcd0e8; font-size: 16px; margin-top: 10px; }
.sla-rows { margin-top: 30px; display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; }
.sla-row { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.03); padding: 15px 18px; font-size: 14.5px; }
.sla-row span { color: #a9c0da; }
.sla-row b { color: #fff; font-weight: 600; font-family: "IBM Plex Mono", monospace; }

/* ============================================================
   GET STARTED
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--blue-700), var(--navy-800) 70%); border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 68px); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 88% 110%, rgba(45,212,206,.28), transparent 60%); pointer-events: none; }
.cta-band__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { color: #cfe0f3; margin-top: 16px; font-size: 17px; max-width: 46ch; text-wrap: pretty; }
.cta-band__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.signup { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-lg); }
.signup h3 { font-size: 19px; margin-bottom: 6px; }
.signup p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--bg-softer); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(17,179,172,.13); }
.signup .btn { width: 100%; margin-top: 6px; }
.signup__fine { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }
.signup__ok { display: none; text-align: center; padding: 14px 0; }
.signup__ok.show { display: block; }
.signup__ok .check { width: 52px; height: 52px; border-radius: 50%; background: rgba(17,179,172,.12); color: var(--teal-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.signup__ok .check svg { width: 26px; height: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: #9fb6d1; padding-block: clamp(52px, 7vw, 80px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__d, .footer__brand .brand__n { color: #fff; }
.footer__brand p { margin-top: 16px; font-size: 14.5px; color: #8ba5c4; max-width: 34ch; text-wrap: pretty; }
.footer__col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6f8aab; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: 14.5px; color: #b3c6de; transition: color .2s; }
.footer__col a:hover { color: var(--teal-400); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; color: #748cab; }
.footer__by b { color: #b3c6de; font-weight: 600; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .collapse { max-width: 560px; }
  .how__lead-grid, .sec-split, .cta-band__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step__arrow { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px var(--gutter) 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 15px 2px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__right { margin-left: auto; }
  .nav__burger { display: flex; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .fcard { grid-template-columns: 1fr; gap: 14px; }

  /* Keep brand + Sign in + burger on one tidy row on phones */
  .nav__inner { gap: 12px; }
  .nav__right { gap: 8px; }
  .nav__signin svg { display: none; }
  .nav__signin { padding: 9px 15px; }
  .who { display: none; }

  /* Tighten nested padding so content uses the full width on phones */
  .section { padding-block: clamp(48px, 12vw, 72px); }
  .pcard { padding: 24px 20px; }
  .fcard { padding: 22px 20px; }
  .step { padding: 24px 20px 22px; }
  .collapse { padding: 18px 16px; }
  .inc { font-size: 12px; }
  .record__body { padding: 20px 16px; }
  .record__bar { padding: 12px 14px; }
  .record__bar .name { font-size: 11px; }
  .legend__item { padding: 12px; gap: 12px; }
  .sla-card { padding: 28px 22px; }
  .cta-band { padding: 36px 22px; }
  .signup { padding: 26px 20px; }
  .stat { padding: 24px 22px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
@media (max-width: 380px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__pill { font-size: 12.5px; }
}
@media (max-width: 360px) {
  /* Very narrow phones: drop the decorative SPF badge so the nav row fits */
  .brand__spf { display: none; }
  .nav__inner { gap: 10px; }
}
