/* ============================================================
   C-Easy™ Safe Home Evaluation — Landing Page Styles
   Brand: Aging In The Comfort Of Home®
   Standalone, no frameworks. Mobile-first.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Canonical AITCOH brand tokens (see brand/styles/tokens.css + assets/colors/colors.css).
     Trust Blue is the Products-division primary; Trust Blue Dark is the canonical
     footer background. Do not substitute charcoal for footers — that breaks the
     shared design system used by sibling AITCOH projects. */
  --trust-blue: #265fa1;
  --trust-blue-dark: #1b477e;       /* canonical: matches .footer in brand/styles/components.css */
  --trust-blue-light: #daebf9;
  --radiant-gold: #fcd740;
  --radiant-gold-dark: #e6bf20;
  --gold-wash: rgba(252, 215, 64, 0.16);
  --gold-line: rgba(252, 215, 64, 0.72);
  --gold-glow: rgba(252, 215, 64, 0.28);
  --charcoal: #333333;
  --charcoal-soft: #4a4a4a;
  --muted: #6b7a8a;
  --bg: #f7fbff;
  --white: #ffffff;
  --border: #e6eef7;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 2px 10px rgba(38, 95, 161, 0.07);
  --shadow-md: 0 14px 34px rgba(38, 95, 161, 0.11);
  --shadow-lg: 0 26px 70px rgba(38, 95, 161, 0.16);
  --glass-edge: rgba(255, 255, 255, 0.72);
  --glass-surface: rgba(255, 255, 255, 0.74);
  --glass-blue: rgba(218, 235, 249, 0.72);
  --frosted-border: rgba(255, 255, 255, 0.78);
  --frosted-shadow: 0 26px 70px rgba(38, 95, 161, 0.14);

  --max-width: 1140px;
  --section-py: clamp(48px, 7vw, 88px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(780px 360px at 10% 7%, rgba(252, 215, 64, 0.17), transparent 68%),
    radial-gradient(960px 480px at 80% 4%, rgba(218, 235, 249, 0.82), transparent 64%),
    radial-gradient(820px 380px at 92% 48%, rgba(252, 215, 64, 0.11), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #eef7ff 34%, var(--bg) 62%, var(--white) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a { color: var(--trust-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
em { font-style: italic; }
sup { font-size: 0.6em; vertical-align: super; line-height: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  position: relative;
  padding: var(--section-py) 0;
}
.section--alt {
  background:
    radial-gradient(680px 260px at 50% 0%, rgba(252, 215, 64, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(218, 235, 249, 0.54) 100%);
  border-top: 1px solid rgba(38, 95, 161, 0.12);
  border-bottom: 1px solid rgba(38, 95, 161, 0.12);
  box-shadow:
    inset 0 18px 50px rgba(255, 255, 255, 0.72),
    inset 0 -18px 48px rgba(38, 95, 161, 0.06);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  position: relative;
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--radiant-gold), transparent);
}
.section-head--left::after {
  margin-left: 0;
}
.section-head h2 {
  font-size: clamp(1.6rem, 2rem, 2.25rem);
  margin: 8px 0 12px;
  color: var(--charcoal);
  letter-spacing: 0;
  text-wrap: balance;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--trust-blue);
  margin: 0;
  text-shadow: 0 1px 18px rgba(252, 215, 64, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, #2f6aae 0%, var(--trust-blue) 100%);
  color: var(--white);
  border-color: rgba(252, 215, 64, 0.38);
  box-shadow:
    0 12px 26px rgba(38, 95, 161, 0.22),
    0 0 0 1px rgba(252, 215, 64, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn--primary:hover { background: var(--trust-blue-dark); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--trust-blue);
  border-color: rgba(38, 95, 161, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.btn--ghost:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 215, 64, 0.16));
  border-color: var(--radiant-gold-dark);
}
.btn--gold {
  background: linear-gradient(180deg, #ffe56a 0%, var(--radiant-gold) 100%);
  color: var(--charcoal);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 16px 40px rgba(252, 215, 64, 0.34),
    0 10px 28px rgba(38, 95, 161, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}
.btn--gold:hover { background: var(--radiant-gold-dark); box-shadow: var(--shadow-md); }
.btn--compact { padding: 10px 18px; font-size: 0.92rem; }
.btn--block { display: block; width: 100%; }

/* ============================================================
   REUSABLE TEXT-SIZE WIDGET
   Copy the .aitcoh-font-widget markup, these styles, and the
   initializer in script.js to other static pages that need
   visitor-controlled text sizing.
   ============================================================ */
.aitcoh-font-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid rgba(38, 95, 161, 0.18);
  border-top-color: rgba(252, 215, 64, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(252, 215, 64, 0.1) 44%, rgba(218, 235, 249, 0.7));
  box-shadow:
    0 18px 44px rgba(38, 95, 161, 0.16),
    0 8px 24px rgba(252, 215, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.aitcoh-font-widget-label {
  padding: 0 0.35rem 0 0.55rem;
  color: var(--charcoal-soft);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.aitcoh-font-widget-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(38, 95, 161, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.aitcoh-font-widget-button:hover {
  border-color: var(--trust-blue);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(38, 95, 161, 0.12);
  transform: translateY(-1px);
}
.aitcoh-font-widget-button:focus-visible {
  outline: 3px solid rgba(252, 215, 64, 0.62);
  outline-offset: 2px;
}
.aitcoh-font-widget-button[disabled] {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
  box-shadow: none;
}
.aitcoh-font-widget-button[data-font-action="reset"] {
  min-width: auto;
  padding-inline: 0.85rem;
  color: var(--trust-blue);
}
.aitcoh-font-widget-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   STICKY HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 0;
  background: transparent;
  border-bottom: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 12px;
  border: 1px solid rgba(38, 95, 161, 0.16);
  border-top-color: rgba(252, 215, 64, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(252, 215, 64, 0.08) 42%, rgba(255, 255, 255, 0.76));
  box-shadow:
    0 18px 42px rgba(38, 95, 161, 0.12),
    0 8px 28px rgba(252, 215, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--charcoal);
}
.brand-mark:hover { text-decoration: none; }
.brand-mark__title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--trust-blue);
  text-shadow: 0 1px 16px rgba(252, 215, 64, 0.22);
}
.brand-mark__sub {
  font-size: 0.75rem;
  color: var(--muted);
}
.site-nav {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.site-nav a {
  color: var(--charcoal-soft);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover {
  color: var(--trust-blue);
  background: rgba(38, 95, 161, 0.08);
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-nav { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(42px, 8vw, 92px) 0 clamp(50px, 7vw, 92px);
  background:
    radial-gradient(920px 440px at 84% 8%, rgba(218, 235, 249, 0.98) 0%, rgba(218, 235, 249, 0) 68%),
    radial-gradient(620px 320px at 10% 18%, rgba(252, 215, 64, 0.14), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(239, 248, 255, 0.88) 58%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 215, 64, 0.72), transparent);
  box-shadow: 0 -24px 70px rgba(252, 215, 64, 0.28);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-copy {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(38, 95, 161, 0.16);
  border-top-color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.54) 56%, rgba(218, 235, 249, 0.38));
  box-shadow:
    var(--frosted-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(38, 95, 161, 0.08);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 28px auto;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(252, 215, 64, 0.86), transparent);
  box-shadow: 0 14px 38px rgba(252, 215, 64, 0.22);
}
.hero-copy h1 {
  font-size: clamp(2rem, 2.75rem, 3.1rem);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 12px 0 18px;
  color: var(--charcoal);
  text-wrap: balance;
}
.hero-copy h1::after {
  content: "";
  display: block;
  width: 118px;
  height: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--radiant-gold), rgba(252, 215, 64, 0));
  box-shadow: 0 10px 26px rgba(252, 215, 64, 0.32);
}
.hero-copy .lede {
  font-size: 1.12rem;
  color: var(--charcoal-soft);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-price-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid rgba(252, 215, 64, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(252, 215, 64, 0.16));
  color: var(--charcoal-soft);
  font-size: 0.96rem;
  line-height: 1.25;
  box-shadow:
    0 10px 24px rgba(38, 95, 161, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.hero-price-note strong {
  color: var(--trust-blue);
  font-weight: 800;
}
.hero-price-note span {
  color: var(--charcoal-soft);
}
.hero-foot {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Urgency callout — quiet, pointed, not alarmist. Gold-tinted left rule. */
.hero-urgency {
  font-size: 0.98rem;
  color: var(--charcoal);
  background:
    linear-gradient(90deg, rgba(252, 215, 64, 0.2), rgba(255, 255, 255, 0.64));
  border-left: 3px solid var(--radiant-gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0 0 26px;
  max-width: 56ch;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Hero primary CTA can wrap on small screens — the new program-name CTA
   is longer than a single short verb and shouldn't overflow. */
.hero-actions .btn { white-space: normal; }

/* Hero visual — portrait feature image.
   The taller frame gives the new C-Easy image stronger above-fold presence. */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(38, 95, 161, 0.18),
    0 10px 32px rgba(252, 215, 64, 0.1);
  background: var(--trust-blue-light);
  width: min(100%, 500px);
  min-height: clamp(520px, 52vw, 650px);
  aspect-ratio: 3 / 4;
  justify-self: end;
  border: 1px solid var(--frosted-border);
  outline: 1px solid rgba(252, 215, 64, 0.34);
  outline-offset: 7px;
}
.hero-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual {
    order: 2;
    justify-self: center;
    width: min(100%, 430px);
    min-height: auto;
    aspect-ratio: 3 / 4;
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background:
    radial-gradient(720px 220px at 50% -30%, rgba(252, 215, 64, 0.12), transparent 68%),
    rgba(218, 235, 249, 0.72);
  border-top: 1px solid rgba(38, 95, 161, 0.08);
  border-bottom: 1px solid rgba(38, 95, 161, 0.08);
  padding: 28px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 600;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48)),
    rgba(218, 235, 249, 0.56);
  box-shadow:
    0 14px 34px rgba(38, 95, 161, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.trust-item + .trust-item { border-left: 1px solid rgba(255, 255, 255, 0.8); }
.trust-item__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(252, 215, 64, 0.38)),
    rgba(38, 95, 161, 0.12);
  line-height: 1;
  box-shadow:
    0 5px 14px rgba(252, 215, 64, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.trust-item__icon::before {
  content: "✓";
  color: var(--trust-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 720px) {
  .trust-grid {
    justify-content: stretch;
    gap: 10px;
  }
  .trust-item {
    flex: 1 1 100%;
    padding: 12px 14px;
  }
  .trust-item + .trust-item { border-left: 0; }
}

/* ============================================================
   WHAT YOU RECEIVE
   Four deliverable cards. Slightly more prominent than eval-card
   to signal these are concrete outputs. Inline SVG icons keep
   the page dependency-free.
   ============================================================ */
.receive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.receive-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(220px 120px at 88% 0%, rgba(252, 215, 64, 0.1), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.58) 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.receive-card::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(252, 215, 64, 0.78), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.receive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 95, 161, 0.2);
  box-shadow: var(--shadow-md);
}
.receive-card:hover::before { opacity: 1; }
.receive-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 245, 161, 0.72), rgba(218, 235, 249, 0.7));
  color: var(--trust-blue);
  box-shadow:
    0 8px 20px rgba(252, 215, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}
.receive-card__icon svg { width: 22px; height: 22px; }
.receive-card h3 {
  margin: 0;
  font-size: 1.04rem;
  color: var(--charcoal);
  letter-spacing: 0;
}
.receive-card p {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.93rem;
}

@media (max-width: 920px) { .receive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .receive-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STEPS / HOW IT WORKS
   ============================================================ */

/* Section-leading figure — wide AVIF banner above the steps grid.
   Aspect-ratio is set on the wrapper so the page doesn't shift while
   the image is still decoding. Caption is small + muted to stay
   secondary to the section heading above it. */
.section-figure {
  margin: 0 0 32px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--trust-blue-light);
  aspect-ratio: 1000 / 420;
  border: 1px solid var(--frosted-border);
  outline: 1px solid rgba(252, 215, 64, 0.3);
  outline-offset: 7px;
}
.section-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-figure figcaption {
  /* Visually hidden by default — the image carries the message; the
     caption is here for accessibility and any future text-only treatment. */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(220px 130px at 100% 0%, rgba(252, 215, 64, 0.1), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--radiant-gold), rgba(252, 215, 64, 0));
  opacity: 0.55;
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 95, 161, 0.2);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(252, 215, 64, 0.9), rgba(218, 235, 249, 0.62));
  color: var(--trust-blue);
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}
.step-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--charcoal);
}
.step-card p {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}

@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   EVAL CARDS
   ============================================================ */
.eval-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.eval-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-top: 3px solid rgba(38, 95, 161, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.eval-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(38, 95, 161, 0.82), rgba(252, 215, 64, 0.72));
}
.eval-card:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 95, 161, 0.22);
  box-shadow: var(--shadow-md);
}
.eval-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--charcoal);
}
.eval-card p { margin: 0; color: var(--charcoal-soft); font-size: 0.93rem; }

@media (max-width: 900px) { .eval-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .eval-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHY IT MATTERS
   Image-left + copy-right on desktop. Stacks on mobile.
   ============================================================ */
.why-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--trust-blue-light);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--frosted-border);
  outline: 1px solid rgba(252, 215, 64, 0.3);
  outline-offset: 7px;
}
.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-copy p {
  color: var(--charcoal-soft);
  font-size: 1.04rem;
  margin: 0 0 14px;
}
.why-copy p:last-child { margin-bottom: 0; }
.why-copy .section-head { margin: 0 0 20px; }
.why-copy {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48)),
    rgba(218, 235, 249, 0.32);
  box-shadow:
    0 22px 58px rgba(38, 95, 161, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.why-copy::before {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--radiant-gold), transparent);
  box-shadow: 0 10px 26px rgba(252, 215, 64, 0.24);
}

@media (max-width: 860px) {
  .why-wrap { grid-template-columns: 1fr; gap: 28px; }
  .why-media { max-width: 560px; margin: 0 auto; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  background:
    radial-gradient(780px 320px at 50% -30%, rgba(252, 215, 64, 0.38), transparent 62%),
    radial-gradient(580px 240px at 10% 100%, rgba(252, 215, 64, 0.14), transparent 70%),
    linear-gradient(135deg, var(--trust-blue) 0%, var(--trust-blue-dark) 100%);
  color: var(--white);
  padding: clamp(48px, 7vw, 84px) 0;
  text-align: center;
}
.cta-inner {
  position: relative;
  max-width: 900px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(252, 215, 64, 0.44);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cta-inner::before {
  content: "";
  display: block;
  width: 112px;
  height: 4px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--radiant-gold), transparent);
  box-shadow: 0 12px 34px rgba(252, 215, 64, 0.38);
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 2.05rem, 2.3rem);
  margin: 0 0 10px;
  letter-spacing: 0;
  text-wrap: balance;
}
.cta-inner p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}
.cta .btn--gold { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18); }
.cta .btn {
  max-width: min(100%, 34rem);
  white-space: normal;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrap { max-width: 760px; margin: 0 auto; }
.contact-form {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(440px 190px at 90% -10%, rgba(252, 215, 64, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow:
    0 30px 80px rgba(38, 95, 161, 0.14),
    0 10px 36px rgba(252, 215, 64, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 24px auto;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--radiant-gold), transparent);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--charcoal);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(38, 95, 161, 0.16);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--trust-blue);
  background: var(--white);
  box-shadow:
    0 0 0 3px rgba(38, 95, 161, 0.15),
    0 0 0 5px rgba(252, 215, 64, 0.1);
}
.contact-form textarea { resize: vertical; min-height: 110px; }

.form-confirm {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #eaf6ec;
  color: #1f6b3a;
  border: 1px solid #cce7d2;
  font-weight: 500;
  text-align: center;
}

/* Inline form validation error — shown above the submit button.
   Color is warm-red but kept calm; matches the soft, trust-forward tone. */
.form-error {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fdecec;
  color: #9b2b2b;
  border: 1px solid #f3c8c8;
  font-weight: 500;
  font-size: 0.92rem;
}
/* Invalid-state field highlight set by script.js via .is-invalid */
.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #c94646;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(201, 70, 70, 0.12);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}

@media (max-width: 600px) {
  .aitcoh-font-widget {
    position: static;
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: calc(100vw - 1.4rem);
    margin: 0.75rem auto -0.5rem;
    box-shadow:
      0 10px 26px rgba(38, 95, 161, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .aitcoh-font-widget-label {
    font-size: 0.72rem;
  }

  .aitcoh-font-widget-button {
    min-width: 2rem;
    height: 2rem;
    padding-inline: 0.58rem;
  }
}

/* ============================================================
   DISCLAIMER
   Light scope notice between the form and the footer. Soft background,
   small icon, muted text. No fear language — just clarity of scope.
   ============================================================ */
.disclaimer {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 250, 234, 0.64));
  border-top: 1px solid rgba(38, 95, 161, 0.08);
  border-bottom: 1px solid rgba(252, 215, 64, 0.22);
  padding: 22px 0;
}
.disclaimer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 20px;
}
.disclaimer-icon {
  flex-shrink: 0;
  color: var(--radiant-gold-dark);
  margin-top: 2px;
}
.disclaimer-icon svg { width: 22px; height: 22px; display: block; }
.disclaimer p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.disclaimer strong {
  color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 540px) {
  .disclaimer-inner { gap: 12px; }
  .disclaimer p { font-size: 0.84rem; }
}

/* ============================================================
   FOOTER
   Canonical AITCOH treatment: Trust Blue Dark background with
   white text at 82% opacity. Mirrors brand/styles/components.css .footer.
   ============================================================ */
.site-footer {
  background:
    radial-gradient(760px 260px at 50% 0%, rgba(252, 215, 64, 0.12), transparent 70%),
    var(--trust-blue-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 32px;
  border-top: 3px solid rgba(252, 215, 64, 0.72);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand__name {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}
.footer-brand__program {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer-contact {
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 14px;
  align-items: baseline;
}
.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.footer-contact .footer-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-contact .footer-link:hover {
  color: var(--radiant-gold);
  border-color: var(--radiant-gold);
}
.footer-fine {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Hidden honeypot field for bot filtering. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
