/* ==========================================================================
   ALL BEGINNER — Forex Trading Education
   Stylesheet. Organized top to bottom in the order sections appear on page.
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
/* Variable fonts covering every weight the site actually uses (Inter 400-700, Manrope 600-800),
   subset to Latin only. Replaces the Google Fonts request to remove an external render-affecting
   call — visual appearance, weights, and fallback stack are unchanged. */
@font-face {
  font-family: "Inter";
  src: url("./inter-var.woff2") format("woff2-variations"), url("./inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./manrope-var.woff2") format("woff2-variations"), url("./manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Color: dark trading-terminal base, single gold accent, red reserved for warnings */
  --bg: #0a0b0d;
  --bg-elevated: #131418;
  --bg-elevated-2: #191a20;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-primary: #f4f4f3;
  --text-secondary: #a6a7ae;
  --text-tertiary: #6e6f78;
  --text-tertiary-readable: #84858f;

  --accent: #f0b93b;
  --accent-strong: #ffd873;
  --accent-dim: rgba(240, 185, 59, 0.12);
  --accent-border: rgba(240, 185, 59, 0.35);
  --accent-glow: rgba(240, 185, 59, 0.22);

  --warn: #e5484d;
  --warn-dim: rgba(229, 72, 77, 0.12);
  --warn-border: rgba(229, 72, 77, 0.3);

  --positive: #34d399;
  --positive-dim: rgba(52, 211, 153, 0.1);
  --positive-border: rgba(52, 211, 153, 0.28);

  /* Type */
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 1000;
  background: var(--accent);
  color: #16130a;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}

main:focus-visible {
  outline: none;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-9) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0e11 50%, var(--bg) 100%);
}

.section-head {
  max-width: 680px;
  margin: 0 0 var(--space-7);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(13.5px, 3.75vw, 27px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--space-4);
}

.section-title .accent {
  color: var(--accent);
}

.section-sub {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #16130a;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-border);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Header ---------- */
/* Sits in normal document flow — scrolls away with the page, not fixed/sticky. */
.site-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.brand-logo {
  height: clamp(35px, 8.8vw, 46px);
  width: auto;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--header-h));
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(60% 50% at 82% 12%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(240, 185, 59, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  margin-bottom: var(--space-5);
}

.hero-copy h1 .accent {
  color: var(--accent);
}

.hero-copy p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero market-structure chart visual */
.hero-visual {
  position: relative;
}

.chart-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.chart-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.chart-card-head .pair {
  color: var(--text-primary);
  font-weight: 600;
}

.chart-card-head .up {
  color: var(--positive);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.1s var(--ease) 0.3s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-tag {
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) forwards;
}

.chart-tag.t1 {
  animation-delay: 0.9s;
}
.chart-tag.t2 {
  animation-delay: 1.3s;
}
.chart-tag.t3 {
  animation-delay: 1.7s;
}
.chart-tag.t4 {
  animation-delay: 2.1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chart-path {
    stroke-dashoffset: 0;
    animation: none;
  }
  .chart-tag {
    opacity: 1;
    animation: none;
  }
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-7) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---------- Problem cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color 0.25s, transform 0.25s;
}

.problem-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.problem-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.problem-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-2);
  font-weight: 700;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Transformation (before/after) ---------- */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.transform-col {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.transform-col.after {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-dim), var(--bg-elevated) 40%);
}

.transform-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
  display: block;
}

.transform-col.after .transform-label {
  color: var(--accent);
}

.transform-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16.5px;
  color: var(--text-secondary);
}

.transform-col ul li:last-child {
  border-bottom: none;
}

.transform-col.after ul li {
  color: var(--text-primary);
}

.transform-col svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

.transform-col.before svg {
  stroke: var(--text-tertiary);
}

.transform-col.after svg {
  stroke: var(--accent);
}

.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.transform-arrow svg {
  width: 28px;
  height: 28px;
}

/* ---------- Curriculum (numbered cards) ---------- */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.curriculum-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.curriculum-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.curriculum-num {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  position: absolute;
  top: 8px;
  right: 18px;
  line-height: 1;
  user-select: none;
}

.curriculum-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-2);
  margin-top: var(--space-4);
  position: relative;
}

.curriculum-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  position: relative;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: left;
}

.process-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: var(--space-2);
}

.process-step p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--accent-border);
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
  box-shadow: 0 0 45px rgba(240, 185, 59, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.founder-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.founder-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.founder-headline {  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}

.founder-copy p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.founder-closing {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: var(--accent);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.price-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-dim), var(--bg-elevated) 45%);
  box-shadow: 0 30px 60px -25px var(--accent-glow);
  position: relative;
  transform: translateY(-8px);
}

.price-card.featured:hover {
  transform: translateY(-11px);
  box-shadow: 0 34px 70px -25px var(--accent-glow);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #16130a;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.price-badge-soon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}

.price-name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.price-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: var(--space-5);
}

.price-value span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.price-card ul {
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.price-card ul li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
  color: var(--accent);
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: var(--accent);
}

.testimonial-card blockquote {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--text-tertiary-readable);
}

/* ---------- Who it's for ---------- */
.forwho-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.forwho-col {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border);
}

.forwho-col.yes {
  background: var(--positive-dim);
  border-color: var(--positive-border);
}

.forwho-col.no {
  background: var(--warn-dim);
  border-color: var(--warn-border);
}

.forwho-col h3 {
  font-size: 17px;
  margin-bottom: var(--space-4);
}

.forwho-col.yes h3 {
  color: var(--positive);
}

.forwho-col.no h3 {
  color: var(--warn);
}

.forwho-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.forwho-col ul li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

.forwho-col.yes svg {
  stroke: var(--positive);
}

.forwho-col.no svg {
  stroke: var(--warn);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 4px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.faq-question .icon::before,
.faq-question .icon::after {
  content: "";
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.3s, background 0.3s;
}

.faq-question .icon::before {
  width: 9px;
  height: 2px;
}

.faq-question .icon::after {
  width: 2px;
  height: 9px;
}

.faq-item.is-open .faq-question .icon {
  border-color: var(--accent-border);
  background: var(--accent-dim);
}

.faq-item.is-open .faq-question .icon::after {
  transform: scaleY(0);
}

.faq-item.is-open .faq-question .icon::before {
  background: var(--accent);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s var(--ease);
}

.faq-answer-inner {
  padding: 0 4px var(--space-5);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
  max-width: 680px;
}

.faq-answer-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: var(--space-9) 0;
  position: relative;
}

.final-cta-box {
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: var(--space-9) var(--space-6);
  position: relative;
  overflow: hidden;
}

.final-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  max-width: 720px;
  margin: 0 auto var(--space-4);
  position: relative;
}

.final-cta p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-6);
  font-size: 16px;
  line-height: 1.7;
  position: relative;
}

.final-cta .hero-actions {
  justify-content: center;
  position: relative;
}

/* ---------- Disclaimer ---------- */
.disclaimer-box {
  border: 1px solid var(--warn-border);
  background: var(--warn-dim);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-top: var(--space-7);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.disclaimer-box svg {
  width: 20px;
  height: 20px;
  stroke: var(--warn);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-box h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.disclaimer-box p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer-brand-logo {
  height: 39px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: var(--text-tertiary-readable);
  font-size: 14px;
  margin-top: var(--space-4);
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s, transform 0.2s var(--ease);
}

.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-legal-summary {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  margin-bottom: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6) var(--space-7);
}

.footer-legal-block h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.footer-legal-block p {
  font-size: 13.5px;
  color: var(--text-tertiary-readable);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary-readable);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .stats-grid,
  .card-grid,
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Groups of three stack straight to one column here instead of
     wrapping 2-then-1, which would leave a lonely, off-center third card. */
  .process-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .process-grid::before {
    display: none;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: var(--space-7) 0;
  }

  .transform-grid {
    grid-template-columns: 1fr;
  }

  .transform-arrow {
    transform: rotate(90deg);
    padding: var(--space-2) 0;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6) var(--space-4);
  }

  .card-grid,
  .curriculum-grid,
  .process-grid,
  .pricing-grid,
  .testimonial-grid,
  .forwho-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .hero-actions,
  .final-cta .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-legal-summary {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .disclaimer-box {
    flex-direction: column;
  }
}
