/*
Theme Name: Sree Mortgage
Theme URI: https://www.sreemortgage.com
Author: Sree Basireddy
Author URI: https://www.sreemortgage.com
Description: A custom dark, conversion-focused theme for Sree Basireddy, Mortgage Loan Officer (NMLS 2705737), licensed in CA, TX, FL, NC and OH. Includes an instant quote builder, live payment calculator and lead capture. Built for lead generation.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sree-mortgage
Tags: mortgage, real-estate, business, dark, one-column, custom-colors, custom-menu, responsive-layout
*/

/* ==========================================================================
   1. DESIGN TOKENS — DARK
   ========================================================================== */

:root {
  /* Surfaces, darkest to lightest */
  --bg:        #05080F;
  --bg-2:      #080D18;
  --surface:   #0D1422;
  --surface-2: #131C2E;
  --surface-3: #1A2438;
  --elevated:  #1E293F;

  /* Lines */
  --line:      rgba(255, 255, 255, 0.085);
  --line-2:    rgba(255, 255, 255, 0.15);
  --line-gold: rgba(233, 195, 88, 0.30);

  /* Text — every value below clears WCAG AA (4.5:1) on the lightest
     surface in the palette, so small print stays readable everywhere. */
  --text:      #F5F8FC;   /* headings, emphasis            ~15.6:1 */
  --body:      #C2CBDA;   /* body copy                     ~11.0:1 */
  --muted:     #9AA7BC;   /* secondary labels, captions     ~6.0:1 */
  --faint:     #8B99AF;   /* disclaimers, legal, footnotes  ~5.0:1 */

  /* Accents */
  --gold-300:  #F5D783;
  --gold-400:  #E9C358;
  --gold-500:  #D4A82F;
  --gold-600:  #A9821D;
  --gold-glow: rgba(233, 195, 88, 0.16);

  --teal-300:  #5EEAD4;
  --teal-400:  #2DD4BF;
  --teal-500:  #14B8A6;
  --teal-glow: rgba(45, 212, 191, 0.14);

  --blue-400:  #60A5FA;
  --red-400:   #F87171;
  --green-400: #4ADE80;

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.72vw, 1.94rem);
  --step-3:  clamp(1.6rem, 1.4rem + 1vw, 2.25rem);
  --step-4:  clamp(1.85rem, 1.55rem + 1.4vw, 2.8rem);
  --step-5:  clamp(2rem, 1.6rem + 1.9vw, 3.35rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  --wrap: 1180px;
  --wrap-narrow: 760px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 6px 16px rgba(0,0,0,0.45), 0 16px 40px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.55), 0 40px 80px rgba(0,0,0,0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  font-weight: 600;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}

h1 { font-size: var(--step-5); letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); letter-spacing: -0.03em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-400); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--gold-300); }

strong, b { font-weight: 700; color: var(--text); }
em { color: inherit; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

::selection { background: var(--gold-500); color: #05080F; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--elevated); }

.screen-reader-text {
  position: absolute !important; 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: -9999px; top: 0;
  background: var(--gold-400); color: #05080F;
  padding: var(--sp-3) var(--sp-5); z-index: 999; font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #05080F; }

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Section surface variants (legacy class names kept so templates keep working) */
.section--cream,
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--navy,
.section--deep { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }

/* Ambient glow behind a section */
.section--glow { overflow: hidden; }
.section--glow::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 84% 6%, var(--gold-glow), transparent 62%),
    radial-gradient(560px 400px at 6% 94%, var(--teal-glow), transparent 62%);
}
.section--glow > * { position: relative; z-index: 2; }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.stack > * + * { margin-top: var(--sp-4); }

.sec-head { max-width: 720px; margin-bottom: var(--sp-7); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.55; margin: 0; }

/* A pill reads as deliberate; a floating dash reads like a rendering glitch. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(233, 195, 88, 0.10);
  border: 1px solid rgba(233, 195, 88, 0.22);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: var(--sp-4);
  line-height: 1;
}
.eyebrow::before {
  content: ''; flex: none;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-400);
}

.lede { font-size: var(--step-1); line-height: 1.6; color: var(--body); }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.98rem; font-weight: 700; letter-spacing: -0.005em;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #0A0F1A;
  box-shadow: 0 4px 18px rgba(233,195,88,0.24);
}
.btn--primary:hover { color: #0A0F1A; box-shadow: 0 10px 32px rgba(233,195,88,0.36); }

/* "navy" kept for template compatibility — now a light-on-dark solid */
.btn--navy {
  background: var(--surface-3); color: var(--text);
  border-color: var(--line-2); box-shadow: var(--shadow-sm);
}
.btn--navy:hover { background: var(--elevated); color: #fff; box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,0.07); color: #fff; border-color: rgba(255,255,255,0.3); }

.btn--ghost-light { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.34); }

.btn--teal { background: var(--teal-500); color: #04140F; }
.btn--teal:hover { background: var(--teal-400); color: #04140F; }

.btn--lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }

.arrow { transition: transform .2s var(--ease); display: inline-flex; }
.btn:hover .arrow { transform: translateX(3px); }

.tlink { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.95rem; color: var(--gold-400); }
.tlink:hover { color: var(--gold-300); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */

/* ==========================================================================
   Site-context banner
   Deliberately off-palette (teal) so arriving from the full site registers
   as a change of context rather than another page.
   ========================================================================== */
.sitebar{
  background:linear-gradient(90deg, rgba(20,184,166,.16), rgba(20,184,166,.07) 55%, rgba(20,184,166,.12));
  border-bottom:1px solid rgba(45,212,191,.30);
  font-size:.84rem;color:var(--body);
  position:relative;z-index:120;
}
.sitebar[hidden]{display:none}
.sitebar__inner{
  display:flex;align-items:center;gap:.85rem;
  min-height:42px;padding-top:.35rem;padding-bottom:.35rem;flex-wrap:wrap;
}
.sitebar__badge{
  display:inline-flex;align-items:center;gap:.4em;flex:none;
  background:rgba(45,212,191,.16);border:1px solid rgba(45,212,191,.42);
  color:#5EEAD4;border-radius:999px;padding:.22rem .7rem;
  font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
}
.sitebar__badge svg{width:14px;height:14px}
.sitebar__text{flex:1 1 auto;min-width:12rem;color:var(--body)}
.sitebar__text strong{color:var(--text)}
.sitebar__actions{display:flex;align-items:center;gap:.55rem;flex:none;margin-left:auto}
.sitebar__link{
  display:inline-flex;align-items:center;gap:.45em;
  background:#14B8A6;color:#04140F!important;
  border-radius:999px;padding:.4rem .9rem;
  font-weight:750;font-size:.82rem;white-space:nowrap;
  transition:background .18s var(--ease), transform .18s var(--ease);
}
.sitebar__link:hover{background:#2DD4BF;color:#04140F!important;transform:translateY(-1px)}
.sitebar__link svg{width:14px;height:14px}
.sitebar__host{
  font-weight:600;opacity:.72;padding-left:.5em;margin-left:.15em;
  border-left:1px solid rgba(4,20,15,.25);
}
.sitebar__close{
  background:transparent;border:0;cursor:pointer;color:var(--muted);
  padding:.3rem;line-height:0;border-radius:6px;
}
.sitebar__close:hover{color:var(--text);background:rgba(255,255,255,.08)}

@media (max-width:860px){
  .sitebar__inner{gap:.6rem}
  .sitebar__text{flex-basis:100%;order:3;font-size:.8rem}
  .sitebar__host{display:none}
  }
@media (max-width:480px){
  .sitebar__link{padding:.35rem .7rem;font-size:.78rem}
}

.topbar {
  background: #03060C;
  color: var(--muted);
  font-size: 0.82rem; padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.topbar a { color: var(--body); font-weight: 600; }
.topbar a:hover { color: var(--gold-400); }
.topbar__states { display: flex; align-items: center; gap: 0.45rem; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 3px rgba(74,222,128,0.16); flex: none; }
.topbar__right { display: flex; align-items: center; gap: var(--sp-5); }
@media (max-width: 720px) {
  .topbar { font-size: 0.76rem; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__right { gap: var(--sp-4); }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 32px rgba(0,0,0,0.55); background: rgba(5, 8, 15, 0.94); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 74px; }

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-600));
  display: grid; place-items: center;
  color: #06090F;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(233,195,88,0.22);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text); letter-spacing: -0.02em; }
.brand__role { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 400px) { .brand__name { font-size: 1rem; } .brand__role { font-size: 0.6rem; } }

.primary-nav ul { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a {
  display: block; padding: 0.55rem 0.75rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--body); border-radius: 8px; white-space: nowrap;
}
.primary-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--gold-400); background: rgba(233,195,88,0.09); }

.primary-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px; flex-direction: column; align-items: stretch; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .18s var(--ease);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.header__cta { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 10px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; position: relative; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: background .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header__cta .btn--ghost { display: none; }

  .primary-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: 96px var(--sp-5) var(--sp-6);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    overflow-y: auto; z-index: 99;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > div > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav a { padding: 0.95rem 0.4rem; font-size: 1.05rem; }
  .primary-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 var(--sp-3) var(--sp-4);
  }
  .primary-nav .sub-menu a { font-size: 0.95rem; padding: 0.5rem 0.4rem; color: var(--muted); }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,0.68);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 98;
}
.nav-scrim.is-visible { opacity: 1; visibility: visible; }

/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero {
  position: relative; overflow: hidden;
  background: var(--bg);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(820px 460px at 86% 4%, rgba(233,195,88,0.15), transparent 62%),
    radial-gradient(680px 520px at 2% 96%, rgba(45,212,191,0.13), transparent 60%),
    radial-gradient(900px 500px at 50% -10%, rgba(96,165,250,0.07), transparent 65%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 35%, #000 15%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 15%, transparent 76%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-8); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 0.45rem 0.95rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: var(--sp-5); backdrop-filter: blur(8px);
}
.hero__badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-400);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.hero__sub { font-size: var(--step-1); line-height: 1.6; color: var(--body); max-width: 56ch; margin-bottom: var(--sp-6); }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.hero__proof span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.hero__proof svg { flex: none; color: var(--gold-400); }

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */

.hero--carousel { padding-block: clamp(2rem, 4vw, 3.5rem); }

/* Slow drifting colour behind the hero — enough to feel alive, slow enough
   not to compete with the copy. Disabled under prefers-reduced-motion. */
.hero--carousel::before { animation: heroDrift 24s ease-in-out infinite alternate; }
@keyframes heroDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--carousel::before { animation: none; }
}

.hcar { position: relative; }

.hcar__viewport {
  display: grid;
  min-height: clamp(430px, 52vw, 480px);
}

/* All slides stack; only the active one is visible. */
.hcar__slide {
  grid-area: 1 / 1;
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  pointer-events: none;
}
.hcar__slide.is-active {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
@media (min-width: 980px) {
  .hcar__slide { grid-template-columns: 1.06fr 0.94fr; gap: var(--sp-8); }
}

.hcar__copy h1 {
  font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.95rem);
  line-height: 1.14;
  margin-bottom: var(--sp-4);
  max-width: 19ch;
}
.hcar__copy .hero__sub {
  font-size: clamp(0.98rem, 0.94rem + 0.22vw, 1.12rem);
  margin-bottom: var(--sp-6);
  max-width: 52ch;
}
.hcar__copy .btn-row { flex-wrap: wrap; }

.hcar__art {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  overflow: hidden;
}
.hcar__art::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 82% 6%, rgba(233,195,88,0.13), transparent 68%),
              radial-gradient(360px 220px at 10% 96%, rgba(45,212,191,0.11), transparent 66%);
}
.hcar__art svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }

/* Tablet: keep the art, just cap its width. */
@media (max-width: 979px) { .hcar__art { max-width: 520px; margin-inline: auto; } }

/*
 * Mobile: the art used to be hidden entirely, which left a wall of text.
 * Instead put it FIRST as a compact banner — graphic, then headline, then CTA.
 */
@media (max-width: 620px) {
  .hcar__slide { gap: var(--sp-5); }
  .hcar__art {
    order: -1;
    max-width: 100%;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
  }
  .hcar__art svg { max-height: 180px; }
  .hcar__copy h1 { max-width: none; }
  .hcar__copy .btn-row .btn { width: 100%; }
  .hcar__viewport { min-height: 0; }
}

/* Controls */
.hcar__ui {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}
.hcar__arrow, .hcar__play {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--body);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.hcar__arrow:hover, .hcar__play:hover {
  background: var(--surface-3); color: var(--text);
  border-color: var(--line-gold); transform: translateY(-2px);
}
.hcar__play { margin-left: auto; }
.hcar__play .hcar__ico-play { display: none; }
.hcar__play[aria-pressed="true"] .hcar__ico-play { display: block; }
.hcar__play[aria-pressed="true"] .hcar__ico-pause { display: none; }

.hcar__dots { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.hcar__dot {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 999px;
  background: var(--surface-3);
  cursor: pointer;
  transition: all .28s var(--ease);
  position: relative; overflow: hidden;
}
.hcar__dot:hover { background: var(--elevated); }
.hcar__dot.is-active { width: 34px; background: rgba(233,195,88,0.28); }
/* Progress fill shows how long until the next slide. */
.hcar__dot.is-active::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  transform-origin: left center;
  transform: scaleX(0);
}
.hcar__dot.is-active.is-running::after {
  animation: hcarFill var(--hcar-dur, 7s) linear forwards;
}
@keyframes hcarFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__foot {
  display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7);
  align-items: center;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.hero__foot .hero__proof { margin: 0; padding: 0; border: 0; }
.hero__disclaimer { margin-top: var(--sp-5); max-width: 78ch; }

@media (prefers-reduced-motion: reduce) {
  .hcar__slide { transition: none; }
  .hcar__dot.is-active.is-running::after { animation: none; transform: scaleX(1); }
}

/* Rotating headline word */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(0.35em);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.rotator > span.is-active { opacity: 1; transform: none; }

/* Hero card */
.hero-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(233,195,88,0.55), rgba(255,255,255,0) 52%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hero-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.hero-card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); margin: 0; }
.hero-card__tag {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  background: rgba(45,212,191,0.14); color: var(--teal-300);
  border: 1px solid rgba(45,212,191,0.25);
  padding: 0.32rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.hero-card__list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.hero-card__list li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.93rem; margin: 0; color: var(--body);
}
.hero-card__list li:last-child { border-bottom: 0; }
.hero-card__list svg { flex: none; margin-top: 3px; color: var(--gold-400); }
.hero-card__note { font-size: 0.76rem; color: var(--faint); text-align: center; margin-top: var(--sp-3); line-height: 1.5; }

/* ==========================================================================
   7. STAT BAR
   ========================================================================== */

.statbar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.statbar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); padding-block: var(--sp-6); }
@media (min-width: 860px) { .statbar__grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); } }

.stat { text-align: center; padding-inline: var(--sp-3); position: relative; }
@media (min-width: 860px) {
  .stat + .stat::before {
    content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line);
  }
}
.stat__num {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600; line-height: 1; letter-spacing: -0.03em;
  display: block; margin-bottom: 0.4rem;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { font-size: 0.8rem; color: var(--muted); font-weight: 600; line-height: 1.45; }

/* On a narrow screen four bare numbers read as clutter — give each a card. */
@media (max-width: 859px) {
  .statbar__grid { padding-block: var(--sp-5); }
  .stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--sp-4) var(--sp-3);
  }
  .stat__label br { display: none; }
  .stat__label { font-size: 0.75rem; }
}

/* ==========================================================================
   8. CARDS
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  height: 100%; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(340px 180px at 80% 0%, rgba(233,195,88,0.10), transparent 70%);
  transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-gold); background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-3); }
.card p { font-size: 0.94rem; color: var(--body); }

.card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05); color: var(--body);
  border: 1px solid var(--line);
  margin-bottom: var(--sp-4); flex: none;
  font-family: var(--font-display); font-weight: 700;
}
.card__icon--gold { background: rgba(233,195,88,0.11); color: var(--gold-400); border-color: rgba(233,195,88,0.22); }
.card__icon--teal { background: rgba(45,212,191,0.11); color: var(--teal-300); border-color: rgba(45,212,191,0.22); }
.card__foot { margin-top: auto; padding-top: var(--sp-4); }

/* "dark" variant now means a slightly lifted / accented card */
.card--dark { background: var(--surface-2); border-color: var(--line-2); }
.card--dark:hover { background: var(--surface-3); }

.card--accent {
  background: linear-gradient(160deg, rgba(233,195,88,0.10), var(--surface-2) 55%);
  border-color: var(--line-gold);
}

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
@media (min-width: 760px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: var(--sp-6); border-top: 2px solid var(--line-2); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: -0.85rem; left: 0;
  background: var(--bg); padding-right: 0.7rem;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--gold-400); letter-spacing: 0.02em;
}
.section--cream .step::before,
.section--tint .step::before,
.section--surface .step::before { background: var(--surface); }
.section--navy .step::before,
.section--deep .step::before { background: var(--bg-2); }
.step h3 { font-size: 1.14rem; margin-bottom: var(--sp-2); }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   9. COMPARISON TABLE
   ========================================================================== */

.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }
.compare table {
  width: 100%; min-width: 640px;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  font-size: 0.93rem;
}
.compare th, .compare td { padding: 1rem 1.15rem; text-align: left; vertical-align: top; }
.compare thead th {
  background: #03060C; color: var(--muted);
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.compare thead th:nth-child(2) { background: rgba(233,195,88,0.08); color: var(--gold-300); position: relative; }
.compare thead th:nth-child(2)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-600));
}
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare tbody th { font-family: var(--font-body); font-weight: 700; color: var(--text); width: 26%; }
.compare tbody td { color: var(--body); }
.compare td:nth-child(2) { background: rgba(233,195,88,0.045); color: var(--text); font-weight: 600; }
.compare .yes { color: var(--teal-300); font-weight: 800; }
.compare .no  { color: var(--red-400); font-weight: 700; }
.compare-note { font-size: 0.82rem; color: var(--muted); margin-top: var(--sp-3); }

/* ==========================================================================
   10. FORM CONTROLS
   ========================================================================== */

.field { margin-bottom: var(--sp-5); }
.field:last-child { margin-bottom: 0; }
.field--tight { margin-bottom: var(--sp-4); }
.field__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3);
  font-size: 0.84rem; font-weight: 700; color: var(--text); margin-bottom: 0.55rem;
}
.field__val { font-family: var(--font-display); font-size: 1.02rem; color: var(--gold-400); font-weight: 600; font-variant-numeric: tabular-nums; }
.field__hint { font-size: 0.76rem; color: var(--faint); margin-top: 0.4rem; line-height: 1.5; }
.req { color: var(--red-400); }

/* The "$" is a real flex child, not an absolutely-positioned overlay. An
   overlay sits on top of the input's text and clips the leading digit as soon
   as the field scrolls, which is exactly what it used to do. */
.input-money {
  display: flex; align-items: center;
  background: var(--bg-2);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  overflow: hidden;
}
.input-money::before {
  content: '$';
  flex: none; padding-left: 1rem;
  color: var(--muted); font-weight: 700;
  pointer-events: none;
}
.input-money input[type="text"] {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: transparent;
  padding-left: 0.35rem;
}
.input-money input[type="text"]:focus { box-shadow: none; background: transparent; border: 0; }
.input-money:focus-within {
  border-color: var(--gold-500);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(233,195,88,0.13);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(233,195,88,0.13);
}
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E7B92' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
select option { background: var(--surface-2); color: var(--text); }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--surface-3); outline: none; padding: 0; border: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-400); border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold-600), 0 2px 8px rgba(0,0,0,.5); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-400); border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold-600); cursor: grab;
}

/* Segmented control */
.segment { display: flex; gap: 4px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment label {
  flex: 1; text-align: center; cursor: pointer;
  padding: 0.6rem 0.5rem; border-radius: 999px;
  font-size: 0.86rem; font-weight: 700; color: var(--muted);
  transition: background .2s var(--ease), color .2s var(--ease);
  user-select: none; line-height: 1.25;
}
.segment label:hover { color: var(--text); }
.segment input:checked + label { background: var(--gold-400); color: #06090F; }
.segment input:focus-visible + label { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.segment--stack { flex-wrap: wrap; }
.segment--stack label { flex: 1 1 30%; }

/* Disclosure / advanced panel */
.disclose { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.disclose > summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  font-size: 0.9rem; font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary::after {
  content: ''; width: 9px; height: 9px; flex: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s var(--ease);
}
.disclose[open] > summary::after { transform: rotate(225deg) translate(-2px,-2px); }
.disclose > summary:hover { background: rgba(255,255,255,0.03); }
.disclose__body { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }

/* ==========================================================================
   11. CALCULATOR / QUOTE PANEL
   ========================================================================== */

.calc {
  display: grid; gap: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  box-shadow: var(--shadow);
}
@media (min-width: 920px) { .calc { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-8); } }

.calc__out {
  background: linear-gradient(165deg, var(--surface-3), var(--bg-2));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  align-self: start;
  position: relative; overflow: hidden;
}
.calc__out::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 200px at 90% 0%, rgba(233,195,88,0.13), transparent 70%);
}
.calc__out > * { position: relative; z-index: 1; }
.calc__total-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.calc__total {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--text); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
  margin: 0.35rem 0 0.15rem; font-variant-numeric: tabular-nums;
}
.calc__total small { font-size: 0.88rem; font-family: var(--font-body); color: var(--muted); font-weight: 600; }
.calc__break { list-style: none; margin: var(--sp-5) 0 0; padding: var(--sp-4) 0 0; border-top: 1px solid var(--line-2); }
.calc__break li { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: 0.89rem; padding: 0.42rem 0; margin: 0; color: var(--muted); }
.calc__break span:last-child { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.calc__break li.is-sub { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .7rem; }
.calc__cta { margin-top: var(--sp-5); }
.calc__disclaimer { font-size: 0.72rem; color: var(--faint); margin-top: var(--sp-4); line-height: 1.5; }

/* Live URL preview for the quote builder */
.urlpreview {
  margin-top: var(--sp-4); padding: 0.75rem 0.9rem;
  background: #02040A; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem; color: var(--faint);
  word-break: break-all; line-height: 1.55; max-height: 88px; overflow: auto;
}

/* ==========================================================================
   12. PILLS
   ========================================================================== */

.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin: 0; padding: 0; }
.pills li { margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.5rem 0.95rem; border-radius: 999px;
  font-size: 0.86rem; font-weight: 700; color: var(--text);
  transition: all .2s var(--ease);
}
.pill:hover { border-color: var(--line-gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); background: var(--surface-2); }
.pill__abbr {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  background: var(--surface-3); color: var(--body);
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center; flex: none;
}
.pill--gold .pill__abbr { background: linear-gradient(140deg, var(--gold-300), var(--gold-500)); color: #06090F; }

/* ==========================================================================
   13. TESTIMONIALS + SLIDER
   ========================================================================== */

.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.5vw, 1.9rem);
  height: 100%; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.quote__stars { color: var(--gold-400); letter-spacing: 0.14em; font-size: 0.95rem; margin-bottom: var(--sp-3); }
.quote blockquote { margin: 0 0 var(--sp-4); font-size: 1rem; line-height: 1.62; color: var(--body); }
.quote blockquote::before { content: '\201C'; }
.quote blockquote::after { content: '\201D'; }
.quote__by { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--surface-3); color: var(--gold-400);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
}
.quote__name { font-weight: 700; color: var(--text); font-size: 0.9rem; line-height: 1.3; }
.quote__meta { font-size: 0.79rem; color: var(--muted); }

/* Slider */
.slider { position: relative; }
.slider__track { display: flex; gap: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: var(--sp-4); scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { flex: 0 0 min(380px, 84vw); scroll-snap-align: start; }
@media (min-width: 1000px) { .slider__track > * { flex: 0 0 calc((100% - var(--sp-5) * 2) / 3); } }
.slider__nav { display: flex; gap: 0.5rem; justify-content: center; margin-top: var(--sp-4); }
.slider__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  border: 0; background: var(--surface-3); cursor: pointer;
  transition: all .25s var(--ease);
}
.slider__dot.is-active { background: var(--gold-400); width: 26px; border-radius: 999px; }

/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  background: none; border: 0; cursor: pointer; padding: 1.35rem 0.25rem;
  font-family: var(--font-display); font-size: clamp(1.02rem, 1.7vw, 1.2rem); font-weight: 600;
  color: var(--text); text-align: left; line-height: 1.35;
  transition: color .18s var(--ease);
}
.faq__q:hover { color: var(--gold-400); }
.faq__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid; place-items: center; margin-top: 2px; position: relative;
  transition: transform .28s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--gold-400); border-radius: 2px; transition: opacity .2s var(--ease); }
.faq__icon::before { width: 11px; height: 1.8px; }
.faq__icon::after  { width: 1.8px; height: 11px; }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--gold-400); border-color: var(--gold-400); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::before { background: #06090F; }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }
.faq__a { display: none; padding: 0 3rem 1.5rem 0.25rem; }
.faq__a p { font-size: 0.96rem; color: var(--body); }
.faq__q[aria-expanded="true"] + .faq__a { display: block; animation: fadeDown .28s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   15. CTA BANDS
   ========================================================================== */

.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--bg-2) 65%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.6rem);
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 80% 8%, rgba(233,195,88,0.18), transparent 62%),
              radial-gradient(520px 340px at 8% 98%, rgba(45,212,191,0.16), transparent 60%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--body); max-width: 58ch; margin-inline: auto; font-size: var(--step-1); }
.cta-band .btn-row { margin-top: var(--sp-6); justify-content: center; }
.cta-band__micro { margin-top: var(--sp-5); font-size: 0.8rem; color: var(--faint); }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 0.6rem; padding: 0.65rem 0.75rem;
  background: rgba(5,8,15,0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -8px 28px rgba(0,0,0,0.5);
}
.mobile-cta .btn { flex: 1; padding: 0.85rem 0.9rem; font-size: 0.9rem; }
@media (max-width: 780px) { .mobile-cta { display: flex; } body { padding-bottom: 74px; } }

/* ==========================================================================
   16. PAGE HERO (interior)
   ========================================================================== */

.page-hero {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(720px 400px at 86% 0%, rgba(233,195,88,0.13), transparent 62%),
              radial-gradient(520px 340px at 4% 100%, rgba(45,212,191,0.10), transparent 62%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 72%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: var(--step-4); margin-bottom: var(--sp-4); max-width: 20ch; }
.page-hero p { color: var(--body); font-size: var(--step-1); max-width: 62ch; }

.breadcrumbs { font-size: 0.8rem; color: var(--faint); margin-bottom: var(--sp-4); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-400); }

/* ==========================================================================
   17. CONTENT / ENTRY
   ========================================================================== */

.entry { font-size: 1.04rem; }
.entry h2 { font-size: var(--step-3); margin-top: var(--sp-8); }
.entry h2:first-child { margin-top: 0; }
.entry h3 { margin-top: var(--sp-6); }
.entry ul, .entry ol { margin-bottom: var(--sp-5); }
.entry blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6);
  background: var(--surface); border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--text); line-height: 1.5;
}
.entry img { border-radius: var(--radius); margin-block: var(--sp-5); }
.entry table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-5); }
.entry th, .entry td { padding: 0.75rem; border: 1px solid var(--line); text-align: left; }
.entry th { background: var(--surface); color: var(--text); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 0.85rem; font-size: 1rem; line-height: 1.6; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.32em;
  width: 20px; height: 20px; border-radius: 50%;
  background-color: rgba(45,212,191,0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Split rows */
.split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--flip > *:first-child { order: 2; }
}

/* Portrait / headshot */
.portrait {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(155deg, var(--surface-3), var(--bg-2));
  border: 1px solid var(--line-2);
  aspect-ratio: 4/5; display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.portrait::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(520px 300px at 78% 6%, rgba(233,195,88,0.20), transparent 62%);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
/* In the hero the portrait sits above a card, so keep it squarer than tall. */
.hero .portrait { aspect-ratio: 1 / 1; max-width: 420px; margin-inline: auto; }
@media (max-width: 979px) { .hero .portrait { aspect-ratio: 4 / 3; max-width: 100%; } }
.portrait__ph { text-align: center; color: var(--muted); font-size: 0.85rem; font-weight: 600; padding: var(--sp-5); line-height: 1.6; position: relative; z-index: 3; }
.portrait__ph strong {
  display: block; font-family: var(--font-display); font-size: 3.4rem; margin-bottom: var(--sp-3);
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.portrait__tag {
  position: absolute; left: var(--sp-5); bottom: var(--sp-5); z-index: 4;
  background: rgba(5,8,15,0.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 0.7rem 1rem; font-size: 0.8rem; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 0.5rem;
}
.portrait__tag svg { color: var(--gold-400); flex: none; }

/* ==========================================================================
   TRUST BAND / GUARANTEE / REVIEWS
   ========================================================================== */

.guarantee {
  position: relative; overflow: hidden;
  display: grid; gap: var(--sp-5); align-items: center;
  background: linear-gradient(140deg, rgba(233,195,88,0.13), var(--surface-2) 58%);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}
@media (min-width: 860px) { .guarantee { grid-template-columns: auto 1fr auto; gap: var(--sp-7); } }
.guarantee::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 260px at 88% 0%, rgba(233,195,88,0.16), transparent 66%);
}
.guarantee > * { position: relative; z-index: 1; }
.guarantee__amt {
  font-family: var(--font-display); font-weight: 700; line-height: 0.95;
  font-size: clamp(3rem, 7vw, 4.6rem); letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.guarantee h3 { font-size: var(--step-2); margin-bottom: var(--sp-2); }
.guarantee p { color: var(--body); margin: 0; font-size: 0.97rem; }

/* Tool jump navigation */
.toolnav { display: grid; gap: var(--sp-3); }
@media (min-width: 640px)  { .toolnav { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .toolnav { grid-template-columns: repeat(3, 1fr); } }
.toolnav__item {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.15rem;
  color: var(--text); font-weight: 700; font-size: 0.94rem;
  transition: all .2s var(--ease);
}
.toolnav__item svg { color: var(--gold-400); flex: none; }
.toolnav__item:hover {
  color: var(--text); background: var(--surface-2);
  border-color: var(--line-gold); transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
/* Chevron so each row reads as tappable rather than as a static list item. */
.toolnav__item::after {
  content: ''; margin-left: auto; flex: none;
  width: 7px; height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.toolnav__item:hover::after { border-color: var(--gold-400); transform: rotate(-45deg) translate(2px, 2px); }
.toolnav__item span { min-width: 0; }

@media (max-width: 639px) {
  .toolnav { gap: 0.5rem; }
  .toolnav__item { padding: 0.85rem 1rem; font-size: 0.9rem; }
}

/* Calculator verdict pill */
.verdict {
  margin-top: var(--sp-5); padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm); border: 1px solid;
  font-size: 0.88rem; line-height: 1.5;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.verdict strong { font-size: 0.95rem; }
.verdict--good { background: rgba(45,212,191,0.10); border-color: rgba(45,212,191,0.32); color: var(--teal-300); }
.verdict--good strong { color: var(--teal-300); }
.verdict--warn { background: rgba(233,195,88,0.10); border-color: rgba(233,195,88,0.32); color: var(--gold-300); }
.verdict--warn strong { color: var(--gold-300); }
.verdict--bad  { background: rgba(248,113,113,0.10); border-color: rgba(248,113,113,0.32); color: var(--red-400); }
.verdict--bad strong { color: var(--red-400); }

/* Answer / knowledge-base search */
.kb-search { position: relative; margin-bottom: var(--sp-6); }
.kb-search input { padding-left: 3rem; font-size: 1.05rem; padding-block: 1rem; }
.kb-search svg {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.kb-count { font-size: 0.85rem; color: var(--muted); margin-bottom: var(--sp-4); }
.faq__item[hidden] { display: none !important; }
.kb-empty { padding: var(--sp-6); text-align: center; color: var(--muted); }

/* Program finder */
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.5rem,3.2vw,2.6rem); }
.finder__q { margin-bottom: var(--sp-6); }
.finder__q:last-of-type { margin-bottom: 0; }
.finder__label { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin-bottom: var(--sp-4); display: block; }
.finder__opts { display: grid; gap: 0.6rem; }
@media (min-width: 640px) { .finder__opts { grid-template-columns: repeat(2, 1fr); } }
.finder__opts input { position: absolute; opacity: 0; pointer-events: none; }
.finder__opts label {
  display: block; cursor: pointer; user-select: none;
  background: var(--bg-2); border: 1.5px solid var(--line-2);
  border-radius: var(--radius); padding: 0.9rem 1.1rem;
  font-size: 0.94rem; font-weight: 600; color: var(--body);
  transition: all .18s var(--ease);
}
.finder__opts label:hover { border-color: var(--line-gold); color: var(--text); }
.finder__opts input:checked + label {
  background: rgba(233,195,88,0.12); border-color: var(--gold-400); color: var(--text);
}
.finder__opts input:focus-visible + label { outline: 2px solid var(--gold-300); outline-offset: 2px; }

.finder__result { margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.rec {
  background: linear-gradient(150deg, rgba(233,195,88,0.10), var(--surface-2) 60%);
  border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
  padding: var(--sp-5); margin-bottom: var(--sp-4);
}
.rec:last-child { margin-bottom: 0; }
.rec__rank {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 0.5rem; display: block;
}
.rec h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.rec p { font-size: 0.94rem; color: var(--body); margin: 0; }
.rec--alt { background: var(--surface-2); border-color: var(--line); }
.rec--alt .rec__rank { color: var(--muted); }

/* Trust chips row */
.trust-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.55rem 1.05rem;
  font-size: 0.86rem; font-weight: 700; color: var(--text);
}
.trust-chip svg { color: var(--teal-300); flex: none; }

/* Product catalogue filter */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-6); }
.filter-tab {
  background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--body); border-radius: 999px;
  padding: 0.6rem 1.35rem; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-tab:hover { color: var(--text); border-color: var(--line-gold); }
.filter-tab.is-active { background: var(--gold-400); border-color: var(--gold-400); color: #06090F; }
.prod[hidden] { display: none !important; }
.prod__tag {
  display: inline-block; margin-bottom: var(--sp-3);
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 999px;
  background: rgba(45,212,191,0.12); color: var(--teal-300); border: 1px solid rgba(45,212,191,0.24);
}
.prod__tag--refi { background: rgba(96,165,250,0.12); color: #93C5FD; border-color: rgba(96,165,250,0.26); }

/* Document checklist grid */
.doclist { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .doclist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .doclist { grid-template-columns: repeat(3, 1fr); } }
.doc-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.doc-group h4 { font-size: 1.05rem; margin-bottom: var(--sp-4); display: flex; align-items: center; gap: 0.6rem; }
.doc-group h4 svg { color: var(--gold-400); flex: none; }
.doc-group ul { list-style: none; margin: 0; padding: 0; }
.doc-group li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem;
  font-size: 0.92rem; color: var(--body); line-height: 1.55;
}
.doc-group li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}

/* Timeline */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold-500), rgba(233,195,88,0.12));
}
.tl-item { position: relative; padding-bottom: var(--sp-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -2.2rem; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold-500);
}
.tl-when { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.35rem; }
.tl-item h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.tl-item p { font-size: 0.93rem; color: var(--body); margin: 0; }

/* Decorative SVG illustration wrapper */
.figure {
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  padding: clamp(1rem, 2.5vw, 1.75rem); overflow: hidden; position: relative;
}
.figure::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 85% 5%, rgba(233,195,88,0.10), transparent 68%);
}
.figure svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.figure__cap { font-size: 0.78rem; color: var(--faint); margin-top: var(--sp-4); text-align: center; position: relative; z-index: 1; }

/* Contact info blocks */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: rgba(233,195,88,0.10); color: var(--gold-400);
  border: 1px solid rgba(233,195,88,0.2);
  display: grid; place-items: center;
}
.contact-list__label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact-list__val { font-size: 1.04rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.contact-list__val a { color: var(--text); }
.contact-list__val a:hover { color: var(--gold-400); }

/* Alerts */
.alert { border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin-bottom: var(--sp-5); font-size: 0.94rem; font-weight: 600; border: 1px solid; }
.alert--ok { background: rgba(45,212,191,0.10); border-color: rgba(45,212,191,0.3); color: var(--teal-300); }
.alert--err { background: rgba(248,113,113,0.10); border-color: rgba(248,113,113,0.3); color: var(--red-400); }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.site-footer { background: #03060C; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.91rem; }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--gold-400); }

.footer__top { display: grid; gap: var(--sp-6); padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7); } }

.footer__blurb { margin-top: var(--sp-4); max-width: 34ch; line-height: 1.65; font-size: 0.89rem; }
.footer__h { font-family: var(--font-body); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text); margin-bottom: var(--sp-4); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 0.6rem; }

.footer__legal { border-top: 1px solid var(--line); padding-block: var(--sp-6); font-size: 0.77rem; line-height: 1.65; color: var(--faint); }
.footer__legal p { margin-bottom: var(--sp-3); }
.footer__badges { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.ehl { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.ehl svg { flex: none; color: var(--body); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; }

/* ==========================================================================
   19. UTILITIES & MOTION
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 0.85rem; }
.gold { color: var(--gold-400); }
.label-sm { font-family: var(--font-body); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-4); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .rotator > span { opacity: 1; }
  .rotator > span:not(.is-active) { opacity: 0; }
}

/* WordPress core classes */
.alignleft { float: left; margin: 0 var(--sp-5) var(--sp-4) 0; }
.alignright { float: right; margin: 0 0 var(--sp-4) var(--sp-5); }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { font-size: 0.84rem; color: var(--muted); text-align: center; }
.page-links { margin-top: var(--sp-5); font-weight: 700; }
.wp-block-image img { border-radius: var(--radius); }

.pagination, .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.75rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--body); font-weight: 700; font-size: 0.9rem;
}
.page-numbers:hover, .page-numbers.current { background: var(--surface-2); color: var(--gold-400); border-color: var(--line-gold); }

@media print {
  .site-header, .site-footer, .mobile-cta, .topbar, .sitebar, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
}

/* Hero foot / disclaimer on small screens */
@media (max-width: 720px) {
  .hero__foot { flex-direction: column; align-items: flex-start; gap: var(--sp-4); margin-top: var(--sp-6); }
  .hero__foot .trust-row { gap: 0.4rem; }
  .trust-chip { font-size: 0.78rem; padding: 0.45rem 0.85rem; }
  .hero__proof { gap: var(--sp-3); }
  .hero__proof span { font-size: 0.8rem; }
  .hero__disclaimer { font-size: 0.72rem; }
  .hcar__ui { margin-top: var(--sp-5); gap: 0.5rem; }
  .hcar__arrow, .hcar__play { width: 38px; height: 38px; }
}

/* Section rhythm: the default block padding is too generous on a phone. */
@media (max-width: 720px) {
  .section { padding-block: clamp(2.5rem, 9vw, 3.5rem); }
  .sec-head { margin-bottom: var(--sp-5); }
  .sec-head p { font-size: 1.02rem; }
  .card { padding: 1.15rem; }
  .calc { padding: 1.15rem; }
  .guarantee { padding: 1.35rem; text-align: left; }
  .guarantee__amt { font-size: 2.6rem; }
  .cta-band { padding: 1.6rem 1.25rem; }
  .btn--lg { padding: 1rem 1.4rem; font-size: 0.98rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .split { gap: var(--sp-5); }
}
