/* =============================================
   Marktorix – Deep Teal + Warm Coral light theme
   ============================================= */

/* --- Self-hosted Inter (variable) --- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.woff2') format('woff2-variations'),
       url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Design tokens --- */
:root {
  --bg:          #f7f9f9;
  --surface:     #ffffff;
  --surface-2:   #e7f3f3;
  --ink:         #0c2122;
  --ink-muted:   #4a5560;
  --primary:     #0e7c7b;
  --primary-700: #0a5e5e;
  --primary-50:  #e7f3f3;
  --accent:      #ef6c4a;
  --accent-700:  #c8542f;
  --ring:        #b3dcdb;
  --border:      #d8e6e6;
  --border-soft: #ebf2f2;
  --success:     #16a34a;
  --error:       #dc2626;
  --error-bg:    #fef2f2;
  --error-bd:    #fca5a5;
  --radius:      16px;
  --radius-btn:  14px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(12,33,34,.06);
  --shadow:      0 14px 36px -18px rgba(12,33,34,.20);
  --shadow-lg:   0 28px 56px -28px rgba(12,33,34,.28);
  --shadow-glow: 0 14px 36px -18px rgba(14,124,123,.30);
  --max-w:       1180px;
  --section-y:   96px;
  --section-y-sm: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* --- Layout helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Icons --- */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon--warning { color: var(--accent-700); }
.icon--check   { color: var(--primary); flex-shrink: 0; }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .3125rem .875rem;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ring);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8125rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .18s ease, color .18s ease, box-shadow .2s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 8px 20px -10px rgba(10,94,94,.55);
}
.btn--primary:hover {
  box-shadow: var(--shadow-sm), 0 12px 28px -10px rgba(10,94,94,.65);
  filter: brightness(1.04);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--ring);
}
.btn--ghost:hover { background: var(--primary-50); border-color: var(--primary); }

.btn--accent {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-700) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: .015em;
  box-shadow: var(--shadow-sm), 0 10px 24px -10px rgba(200,84,47,.55);
}
.btn--accent:hover { filter: brightness(1.05); }

.btn--full { width: 100%; }

/* --- Section headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section-header--left { text-align: left; align-items: flex-start; }
.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.section-lead {
  max-width: 640px;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.section-header--left .section-lead { max-width: 100%; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,249,249,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--primary);
}
.logo .icon { width: 24px; height: 24px; }
.logo--footer { color: #fff; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color .15s;
  position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: center;
  transition: opacity .18s, transform .18s;
}
.nav-link:hover::after { opacity: 1; transform: scaleX(1); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background .15s;
}
.burger:hover { background: var(--primary-50); }
.burger-icon { display: none; }
.burger-icon--open { display: flex; }
.burger[aria-expanded="true"] .burger-icon--open  { display: none; }
.burger[aria-expanded="true"] .burger-icon--close { display: flex; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12,33,34,.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding-top: clamp(40px, 4.5vw, 64px);
  padding-bottom: var(--section-y);
  background:
    radial-gradient(circle at 90% 0%, rgba(239,108,74,.10), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(14,124,123,.10), transparent 50%),
    linear-gradient(180deg, #f9fbfb 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(14,124,123,.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: .5;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3.5rem;
  align-items: center;
}
.badge-wrap { margin-bottom: .25rem; }
.hero-title {
  font-size: clamp(2.125rem, 5vw, 3.375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-block: 1rem;
}
.hero-title-line { display: block; }
.hero-title-accent {
  background: linear-gradient(135deg, var(--primary) 0%, #1ba9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-top: 1.75rem;
  padding: .9375rem 1.125rem;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.hero-disclaimer .icon { color: var(--accent-700); margin-top: 1px; }
.hero-disclaimer strong { color: var(--ink); font-weight: 600; }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.stat-tile:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  border-color: var(--ring);
}
.stat-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
}
.stat-tile-icon .icon { width: 22px; height: 22px; }
.stat-tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.stat-tile-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}
.stat-tile-label {
  font-size: .8125rem;
  color: var(--ink-muted);
  margin-top: .25rem;
  line-height: 1.35;
}

/* =============================================
   ABOUT
   ============================================= */
.about { padding-block: var(--section-y); }
.section-alt { background: var(--surface-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.warning-box {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  background: #fff8ed;
  border: 1px solid #f0c060;
  border-left: 3px solid var(--accent-700);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: #6b4c00;
  line-height: 1.6;
}
.warning-box .icon { flex-shrink: 0; margin-top: 2px; }

.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.625rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
  border-color: var(--ring);
}
.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.feature-card-num {
  display: inline-block;
  align-self: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-700);
  letter-spacing: .08em;
  background: rgba(239,108,74,.12);
  padding: .25rem .625rem;
  border-radius: 999px;
  white-space: nowrap;
}
.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
  color: var(--primary);
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.feature-card-icon .icon { width: 20px; height: 20px; }
.feature-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature-card-text {
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* =============================================
   LESSONS
   ============================================= */
.lessons { padding-block: var(--section-y); }

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lesson-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .2s, border-color .2s;
}
.lesson-card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  border-color: var(--ring);
}
.lesson-card-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}
.lesson-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem .75rem;
}
.lesson-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
  color: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
}
.lesson-card-icon .icon { width: 22px; height: 22px; }
.lesson-phase {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-700);
  background: rgba(239,108,74,.10);
  padding: .3125rem .75rem;
  border-radius: 999px;
}
.lesson-card-title {
  padding: 0 1.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: .375rem;
}
.lesson-card-meta {
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--ink-muted);
  margin-bottom: .875rem;
}
.lesson-days  { font-weight: 600; color: var(--ink); }
.lesson-meta-sep { color: var(--border); font-weight: 700; }
.lesson-card-desc {
  padding: 0 1.5rem;
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.lesson-topics {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.lesson-topics li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.lesson-topics li .icon { margin-top: 3px; }
.lesson-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin: 0 1.5rem 1.5rem;
  padding: .4375rem .75rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  align-self: flex-start;
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits { padding-block: var(--section-y); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow .25s, transform .2s, border-color .2s;
}
.benefit-box:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  border-color: var(--ring);
}
.benefit-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
  color: var(--primary);
  border-radius: 18px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border-soft);
}
.benefit-box-icon .icon { width: 28px; height: 28px; }
.benefit-box-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: .625rem;
}
.benefit-box-text {
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  padding-block: 88px;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,.10) 1.5px, transparent 0);
  background-size: 28px 28px;
  opacity: .8;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}
.cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta-title {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  max-width: 700px;
}
.cta-text {
  color: rgba(255,255,255,.82);
  max-width: 560px;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* =============================================
   CONTACT
   ============================================= */
.contact { padding-block: var(--section-y); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-chip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.contact-chip:hover { border-color: var(--ring); box-shadow: var(--shadow-glow); }
.contact-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
  color: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
}
.contact-chip-icon .icon { width: 20px; height: 20px; }
.contact-chip-body { padding-top: 2px; }
.contact-chip-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-muted);
  margin-bottom: .25rem;
}
.contact-chip-value {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
}
.contact-chip-value:hover { text-decoration: underline; }
.contact-chip-value--address { font-size: .875rem; font-weight: 500; color: var(--ink); line-height: 1.65; }
.contact-chip-note {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  color: var(--ink-muted);
  margin-top: .375rem;
}

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: .375rem;
}
.contact-form-lead { font-size: .875rem; color: var(--ink-muted); margin-bottom: 1.5rem; }

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-row .form-field { margin-bottom: 0; }
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
}
.form-req {
  width: 6px;
  height: 6px;
  background: var(--error);
  border-radius: 50%;
  display: inline-block;
}
.form-input, .form-textarea {
  padding: .8125rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: .9375rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 0 rgba(12,33,34,.02);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-input:hover, .form-textarea:hover { border-color: #b3d4d3; }
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--ring), inset 0 1px 0 rgba(255,255,255,.6);
}
.form-textarea { resize: vertical; min-height: 144px; }
.form-input[aria-invalid="true"], .form-textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
}
.form-input[aria-invalid="true"]:focus, .form-textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(220,38,38,.15);
}
.form-error {
  font-size: .8125rem;
  color: var(--error);
  font-weight: 500;
  margin-top: .25rem;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.form-privacy {
  font-size: .8125rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.form-link { color: var(--primary); text-decoration: underline; }

.form-result {
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
  transition: all .2s;
}
.form-result:not(:empty) { padding: .8125rem 1rem; }
.form-result--success { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; }
.form-result--error   { background: var(--error-bg); border: 1px solid var(--error-bd); color: var(--error); }

.form-success {
  text-align: center;
  padding: 1.75rem 1rem .5rem;
}
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--success);
}
.form-success-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: .5rem;
}
.form-success-text {
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.form-success-link {
  color: var(--primary);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-success-link:hover { color: var(--primary-700); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.85);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.125rem;
}
.footer-col-list { display: flex; flex-direction: column; gap: .625rem; }
.footer-link {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .15s;
}
.footer-link:hover { color: #fff; }
.footer-address {
  display: flex;
  gap: .4rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  align-items: flex-start;
  line-height: 1.65;
}
.footer-address address { line-height: 1.65; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 2rem;
}
.footer-legal-title { font-size: .875rem; margin-bottom: .75rem; color: rgba(255,255,255,.6); }
.footer-legal-text { font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: .625rem; }
.footer-copyright { font-size: .875rem; color: rgba(255,255,255,.55); margin-top: 1.25rem; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

body.page-landing .cookie-banner,
body.page-white .cookie-banner {
  z-index: 5100;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12,33,34,.40);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-banner.is-open { pointer-events: auto; }
.cookie-banner.is-open .cookie-banner__backdrop { opacity: 1; pointer-events: auto; }
.cookie-banner__panel {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -20px 60px -20px rgba(12,33,34,.35);
  padding: 1.75rem 1.75rem 1.5rem;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  margin-bottom: 0;
}
.cookie-banner.is-open .cookie-banner__panel { transform: translateY(0); }
.cookie-banner__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: .5rem;
  color: var(--ink);
}
.cookie-banner__text {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink-muted);
}
.cookie-banner__link { color: var(--primary); text-decoration: underline; }
.cookie-banner__settings { margin-top: 1.25rem; }
.cookie-cats { display: flex; flex-direction: column; gap: .75rem; }
.cookie-cat {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .875rem 1rem;
  background: var(--bg);
}
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-cat__name { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.cookie-cat__desc { font-size: .8125rem; color: var(--ink-muted); margin-top: .375rem; line-height: 1.55; }

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: #c0d8d7;
  border-radius: 999px;
  transition: background .18s;
}
.cookie-toggle__track::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(12,33,34,.18);
  transition: transform .18s;
}
.cookie-toggle input:checked + .cookie-toggle__track { background: var(--primary); }
.cookie-toggle input:checked + .cookie-toggle__track::before { transform: translateX(18px); }
.cookie-toggle--locked .cookie-toggle__track { background: var(--ring); opacity: .6; }
.cookie-toggle input:focus-visible + .cookie-toggle__track { box-shadow: 0 0 0 3px var(--ring); }

.cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: end;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
}
.cookie-banner__btn {
  min-height: 48px;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-size: .875rem;
  white-space: nowrap;
}

.cookie-banner__btn[hidden] {
  display: none !important;
}

.cookie-banner__btn[data-cookie-action="accept"],
.cookie-banner__btn[data-cookie-action="save"] {
  min-width: 190px;
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page {
  padding-block: var(--section-y-sm);
  background: var(--bg);
}
.legal-page__container { max-width: 760px; }
.legal-page__back {
  display: inline-flex;
  align-items: center;
  font-size: .875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color .15s;
}
.legal-page__back:hover { color: var(--primary-700); text-decoration: underline; }
.legal-page__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--ink);
}
.legal-page__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}
.legal-page__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 2.25rem;
  margin-bottom: .875rem;
  color: var(--ink);
}
.legal-page__body p { margin-bottom: 1rem; color: var(--ink-muted); }
.legal-page__body p strong { color: var(--ink); }
.legal-page__body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-page__body a:hover { color: var(--primary-700); }
.legal-page__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
  background: var(--surface-2);
  padding: .15em .4em;
  border-radius: 4px;
  color: var(--ink);
}
.legal-list {
  margin: .5rem 0 1.25rem 1.25rem;
  list-style: disc;
  color: var(--ink-muted);
}
.legal-list li { margin-bottom: .375rem; padding-left: .375rem; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .9375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.legal-table th, .legal-table td {
  padding: .75rem .875rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.legal-table th { background: var(--surface-2); font-weight: 700; color: var(--ink); font-size: .8125rem; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table td { color: var(--ink-muted); }
.legal-meta {
  font-size: .9375rem;
  color: var(--ink-muted);
  background: var(--surface-2);
  border-left: 3px solid var(--primary);
  padding: .875rem 1.125rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
}
.legal-updated {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --section-y: 64px; }

  .burger { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
    z-index: 95;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: .125rem; }
  .nav-link { display: block; padding: .625rem 0; font-size: 1rem; width: 100%; }
  .nav-link::after { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-tile { flex: 1 1 220px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .lessons-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .cookie-banner__panel { padding: 1.5rem 1.25rem 1.25rem; }
  .cookie-banner__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
  .cookie-banner__btn {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root { --section-y: 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-direction: column; }
  .stat-tile { padding: .3rem .875rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .lessons-grid { gap: 1.25rem; }
  .benefits-grid { gap: 1.25rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .cookie-banner__actions { grid-template-columns: 1fr; }
  .cookie-banner__btn { width: 100%; }
}

/* =============================================
   Apexmetrics / Figma public-site refresh
   ============================================= */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --ink: #262626;
  --ink-muted: #484848;
  --primary: #f35120;
  --primary-700: #c93f15;
  --primary-50: #fff3ef;
  --accent: #262626;
  --accent-700: #111111;
  --ring: rgba(243, 81, 32, 0.22);
  --border: #b6b6b6;
  --border-soft: #e7e7e7;
  --radius: 40px;
  --radius-btn: 999px;
  --radius-sm: 18px;
  --shadow: 0 24px 64px -32px rgba(38, 38, 38, 0.24);
  --shadow-lg: 0 36px 90px -42px rgba(38, 38, 38, 0.34);
  --shadow-glow: 0 24px 54px -34px rgba(243, 81, 32, 0.45);
  --max-w: 1410px;
}

.site-header {
  min-height: 86px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
}

.header-inner {
  min-height: 86px;
}

.logo {
  color: var(--ink);
  font-weight: 800;
}

.logo .icon {
  color: var(--primary);
}

.nav-link {
  color: var(--ink);
  font-size: 1rem;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary);
}

.nav-link::after {
  background: var(--primary);
}

.btn {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.btn--primary,
.btn--accent {
  background: var(--primary);
  box-shadow: none;
}

.btn--primary:hover,
.btn--accent:hover {
  background: var(--primary-700);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--border);
}

.btn--ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.badge {
  color: var(--primary);
  background: transparent;
  border: 0;
  padding-inline: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.hero {
  background: linear-gradient(90deg, #fff 0%, #fff 63%, #f1f1f1 63%, #f1f1f1 100%);
}

.hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.62fr);
  min-height: calc(100vh - 86px);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-title {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(3.2rem, 6vw, 5.25rem);
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 680px;
  color: var(--ink-muted);
}

.hero-disclaimer {
  max-width: 720px;
  color: var(--ink);
  background: #fff7f4;
  border-color: #f1c8bc;
}

.hero-stats {
  align-self: stretch;
  justify-content: center;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.stat-tile {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stat-tile-value {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.stat-tile-label {
  color: #fafafa;
}

.section-alt {
  background: var(--surface-2);
}

.section-title {
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

.section-lead,
.about-body p,
.benefit-box-text,
.contact-chip-note,
.form-privacy {
  color: var(--ink-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.about-media {
  position: relative;
}

.about-media::before {
  position: absolute;
  inset: 13% 7% -4% -3%;
  border-radius: var(--radius);
  background: var(--primary);
  content: "";
}

.about-media img {
  position: relative;
  display: block;
  width: 100%;
  height: min(560px, 58vw);
  border-radius: var(--radius);
  object-fit: cover;
}

.about-body {
  max-width: 680px;
}

.feature-card,
.benefit-box,
.contact-form-wrap,
.contact-chip {
  border-color: var(--border-soft);
  border-radius: 32px;
  box-shadow: none;
}

.warning-box {
  background: #fff7f4;
  border-color: #f1c8bc;
}

.benefit-number {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--primary);
  font-family: Inter, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.cta-band {
  position: relative;
  isolation: isolate;
  background: #1f1f1f url("../img/landing-education-visual.svg") center/cover no-repeat;
}

.cta-band::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(25, 25, 25, 0.58);
  content: "";
}

.cta-title {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  letter-spacing: -0.045em;
}

.cta-text {
  color: #fafafa;
}

.site-footer {
  background: #fafafa;
  border-top-color: var(--border-soft);
}

.footer-legal {
  color: var(--ink-muted);
  background: #fff;
  border-top-color: var(--border-soft);
}

@media (max-width: 860px) {
  .hero {
    background: #fff;
  }

  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-media img {
    height: 360px;
  }
}

/* =============================================
   Complete Apexmetrics public-site theme
   This final layer replaces the previous public theme.
   ============================================= */
body {
  background: #fff;
  color: #262626;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #b6b6b6;
  box-shadow: none;
}

.header-inner {
  min-height: 106px;
}

.logo {
  color: #262626;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
}

.logo .icon {
  color: #f35120;
}

.nav-list {
  gap: 2.2rem;
}

.nav-link {
  color: #262626;
  font-family: Roboto, Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.nav-link:hover {
  color: #f35120;
}

.apex-hero {
  background: linear-gradient(90deg, #fff 0%, #fff 61%, #d9d9d9 61%, #d9d9d9 100%);
  padding: clamp(4rem, 8vw, 8.5rem) 0;
}

.apex-hero-grid,
.apex-split,
.apex-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.apex-hero-copy {
  max-width: 760px;
}

.apex-eyebrow {
  display: inline-flex;
  color: #f35120;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
}

.apex-hero h1,
.apex-copy h2,
.apex-section-head h2,
.apex-cta h2 {
  margin: 0;
  color: #262626;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.apex-hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(3.4rem, 6.4vw, 5.25rem);
}

.apex-hero p,
.apex-copy p,
.apex-section-head p,
.apex-card p,
.apex-cta p {
  color: #484848;
  font-family: Roboto, Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.apex-hero p {
  max-width: 640px;
  margin-top: 1.6rem;
}

.apex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.apex-actions--center {
  justify-content: center;
}

.apex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-family: Roboto, Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.apex-btn:hover {
  transform: translateY(-1px);
}

.apex-btn--primary {
  color: #fff;
  background: #f35120;
}

.apex-btn--primary:hover {
  background: #c93f15;
}

.apex-btn--ghost {
  color: #262626;
  border-color: #b6b6b6;
  background: #fff;
}

.apex-btn--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.apex-btn--ghost:hover {
  color: #f35120;
  border-color: #f35120;
}

.apex-btn--full {
  width: 100%;
}

.apex-risk-note {
  margin-top: 1.4rem;
  border: 1px solid #f1c8bc;
  border-radius: 24px;
  background: #fff7f4;
  color: #484848;
  padding: 1rem 1.1rem;
}

.apex-risk-note p {
  margin: 0;
}

.apex-hero-visual {
  display: grid;
  gap: 1rem;
}

.apex-visual-card {
  min-height: 420px;
  border-radius: 50px;
  background:
    linear-gradient(rgba(38, 38, 38, 0.08), rgba(38, 38, 38, 0.08)),
    url("../img/landing-education-visual.svg") center/cover;
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.apex-visual-card span,
.apex-visual-card p {
  color: #fff;
}

.apex-visual-card strong {
  display: block;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.apex-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-radius: 30px;
  background: #262626;
  padding: 1.4rem;
  color: #fff;
}

.apex-stat-row strong {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.apex-stat-row span {
  display: block;
  margin-top: 0.45rem;
  color: #fafafa;
  font-size: 0.85rem;
}

.apex-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: #fff;
}

.apex-section--soft {
  background: #fafafa;
}

.apex-copy h2,
.apex-section-head h2 {
  margin-top: 0.65rem;
  font-size: clamp(2.2rem, 4.5vw, 3.55rem);
}

.apex-section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.apex-image-card {
  position: relative;
}

.apex-image-card::before {
  position: absolute;
  inset: 12% 8% -5% -3%;
  border-radius: 50px;
  background: #f35120;
  content: "";
}

.apex-image-card img {
  position: relative;
  display: block;
  width: 100%;
  height: min(560px, 60vw);
  border-radius: 50px;
  object-fit: cover;
}

.apex-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.apex-card {
  border: 1px solid #b6b6b6;
  border-radius: 40px;
  background: #fff;
  padding: clamp(1.5rem, 3vw, 2.35rem);
}

.apex-card span {
  color: #f35120;
  font-family: Inter, system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.apex-card h3 {
  margin: 1.3rem 0 0.8rem;
  color: #262626;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.apex-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: #1f1f1f url("../img/landing-education-visual.svg") center/cover no-repeat;
  text-align: center;
}

.apex-cta::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(25, 25, 25, 0.58);
  content: "";
}

.apex-cta-inner {
  max-width: 980px;
}

.apex-cta h2 {
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
}

.apex-cta p {
  max-width: 690px;
  margin: 1.25rem auto 2rem;
  color: #fafafa;
}

.apex-contact {
  background: #fff;
}

.apex-contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0;
}

.apex-soft-link {
  border-left: 3px solid #f35120;
  padding-left: 1rem;
}

.apex-soft-link a {
  color: #f35120;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.apex-contact-list a,
.apex-contact-list address {
  display: block;
  border: 1px solid #e7e7e7;
  border-radius: 26px;
  background: #fafafa;
  color: #262626;
  padding: 1rem 1.15rem;
}

.apex-contact-list span {
  display: block;
  color: #f35120;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apex-form-card {
  border: 1px solid #e7e7e7;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(38, 38, 38, 0.12);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.contact-form-header h3 {
  margin: 0.5rem 0 0.4rem;
  color: #262626;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.contact-form-header p {
  color: #484848;
}

.apex-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.form-label {
  color: #262626;
  font-weight: 700;
}

.form-input,
.form-textarea {
  border: 1px solid #dedede;
  border-radius: 18px;
  background: #fff;
  color: #262626;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #f35120;
  box-shadow: 0 0 0 4px rgba(243, 81, 32, 0.12);
}

.form-req::after {
  color: #f35120;
  content: "*";
}

.form-link {
  color: #f35120;
}

.apex-success {
  border-radius: 26px;
  background: #fff7f4;
  padding: 1.5rem;
}

.apex-link-button {
  color: #f35120;
  font-weight: 800;
  text-decoration: underline;
}

.apex-footer {
  background: #fafafa;
  border-top: 1px solid #e7e7e7;
}

.apex-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.9fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 4.5rem 1.5rem 3rem;
}

.apex-footer-brand p,
.apex-footer-brand address,
.apex-footer-bottom p {
  color: #484848;
}

.apex-footer-brand p {
  max-width: 380px;
  margin: 1.1rem 0;
}

.apex-footer-col {
  display: grid;
  align-content: start;
  gap: 0.62rem;
}

.apex-footer-col h3 {
  margin: 0 0 0.6rem;
  color: #262626;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.18rem;
}

.apex-footer-col a {
  color: #484848;
}

.apex-footer-col a:hover {
  color: #f35120;
}

.apex-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid #e0e0e0;
  padding: 1.2rem 1.5rem 1.7rem;
}

@media (max-width: 1024px) {
  .apex-hero {
    background: #fff;
  }

  .apex-hero-grid,
  .apex-split,
  .apex-contact-grid {
    grid-template-columns: 1fr;
  }

  .apex-card-grid,
  .apex-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav-list,
  .apex-actions,
  .apex-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .apex-hero h1 {
    font-size: clamp(2.7rem, 14vw, 3.8rem);
  }

  .apex-stat-row,
  .apex-card-grid,
  .apex-footer-grid {
    grid-template-columns: 1fr;
  }

  .apex-visual-card,
  .apex-image-card img {
    min-height: 0;
    height: 360px;
  }

  .apex-btn {
    width: 100%;
  }
}

/* Public page mobile hardening */
@media (max-width: 860px) {
  body:not(.page-landing):not(.page-white) .site-header {
    position: sticky;
    top: 0;
  }

  body:not(.page-landing):not(.page-white) .header-inner {
    min-height: 64px;
    gap: 0.85rem;
    padding-block: 0.7rem;
  }

  body:not(.page-landing):not(.page-white) .burger {
    display: inline-flex;
    margin-left: auto;
  }

  body:not(.page-landing):not(.page-white) .main-nav {
    position: fixed;
    top: 64px;
    left: 1rem;
    right: 1rem;
    z-index: 110;
    display: none;
    width: auto;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: #fff;
    padding: 0.8rem;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.18);
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  body:not(.page-landing):not(.page-white) .main-nav.is-open {
    display: block;
  }

  body:not(.page-landing):not(.page-white) .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  body:not(.page-landing):not(.page-white) .nav-link {
    display: flex;
    width: 100%;
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
  }

  body:not(.page-landing):not(.page-white) .nav-link--soft {
    justify-content: center;
    width: 100%;
    color: #fff;
    background: #f35120;
    padding: 0.75rem 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-hero {
    padding: 2.8rem 0 3.2rem;
  }

  body:not(.page-landing):not(.page-white) .apex-hero-grid,
  body:not(.page-landing):not(.page-white) .apex-split,
  body:not(.page-landing):not(.page-white) .apex-contact-grid {
    gap: 2rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card-grid {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  body:not(.page-landing):not(.page-white) .container {
    padding-inline: 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-section {
    padding: 3.1rem 0;
  }

  body:not(.page-landing):not(.page-white) .apex-card,
  body:not(.page-landing):not(.page-white) .apex-form-card,
  body:not(.page-landing):not(.page-white) .apex-contact-list a,
  body:not(.page-landing):not(.page-white) .apex-contact-list address {
    border-radius: 20px;
  }
}

/* Public-site mobile menu hard override */
@media (max-width: 900px) {
  body:not(.page-landing):not(.page-white) .site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  body:not(.page-landing):not(.page-white) .header-inner {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  body:not(.page-landing):not(.page-white) .burger {
    display: inline-flex !important;
    margin-left: auto;
    position: relative;
    z-index: 320;
    width: 42px;
    height: 42px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #fff;
    color: #101828;
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
  }

  body:not(.page-landing):not(.page-white) .main-nav {
    position: fixed !important;
    top: 76px !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 310 !important;
    display: block !important;
    width: auto !important;
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: #fff;
    padding: 0.65rem;
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.22);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  body:not(.page-landing):not(.page-white) .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body:not(.page-landing):not(.page-white) .nav-list {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
  }

  body:not(.page-landing):not(.page-white) .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 0.8rem 0.95rem;
    color: #101828;
    background: transparent;
    font-size: 0.96rem;
    font-weight: 700;
  }

  body:not(.page-landing):not(.page-white) .nav-link:hover,
  body:not(.page-landing):not(.page-white) .nav-link:focus-visible {
    color: #101828;
    background: #f2f4f7;
  }

  body:not(.page-landing):not(.page-white) .nav-link--soft {
    justify-content: center;
    margin-top: 0.25rem;
    color: #fff;
    background: #f35120;
    box-shadow: 0 12px 28px rgba(243, 81, 32, 0.18);
  }

  body:not(.page-landing):not(.page-white) .nav-link--soft:hover,
  body:not(.page-landing):not(.page-white) .nav-link--soft:focus-visible {
    color: #fff;
    background: #d9481b;
  }

  body:not(.page-landing):not(.page-white) .nav-backdrop {
    z-index: 280;
    background: rgba(16, 24, 40, 0.46);
  }
}

/* Professional public-site refinement */
body:not(.page-landing):not(.page-white) {
  --pro-ink: #101828;
  --pro-muted: #475467;
  --pro-soft: #f6f8fb;
  --pro-line: #e4e7ec;
  --pro-accent: #f35120;
  --pro-navy: #111827;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 81, 32, 0.07), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--pro-ink);
}

body:not(.page-landing):not(.page-white) .site-header {
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.06);
}

body:not(.page-landing):not(.page-white) .logo,
body:not(.page-landing):not(.page-white) .nav-link,
body:not(.page-landing):not(.page-white) .apex-hero h1,
body:not(.page-landing):not(.page-white) .apex-copy h2,
body:not(.page-landing):not(.page-white) .apex-section-head h2,
body:not(.page-landing):not(.page-white) .apex-card h3,
body:not(.page-landing):not(.page-white) .contact-form-header h3,
body:not(.page-landing):not(.page-white) .apex-footer-col h3 {
  color: var(--pro-ink);
}

body:not(.page-landing):not(.page-white) .apex-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #eef2f7 58%, #eef2f7 100%);
}

body:not(.page-landing):not(.page-white) .apex-hero::before {
  position: absolute;
  inset: auto -10rem -18rem auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: rgba(243, 81, 32, 0.08);
  content: "";
}

body:not(.page-landing):not(.page-white) .apex-hero-copy {
  position: relative;
  z-index: 1;
}

body:not(.page-landing):not(.page-white) .apex-eyebrow {
  align-items: center;
  gap: 0.55rem;
  color: var(--pro-accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body:not(.page-landing):not(.page-white) .apex-eyebrow::before {
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

body:not(.page-landing):not(.page-white) .apex-hero h1 {
  max-width: 880px;
  letter-spacing: -0.065em;
}

body:not(.page-landing):not(.page-white) .apex-hero p,
body:not(.page-landing):not(.page-white) .apex-copy p,
body:not(.page-landing):not(.page-white) .apex-section-head p,
body:not(.page-landing):not(.page-white) .apex-card p,
body:not(.page-landing):not(.page-white) .apex-contact-list a,
body:not(.page-landing):not(.page-white) .apex-contact-list address,
body:not(.page-landing):not(.page-white) .apex-footer-brand p,
body:not(.page-landing):not(.page-white) .apex-footer-brand address,
body:not(.page-landing):not(.page-white) .apex-footer-bottom p {
  color: var(--pro-muted);
}

body:not(.page-landing):not(.page-white) .apex-btn {
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
}

body:not(.page-landing):not(.page-white) .apex-btn--primary {
  background: linear-gradient(135deg, #f35120 0%, #d9481b 100%);
}

body:not(.page-landing):not(.page-white) .apex-btn--ghost {
  border-color: rgba(16, 24, 40, 0.14);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
}

body:not(.page-landing):not(.page-white) .apex-risk-note {
  border-color: rgba(243, 81, 32, 0.18);
  background: rgba(255, 247, 244, 0.82);
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.06);
}

body:not(.page-landing):not(.page-white) .apex-visual-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 34px 80px rgba(16, 24, 40, 0.22);
}

body:not(.page-landing):not(.page-white) .apex-visual-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 24, 40, 0.72) 100%);
  content: "";
}

body:not(.page-landing):not(.page-white) .apex-visual-card > * {
  position: relative;
  z-index: 1;
}

body:not(.page-landing):not(.page-white) .apex-stat-row {
  background: linear-gradient(135deg, #101828 0%, #1f2937 100%);
  box-shadow: 0 24px 54px rgba(16, 24, 40, 0.18);
}

body:not(.page-landing):not(.page-white) .apex-section--soft {
  background: rgba(246, 248, 251, 0.92);
}

body:not(.page-landing):not(.page-white) .apex-card,
body:not(.page-landing):not(.page-white) .apex-form-card,
body:not(.page-landing):not(.page-white) .apex-contact-list a,
body:not(.page-landing):not(.page-white) .apex-contact-list address {
  border-color: var(--pro-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.07);
}

body:not(.page-landing):not(.page-white) .apex-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body:not(.page-landing):not(.page-white) .apex-card:hover {
  border-color: rgba(243, 81, 32, 0.28);
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.11);
  transform: translateY(-4px);
}

body:not(.page-landing):not(.page-white) .apex-card span {
  color: var(--pro-accent);
}

body:not(.page-landing):not(.page-white) .apex-image-card::before {
  background: linear-gradient(135deg, #f35120 0%, #fb8a61 100%);
  box-shadow: 0 30px 70px rgba(243, 81, 32, 0.18);
}

body:not(.page-landing):not(.page-white) .apex-cta {
  background:
    linear-gradient(135deg, rgba(16, 24, 40, 0.88), rgba(17, 24, 39, 0.78)),
    url("../img/landing-education-visual.svg") center/cover no-repeat;
}

body:not(.page-landing):not(.page-white) .apex-cta::before {
  display: none;
}

body:not(.page-landing):not(.page-white) .apex-footer {
  background: #ffffff;
}

body:not(.page-landing):not(.page-white) .apex-footer-grid {
  border-top: 1px solid var(--pro-line);
}

/* Desktop polish: compact, clean, modern public layout */
@media (min-width: 1025px) {
  body:not(.page-landing):not(.page-white) {
    --max-w: 1180px;
  }

  body:not(.page-landing):not(.page-white) .container {
    max-width: 1180px;
    padding-inline: 1.25rem;
  }

  body:not(.page-landing):not(.page-white) .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.045);
  }

  body:not(.page-landing):not(.page-white) .header-inner {
    min-height: 72px;
    gap: 1.25rem;
  }

  body:not(.page-landing):not(.page-white) .logo {
    gap: 0.55rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
  }

  body:not(.page-landing):not(.page-white) .logo .icon {
    width: 20px;
    height: 20px;
  }

  body:not(.page-landing):not(.page-white) .nav-list {
    gap: 0.35rem;
    align-items: center;
  }

  body:not(.page-landing):not(.page-white) .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    color: #344054;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
  }

  body:not(.page-landing):not(.page-white) .nav-link::after {
    display: none;
  }

  body:not(.page-landing):not(.page-white) .nav-link:hover {
    color: #101828;
    background: #f2f4f7;
  }

  body:not(.page-landing):not(.page-white) .nav-link--soft {
    color: #fff;
    background: #f35120;
    padding-inline: 1.05rem;
    box-shadow: 0 10px 24px rgba(243, 81, 32, 0.18);
  }

  body:not(.page-landing):not(.page-white) .nav-link--soft:hover {
    color: #fff;
    background: #d9481b;
  }

  body:not(.page-landing):not(.page-white) .apex-hero {
    padding: 4.2rem 0 4.8rem;
    background:
      radial-gradient(circle at 78% 20%, rgba(243, 81, 32, 0.08), transparent 18rem),
      linear-gradient(135deg, #ffffff 0%, #ffffff 60%, #f3f6fa 60%, #eef2f7 100%);
  }

  body:not(.page-landing):not(.page-white) .apex-hero-grid {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 3.5rem;
  }

  body:not(.page-landing):not(.page-white) .apex-hero-copy {
    max-width: 650px;
  }

  body:not(.page-landing):not(.page-white) .apex-hero h1 {
    max-width: 690px;
    margin-top: 0.95rem;
    font-size: clamp(3.1rem, 4.5vw, 4.5rem);
    line-height: 1.05;
  }

  body:not(.page-landing):not(.page-white) .apex-hero p {
    max-width: 560px;
    margin-top: 1.1rem;
    font-size: 1.02rem;
    line-height: 1.65;
  }

  body:not(.page-landing):not(.page-white) .apex-actions {
    margin-top: 1.65rem;
    gap: 0.7rem;
  }

  body:not(.page-landing):not(.page-white) .apex-btn {
    min-height: 46px;
    padding: 0.78rem 1.15rem;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
  }

  body:not(.page-landing):not(.page-white) .apex-risk-note {
    max-width: 560px;
    margin-top: 1rem;
    border-radius: 18px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  body:not(.page-landing):not(.page-white) .apex-visual-card {
    min-height: 340px;
    border-radius: 28px;
    padding: 1.35rem;
  }

  body:not(.page-landing):not(.page-white) .apex-visual-card strong {
    font-size: 3.4rem;
  }

  body:not(.page-landing):not(.page-white) .apex-stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    border-radius: 20px;
    padding: 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-stat-row strong {
    font-size: 1.45rem;
  }

  body:not(.page-landing):not(.page-white) .apex-stat-row span {
    font-size: 0.76rem;
  }

  body:not(.page-landing):not(.page-white) .apex-section {
    padding: 4.5rem 0;
  }

  body:not(.page-landing):not(.page-white) .apex-split,
  body:not(.page-landing):not(.page-white) .apex-contact-grid {
    grid-template-columns: 470px minmax(0, 1fr);
    gap: 3.5rem;
  }

  body:not(.page-landing):not(.page-white) .apex-copy h2,
  body:not(.page-landing):not(.page-white) .apex-section-head h2 {
    margin-top: 0.55rem;
    font-size: clamp(2.1rem, 3.3vw, 3rem);
    line-height: 1.08;
  }

  body:not(.page-landing):not(.page-white) .apex-copy p,
  body:not(.page-landing):not(.page-white) .apex-section-head p,
  body:not(.page-landing):not(.page-white) .apex-card p {
    font-size: 0.98rem;
  }

  body:not(.page-landing):not(.page-white) .apex-image-card::before {
    inset: 10% 7% -4% -3%;
    border-radius: 28px;
  }

  body:not(.page-landing):not(.page-white) .apex-image-card img {
    height: 420px;
    border-radius: 28px;
  }

  body:not(.page-landing):not(.page-white) .apex-section-head {
    max-width: 680px;
    margin-bottom: 2rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card-grid {
    gap: 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card {
    border-radius: 24px;
    padding: 1.45rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card span {
    font-size: 1.55rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1.12rem;
  }

  body:not(.page-landing):not(.page-white) .apex-cta {
    padding: 4.6rem 0;
  }

  body:not(.page-landing):not(.page-white) .apex-cta-inner {
    max-width: 760px;
  }

  body:not(.page-landing):not(.page-white) .apex-cta h2 {
    font-size: clamp(2.3rem, 3.6vw, 3.35rem);
    line-height: 1.08;
  }

  body:not(.page-landing):not(.page-white) .apex-form-card {
    border-radius: 28px;
    padding: 1.35rem;
  }

  body:not(.page-landing):not(.page-white) .form-input,
  body:not(.page-landing):not(.page-white) .form-textarea {
    min-height: 44px;
    border-radius: 14px;
    padding: 0.72rem 0.85rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer {
    border-top: 1px solid #e4e7ec;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-grid {
    grid-template-columns: 1.55fr 0.85fr 0.9fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2.1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-brand p {
    max-width: 360px;
    margin: 0.9rem 0 0.75rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-brand address {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-col {
    gap: 0.45rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-col h3 {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-col a {
    font-size: 0.9rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-bottom {
    padding: 1rem 1.25rem 1.25rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

/* Final public-site mobile header normalization */
@media (max-width: 900px) {
  body:not(.page-landing):not(.page-white) .site-header {
    width: 100%;
    min-height: 62px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  }

  body:not(.page-landing):not(.page-white) .container.header-inner {
    width: 100%;
    max-width: none;
    min-height: 62px;
    height: 62px;
    padding: 0 1rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem;
  }

  body:not(.page-landing):not(.page-white) .logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #101828;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  body:not(.page-landing):not(.page-white) .logo .icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #f35120;
  }

  body:not(.page-landing):not(.page-white) .burger {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
  }

  body:not(.page-landing):not(.page-white) .burger .icon {
    width: 18px;
    height: 18px;
  }

  body:not(.page-landing):not(.page-white) .main-nav {
    top: 70px !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    border-radius: 20px;
  }

  body:not(.page-landing):not(.page-white) .container {
    width: 100%;
    padding-inline: 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-hero {
    padding: 2.6rem 0 3rem;
    background:
      radial-gradient(circle at 90% 10%, rgba(243, 81, 32, 0.1), transparent 12rem),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  }

  body:not(.page-landing):not(.page-white) .apex-hero-grid,
  body:not(.page-landing):not(.page-white) .apex-split,
  body:not(.page-landing):not(.page-white) .apex-contact-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1.45rem;
  }

  body:not(.page-landing):not(.page-white) .apex-hero-copy,
  body:not(.page-landing):not(.page-white) .apex-section-head,
  body:not(.page-landing):not(.page-white) .apex-copy {
    max-width: none;
  }

  body:not(.page-landing):not(.page-white) .apex-eyebrow {
    display: inline-flex;
    max-width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.25;
  }

  body:not(.page-landing):not(.page-white) .apex-eyebrow::before {
    width: 22px;
  }

  body:not(.page-landing):not(.page-white) .apex-hero h1,
  body:not(.page-landing):not(.page-white) .apex-copy h2,
  body:not(.page-landing):not(.page-white) .apex-section-head h2,
  body:not(.page-landing):not(.page-white) .apex-cta h2 {
    max-width: none;
    margin-top: 0.75rem;
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  body:not(.page-landing):not(.page-white) .apex-hero p,
  body:not(.page-landing):not(.page-white) .apex-copy p,
  body:not(.page-landing):not(.page-white) .apex-section-head p,
  body:not(.page-landing):not(.page-white) .apex-card p,
  body:not(.page-landing):not(.page-white) .apex-cta p,
  body:not(.page-landing):not(.page-white) .form-privacy {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  body:not(.page-landing):not(.page-white) .apex-actions {
    width: 100%;
    margin-top: 1.15rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  body:not(.page-landing):not(.page-white) .apex-btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-radius: 14px;
    padding: 0.78rem 1rem;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
  }

  body:not(.page-landing):not(.page-white) .apex-risk-note {
    margin-top: 0.9rem;
    border-radius: 16px;
    padding: 0.8rem 0.9rem;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  body:not(.page-landing):not(.page-white) .apex-hero-visual {
    gap: 0.75rem;
  }

  body:not(.page-landing):not(.page-white) .apex-visual-card {
    min-height: 230px;
    border-radius: 22px;
    padding: 1.05rem;
  }

  body:not(.page-landing):not(.page-white) .apex-visual-card strong {
    font-size: clamp(2.3rem, 15vw, 3.4rem);
  }

  body:not(.page-landing):not(.page-white) .apex-stat-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    border-radius: 18px;
    padding: 0.75rem;
  }

  body:not(.page-landing):not(.page-white) .apex-stat-row div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
  }

  body:not(.page-landing):not(.page-white) .apex-section {
    padding: 3rem 0;
  }

  body:not(.page-landing):not(.page-white) .apex-section-head {
    margin-bottom: 1.25rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card-grid,
  body:not(.page-landing):not(.page-white) .apex-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card,
  body:not(.page-landing):not(.page-white) .apex-form-card,
  body:not(.page-landing):not(.page-white) .apex-contact-list a,
  body:not(.page-landing):not(.page-white) .apex-contact-list address {
    border-radius: 18px;
    padding: 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card span {
    font-size: 1.25rem;
  }

  body:not(.page-landing):not(.page-white) .apex-card h3 {
    margin: 0.75rem 0 0.4rem;
    font-size: 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-image-card img {
    width: 100%;
    height: 240px;
    min-height: 0;
    border-radius: 20px;
    object-fit: cover;
  }

  body:not(.page-landing):not(.page-white) .apex-contact-list {
    gap: 0.65rem;
  }

  body:not(.page-landing):not(.page-white) .apex-contact-list a,
  body:not(.page-landing):not(.page-white) .apex-contact-list address {
    overflow-wrap: anywhere;
  }

  body:not(.page-landing):not(.page-white) .apex-form-card {
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
  }

  body:not(.page-landing):not(.page-white) .contact-form-header h3 {
    font-size: 1.35rem;
  }

  body:not(.page-landing):not(.page-white) .form-input,
  body:not(.page-landing):not(.page-white) .form-textarea {
    min-height: 46px;
    border-radius: 14px;
    padding: 0.78rem 0.9rem;
    font-size: 1rem;
  }

  body:not(.page-landing):not(.page-white) .form-textarea {
    min-height: 132px;
  }

  body:not(.page-landing):not(.page-white) .apex-cta {
    padding: 3rem 0;
  }

  body:not(.page-landing):not(.page-white) .apex-cta-inner {
    border-radius: 24px;
    padding: 2.1rem 1rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-grid {
    padding: 2rem 1rem 1.4rem;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-col {
    gap: 0.4rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e4e7ec;
  }

  body:not(.page-landing):not(.page-white) .apex-footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
}

@media (max-width: 420px) {
  body:not(.page-landing):not(.page-white) .container {
    padding-inline: 0.85rem;
  }

  body:not(.page-landing):not(.page-white) .container.header-inner {
    padding-inline: 0.85rem;
  }

  body:not(.page-landing):not(.page-white) .logo span {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body:not(.page-landing):not(.page-white) .apex-hero h1,
  body:not(.page-landing):not(.page-white) .apex-copy h2,
  body:not(.page-landing):not(.page-white) .apex-section-head h2,
  body:not(.page-landing):not(.page-white) .apex-cta h2 {
    font-size: clamp(1.85rem, 10.8vw, 2.55rem);
  }

  body:not(.page-landing):not(.page-white) .apex-visual-card {
    min-height: 205px;
  }
}

/* Public-site mobile stability layer */
@media (max-width: 900px) {
  html,
  body.page-white {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.page-white .site-header {
    min-height: 60px;
    overflow: visible;
  }

  body.page-white .container.header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px;
    min-height: 60px;
    height: 60px;
    padding: 0 1rem;
    align-items: center;
    column-gap: 0.75rem;
  }

  body.page-white .logo {
    min-width: 0;
    max-width: 100%;
  }

  body.page-white .logo span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.page-white .logo.logo--image img {
    display: block;
    max-height: 44px;
    width: auto;
    max-width: min(210px, 100%);
    object-fit: contain;
  }

  body.page-white .logo.logo--footer.logo--image img {
    max-height: 52px;
  }

  body.page-white .burger {
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 1;
    place-self: center end;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  body.page-white .main-nav {
    position: fixed !important;
    top: 68px !important;
    left: 0.85rem !important;
    right: 0.85rem !important;
    z-index: 310 !important;
    width: auto !important;
    min-width: 0;
  }

  body.page-white main,
  body.page-white .apex-hero,
  body.page-white .apex-section,
  body.page-white .apex-cta,
  body.page-white .apex-footer {
    overflow-x: clip;
  }

  body.page-white .apex-hero-grid,
  body.page-white .apex-split,
  body.page-white .apex-contact-grid,
  body.page-white .apex-hero-copy,
  body.page-white .apex-copy,
  body.page-white .apex-section-head,
  body.page-white .apex-hero-visual,
  body.page-white .apex-card,
  body.page-white .apex-form-card {
    min-width: 0;
  }

  body.page-white .apex-hero {
    padding-top: 2rem;
  }

  body.page-white .apex-hero h1,
  body.page-white .apex-copy h2,
  body.page-white .apex-section-head h2,
  body.page-white .apex-cta h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.8vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.055em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  body.page-white .apex-hero p {
    max-width: 100%;
  }

  body.page-white .apex-risk-note {
    max-width: 100%;
    overflow: hidden;
  }

  body.page-white .apex-visual-card {
    min-height: 210px;
    margin-top: 0.6rem;
  }
}

@media (max-width: 420px) {
  body.page-white .container.header-inner,
  body.page-white .container {
    padding-inline: 0.8rem;
  }

  body.page-white .apex-hero h1,
  body.page-white .apex-copy h2,
  body.page-white .apex-section-head h2,
  body.page-white .apex-cta h2 {
    font-size: clamp(1.65rem, 8.3vw, 2.15rem);
    letter-spacing: -0.045em;
  }

  body.page-white .apex-hero {
    padding-top: 1.75rem;
  }

  body.page-white .apex-btn {
    min-height: 44px;
    padding-inline: 0.75rem;
    font-size: 0.72rem;
  }
}

/* Static/legal pages theme alignment */
html {
  scroll-padding-top: 88px;
}

body.page-white .legal-main {
  background: #fff;
}

body.page-white .legal-page {
  padding: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 81, 32, 0.06), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-legal .apex-hero,
body.page-legal .apex-section,
body.page-legal .apex-cta {
  display: initial;
}

body.page-legal .site-header {
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.045);
}

body.page-legal .header-inner {
  min-height: 72px;
}

body.page-legal .apex-footer {
  margin-top: 0;
}

body.page-white .legal-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

body.page-white .legal-hero__inner {
  max-width: 1040px;
}

body.page-white .legal-page__container {
  max-width: 920px;
  padding-block: 2.5rem clamp(3.5rem, 7vw, 5.5rem);
}

body.page-white .legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 40px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 0.9rem;
  color: #344054;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.page-white .legal-page__back::before {
  color: #f35120;
  content: "←";
}

body.page-white .legal-page__back:hover {
  color: #101828;
  border-color: rgba(243, 81, 32, 0.28);
  background: #fff7f4;
  text-decoration: none;
}

body.page-white .legal-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f35120;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-white .legal-page__eyebrow::before {
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

body.page-white .legal-page__title {
  max-width: 820px;
  margin: 0.75rem 0 0;
  color: #101828;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

body.page-white .legal-page__intro {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #475467;
  font-size: 1rem;
  line-height: 1.7;
}

body.page-white .legal-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

body.page-white .legal-page__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 0.85rem;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 700;
}

body.page-white .legal-page__nav a:hover {
  color: #fff;
  border-color: #f35120;
  background: #f35120;
}

body.page-white .legal-page__body {
  border: 1px solid #e4e7ec;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 70px rgba(16, 24, 40, 0.08);
  padding: clamp(1.35rem, 4vw, 2.4rem);
  color: #101828;
  font-size: 1rem;
  line-height: 1.75;
}

body.page-white .legal-page__body h2 {
  margin-top: 2.1rem;
  margin-bottom: 0.8rem;
  color: #101828;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

body.page-white .legal-page__body h2:first-child {
  margin-top: 0;
}

body.page-white .legal-page__body p {
  color: #475467;
}

body.page-white .legal-page__body p strong {
  color: #101828;
}

body.page-white .legal-page__body a {
  color: #f35120;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.page-white .legal-page__body a:hover {
  color: #d9481b;
}

body.page-white .legal-page__body code {
  background: #f2f4f7;
  border-radius: 6px;
  color: #101828;
}

body.page-white .legal-list {
  color: #475467;
}

body.page-white .legal-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
}

body.page-white .legal-table th,
body.page-white .legal-table td {
  border-bottom: 1px solid #f2f4f7;
}

body.page-white .legal-table th {
  background: #f8fafc;
  color: #101828;
  font-weight: 800;
}

body.page-white .legal-table td {
  color: #475467;
}

body.page-white .legal-meta {
  border-left-color: #f35120;
  border-radius: 0 14px 14px 0;
  background: #fff7f4;
  color: #475467;
}

body.page-white .legal-updated {
  border-top-color: #e4e7ec;
  color: #667085;
  font-style: normal;
}

:is(.page-landing, .page-white) .legal-contact-cta {
  margin-top: 2.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(38, 38, 38, 0.1);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  text-align: center;
}

:is(.page-landing, .page-white) .legal-contact-cta__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #141414;
}

:is(.page-landing, .page-white) .legal-contact-cta__lead {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  color: #484848;
  line-height: 1.6;
}

:is(.page-landing, .page-white) .legal-contact-cta__btn {
  display: inline-flex;
}

:is(.page-landing, .page-white) .legal-page__nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 0.85rem;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

:is(.page-landing, .page-white) .legal-page__nav-contact:hover {
  color: #fff;
  border-color: #f35120;
  background: #f35120;
}

:is(.page-landing, .page-white) .legal-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

:is(.page-landing, .page-white) .legal-page__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 0.85rem;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

:is(.page-landing, .page-white) .legal-page__nav a:hover {
  color: #fff;
  border-color: #f35120;
  background: #f35120;
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 70px;
  }

  body.page-white .legal-hero {
    padding: 2.6rem 0 1.4rem;
  }

  body.page-white .legal-page__container {
    padding-block: 1.5rem 3rem;
  }

  body.page-white .legal-page__title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  body.page-white .legal-page__nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-white .legal-page__nav a {
    justify-content: center;
  }

  body.page-white .legal-page__body {
    border-radius: 22px;
  }
}

/* Final public-site mobile navigation override */
@media (max-width: 900px) {
  body.page-white .site-header {
    overflow: visible !important;
    z-index: 5000 !important;
  }

  body.page-white .header-inner {
    overflow: visible !important;
  }

  body.page-white .burger {
    position: relative;
    z-index: 5020 !important;
    display: inline-flex !important;
    pointer-events: auto;
  }

  body.page-white .main-nav {
    position: fixed !important;
    top: 72px !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 5010 !important;
    display: block !important;
    width: auto !important;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: #fff;
    padding: 0.8rem;
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  body.page-white .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.page-white .nav-list {
    display: flex;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.page-white .nav-backdrop {
    z-index: 4990 !important;
  }
}
