/* =========================================================
   WAVE THE PAIN AWAY — Design System
   A provider-facing medical B2B site. Ink + paper base,
   brand blue/green carried over from the existing mark,
   and a tabular "ledger" numeral treatment used as the
   site's signature for anything involving money or scale.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Fraunces:opsz,wght@9..144,380;9..144,480;9..144,600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  /* --- brand (carried from existing WTPA mark) --- */
  --wave-blue: #2f8fe0;
  --wave-blue-bright: #50b0f8;
  --wave-green: #3fa87f;
  --wave-green-bright: #5cc99f;

  /* text-safe variants — pass WCAG AA (4.5:1+) against white/paper backgrounds.
     The bright tokens above stay reserved for use on dark backgrounds and
     for decorative fills (glow blobs, icon badges, borders). */
  --wave-blue-deep: #1567b0;
  --wave-green-deep: #1c8560;

  /* --- neutrals --- */
  --ink: #0b1420;
  --ink-soft: #101c2c;
  --ink-line: rgba(255,255,255,0.10);
  --paper: #faf9f6;
  --paper-dim: #f1efe9;
  --paper-line: rgba(11,20,32,0.10);
  --slate: #4a5563;
  --slate-dark: #232c37;
  --white: #ffffff;

  /* --- semantic --- */
  --accent: var(--wave-blue-deep);
  --accent-2: var(--wave-green);
  --danger: #c1502e;

  /* --- type --- */
  --f-display: 'Fraunces', 'Georgia', serif;
  --f-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 26px;

  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; } }

body{
  margin:0;
  font-family:var(--f-sans);
  color:var(--slate-dark);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{
  font-family:var(--f-display);
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0 0 0.5em;
  color:var(--ink);
}
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark h4{ color:var(--white); }

h1{ font-size:clamp(2.3rem, 4.4vw, 3.6rem); line-height:1.06; font-weight:600; }
h2{ font-size:clamp(1.7rem, 3vw, 2.5rem); line-height:1.14; }
h3{ font-size:1.3rem; line-height:1.3; }
p{ margin:0 0 1em; color:var(--slate); }
.on-dark p{ color:rgba(255,255,255,0.72); }

.eyebrow{
  font-family:var(--f-mono);
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  font-weight:500;
}
.eyebrow::before{
  content:'';
  width:18px; height:1px;
  background:var(--accent);
  display:inline-block;
}
.on-dark .eyebrow{ color:var(--wave-blue-bright); }

.lede{ font-size:1.15rem; color:var(--slate); max-width:640px; }
.on-dark .lede{ color:rgba(255,255,255,0.78); }

/* ---------- Ledger numeral (signature element) ---------- */
.ledger{
  font-family:var(--f-mono);
  font-variant-numeric:tabular-nums;
  letter-spacing:-0.02em;
}
.ledger-figure{
  font-family:var(--f-mono);
  font-weight:600;
  font-variant-numeric:tabular-nums;
  letter-spacing:-0.03em;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 28px;
  border-radius:100px;
  font-weight:600;
  font-size:0.98rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{
  background:var(--ink);
  color:var(--white);
}
.btn-primary:hover{ background:var(--wave-blue-deep); box-shadow:0 10px 24px -10px rgba(21,103,176,0.55); }
.btn-accent{
  background:var(--wave-blue-deep);
  color:var(--white);
}
.btn-accent:hover{ background:var(--ink); }
.btn-outline{
  background:transparent;
  border-color:var(--paper-line);
  color:var(--ink);
}
.btn-outline:hover{ border-color:var(--ink); }
.on-dark .btn-outline{ border-color:rgba(255,255,255,0.3); color:var(--white); }
.on-dark .btn-outline:hover{ border-color:#fff; }
.btn-ghost{
  background:transparent;
  color:var(--ink);
  padding-left:4px;
  padding-right:4px;
  border:none;
}
.btn-ghost::after{ content:'→'; margin-left:8px; transition:transform .15s ease; }
.btn-ghost:hover::after{ transform:translateX(4px); }
.on-dark .btn-ghost{ color:var(--white); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:0.88rem; }

/* ---------- Nav ---------- */
.site-nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:500;
  background:rgba(250,249,246,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--paper-line);
}
.site-nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.nav-logo{ display:flex; align-items:center; gap:9px; flex:0 0 auto; }
.nav-logo-icon{ height:32px; width:32px; object-fit:contain; flex:0 0 auto; }
.nav-logo-text{
  font-family:var(--f-sans);
  font-weight:800;
  font-size:1.05rem;
  letter-spacing:-0.01em;
  color:var(--ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width:560px){
  .nav-logo-icon{ height:28px; width:28px; }
  .nav-logo-text{ font-size:0.92rem; }
}
@media (max-width:400px){
  .nav-logo-text{ font-size:0.82rem; }
}
.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-dropdown{ position:relative; }
.nav-dropdown-trigger{
  display:inline-flex; align-items:center; gap:5px;
  padding:10px 14px;
  font-size:0.9rem; font-weight:500; font-family:inherit;
  color:var(--slate-dark);
  border-radius:100px;
  background:none; border:none; cursor:pointer;
}
.nav-dropdown-trigger:hover{ background:var(--paper-dim); }
.nav-dropdown-trigger svg{ width:13px; height:13px; transition:transform .15s ease; }
.nav-dropdown:hover .nav-dropdown-trigger svg, .nav-dropdown:focus-within .nav-dropdown-trigger svg{ transform:rotate(180deg); }
.nav-dropdown-menu{
  position:absolute;
  top:100%; left:0;
  margin-top:8px;
  min-width:230px;
  background:var(--white);
  border:1px solid var(--paper-line);
  border-radius:14px;
  box-shadow:0 20px 40px -18px rgba(11,20,32,0.25);
  padding:8px;
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:50;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1; visibility:visible; transform:translateY(0);
}
.nav-dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  font-size:0.88rem;
  font-weight:500;
  color:var(--slate-dark);
}
.nav-dropdown-menu a:hover{ background:var(--paper-dim); color:var(--wave-blue-deep); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-mobile-cta{
  display:none;
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:400;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(250,249,246,0.96);
  backdrop-filter:blur(10px);
  border-top:1px solid var(--paper-line);
  box-shadow:0 -8px 24px -10px rgba(11,20,32,0.18);
}
.sticky-mobile-cta a{ width:100%; box-shadow:0 8px 20px -8px rgba(21,103,176,0.5); }
@media (max-width:700px){
  .sticky-mobile-cta{ display:block; }
  body{ padding-bottom:74px; }
}

/* ---------- Expandable assumptions (calculator) ---------- */
.assumptions-toggle{
  margin-top:22px;
}
.assumptions-toggle summary{
  cursor:pointer;
  font-size:0.86rem;
  font-weight:600;
  color:var(--wave-blue-bright);
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.assumptions-toggle summary::-webkit-details-marker{ display:none; }
.assumptions-toggle summary::after{ content:'▾'; font-size:0.7rem; transition:transform .15s ease; }
.assumptions-toggle[open] summary::after{ transform:rotate(180deg); }
.assumptions-body{
  margin-top:16px;
  padding-top:16px;
  border-top:1px dashed rgba(255,255,255,0.2);
  font-size:0.84rem;
  color:rgba(255,255,255,0.65);
}
.assumptions-body .arow{ display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid rgba(255,255,255,0.08); }
.assumptions-body .arow:last-child{ border-bottom:none; }
.assumptions-body .arow .amtv{ font-family:var(--f-mono); color:rgba(255,255,255,0.85); }

/* ---------- Not-for-you / fit checklist ---------- */
.fit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:800px){ .fit-grid{ grid-template-columns:1fr; } }
.nav-links a{
  padding:10px 14px;
  font-size:0.9rem;
  font-weight:500;
  color:var(--slate-dark);
  border-radius:100px;
  transition:background-color .15s ease;
}
.nav-links a:hover{ background:var(--paper-dim); }
.nav-links a.current{ color:var(--wave-blue-deep); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none;
  border:none;
  background:var(--ink);
  border-radius:10px;
  width:42px; height:42px;
  align-items:center; justify-content:center;
  flex:0 0 auto;
}
.nav-toggle svg{ color:#fff; }
.nav-toggle svg{ width:20px; height:20px; }

.mobile-panel{
  position:fixed; inset:76px 0 0 0;
  background:var(--ink);
  z-index:499;
  display:none;
  overflow-y:auto;
}
.mobile-panel.open{ display:block; }
.mobile-panel-inner{ padding:22px 24px 48px; max-width:520px; margin:0 auto; }
.mobile-panel-cta{ margin-bottom:8px; }
.mp-group{ margin-top:28px; }
.mp-label{
  font-family:var(--f-mono);
  font-size:0.74rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--wave-blue-bright);
  margin-bottom:6px;
  padding:0 2px;
}
.mp-link{
  display:block;
  padding:15px 2px;
  font-size:1.05rem;
  font-weight:500;
  color:rgba(255,255,255,0.88);
  border-bottom:1px solid var(--ink-line);
}
.mp-link.current{ color:#fff; font-weight:700; }
.mp-link:active{ color:var(--wave-blue-bright); }

@media (max-width: 1080px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-outline{ display:none; }
  .nav-cta-btn{ display:none; }
}
@media (max-width: 560px){
  .nav-cta .btn{ padding:12px 16px; font-size:0.86rem; }
}

/* ---------- Sections ---------- */
section{ position:relative; }
.section{ padding:68px 0; }
.section-sm{ padding:44px 0; }
.section-dark{ background:var(--ink); }
.section-paper{ background:var(--paper); }
.section-dim{ background:var(--paper-dim); }
.section-line-top{ border-top:1px solid var(--paper-line); }
.section-line-top.on-dark{ border-top:1px solid var(--ink-line); }

.section-head{ max-width:680px; margin-bottom:36px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Grid / cards ---------- */
.grid{ display:grid; gap:18px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr 1fr; } .grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--white);
  border:1px solid var(--paper-line);
  border-radius:var(--radius-m);
  padding:22px;
}
.on-dark .card{
  background:var(--ink-soft);
  border-color:var(--ink-line);
}
.card h3{ margin-bottom:10px; }
.card p:last-child{ margin-bottom:0; }

.tag{
  display:inline-block;
  font-family:var(--f-mono);
  font-size:0.7rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:5px 10px;
  border-radius:100px;
  border:1px solid var(--paper-line);
  color:var(--slate);
}

/* ---------- Versus / comparison block (signature-adjacent) ---------- */
.versus{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:0;
  border:1px solid var(--paper-line);
  border-radius:var(--radius-l);
  overflow:hidden;
  background:var(--white);
}
.versus > div{ padding:28px 26px; }
.versus .vs-a{ background:var(--paper-dim); }
.versus .vs-b{ background:var(--ink); color:var(--white); }
.versus .vs-mid{
  display:flex; align-items:center; justify-content:center;
  padding:0 22px;
  background:var(--white);
  font-family:var(--f-mono);
  font-size:0.78rem;
  letter-spacing:0.1em;
  color:var(--slate);
}
.versus h4{ font-family:var(--f-sans); font-weight:700; font-size:1rem; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:18px; }
.versus .vs-a h4{ color:var(--slate-dark); }
.versus .vs-b h4{ color:var(--wave-blue-bright); }
.versus ul{ margin:0; padding:0; list-style:none; }
.versus li{
  display:flex; gap:12px;
  padding:9px 0;
  font-size:0.96rem;
  border-bottom:1px solid rgba(0,0,0,0.06);
}
.versus .vs-b li{ border-bottom:1px solid rgba(255,255,255,0.08); color:rgba(255,255,255,0.85); }
.versus .vs-a li{ color:var(--slate-dark); }
.versus li .mark{ font-family:var(--f-mono); flex:0 0 auto; opacity:0.55; }
@media (max-width:800px){
  .versus{ grid-template-columns:1fr; }
  .versus .vs-mid{ padding:14px; }
}

/* ---------- Big money figure block ---------- */
.figure-block{
  display:flex;
  align-items:baseline;
  gap:18px;
  flex-wrap:wrap;
}
.figure-block .num{
  font-family:var(--f-mono);
  font-weight:600;
  font-size:clamp(2.6rem,6vw,4.6rem);
  letter-spacing:-0.03em;
  color:var(--ink);
}
.on-dark .figure-block .num{ color:var(--white); }
.figure-block .num.accent{ color:var(--wave-blue-deep); }
.on-dark .figure-block .num.accent{ color:var(--wave-blue-bright); }
.figure-block .cap{ font-size:0.98rem; color:var(--slate); max-width:280px; }
.on-dark .figure-block .cap{ color:rgba(255,255,255,0.65); }

/* ---------- Steps ---------- */
.steps{ display:flex; flex-direction:column; }
.step{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:20px;
  padding:18px 0;
  border-top:1px solid var(--paper-line);
}
.on-dark .step{ border-top:1px solid var(--ink-line); }
.step:last-child{ border-bottom:1px solid var(--paper-line); }
.on-dark .step:last-child{ border-bottom:1px solid var(--ink-line); }
.step .idx{
  font-family:var(--f-mono);
  font-size:0.85rem;
  color:var(--wave-blue-deep);
  padding-top:4px;
}
.on-dark .step .idx{ color:var(--wave-blue-bright); }
.step h3{ margin-bottom:6px; }
.step p{ margin-bottom:0; max-width:560px; }

/* ---------- Table ---------- */
table.compare-table{ width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--paper-line); border-radius:var(--radius-m); overflow:hidden; }
table.compare-table th, table.compare-table td{ padding:14px 18px; text-align:left; border-bottom:1px solid var(--paper-line); font-size:0.94rem; }
table.compare-table th{ font-family:var(--f-mono); text-transform:uppercase; font-size:0.72rem; letter-spacing:0.06em; color:var(--slate); background:var(--paper-dim); }
table.compare-table tr:last-child td{ border-bottom:none; }
.compare-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* ---------- FAQ ---------- */
.faq-item{
  border-top:1px solid var(--paper-line);
}
.faq-item:last-child{ border-bottom:1px solid var(--paper-line); }
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 4px;
  background:none;
  border:none;
  text-align:left;
  font-size:1.02rem;
  font-weight:600;
  color:var(--ink);
  cursor:pointer;
}
.faq-q .plus{
  flex:0 0 auto;
  width:26px; height:26px;
  border-radius:50%;
  border:1px solid var(--paper-line);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-mono);
  font-size:1rem;
  transition:transform .18s ease;
}
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}
.faq-a-inner{ padding:0 4px 24px; max-width:760px; }
.faq-a-inner p{ margin-bottom:10px; }
.faq-a-inner p:last-child{ margin-bottom:0; }

.faq-filter{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.faq-filter button{
  padding:8px 16px;
  border-radius:100px;
  border:1px solid var(--paper-line);
  background:var(--white);
  font-size:0.85rem;
  font-weight:600;
  color:var(--slate);
  cursor:pointer;
}
.faq-filter button.active{ background:var(--ink); color:var(--white); border-color:var(--ink); }

/* ---------- Forms ---------- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:0.82rem; font-weight:600; margin-bottom:7px; color:var(--slate-dark); }
.field .req{ color:var(--danger); }
.field input, .field select, .field textarea{
  width:100%;
  padding:13px 15px;
  border-radius:10px;
  border:1px solid var(--paper-line);
  background:var(--white);
  font-family:var(--f-sans);
  font-size:0.95rem;
  color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:2px solid var(--wave-blue);
  outline-offset:1px;
  border-color:var(--wave-blue);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:0.82rem; color:var(--slate); margin-top:10px; }
.form-success{
  display:none;
  border:1px solid var(--wave-green);
  background:rgba(63,168,127,0.08);
  border-radius:var(--radius-m);
  padding:22px;
  margin-top:16px;
}
.form-success.show{ display:block; }
.form-success h4{ margin-bottom:6px; }

/* ---------- Calculator ---------- */
.calc{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border:1px solid var(--paper-line);
  border-radius:var(--radius-l);
  overflow:hidden;
  background:var(--white);
}
.calc-inputs{ padding:28px; border-right:1px solid var(--paper-line); }
.calc-output{ padding:28px; background:var(--ink); color:var(--white); }
@media (max-width:860px){
  .calc{ grid-template-columns:1fr; }
  .calc-inputs{ border-right:none; border-bottom:1px solid var(--paper-line); }
}
.calc-row{ margin-bottom:26px; }
.calc-row:last-child{ margin-bottom:0; }
.calc-row label{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:0.86rem; font-weight:600; margin-bottom:10px; color:var(--slate-dark);
}
.calc-row label .val{ font-family:var(--f-mono); color:var(--wave-blue-deep); font-weight:600; }
.calc-row input[type=range]{
  width:100%;
  accent-color:var(--wave-blue);
  height:4px;
}
.calc-scenarios{ display:flex; gap:8px; margin-top:4px; }
.calc-scenarios button{
  flex:1;
  padding:9px 6px;
  border-radius:8px;
  border:1px solid var(--paper-line);
  background:var(--paper-dim);
  font-size:0.82rem;
  font-weight:600;
  cursor:pointer;
}
.calc-scenarios button.active{ background:var(--ink); color:var(--white); border-color:var(--ink); }

.calc-out-row{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:14px 0;
  border-top:1px solid var(--ink-line);
}
.calc-out-row:first-of-type{ border-top:none; }
.calc-out-row .lbl{ font-size:0.86rem; color:rgba(255,255,255,0.65); }
.calc-out-row .amt{ font-family:var(--f-mono); font-size:1.15rem; font-weight:600; }
.calc-out-row.total{ padding-top:20px; margin-top:6px; border-top:1px solid rgba(255,255,255,0.25); }
.calc-out-row.total .amt{ font-size:1.9rem; color:var(--wave-blue-bright); }
.calc-out-row.total .lbl{ color:rgba(255,255,255,0.85); font-weight:600; }

.calc-disclaimer{
  font-size:0.78rem;
  color:rgba(255,255,255,0.5);
  margin-top:22px;
  padding-top:18px;
  border-top:1px dashed rgba(255,255,255,0.2);
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--ink);
  border-radius:var(--radius-l);
  padding:38px 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.cta-banner h2{ color:var(--white); margin-bottom:8px; }
.cta-banner p{ color:rgba(255,255,255,0.7); margin-bottom:0; }
.cta-banner .actions{ display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:700px){ .cta-banner{ padding:28px 22px; } }

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--ink);
  padding:44px 0 22px;
  color:rgba(255,255,255,0.6);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:24px;
  padding-bottom:28px;
  border-bottom:1px solid var(--ink-line);
}
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h5{
  font-family:var(--f-mono);
  font-size:0.72rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.4);
  margin:0 0 16px;
}
.footer-grid a, .footer-grid p{ display:block; color:rgba(255,255,255,0.68); font-size:0.9rem; margin-bottom:10px; }
.footer-grid a:hover{ color:#fff; }
.footer-logo-lockup{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.footer-logo-icon{ height:30px; width:30px; }
.footer-logo-text{ font-family:var(--f-sans); font-weight:800; font-size:1.1rem; color:#fff; letter-spacing:-0.01em; }
.footer-bottom{
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:0.8rem;
}
.footer-bottom a{ color:rgba(255,255,255,0.5); }

/* ---------- Misc utility ---------- */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.center{ text-align:center; }
.max-w-sm{ max-width:520px; }
.max-w-md{ max-width:720px; }
.hidden-mobile{ }
@media (max-width:700px){ .hidden-mobile{ display:none; } }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.badge-row .tag{ background:var(--white); }
.on-dark .badge-row .tag{ background:transparent; border-color:rgba(255,255,255,0.25); color:rgba(255,255,255,0.75); }

.pill-list{ display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin:0; }
.pill-list li{
  font-size:0.86rem;
  padding:8px 14px;
  border-radius:100px;
  border:1px solid var(--paper-line);
  color:var(--slate-dark);
}

.kicker-num{
  font-family:var(--f-mono);
  color:var(--wave-blue-deep);
  font-size:0.8rem;
  margin-bottom:6px;
  display:block;
}

.disclaimer-box{
  background:var(--paper-dim);
  border:1px solid var(--paper-line);
  border-radius:var(--radius-m);
  padding:22px 26px;
  font-size:0.86rem;
  color:var(--slate);
}
.disclaimer-box strong{ color:var(--ink); }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; gap:32px; } }

.list-check{ list-style:none; margin:0; padding:0; }
.list-check li{ display:flex; gap:12px; padding:9px 0; font-size:0.97rem; color:var(--slate-dark); }
.list-check li svg{ flex:0 0 auto; margin-top:3px; }
.on-dark .list-check li{ color:rgba(255,255,255,0.82); }

.breadcrumb{ font-family:var(--f-mono); font-size:0.78rem; color:var(--slate); margin-bottom:18px; }
.breadcrumb a{ color:var(--wave-blue-deep); }

.hero-pad{ padding-top:128px; }
@media (max-width:700px){ .hero-pad{ padding-top:108px; } }

/* =========================================================
   FLASH LAYER — gradient text, glow blobs, bounce cues,
   bigger pill CTAs, colorful section tints, wave footer.
   ========================================================= */

/* ---------- Gradient headline text ---------- */
.grad-text{
  background:linear-gradient(90deg, var(--wave-blue-deep), var(--wave-green-deep));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.grad-text-rev{
  background:linear-gradient(90deg, var(--wave-green-deep), var(--wave-blue-deep));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
/* On dark backgrounds the deep variants lose contrast against the ink bg,
   so bright stops are used instead wherever grad-text sits on dark panels. */
.on-dark .grad-text, .on-dark .grad-text-rev,
.cta-banner .grad-text, .cta-banner .grad-text-rev,
.hero-split .grad-text, .hero-split .grad-text-rev,
.section-dark .grad-text, .section-dark .grad-text-rev{
  background:linear-gradient(90deg, var(--wave-blue-bright), var(--wave-green-bright));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ---------- Glow blobs ---------- */
.glow-blob{
  position:absolute;
  border-radius:999px;
  filter:blur(70px);
  pointer-events:none;
  z-index:0;
  opacity:0.55;
}
.glow-blue{ background:var(--wave-blue-bright); }
.glow-green{ background:var(--wave-green-bright); }
@keyframes glowPulse{
  0%,100%{ transform:scale(1); opacity:0.5; }
  50%{ transform:scale(1.12); opacity:0.7; }
}
.glow-blob{ animation:glowPulse 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .glow-blob{ animation:none; } }

/* ---------- Colorful section tints ---------- */
.section-tint-blue{ background:linear-gradient(180deg, rgba(80,176,248,0.10), rgba(80,176,248,0.02)); }
.section-tint-green{ background:linear-gradient(180deg, rgba(92,201,159,0.12), rgba(92,201,159,0.02)); }
.section-tint-mix{ background:linear-gradient(135deg, rgba(80,176,248,0.10), rgba(92,201,159,0.10)); }

/* ---------- Bigger, flashier pill CTAs ---------- */
.btn-flash{
  padding:19px 38px;
  font-size:1.05rem;
  border-radius:100px;
  box-shadow:0 14px 34px -14px rgba(47,143,224,0.55);
}
.btn-flash.btn-accent{ background:linear-gradient(90deg, var(--wave-blue-deep), var(--wave-green-deep)); }
.btn-flash:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -14px rgba(47,143,224,0.65); }
.btn-flash:active{ transform:translateY(0); }

/* give the default accent/primary buttons a bit more life everywhere */
.btn-accent, .btn-primary{ box-shadow:0 8px 20px -10px rgba(11,20,32,0.35); }
.btn-accent:hover, .btn-primary:hover{ transform:translateY(-1px); }

/* ---------- Bouncing scroll cue ---------- */
.scroll-cue{
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  width:46px; height:46px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--wave-blue), var(--wave-green));
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -8px rgba(47,143,224,0.55);
  animation:bounceCue 2s ease-in-out infinite;
  z-index:5;
}
.scroll-cue svg{ width:18px; height:18px; color:#fff; }
@keyframes bounceCue{
  0%,100%{ transform:translate(-50%,0); }
  50%{ transform:translate(-50%,-8px); }
}
@media (prefers-reduced-motion: reduce){ .scroll-cue{ animation:none; } }

/* ---------- Softer, bigger corners for a warmer feel ---------- */
.card-flash{ border-radius:28px; }
.rounded-hero{ border-radius:34px; overflow:hidden; }

/* ---------- Icon badge (colorful circular icon chip) ---------- */
.icon-badge{
  width:52px; height:52px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
  background:linear-gradient(135deg, var(--wave-blue), var(--wave-green));
  box-shadow:0 8px 18px -8px rgba(47,143,224,0.5);
}
.icon-badge svg{ width:24px; height:24px; color:#fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* ---------- Animated wave footer divider (from the original site) ---------- */
.wave-divider{
  position:relative;
  width:100%;
  height:90px;
  overflow:hidden;
  line-height:0;
}
.wave-divider svg{ position:absolute; bottom:0; width:100%; height:120px; }
.wave-divider .wave-parallax > use{
  animation:waveMove 22s cubic-bezier(.55,.5,.45,.5) infinite;
}
.wave-divider .wave-parallax > use:nth-child(1){ animation-delay:-2s; animation-duration:14s; }
.wave-divider .wave-parallax > use:nth-child(2){ animation-delay:-4s; animation-duration:18s; }
.wave-divider .wave-parallax > use:nth-child(3){ animation-delay:-3s; animation-duration:22s; }
@keyframes waveMove{
  0%{ transform:translate3d(-90px,0,0); }
  100%{ transform:translate3d(85px,0,0); }
}
@media (prefers-reduced-motion: reduce){ .wave-divider .wave-parallax > use{ animation:none; } }

/* ---------- Hero split layout (image-style panel without needing photos) ---------- */
.hero-split{
  position:relative;
  border-radius:34px;
  overflow:hidden;
  background:linear-gradient(150deg, var(--ink) 0%, #14263c 55%, var(--ink) 100%);
  min-height:340px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:32px;
}
.hero-split::before, .hero-split::after{
  content:'';
  position:absolute;
  border-radius:999px;
  filter:blur(60px);
}
.hero-split::before{ width:220px; height:220px; background:var(--wave-blue-bright); opacity:0.35; top:-60px; right:-40px; }
.hero-split::after{ width:180px; height:180px; background:var(--wave-green-bright); opacity:0.3; bottom:-50px; left:-30px; }
