/* =========================================================
   MAXIMUM EMAIL — Design System
   Sage / Gold / Cream palette, Plus Jakarta Sans + Inter
   ========================================================= */

:root{
  /* Palette — deep blue (per Maximum Email logo direction) */
  --sage-900:#0e1b36;
  --sage-800:#152548;
  --sage-700:#1c3260;
  --sage-600:#254080;
  --sage-500:#3c5da3;
  --sage-300:#a3b8dd;
  --sage-200:#ccd9f0;
  --sage-100:#e6ecf9;
  --sage-50:#f2f5fc;

  --gold-700:#0d3f9e;
  --gold-600:#1352c4;
  --gold-500:#2f6df0;
  --gold-400:#6b98f7;
  --gold-200:#c9dafb;
  --gold-100:#e5edfd;

  --ink-900:#1b201d;
  --ink-700:#3a423d;
  --ink-500:#616b64;
  --ink-300:#8d968f;

  --cream:#faf8f3;
  --white:#ffffff;

  --danger:#c15b4a;
  --success:#4f8f6d;

  --font-head:'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', sans-serif;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;

  --shadow-sm:0 1px 2px rgba(27,32,29,.06), 0 1px 1px rgba(27,32,29,.04);
  --shadow-md:0 8px 24px rgba(27,32,29,.08);
  --shadow-lg:0 20px 48px rgba(27,32,29,.14);

  --max-w:1180px;
  --nav-h:76px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:var(--nav-h); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--sage-900);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem, 3.6vw, 3.1rem); font-weight:800; }
h2{ font-size:clamp(1.65rem, 2.6vw, 2.35rem); font-weight:800; }
h3{ font-size:1.2rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--ink-700); }
a{ color:inherit; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; }
li{ list-style:none; }
button{ font-family:inherit; }

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

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-head);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-700);
  background:var(--gold-100);
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:'';
  width:6px; height:6px;
  border-radius:50%;
  background:var(--gold-500);
}

.section-head{
  max-width:680px;
  margin:0 0 44px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ font-size:1.05rem; }

section{ padding:88px 0; position:relative; }
@media (max-width:720px){ section{ padding:64px 0; } }

.section-alt{ background:var(--sage-50); }
.section-tight{ padding:36px 0; }
@media (max-width:720px){ .section-tight{ padding:28px 0; } }
.section-dark{ background:var(--sage-900); color:var(--sage-100); }
.section-dark h2, .section-dark h3{ color:var(--white); }
.section-dark p{ color:var(--sage-200); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:.98rem;
  padding:14px 26px;
  border-radius:999px;
  border:2px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{
  background:var(--gold-500);
  color:var(--white);
  box-shadow:var(--shadow-sm);
}
.btn-primary:hover{
  background:var(--gold-600);
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
}
.btn-outline{
  background:transparent;
  border-color:var(--sage-300);
  color:var(--sage-900);
}
.btn-outline:hover{
  border-color:var(--sage-700);
  background:var(--sage-100);
  transform:translateY(-2px);
}
.btn-ghost-light{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.35);
  color:var(--white);
}
.btn-ghost-light:hover{
  background:rgba(255,255,255,.18);
  transform:translateY(-2px);
}
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; transform:none !important; }

/* ---------- Nav ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:200;
  height:var(--nav-h);
  display:flex;
  align-items:center;
  background:rgba(250,248,243,.85);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(40,53,45,.08);
  transition:box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow:var(--shadow-sm); }
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.2rem;
  color:var(--sage-900);
  text-decoration:none;
}
.logo-mark{
  width:34px; height:34px;
  border-radius:9px;
  background:linear-gradient(135deg, var(--sage-700), var(--sage-500));
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
  flex-shrink:0;
}
.logo-mark svg{ width:18px; height:18px; }
.logo span.dim{ color:var(--gold-600); }

.logo-img{ height:24px; width:auto; display:block; }
.footer-brand .logo{ margin-bottom:16px; }
.footer-brand .logo-img{ height:34px; width:auto; display:block; }

.nav-links{
  display:flex;
  align-items:center;
  gap:26px;
}
.nav-links a{
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  text-decoration:none;
  color:var(--ink-700);
  position:relative;
  padding:4px 0;
  white-space:nowrap;
  transition:color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--sage-900); }
.nav-links a[aria-current="page"]::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background:var(--gold-500);
  border-radius:2px;
}
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-cta .btn{ padding:11px 22px; font-size:.9rem; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  color:var(--sage-900);
}
.nav-toggle svg{ width:26px; height:26px; }

@media (max-width:900px){
  .nav-links{
    position:fixed;
    top:var(--nav-h);
    left:0; right:0;
    background:var(--white);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:8px 24px 20px;
    box-shadow:var(--shadow-md);
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
  }
  .nav-links.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav-links a{ padding:12px 0; width:100%; border-bottom:1px solid var(--sage-100); }
  .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ---------- Hero ---------- */
.hero{
  padding:56px 0 76px;
  background:
    radial-gradient(1200px 480px at 85% -10%, var(--sage-100), transparent 60%),
    var(--cream);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero-copy p.lead{ font-size:1.15rem; color:var(--ink-700); max-width:520px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin:28px 0 30px; }
.trust-row{ display:flex; gap:26px; flex-wrap:wrap; }
.trust-item{
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:700; font-size:.85rem;
  color:var(--sage-800);
}
.trust-item svg{ width:18px; height:18px; color:var(--gold-600); flex-shrink:0; }

/* Hero visual: deliverability report card */
.hero-visual{ position:relative; }
.report-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  padding:26px;
  position:relative;
  z-index:2;
  border:1px solid var(--sage-100);
}
.report-card-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:18px;
}
.report-card-head .tag{
  font-family:var(--font-head); font-weight:700; font-size:.72rem;
  text-transform:uppercase; letter-spacing:.06em;
  color:var(--sage-600);
}
.report-card-head .dot-live{
  display:flex; align-items:center; gap:6px;
  font-size:.72rem; font-weight:700; color:var(--success);
}
.report-card-head .dot-live::before{
  content:''; width:7px; height:7px; border-radius:50%; background:var(--success);
  animation:pulse 2s infinite;
}
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.35;} }

.gauge-wrap{ display:flex; align-items:center; gap:20px; margin-bottom:22px; }
.gauge{ position:relative; width:118px; height:118px; flex-shrink:0; }
.gauge svg{ width:100%; height:100%; transform:rotate(-90deg); }
.gauge circle{ fill:none; stroke-width:10; }
.gauge .bg{ stroke:var(--sage-100); }
.gauge .fg{
  stroke:var(--gold-500);
  stroke-linecap:round;
  stroke-dasharray:301.6;
  stroke-dashoffset:301.6;
  transition:stroke-dashoffset 1.4s cubic-bezier(.16,1,.3,1);
}
.gauge .value{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family:var(--font-head);
}
.gauge .value strong{ font-size:1.55rem; color:var(--sage-900); line-height:1; }
.gauge .value span{ font-size:.62rem; color:var(--ink-500); text-transform:uppercase; letter-spacing:.05em; }

.gauge-legend{ flex:1; display:flex; flex-direction:column; gap:10px; }
.legend-row{ display:flex; align-items:center; gap:10px; font-size:.85rem; }
.legend-row .swatch{ width:10px; height:10px; border-radius:3px; flex-shrink:0; }
.legend-row .bar-track{
  flex:1; height:7px; background:var(--sage-100); border-radius:999px; overflow:hidden;
}
.legend-row .bar-fill{ height:100%; border-radius:999px; width:0; transition:width 1.2s cubic-bezier(.16,1,.3,1); }
.legend-row strong{ font-family:var(--font-head); width:36px; text-align:right; font-size:.8rem; color:var(--ink-900); }

.report-checklist{ display:flex; flex-direction:column; gap:9px; border-top:1px dashed var(--sage-200); padding-top:16px; }
.check-row{ display:flex; align-items:center; gap:10px; font-size:.83rem; color:var(--ink-700); }
.check-row .ico{
  width:20px; height:20px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  background:var(--sage-100); color:var(--sage-700);
}
.check-row .ico svg{ width:12px; height:12px; }
.check-row.warn .ico{ background:var(--gold-100); color:var(--gold-700); }

.floating-chip{
  position:absolute;
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  padding:12px 16px;
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-head); font-weight:700; font-size:.82rem;
  z-index:3;
  border:1px solid var(--sage-100);
}
.floating-chip .num{ color:var(--gold-600); font-size:1.05rem; }
.chip-a{ top:-18px; left:-24px; animation:float1 6s ease-in-out infinite; }
.chip-b{ bottom:-16px; right:-18px; animation:float2 7s ease-in-out infinite; }
@keyframes float1{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@keyframes float2{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }
@media (prefers-reduced-motion: reduce){
  .chip-a, .chip-b, .report-card-head .dot-live::before{ animation:none; }
}

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:44px; }
  .hero-visual{ max-width:460px; margin:0 auto; }
  .floating-chip{ display:none; }
}

/* ---------- Problem section ---------- */
.stat-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:36px 0 48px;
}
.stat-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:26px 22px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--sage-100);
  text-align:left;
}
.stat-card .stat-num{
  font-family:var(--font-head);
  font-weight:800;
  font-size:2.3rem;
  color:var(--sage-800);
  display:flex;
  align-items:baseline;
  gap:2px;
}
.stat-card .stat-num .accent{ color:var(--gold-600); }
.stat-card p{ margin:6px 0 0; font-size:.92rem; }

.flow-diagram{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:32px 28px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--sage-100);
  flex-wrap:wrap;
}
.flow-node{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  text-align:center;
  min-width:120px;
}
.flow-node .icon-circle{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--sage-100); color:var(--sage-700);
}
.flow-node.spam .icon-circle{ background:#f7e6e2; color:var(--danger); }
.flow-node.promo .icon-circle{ background:var(--gold-100); color:var(--gold-700); }
.flow-node .icon-circle svg{ width:26px; height:26px; }
.flow-node strong{ font-family:var(--font-head); font-size:.88rem; }
.flow-node span{ font-size:.78rem; color:var(--ink-500); }
.flow-arrow{ color:var(--sage-300); flex-shrink:0; }
.flow-arrow svg{ width:28px; height:14px; }
@media (max-width:760px){
  .stat-row{ grid-template-columns:1fr; }
  .flow-diagram{ flex-direction:column; }
  .flow-arrow svg{ transform:rotate(90deg); }
}

/* ---------- Process timeline ---------- */
.timeline{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:20px;
}
.timeline::before{
  content:'';
  position:absolute;
  top:27px;
  left:0;
  right:0;
  height:2px;
  background:repeating-linear-gradient(90deg, var(--sage-300) 0 10px, transparent 10px 18px);
}
.timeline-step{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.timeline-step .step-num{
  align-self:center;
  width:56px; height:56px;
  border-radius:50%;
  background:var(--white);
  border:2px solid var(--sage-300);
  color:var(--sage-800);
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  line-height:1;
  padding:0;
  box-sizing:border-box;
  font-family:var(--font-head); font-weight:800; font-size:1.15rem;
  position:relative; z-index:2;
  margin-bottom:18px;
  transition:background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.timeline-step.in-view .step-num{
  background:var(--sage-800); border-color:var(--sage-800); color:var(--white);
}
.timeline-step h3{ margin-bottom:8px; }
.timeline-step p{ font-size:.92rem; }
.timeline-step .fee-tag{
  display:inline-block; margin-top:10px;
  font-size:.75rem; font-weight:700; font-family:var(--font-head);
  color:var(--gold-700); background:var(--gold-100);
  padding:4px 10px; border-radius:999px;
}
@media (max-width:900px){
  .timeline{ grid-template-columns:1fr; gap:36px; }
  .timeline::before{ display:none; }
}

/* ---------- Assessment / report mockup ---------- */
.assessment-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.assessment-list{ display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.assessment-item{ display:flex; gap:14px; align-items:flex-start; }
.assessment-item .ico{
  width:38px; height:38px; border-radius:11px; flex-shrink:0;
  background:var(--sage-100); color:var(--sage-700);
  display:flex; align-items:center; justify-content:center;
}
.assessment-item .ico svg{ width:19px; height:19px; }
.assessment-item h4{ font-family:var(--font-head); font-size:1rem; margin:0 0 3px; color:var(--sage-900); }
.assessment-item p{ font-size:.92rem; margin:0; }

.mockup-report{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  border:1px solid var(--sage-100);
  overflow:hidden;
}
.mockup-report-top{
  background:var(--sage-900); color:var(--white);
  padding:20px 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.mockup-report-top .fname{ font-family:var(--font-head); font-weight:700; font-size:.95rem; }
.mockup-report-top .fmeta{ font-size:.72rem; color:var(--sage-300); }
.mockup-report-body{ padding:22px 24px; display:flex; flex-direction:column; gap:14px; }
.factor-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.factor-row .fname2{ font-size:.86rem; font-weight:600; color:var(--ink-800); }
.factor-badge{
  font-family:var(--font-head); font-weight:700; font-size:.72rem;
  padding:4px 10px; border-radius:999px;
}
.factor-badge.pass{ background:#e4f1e8; color:var(--success); }
.factor-badge.warn{ background:var(--gold-100); color:var(--gold-700); }
.factor-badge.fail{ background:#f7e6e2; color:var(--danger); }

@media (max-width:900px){
  .assessment-grid{ grid-template-columns:1fr; gap:36px; }
}

/* ---------- Results ---------- */
.results-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.result-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  border:1px solid var(--sage-100);
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease, box-shadow .3s ease;
}
.result-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.result-card .industry{
  font-family:var(--font-head); font-weight:700; font-size:.78rem;
  color:var(--gold-700); text-transform:uppercase; letter-spacing:.04em;
  margin-bottom:14px;
}
.result-before-after{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.ba-block{ text-align:center; flex:1; }
.ba-block .lbl{ font-size:.72rem; color:var(--ink-500); text-transform:uppercase; letter-spacing:.04em; }
.ba-block .val{ font-family:var(--font-head); font-weight:800; font-size:1.6rem; }
.ba-block.before .val{ color:var(--danger); }
.ba-block.after .val{ color:var(--success); }
.ba-arrow{ color:var(--sage-300); }
.ba-arrow svg{ width:20px; height:20px; }
.result-card p{ font-size:.88rem; margin:0; }

.result-metrics{ display:flex; flex-direction:column; gap:12px; margin-bottom:6px; }
.metric-row{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  background:var(--sage-50);
  border-radius:10px;
}
.metric-row .metric-label{
  font-family:var(--font-head); font-weight:700; font-size:.76rem;
  text-transform:uppercase; letter-spacing:.03em;
  color:var(--ink-500);
  width:44px;
  flex-shrink:0;
}
.metric-row .metric-vals{
  display:flex; align-items:baseline; gap:6px;
  font-family:var(--font-head); font-weight:700; font-size:.98rem;
  flex:1;
}
.metric-row .metric-before{ color:var(--danger); font-weight:600; }
.metric-row .metric-arrow{ color:var(--sage-300); flex-shrink:0; }
.metric-row .metric-arrow svg{ width:13px; height:13px; display:block; }
.metric-row .metric-after{ color:var(--success); font-size:1.08rem; }
.metric-row .metric-badge{
  margin-left:auto;
  font-family:var(--font-head); font-weight:700; font-size:.72rem;
  color:var(--success);
  background:#e4f1e8;
  padding:3px 8px;
  border-radius:999px;
  white-space:nowrap;
  flex-shrink:0;
}

@media (max-width:900px){ .results-grid{ grid-template-columns:1fr; } }

/* ---------- Trust / credibility ---------- */
.trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.trust-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:28px 24px;
  border:1px solid var(--sage-100);
}
.trust-card .ico-badge{
  width:48px; height:48px; border-radius:14px;
  background:var(--sage-100); color:var(--sage-700);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.trust-card .ico-badge svg{ width:24px; height:24px; }
@media (max-width:900px){ .trust-grid{ grid-template-columns:1fr; } }

.guarantee-banner{
  display:flex;
  align-items:center;
  gap:24px;
  background:linear-gradient(120deg, var(--sage-800), var(--sage-900));
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:30px 34px;
  flex-wrap:wrap;
}
.guarantee-banner .ico-badge{
  width:56px; height:56px; border-radius:16px; flex-shrink:0;
  background:rgba(255,255,255,.12); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center;
}
.guarantee-banner .ico-badge svg{ width:28px; height:28px; }
.guarantee-banner h3{ color:var(--white); margin-bottom:4px; }
.guarantee-banner p{ color:var(--sage-200); margin:0; font-size:.92rem; max-width:640px; }

/* ---------- Testimonial ---------- */
.testimonial-carousel{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  max-width:940px;
  margin:0 auto;
}
.testimonial-track{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  min-height:280px;
}
.testimonial-feature{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:48px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--sage-100);
  max-width:820px;
  margin:0 auto;
  text-align:center;
  position:absolute;
  left:0; right:0;
  top:50%;
  transform:translateY(-50%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease;
}
.testimonial-feature.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.testimonial-feature .quote-mark{
  font-family:var(--font-head);
  font-size:4rem;
  color:var(--gold-200);
  line-height:1;
  margin-bottom:6px;
}
.testimonial-feature blockquote{
  margin:0 0 24px;
  font-family:var(--font-head);
  font-size:1.3rem;
  font-weight:600;
  color:var(--sage-900);
  line-height:1.5;
}
.testimonial-author{ display:flex; align-items:center; justify-content:center; gap:12px; }
.testimonial-author .avatar-badge{
  width:44px; height:44px; border-radius:50%;
  background:var(--sage-700); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700;
}
.testimonial-author strong{ display:block; font-family:var(--font-head); font-size:.95rem; }
.testimonial-author span{ font-size:.82rem; color:var(--ink-500); }
.carousel-arrow{
  flex:0 0 auto;
  width:40px; height:40px;
  border-radius:50%;
  border:1px solid var(--sage-200);
  background:var(--white);
  color:var(--sage-700);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.carousel-arrow svg{ width:18px; height:18px; }
.carousel-arrow:hover{ background:var(--sage-700); border-color:var(--sage-700); color:var(--white); }
.carousel-dots{ display:flex; justify-content:center; gap:8px; margin-top:24px; }
.carousel-dot{
  width:9px; height:9px;
  border-radius:50%;
  border:none;
  padding:0;
  background:var(--sage-200);
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.carousel-dot.is-active{ background:var(--sage-700); transform:scale(1.2); }
@media (max-width:640px){
  .testimonial-feature{ padding:30px 22px; }
  .testimonial-carousel{ gap:8px; }
  .carousel-arrow{ width:34px; height:34px; }
}

/* ---------- FAQ ---------- */
.faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background:var(--white);
  border:1px solid var(--sage-100);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.faq-question{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:20px 24px;
  background:none; border:none; cursor:pointer;
  text-align:left;
  font-family:var(--font-head);
  font-weight:700;
  font-size:1rem;
  color:var(--sage-900);
}
.faq-question .plus{
  flex-shrink:0;
  width:26px; height:26px;
  border-radius:50%;
  background:var(--sage-100);
  color:var(--sage-700);
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item[open] .faq-question .plus{
  transform:rotate(45deg);
  background:var(--gold-500);
  color:var(--white);
}
.faq-answer{ padding:0 24px 20px; }
.faq-answer p{ margin:0; font-size:.95rem; }
.faq-item summary{ list-style:none; }
.faq-item summary::-webkit-details-marker{ display:none; }

/* ---------- Final CTA ---------- */
.final-cta{
  background:linear-gradient(135deg, var(--sage-900), var(--sage-700));
  border-radius:var(--radius-lg);
  padding:56px 48px;
  color:var(--white);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.final-cta::before{
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(600px 260px at 50% 0%, rgba(47,109,240,.28), transparent 70%);
}
.final-cta > *{ position:relative; z-index:1; }
.final-cta h2{ color:var(--white); }
.final-cta p{ color:var(--sage-200); max-width:560px; margin:0 auto 16px; }
.final-cta ul{ display:inline-flex; flex-direction:column; gap:8px; text-align:left; margin:0 0 30px; }
.final-cta ul li{ display:flex; align-items:center; gap:10px; font-size:.95rem; color:var(--sage-100); }
.final-cta ul li svg{ width:18px; height:18px; color:var(--gold-400); flex-shrink:0; }
.final-cta .cta-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--sage-900);
  color:var(--sage-200);
  padding:56px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  margin-bottom:36px;
}
.footer-brand .logo{ color:var(--white); margin-bottom:14px; }
.footer-brand p{ color:var(--sage-300); font-size:.9rem; max-width:340px; }
.footer-col h4{ color:var(--white); font-size:.85rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ color:var(--sage-200); text-decoration:none; font-size:.92rem; transition:color .2s ease; }
.footer-col a:hover{ color:var(--gold-400); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:22px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px;
  font-size:.82rem; color:var(--sage-300);
}
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }

/* ---------- Reveal animations ---------- */
[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }
[data-reveal-group] > *{ transition-delay:calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  .result-card, .btn, .faq-question .plus{ transition:none !important; }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero{
  padding:56px 0 40px;
  background:var(--sage-100);
  text-align:left;
}
.page-hero .eyebrow{ background:var(--white); }
.page-hero p.lead{ max-width:640px; font-size:1.05rem; }

/* ---------- About page specifics ---------- */
.about-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:50px;
  align-items:start;
}
.about-photo{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  border:1px solid var(--sage-100);
  aspect-ratio:4/5;
  background:linear-gradient(160deg, var(--sage-200), var(--sage-500));
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
  position:relative;
}
.about-photo .initials{
  font-family:var(--font-head); font-weight:800; font-size:4.5rem;
  color:rgba(255,255,255,.9);
}
.about-photo .about-photo-img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.about-photo .badge-strip{
  position:absolute; left:16px; right:16px; bottom:16px;
  background:rgba(27,32,29,.55);
  backdrop-filter:blur(6px);
  border-radius:var(--radius-sm);
  padding:12px 16px;
  color:var(--white);
  font-family:var(--font-head); font-size:.8rem; font-weight:600;
}
.about-copy .signature-block{
  margin-top:26px; padding-top:20px; border-top:1px solid var(--sage-200);
  font-family:var(--font-head); font-style:italic; color:var(--sage-700);
}
@media (max-width:860px){ .about-grid{ grid-template-columns:1fr; } .about-photo{ max-width:340px; margin:0 auto; } }

.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:10px; }
@media (max-width:860px){ .value-grid{ grid-template-columns:1fr; } }

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}
.contact-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:36px;
  border:1px solid var(--sage-100);
  box-shadow:var(--shadow-sm);
}
.form-row{ display:flex; gap:16px; }
.form-row .field{ flex:1; }
.field{ margin-bottom:18px; display:flex; flex-direction:column; gap:6px; }
.field label{ font-family:var(--font-head); font-weight:700; font-size:.85rem; color:var(--sage-900); }
.field input, .field textarea{
  border:1.5px solid var(--sage-200);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  font-family:var(--font-body);
  font-size:.95rem;
  background:var(--sage-50);
  transition:border-color .2s ease, background .2s ease;
  resize:vertical;
}
.field input:focus, .field textarea:focus{
  outline:none;
  border-color:var(--sage-500);
  background:var(--white);
}
.form-note{ font-size:.8rem; color:var(--ink-500); margin-top:4px; }
.form-success{
  display:none;
  align-items:center; gap:12px;
  background:#e4f1e8; color:var(--success);
  padding:14px 18px; border-radius:var(--radius-sm);
  font-weight:600; font-size:.92rem;
  margin-top:16px;
}
.form-success.show{ display:flex; }

.contact-info-card{
  background:var(--sage-900);
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:36px;
}
.contact-info-card h3{ color:var(--white); }
.contact-info-row{
  display:flex; align-items:center; gap:14px;
  padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.contact-info-row:last-of-type{ border-bottom:none; }
.contact-info-row .ico{
  width:42px; height:42px; border-radius:12px; flex-shrink:0;
  background:rgba(255,255,255,.1); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center;
}
.contact-info-row .ico svg{ width:20px; height:20px; }
.contact-info-row a, .contact-info-row span{ color:var(--sage-100); text-decoration:none; font-weight:600; }
.contact-info-row .lbl{ display:block; font-size:.72rem; color:var(--sage-300); text-transform:uppercase; letter-spacing:.05em; font-weight:600; margin-bottom:2px; }

@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ flex-direction:column; gap:0; } }

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--sage-900); color:var(--white);
  padding:10px 18px; border-radius:0 0 8px 0; z-index:1000;
}
.skip-link:focus{ left:0; top:0; }

/* Counter helper */
[data-counter]{ font-variant-numeric:tabular-nums; }
