/* ============================================================================
   SAFE START CHECKING — v1
   Tokens and values taken verbatim from the design handoff.
   Note: no red anywhere. Warnings use a muted gold: a security product that
   shouts at you reads as unsafe, which is the opposite of the pitch.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  --bg:      #F6F8F7;
  --white:   #FFFFFF;
  --ink:     #10283A;
  --ink-hov: #1B3A52;

  --sec:  #55676F;
  --ter:  #7B8A90;
  --mut:  #9AA9AE;
  --nav:  #3C4F5C;

  --green:      #1E7C3F;
  --green-hov:  #176331;
  --green-tint: #E6F1E8;
  --green-t2:   #EEF5EF;
  --green-sec:  #EDF3EC;
  --green-bd:   #A9CDB3;

  --blue:      #35608B;
  --blue-tint: #E9F0F6;

  --warn:      #A07C2E;
  --warn-tint: #F5EFE0;

  --dark:       #0E2333;
  --dark-body:  #A8BAC4;
  --dark-green: #7FC294;

  --bd:    #E3E9E6;
  --bd-2:  #DDE5E0;
  --bd-3:  #EEF1F0;
  --bd-4:  #DDE7DC;
  --ring-track: #E9EFE9;
  --dot-past:   #9DBFA7;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  --shadow-phone: 0 24px 60px rgba(16, 40, 58, .16);
  --shadow-float: 0 16px 40px rgba(16, 40, 58, .08);
  --shadow-modal: 0 30px 80px rgba(0, 0, 0, .3);
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lp-locked { overflow: hidden; }

a { color: var(--ink); text-decoration: none; }
button { font-family: var(--sans); }
input { font-family: var(--sans); outline: none; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.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;
}

@keyframes popIn  { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

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

/* ------------------------------------------------------------ primitives -- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 80px; padding-bottom: 80px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--dark-green); }

.h1 {
  margin: 0 0 18px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(35px, 7vw, 52px); line-height: 1.08; letter-spacing: -.01em;
  text-wrap: pretty;
}
.h2 {
  margin: 0 0 16px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 5.5vw, 36px); line-height: 1.15; text-wrap: pretty;
}
.lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--sec); text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; cursor: pointer;
  font-weight: 600; font-size: 15px; padding: 14px 22px;
  background: var(--ink); color: #fff; transition: background .15s ease;
}
.btn:hover { background: var(--ink-hov); }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--green-hov); }
.btn--outline {
  background: var(--white); color: var(--ink); border: 1px solid var(--bd-2);
}
.btn--outline:hover { background: var(--bg); }
.btn--sm { padding: 11px 16px; font-size: 14px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E9F0EC; }

/* the repeated CTA row under each section */
.sec-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.sec-cta__note { font-size: 13.5px; color: var(--ter); }
.band-dark .sec-cta__note { color: var(--dark-body); }

.card {
  background: var(--white); border: 1px solid var(--bd);
  border-radius: 16px; padding: 20px;
}

/* -------------------------------------------------------------------- nav -- */
.nav {
  max-width: var(--container); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 11px; }
/* the mark: a check in motion inside a shield. Three strokes, the top one
   breaking upward, draw in on load. */
.nav__mark { width: 38px; height: 38px; flex: none; display: block; }
.nav__mark--sm { width: 28px; height: 28px; }
.mark { display: block; width: 100%; height: 100%; }
.mark__tile { fill: url(#ssg); }
.mark__shield { fill: none; stroke: #fff; stroke-opacity: .3; stroke-width: 2.5; stroke-linejoin: round; }
.mark__echo, .mark__check {
  fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: markDraw .6s cubic-bezier(.2,.7,.2,1) forwards;
}
.mark__echo { stroke-width: 5; }
.mark__echo--2 { stroke-opacity: .22; animation-delay: .05s; }
.mark__echo--1 { stroke-opacity: .5;  animation-delay: .2s; }
.mark__check   { stroke-width: 5.5;   animation-delay: .38s; }
@keyframes markDraw { to { stroke-dashoffset: 0; } }
.nav__brand:hover .mark__check { animation: markDraw .5s cubic-bezier(.2,.7,.2,1) forwards; }
.nav__name { font-size: 17px; font-weight: 700; line-height: 1.1; }
.nav__sub {
  font-size: 10px; font-weight: 600; letter-spacing: .18em;
  color: var(--green); text-transform: uppercase;
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--nav); }
.nav__links a:hover { color: var(--green); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__login { font-size: 15px; font-weight: 500; color: var(--nav); }

/* ------------------------------------------------------------------- hero -- */
.hero {
  max-width: var(--container); margin: 0 auto;
  padding: 40px var(--gutter) 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px; align-items: center;
}
.hero__ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 28px 0 32px; }

/* the stat, in the eyebrow's place */
.stat {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  background: var(--white); border: 1px solid var(--bd); border-radius: 12px; padding: 8px 14px 8px 10px;
  box-shadow: var(--shadow-float);
}
.stat__n {
  font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1;
  color: var(--green); letter-spacing: -.02em;
}
.stat__t { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink); max-width: 30ch; }
.stat__src { font-size: 12px; color: var(--mut); margin-top: 18px; }
.hero__play {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.hero__play span:first-child {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--bd-2);
  display: grid; place-items: center; font-size: 9px; color: var(--green);
}
.trust { display: grid; gap: 16px; }
.trust__item { display: flex; gap: 11px; align-items: flex-start; }
.trust__t { font-size: 14.5px; font-weight: 700; }
.trust__d { font-size: 13.5px; color: var(--ter); }

.hero__visuals {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; align-items: flex-start;
}

/* protection card */
.prot-card {
  width: 264px; flex: none; background: var(--white);
  border: 1px solid var(--bd); border-radius: 18px; padding: 20px;
  box-shadow: var(--shadow-float);
}
.prot-card--hero { width: min(420px, 100%); padding: 24px; border-radius: 22px; box-shadow: var(--shadow-phone); }
.prot-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.prot-card__live {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: var(--green-tint); border-radius: 999px; padding: 4px 9px;
}
.prot-card--hero .ring__num { font-size: 36px; }
.prot-card--hero .prot-card__n { font-size: 13.5px; }
.prot-card--hero .prot-step { padding: 11px 0; align-items: center; justify-content: space-between; }
.prot-card--hero .prot-step__t { font-size: 14px; }
.prot-card--hero .prot-step__d { font-size: 12.5px; }
.prot-card--hero .prot-step--done .prot-step__t { color: var(--green); }
.prot-card--hero .btn { width: 100%; margin-top: 16px; }
.prot-card__done { font-size: 14px; font-weight: 700; color: var(--green); text-align: center; padding: 10px 0 2px; }
.prot-card__t { font-size: 13px; font-weight: 700; }
.ring-wrap { display: flex; justify-content: center; margin-bottom: 6px; position: relative; }
.ring { transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--ring-track); }
.ring__fill { fill: none; stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.ring__label {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.ring__num { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ring__word { font-size: 12px; font-weight: 600; color: var(--green); }
.prot-card__n { font-size: 12px; color: var(--ter); text-align: center; margin-bottom: 14px; }
.prot-step {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-top: 1px solid var(--bd-3);
}
.prot-step__t { font-size: 13px; font-weight: 700; }
.prot-step__d { font-size: 11.5px; color: var(--ter); }
.prot-card__cta {
  display: block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--green);
}

/* ---------------------------------------------------- 3 · the safe start -- */
.band-green { background: var(--green-sec); }
.safe {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 44px; align-items: start;
}
.score-panel {
  background: var(--white); border: 1px solid var(--bd-4);
  border-radius: 18px; padding: 24px; margin-top: 28px; text-align: center;
}
.score-panel__l { font-size: 12px; font-weight: 700; color: var(--ter); margin-bottom: 12px; letter-spacing: .04em; }
.score-panel .ring__num { font-size: 36px; }
.score-panel__rem { font-size: 13.5px; color: var(--sec); margin-top: 10px; }

.steps { display: grid; gap: 12px; }
.step {
  background: var(--white); border: 1px solid var(--bd-4);
  border-radius: 14px; padding: 18px;
  display: flex; gap: 14px; align-items: flex-start;
}
.step__num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--bg); color: var(--sec); border: 1px solid var(--bd-2);
}
.step--done .step__num {
  background: var(--green); color: #fff; border-color: var(--green);
  animation: popIn .35s ease both;
}
.step__body { flex: 1; min-width: 0; }
.step__t { font-size: 15px; font-weight: 700; }
.step__d { font-size: 13.5px; color: var(--sec); margin-top: 3px; }
.step__why {
  font-size: 12.5px; color: var(--ter); margin-top: 10px;
  background: var(--bg); border-radius: 8px; padding: 9px 11px;
}
.step__why b { color: var(--sec); }
.step__row { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.step__time { font-size: 12px; color: var(--mut); }
.step__done-label { font-size: 13px; font-weight: 700; color: var(--green); }

/* ------------------------------------------------------------ 4 · security */
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.mod__icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 14px;
}
.mod__icon--green { background: var(--green-tint); }
.mod__icon--blue  { background: var(--blue-tint); }
.mod__t { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.mod__d { font-size: 14px; line-height: 1.55; color: var(--sec); }

/* ------------------------------------------------------------ 5 · banking */
.band-dark { background: var(--dark); color: #fff; }
.band-dark .h2 { color: #fff; }
.band-dark .lede { color: var(--dark-body); }
.bank-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.bank-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 18px;
}
.bank-card--dash { border-style: dashed; }
.bank-card__t { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.bank-card__d { font-size: 13.5px; line-height: 1.55; color: var(--dark-body); }

.debit {
  width: 288px; height: 178px; border-radius: 16px;
  background: linear-gradient(135deg, #17334A, #0B1C29);
  transform: rotate(-3deg); padding: 20px; margin-top: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-phone);
}
.debit__brand { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #fff; }
.debit__chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #E3C36B, #B8912F); }
.debit__num { font-size: 15px; letter-spacing: .06em; color: #DCE6EC; font-variant-numeric: tabular-nums; }
.debit__foot { display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; color: #8FA5B2; }

/* --------------------------------------------------- 6 · ongoing protection */
.ongoing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.og-card { display: flex; flex-direction: column; gap: 12px; }
.og-card__head { display: flex; gap: 11px; align-items: flex-start; }
.og-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
}
.og-icon--warn  { background: var(--warn-tint); }
.og-icon--green { background: var(--green-tint); }
.og-icon--blue  { background: var(--blue-tint); }
.og-card__t { font-size: 14px; font-weight: 700; }
.og-card__d { font-size: 13.5px; line-height: 1.5; color: var(--sec); }
.og-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.og-confirm {
  font-size: 13px; line-height: 1.5; color: var(--green); font-weight: 600;
  background: var(--green-t2); border-radius: 10px; padding: 11px 13px;
  animation: fadeUp .3s ease both;
}
.og-link { font-size: 13.5px; font-weight: 700; color: var(--green); }

/* ---------------------------------------------------------- 7 · completion */
.completion { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.check-list { display: grid; gap: 10px; margin-top: 16px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.check-dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 11px; flex: none;
}
.ready-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--bd-3); font-size: 14px;
}
.ready-row:last-of-type { border-bottom: none; }
.ready-row b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- 8 · final CTA */
.final-panel {
  background: var(--green-sec); border-radius: 24px;
  padding: 64px 28px; text-align: center;
}
.final-panel .lede { max-width: 46ch; margin: 0 auto 26px; }
.final-panel__note { font-size: 13px; color: var(--ter); margin-top: 16px; }

/* ------------------------------------------------------------- 9 · footer */
.footer { border-top: 1px solid var(--bd); }
.footer__inner {
  max-width: var(--container); margin: 0 auto; padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
}
.footer__legal { font-size: 13px; color: var(--ter); }
.footer__links { display: flex; gap: 20px; margin-left: auto; }
.footer__links a { font-size: 13.5px; color: var(--nav); }

/* ------------------------------------------------------------------ modal */
.scrim {
  position: fixed; inset: 0; z-index: 100; background: rgba(14, 35, 51, .55);
  display: grid; place-items: center; padding: 20px; overflow: auto;
}
.scrim[hidden] { display: none; }

.modal {
  background: var(--white); border-radius: 18px; padding: 32px;
  width: 100%; max-width: 540px; max-height: 90vh; overflow: auto;
  position: relative; box-shadow: var(--shadow-modal);
  animation: fadeUp .25s ease both;
}
.modal__close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none; cursor: pointer;
  font-size: 17px; color: var(--mut); padding: 6px; line-height: 1;
}
.modal__close:hover { color: var(--ink); }
.dots { display: flex; gap: 7px; margin-bottom: 24px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--bd-2); }
.dots span.past { background: var(--dot-past); }
.dots span.now  { background: var(--green); }

.modal__h {
  margin: 0 0 20px; font-family: var(--serif); font-weight: 600;
  font-size: 26px; line-height: 1.2; text-wrap: pretty;
}
.modal__note {
  font-size: 14.5px; line-height: 1.55; color: var(--sec);
  background: var(--green-t2); border-radius: 10px; padding: 13px 15px; margin: 0 0 18px;
}
.opts { display: grid; gap: 9px; }
.opt {
  width: 100%; text-align: left; cursor: pointer;
  background: var(--bg); border: 1px solid var(--bd-2); border-radius: 10px;
  padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: var(--green); background: var(--green-t2); }
.opt[aria-pressed="true"] { border-color: var(--green); background: var(--green-t2); }

.plan { display: grid; gap: 9px; margin-bottom: 22px; }
.plan-row { border: 1px solid var(--bd); border-radius: 12px; padding: 14px 16px; background: var(--white); }
.plan-row__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-row__t { font-size: 15px; font-weight: 700; }
.plan-row__badge {
  font-size: 11px; font-weight: 700; color: var(--green);
  background: var(--green-tint); border-radius: 999px; padding: 4px 10px;
}
.plan-row__d { font-size: 13.5px; color: var(--sec); margin-top: 4px; }

.modal__actions { display: flex; gap: 10px; margin-top: 22px; align-items: center; }
.modal__actions .btn { flex: 1; }
.back-link {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ter); padding: 8px 0;
}
.back-link:hover { color: var(--ink); }

.email-input {
  width: 100%; border: 1px solid var(--bd-2); border-radius: 10px;
  padding: 14px 15px; font-size: 16px; background: var(--white); color: var(--ink);
  transition: border-color .15s ease;
}
.email-input:focus { border-color: var(--green); }
.email-error { margin: 9px 0 0; font-size: 13px; color: var(--warn); min-height: 1.1em; }
.is-busy { opacity: .6; pointer-events: none; }

.done-check {
  width: 52px; height: 52px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 24px;
  margin-bottom: 18px; animation: popIn .35s ease both;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 860px) {
  .nav__links, .nav__login { display: none; }
  .nav { justify-content: space-between; }
}
@media (max-width: 560px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .hero { padding: 24px var(--gutter) 56px; gap: 36px; }
  .final-panel { padding: 48px 20px; }
  .modal { padding: 24px 20px; }
  .btn, .opt { min-height: 44px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .sec-cta .btn { flex: 1 1 100%; }
  .stat { align-items: flex-start; }
}
