/* ExcelMindIT - homepage + waitlist
   Structure and density modelled on the Cosella reference; palette is ExcelMind's
   own brand blue on a warm neutral field. */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi Fallback';
  src: local('Arial');
  ascent-override: 102.23%; descent-override: 24.29%;
  line-gap-override: 10.12%; size-adjust: 98.80%;
}

/* --------------------------------------------------------------- tokens */
:root {
  /* Hero background: #3f6cb0 taken darker at the same hue (216deg) and
     saturation (47%), which lifts white type from 5.3:1 to 8.3:1. */
  --hero: #2e4f7f;
  --hero-ink: #13223e;   /* the graphic panel that sits on the hero */

  /* The rest of the page is tuned to that hue: cool neutrals, no warm tones. */
  --field: #f2f4f9;       /* cool off-white page */
  --panel: #13223e;       /* dark panel, same hue as the hero */
  --brand: #094989;       /* excelmind.org CTA blue */
  --brand-hover: #06355f;
  --brand-bright: #107fef;
  --accent-fill: #355da9;  /* white on it is 6.4:1 */
  --verified: #1f9d5b;

  --ink: #13223e;
  --body: #545f75;
  --muted: #6b7488;       /* 4.7:1 on white - AA for small text */
  --line: rgba(19, 34, 62, .12);
  --line-strong: rgba(19, 34, 62, .22);
  --card: #ffffff;

  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, .68);
  --on-dark-line: rgba(255, 255, 255, .18);

  --danger: #b3341f;
  --danger-tint: #fbeeeb;
  --warn: #8a5a00;

  --font: 'Satoshi', 'Satoshi Fallback', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --topbar: 66px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--field);
  color: var(--body);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 {
  color: var(--ink); font-weight: 700; margin: 0;
  letter-spacing: -.03em; line-height: 1.06;
  text-wrap: balance; /* avoids a one-word last line on the big headings */
}
p { margin: 0; }
img, svg { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.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;
}
.skip-link {
  position: absolute; left: 22px; top: -100px; z-index: 40;
  background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 12px 22px;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; transform: none; }
.btn__icon { flex: none; }

.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(19, 34, 62, .04); }
.btn--light { background: #fff; border-color: #fff; color: var(--panel); }
.btn--light:hover { background: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .88); }
.btn--outline { background: transparent; border-color: var(--on-dark-line); color: #fff; }
.btn--outline:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .07); }

/* ------------------------------------------------------- sticky top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              backdrop-filter .25s var(--ease);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: var(--topbar);
}
.topbar__logo { display: block; width: 138px; height: auto; }
.topbar__actions { display: flex; align-items: center; gap: 9px; }

/* Over the hero the bar is transparent with white contents; once stuck it
   flips to the frosted light treatment. */
.topbar--over-dark:not(.is-stuck) .topbar__logo { filter: brightness(0) invert(1); }
.topbar--over-dark:not(.is-stuck) .btn--primary {
  background: #fff; border-color: #fff; color: var(--ink);
}
.topbar--over-dark:not(.is-stuck) .btn--primary:hover {
  background: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .88);
}
.topbar--over-dark:not(.is-stuck) .btn--ghost {
  border-color: rgba(255, 255, 255, .4); color: #fff;
}
.topbar--over-dark:not(.is-stuck) .btn--ghost:hover {
  border-color: #fff; background: rgba(255, 255, 255, .1);
}

/* Once scrolled it gains a frosted backdrop; contents are dark throughout. */
.topbar.is-stuck {
  background: rgba(242, 244, 249, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line);
}

.back-link { font-size: .93rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.back-link:hover { color: var(--brand); }

/* ----------------------------------------------------------------- hero
   Calm palette: pale blue field, mid blue accents, deep navy type. */
.hero {
  background: var(--hero);
  color: #fff;
  padding: var(--topbar) 0 108px;
  position: relative;
}
.hero > * { position: relative; }
/* Wide, so the headline spreads rather than stacking into a narrow column. */
.hero__inner { text-align: center; max-width: 1000px; margin: 0 auto; padding: 46px 0 0; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px; padding: 6px 15px;
  white-space: nowrap;
}
.eyebrow__short { display: none; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.05rem);
  margin-top: 22px;
}
.hero__sub {
  margin: 18px auto 0; max-width: 640px;
  color: rgba(255, 255, 255, .9); font-size: clamp(1rem, 2.2vw, 1.14rem);
}
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Hero keeps to its own background plus white - no brand blue on that block. */
.hero .btn--primary {
  background: #fff; border-color: #fff; color: var(--ink);
}
.hero .btn--primary:hover { background: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .88); }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* The graphic straddles the hero / field boundary, as on the reference. */
.hero__visual { max-width: 800px; margin: 40px auto -76px; padding: 0 22px; }
.hero .filter { background: var(--hero-ink); }

/* ------------------------------------------------------------- sections */
.section { padding: 58px 0; }
.section--pad-top { padding-top: 116px; }
.section__head { max-width: 620px; margin-bottom: 32px; }
.section__head h2 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); }
.section__head p { margin-top: 11px; }

.grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 26px;
}
.tile__icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(9, 73, 137, .08);
  color: var(--brand);
  margin-bottom: 15px;
}
.tile h3 { font-size: 1.08rem; margin-bottom: 6px; letter-spacing: -.02em; }
.tile p { font-size: .95rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: baseline;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.step__n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; align-self: center;
  background: var(--panel); color: #fff;
  font-size: .74rem; font-weight: 700;
}
.step h3 { font-size: 1rem; display: inline; letter-spacing: -.01em; }
.step p { font-size: .95rem; display: inline; }

/* closing CTA */
.cta-band { padding: 0 0 62px; }
.cta-band__inner {
  background: var(--hero); color: #fff;
  border-radius: var(--r-lg);
  padding: 46px 26px 50px;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.45rem, 3.2vw, 2rem); }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 11px auto 24px; max-width: 44ch; }
.cta-band__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 30px; text-align: center; }
.site-footer p { font-size: .9rem; color: var(--body); }

/* =========================== FILTER GRAPHIC ==========================
   Six candidates, three filters, three matches. One 9s loop, opacity only:
   nothing moves, so there is no layout cost and nothing to distract from
   the copy. */
.filter {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-lg);
  padding: 20px 20px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.filter::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(64% 46% at 50% -8%, rgba(16, 127, 239, .22), transparent 72%);
}
.filter > * { position: relative; }

.filter__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.fchip {
  font-size: 11.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .78);
  border: 1px solid transparent;
  white-space: nowrap;
}
.fchip--a { animation: chipA 9s steps(1, end) infinite; }
.fchip--b { animation: chipB 9s steps(1, end) infinite; }
.fchip--c { animation: chipC 9s steps(1, end) infinite; }
@keyframes chipA {
  0%, 9%   { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .78); }
  14%, 92% { background: var(--accent-fill); color: #fff; }
  100%     { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .78); }
}
@keyframes chipB {
  0%, 25%  { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .78); }
  30%, 92% { background: var(--accent-fill); color: #fff; }
  100%     { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .78); }
}
@keyframes chipC {
  0%, 41%  { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .78); }
  46%, 92% { background: var(--accent-fill); color: #fff; }
  100%     { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .78); }
}

.filter__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.frow {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
}
.frow__av {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8);
}
.frow__name { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.frow__meta { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.frow__tick {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; font-style: normal; color: #6fdc9b;
  opacity: 0;
}

.frow--keep .frow__av { background: var(--accent-fill); color: #fff; }
.frow--keep .frow__tick { animation: tickIn 9s ease-out infinite; }
@keyframes tickIn {
  0%, 58% { opacity: 0; }
  66%     { opacity: 1; }
  92%     { opacity: 1; }
  100%    { opacity: 0; }
}

/* Each filter drops exactly one candidate, in turn. */
.frow--drop-a { animation: dropA 9s ease-out infinite; }
.frow--drop-b { animation: dropB 9s ease-out infinite; }
.frow--drop-c { animation: dropC 9s ease-out infinite; }
@keyframes dropA {
  0%, 12% { opacity: 1; }
  20%     { opacity: .16; }
  92%     { opacity: .16; }
  100%    { opacity: 1; }
}
@keyframes dropB {
  0%, 28% { opacity: 1; }
  36%     { opacity: .16; }
  92%     { opacity: .16; }
  100%    { opacity: 1; }
}
@keyframes dropC {
  0%, 44% { opacity: 1; }
  52%     { opacity: .16; }
  92%     { opacity: .16; }
  100%    { opacity: 1; }
}

.filter__foot {
  margin-top: 14px; text-align: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}

/* ====================== CHAOS SECTION (problem) ======================
   Soft-shadowed bubbles ringed around a two-tone statement. */
.chaos {
  background: linear-gradient(180deg, #ffffff 0%, #eaeef7 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 66px 0 70px;
  overflow: hidden;
}
.chaos__stage { position: relative; max-width: 940px; margin: 0 auto; padding: 76px 0 80px; }
.chaos h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  max-width: 15ch; margin: 0 auto;
  color: var(--ink);
}
.chaos h2 em, .faq h2 em { font-style: normal; color: #949cad; }

.chaos__stats {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  margin: 30px auto 0; max-width: 700px;
}
.chaos__stat {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem; line-height: 1.6; color: var(--ink);
  text-align: center;
}
.chaos__note { margin-top: 26px; text-align: center; font-size: .9rem; color: var(--muted); }

/* Round, softly lit bubbles - the reference's treatment. */
.bub {
  position: absolute; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff, #eef1f8);
  color: var(--ink);
  box-shadow:
    0 14px 28px rgba(19, 34, 62, .11),
    0 3px 8px rgba(19, 34, 62, .07),
    inset 0 -4px 10px rgba(19, 34, 62, .05),
    inset 0 3px 6px #ffffff;
  animation: bob 7s ease-in-out infinite alternate;
  animation-delay: var(--bd, 0s);
}
.bub b {
  position: absolute; top: -2px; right: -6px;
  background: #e5484d; color: #fff;
  font-size: 9.5px; font-weight: 700; line-height: 1;
  padding: 4px 6px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(19, 34, 62, .22);
}
@keyframes bob {
  from { transform: translateY(-6px); }
  to   { transform: translateY(7px); }
}
/* Ringed around the headline, none of them over it. */
.bub--1 { top: 2%;    left: 19%; }
.bub--2 { top: -3%;   left: 43%; }
.bub--3 { top: 2%;    right: 19%; }
.bub--4 { top: 33%;   left: 3%; }
.bub--5 { top: 33%;   right: 3%; }
.bub--6 { bottom: 2%; left: 19%; }
.bub--7 { bottom: -3%; left: 43%; }
.bub--8 { bottom: 2%; right: 19%; }

/* ============================== FAQ ================================= */
.faq { padding: 62px 0 74px; }
.faq__grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.faq h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); }
.faq__intro p { margin-top: 13px; font-size: .95rem; max-width: 36ch; }
.faq__list { display: grid; gap: 10px; }

.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 18px;
  font-size: .98rem; font-weight: 700; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__plus {
  flex: none; width: 17px; height: 17px; margin-top: 3px;
  position: relative; color: var(--brand);
  transition: transform .2s var(--ease);
}
.faq__plus::before, .faq__plus::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
}
.faq__plus::before { left: 0; right: 0; top: 7.5px; height: 2px; }
.faq__plus::after  { top: 0; bottom: 0; left: 7.5px; width: 2px; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__a { padding: 0 18px 16px 47px; font-size: .93rem; }

/* ========================= WAITLIST PAGE ============================= */
.wl-main { padding: calc(var(--topbar) + 18px) 0 64px; }
.wl-card {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(19, 34, 62, .09);
}
.wl-pitch {
  background: var(--panel); color: #fff;
  padding: 34px 28px 32px;
  display: flex; flex-direction: column;
}
.wl-pitch__eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.wl-pitch h1 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.4rem); margin-top: 12px; }
.wl-pitch__sub { margin-top: 12px; color: var(--on-dark-soft); font-size: .98rem; max-width: 34ch; }
/* Kept deliberately small here - it supports the pitch, it is not the pitch. */
.wl-pitch .filter {
  margin-top: 20px; background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  padding: 13px 12px 14px;
}
.wl-pitch .filter::before { display: none; }
.wl-pitch .filter__chips { gap: 6px; margin-bottom: 10px; }
.wl-pitch .fchip { font-size: 11px; padding: 5px 11px; }
.wl-pitch .filter__list { gap: 5px; }
.wl-pitch .frow { padding: 5px 9px; gap: 8px; border-radius: 8px; }
.wl-pitch .frow__av { width: 21px; height: 21px; font-size: 8.5px; }
.wl-pitch .frow__name { font-size: 11.5px; }
.wl-pitch .frow__meta { display: none; }
.wl-pitch .frow__tick { font-size: 9px; }
.wl-pitch .frow__tick svg { width: 9px; height: 9px; }

.wl-form { padding: 28px 24px 30px; }

/* ----------------------------------------------------------------- form */
.field { margin-bottom: 15px; }
.field__label { display: block; font-size: .87rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field__control {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font-size: 16px; /* stops iOS zooming on focus */
  line-height: 1.4;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field__control::placeholder { color: #7a8296; }
.field__control:hover { border-color: rgba(19, 34, 62, .34); }
.field__control:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(16, 127, 239, .16);
}
select.field__control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23545f75' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 36px; cursor: pointer;
}
select.field__control:invalid { color: #7a8296; }

.field__msg { display: block; font-size: .83rem; margin-top: 5px; line-height: 1.45; }
.field__msg--error { color: var(--danger); font-weight: 700; }
.field__msg--hint { color: var(--warn); }
.field--invalid .field__control { border-color: var(--danger); }
.field--invalid .field__control:focus { box-shadow: 0 0 0 3px rgba(179, 52, 31, .14); }

.field-row { display: grid; grid-template-columns: 1fr; }

.form-error {
  display: none; margin-bottom: 15px; padding: 11px 13px;
  border: 1px solid #eec4bc; background: var(--danger-tint); color: var(--danger);
  border-radius: var(--r-sm); font-size: .9rem; font-weight: 700;
}
.form-error.is-shown { display: block; }
.form__foot { margin-top: 20px; }
.form__legal { margin-top: 11px; text-align: center; font-size: .8rem; color: var(--muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------- form -> confirmation */
.form-shell, .confirm { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.form-shell.is-leaving { opacity: 0; transform: scale(.98); pointer-events: none; }
.form-shell.is-gone { display: none; }

.confirm { display: none; text-align: center; padding: 16px 0; opacity: 0; transform: translateY(8px); }
.confirm.is-entering { display: block; }
.confirm.is-shown { opacity: 1; transform: none; }
.confirm__mark {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(31, 157, 91, .12); color: var(--verified);
}
.confirm h2 { font-size: 1.45rem; }
.confirm__body { margin-top: 10px; max-width: 40ch; margin-inline: auto; font-size: .96rem; }
.confirm__divider { height: 1px; background: var(--line); margin: 22px 0 18px; }
.confirm__ask { font-size: .94rem; margin-bottom: 14px; }

/* ------------------------------------------------------------ responsive */
@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
}
@media (min-width: 760px) {
  .section { padding: 70px 0; }
  .section--pad-top { padding-top: 128px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .chaos { padding: 90px 0 96px; }
  .chaos__stage { padding: 132px 0 136px; }
  .chaos__stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .chaos__stat { text-align: left; }
  .faq { padding: 76px 0 90px; }
  .faq__grid { grid-template-columns: .82fr 1.18fr; gap: 46px; }
  .cta-band__inner { padding: 56px 36px 60px; }
  .wl-pitch { padding: 38px 34px 36px; }
  .wl-form { padding: 38px 34px 34px; }
}
@media (min-width: 980px) {
  .wl-card { grid-template-columns: 0.92fr 1fr; align-items: stretch; }
  .wl-main { padding: calc(var(--topbar) + 30px) 0 76px; }
  .wl-pitch .filter { margin-top: auto; }
}
@media (max-width: 600px) {
  .hero__cta .btn, .cta-band__btns .btn { flex: 1 1 100%; }
  /* Keeps the headline to three lines at 360-430px. */
  .hero h1 { font-size: 2rem; margin-top: 18px; }
  .hero__inner { padding-top: 34px; }
  .hero__sub { font-size: 1rem; }
  .eyebrow__full { display: none; }
  .eyebrow__short { display: inline; }
  /* Two buttons plus the logo overflow 390px - the hero carries both CTAs,
     so the bar keeps only the primary one. */
  .topbar__actions .btn--primary { display: none; }
  .topbar__actions .btn--ghost {
    background: var(--brand); border-color: var(--brand); color: #fff;
    padding: 10px 16px; font-size: 14px;
  }
  .topbar--over-dark:not(.is-stuck) .topbar__actions .btn--ghost {
    background: #fff; border-color: #fff; color: var(--ink);
  }
  .topbar__logo { width: 118px; }
  .frow__meta { display: none; }
  .hero__visual { margin-bottom: -60px; }
  .section--pad-top { padding-top: 100px; }
  /* Only the four corner bubbles survive on a phone; the rest crowd the copy. */
  .bub--2, .bub--4, .bub--5, .bub--7 { display: none; }
  .bub { width: 52px; height: 52px; }
  .bub svg { width: 20px; height: 20px; }
  /* Inset so the notification pills are not clipped by the section. */
  .bub--1 { top: 10px; left: 2%; }
  .bub--3 { top: 10px; right: 2%; }
  .bub--6 { bottom: 10px; left: 2%; }
  .bub--8 { bottom: 10px; right: 2%; }
}

/* ------------------------------------------------------------ animation */
/* Scoped to .js so content is never hidden when scripts do not run. */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  /* Hold the graphic on its resolved state: filters applied, 3 matched. */
  .fchip, .frow, .frow__tick, .bub { animation: none !important; }
  .bub { transform: none; }
  .fchip { background: var(--accent-fill); color: #fff; }
  .frow--drop-a, .frow--drop-b, .frow--drop-c { opacity: .16; }
  .frow--keep .frow__tick { opacity: 1; }
}


.confirm__redirect { margin-top: 16px; font-size: .85rem; color: var(--muted); }
.confirm__redirect a { color: var(--brand); }
