/* ============================================================
   HTML EDITOR PAGE — htmleditor.css
   Terminal/code-editor aesthetic. Mint (#00D4AA) as primary accent.
   All he-* prefixed classes are local to this page.
   ============================================================ */

/* Nohemi (variable) is declared only once, in components/base.css.
   Global tokens, reset and typography come from components/base.css:
   only this page's own tokens are declared here (never a base token). */
:root {
  --accent-mint-hover: #00BF98;
  --dark-editor: #312921;
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-mint-glow: 0 0 40px rgba(0, 212, 170, 0.2);

}

/* ── Container ── */
.he-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Shared eyebrow / section header ── */
.he-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-ink);
  margin-bottom: var(--sp-2);
}
.he-eyebrow--mint,
.he-eyebrow--light { color: var(--accent-mint); }

.he-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-6);
}
.he-section-header--dark { /* no override needed, children handle color */ }

.he-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.he-section-title--light { color: var(--text-on-dark); }

.he-section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.he-section-sub--muted { color: var(--text-muted-on-dark); }

/* ── Buttons ── */
.he-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-mint);
  color: #211A14;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 550;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-mint-glow);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .he-btn-primary:hover {
    background: var(--accent-mint-hover);
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.35);
    transform: translateY(-1px);
  }
}
.he-btn-primary--large {
  padding: 16px 36px;
  font-size: 16px;
}

.he-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .he-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
  }
}
.he-btn-ghost--dark { color: var(--text-on-dark); }
/* Press feedback: a quick dip on press that eases back on release */
.he-btn-primary:active,
.he-btn-ghost:active { transform: scale(0.98); transition-duration: 0.08s; }

/* ============================================================
   S1 — HERO
   ============================================================ */
.he-hero {
  position: relative;
  min-height: 100svh;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Code grid texture */
.he-hero-code-grid {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(255, 255, 255, 0.02) 23px,
      rgba(255, 255, 255, 0.02) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.015) 39px,
      rgba(255, 255, 255, 0.015) 40px
    );
  pointer-events: none;
}

.he-hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.07) 0%, rgba(255, 90, 31, 0.05) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.he-hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.he-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.he-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }

/* Product icon mark */
.he-hero-icon {
  display: flex;
  align-items: center;
}
.he-hero-icon img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08),
    0 0 32px rgba(0, 212, 170, 0.3),
    0 8px 24px rgba(0,0,0,0.4);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
@media (hover: hover) and (pointer: fine) {
  .he-hero-icon:hover img {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.12),
      0 0 48px rgba(0, 212, 170, 0.45),
      0 12px 32px rgba(0,0,0,0.5);
    transform: translateY(-2px);
  }
}

/* Badge */
.he-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;              /* it's a link: full touch target */
  padding: 7px 14px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-pill);
  color: var(--accent-mint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.he-hero-badge:hover {
  background: rgba(0, 212, 170, 0.14);
  border-color: rgba(0, 212, 170, 0.4);
}
.he-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  animation: he-pulse 2s ease-in-out 2;   /* ends before 5 s */
}
@keyframes he-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Headline */
.he-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
}
/* Product accent only: mint → light mint (mixing in orange went muddy olive) */
.he-hero-headline-em {
  background: linear-gradient(118deg, #7EF2D9 0%, var(--accent-mint) 60%, #00B894 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* High contrast mode: the transparent text fill would make the words vanish */
@media (forced-colors: active) {
  .he-hero-headline-em {
    background: none;
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
  }
}

.he-hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted-on-dark);
  max-width: 480px;
}

.he-hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.he-hero-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.he-hero-note svg { color: var(--accent-mint); flex-shrink: 0; }

/* ── Hero visual: the real program ──
   Same image as the hero of coffeecup.com/html-editor. Its windows are
   cropped at the top and right edges, so the frame bleeds off the
   right edge of the viewport and only rounds its left corners. */
.he-hero-shot {
  position: relative;
  /* Extend from the column to the viewport's right edge */
  margin-right: calc(-1 * max(var(--sp-3), (100vw - var(--max-w)) / 2 + var(--sp-3)));
}

.he-hero-shot::before {
  content: '';
  position: absolute;
  inset: 10% 0 -6% 8%;
  background: radial-gradient(ellipse at 40% 50%, rgba(0, 212, 170, 0.22) 0%, rgba(0, 212, 170, 0) 65%);
  filter: blur(30px);
  pointer-events: none;
}

.he-hero-shot img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  background: #F2F3F8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 100px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   HERO SCREENSHOT — MOTION
   One real screenshot, brought to life without touching its pixels:
   · Entrance: a quiet fade with a short rise and a hint of scale —
     no swing — settling where it rests (on desktop, leaning slightly
     towards the copy).
   · Tag highlighting, the feature named in the subtitle, on the real
     code: the current line (31) and its matching <div> … </div> (39).
   · The highlight then fades in, line first, then the tag pair.
   No hover effect, no glow, no light pass. Nothing loops. Without JS
   or with reduced motion: the screenshot at rest, highlight shown.
   ============================================================ */
.he-hero-shot {
  --he-ry: 3deg;                 /* resting lean towards the copy (desktop) */
  --he-rx: 1deg;
  /* Where the entrance starts: the resting pose, 14px lower and 1.5% smaller */
  --he-from: perspective(1600px) rotateY(var(--he-ry)) rotateX(var(--he-rx)) translateY(14px) scale(0.985);
}
.he-shot-stage {
  position: relative;
  transform: perspective(1600px) rotateY(var(--he-ry)) rotateX(var(--he-rx));
  transform-origin: right center; /* the right edge stays on the viewport edge */
}

.he-shot-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  pointer-events: none;
}
.he-shot-fx > span { position: absolute; display: block; }

/* Positions in % of the 1200 × 893 screenshot */
.he-shot-line {
  left: 40.17%; top: 17.69%; width: 59.83%; height: 1.68%;
  background: rgba(0, 212, 170, 0.09);
  mix-blend-mode: multiply;
}
.he-shot-tag {
  top: 17.69%; height: 1.68%;
  border-radius: 2px;
  background: rgba(0, 212, 170, 0.26);
  box-shadow: inset 0 0 0 1px rgba(0, 160, 128, 0.55);
  mix-blend-mode: multiply;             /* tints the paper, the code stays sharp */
}
.he-shot-tag--open  { left: 46.42%; width: 3.42%; }
.he-shot-tag--close { left: 46.42%; width: 4%; top: 31.35%; }

/* ── Armed by htmleditor.js (start pose, highlight hidden), then played
      once when it is in view (.is-playing) ── */
.he-hero-shot.is-armed .he-shot-stage { opacity: 0; transform: var(--he-from); }
.he-hero-shot.is-armed::before { opacity: 0; }            /* the halo arrives with the screenshot */
.he-hero-shot.is-playing::before { animation: he-fx-fade 1200ms var(--ease-out) 300ms both; }
.he-hero-shot.is-armed .he-shot-line,
.he-hero-shot.is-armed .he-shot-tag { opacity: 0; }

.he-hero-shot.is-playing .he-shot-stage {
  animation: he-shot-in-move 1300ms var(--ease-out) 200ms both,
             he-fx-fade 900ms var(--ease-out) 200ms both;     /* opacity lands before the movement */
}
.he-hero-shot.is-playing .he-shot-line { animation: he-fx-fade 700ms var(--ease-out) 1000ms both; }
.he-hero-shot.is-playing .he-shot-tag--open  { animation: he-fx-fade 600ms var(--ease-out) 1200ms both; }
.he-hero-shot.is-playing .he-shot-tag--close { animation: he-fx-fade 600ms var(--ease-out) 1340ms both; }

@keyframes he-shot-in-move {
  from { transform: var(--he-from); }
  to   { transform: perspective(1600px) rotateY(var(--he-ry)) rotateX(var(--he-rx)); }
}
@keyframes he-fx-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Stacked layouts: flat at rest */
@media (max-width: 1024px) {
  .he-hero-shot { --he-ry: 0deg; --he-rx: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  .he-hero-shot.is-armed .he-shot-stage { opacity: 1; transform: perspective(1600px) rotateY(var(--he-ry)) rotateX(var(--he-rx)); }
  .he-hero-shot.is-armed .he-shot-line,
  .he-hero-shot.is-armed .he-shot-tag { opacity: 1; }
  .he-hero-shot.is-playing .he-shot-stage,
  .he-hero-shot.is-playing .he-shot-line,
  .he-hero-shot.is-playing .he-shot-tag,
  .he-hero-shot.is-playing::before { animation: none; }
  .he-hero-shot.is-armed::before { opacity: 1; }
}

/* Window filename label (code visuals further down the page) */
.he-editor-filename {
  font-size: var(--fs-label);
  color: var(--text-muted-on-dark);
  margin-left: 4px;
  flex: 1;
}

/* ============================================================
   S2 — STATS BAR
   ============================================================ */
.he-stats {
  background: var(--dark-elevated);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.he-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: var(--sp-5) var(--sp-3);
}

.he-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 var(--sp-5);
  flex: 1;
  min-width: 140px;
}

.he-stat-div {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
  flex-shrink: 0;
}

.he-stat-n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -0.03em;
  color: var(--accent-mint);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.he-stat-unit {
  font-size: 20px;
  font-weight: 550;
  color: var(--accent-mint);
}
.he-stat-plus {
  font-size: 24px;
  color: var(--accent-mint);
  font-weight: 550;
}

.he-stat-l {
  font-size: 13px;
  color: var(--text-muted-on-dark);
  text-align: center;
  font-weight: 400;
}

/* ============================================================
   S4 — FEATURES (real screenshots)
   Each image is the actual program, from coffeecup.com/html-editor.
   Light screenshots sit in a clean frame on the dark section, like
   the hero; captions say exactly what each one shows.
   ============================================================ */
.he-real {
  position: relative;
  overflow-x: clip;
  padding: var(--sp-8) 0;
  background: var(--dark-bg);
}

.he-real-rows {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
}

.he-real-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--sp-6);
  align-items: center;
  scroll-margin-top: calc(var(--nav-height) + var(--sp-3));
}
.he-real-row--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.he-real-row--flip .he-real-copy { order: 2; }

.he-real-copy { max-width: 46ch; }

.he-real-title {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1.15;
  color: var(--text-on-dark);
  text-wrap: balance;
}

.he-real-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted-on-dark);
  text-wrap: pretty;
}

.he-real-shot { position: relative; }

/* Soft mint glow behind each screenshot */
.he-real-shot::before {
  content: '';
  position: absolute;
  inset: 8% 6% 14%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.18) 0%, rgba(0, 212, 170, 0) 70%);
  filter: blur(30px);
  pointer-events: none;
}

.he-real-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #F2F3F8;          /* the screenshots' own background */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.45);
}
.he-real-frame img { display: block; width: 100%; height: auto; }

.he-real-caption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-mint);
  font-size: var(--fs-meta);
  line-height: 1.5;
  color: var(--text-muted-on-dark);
}

/* ── Two secondary features ── */
.he-real-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}

.he-real-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--dark-border-hover);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
}

.he-real-frame--card {
  aspect-ratio: 561 / 360;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--dark-border-hover);
}
.he-real-frame--card img { height: 100%; object-fit: cover; object-position: left top; }

.he-real-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-4);
}

.he-real-card-title {
  font-size: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-h3);
  color: var(--text-on-dark);
}

.he-real-card-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted-on-dark);
}

/* ============================================================
   S5 — PRICING
   ============================================================ */
.he-pricing {
  background: var(--dark-bg);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border-dark);
}

/* ============================================================
   S6 — FAQ
   ============================================================ */
.he-faq {
  background: var(--surface);
  padding: var(--sp-8) 0;
}

.he-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ── FAQ — canonical pattern (matches index.html exactly) ── */

/* ============================================================
   S7 — CTA FINAL
   ============================================================ */
.he-cta-final {
  background: var(--dark-bg);
  padding: var(--sp-8) 0 calc(var(--sp-8) + 32px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
}

.he-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.12) 0%, rgba(255, 90, 31, 0.07) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.he-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.he-cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-on-dark);
  max-width: 700px;
}

.he-cta-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted-on-dark);
  max-width: 500px;
}

.he-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

.he-cta-reassurance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-1);
}
.he-cta-reassurance span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted-on-dark);
  font-family: var(--font-mono);
}
.he-cta-reassurance svg { color: var(--accent-mint); flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Mobile spacing tokens ── */
@media (max-width: 768px) {
  :root { --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px; }
}
@media (max-width: 480px) {
  :root { --sp-4: 24px; --sp-5: 24px; --sp-6: 36px; --sp-7: 48px; --sp-8: 64px; }
}

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
  .he-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    padding-top: var(--sp-6);
  }
  .he-hero-shot { max-width: none; }

  .he-real-row,
  .he-real-row--flip { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .he-real-row--flip .he-real-copy { order: 0; }
  .he-real-copy { max-width: 62ch; }

  
}

/* Mobile — ≤ 640px */
@media (max-width: 640px) {
  /* ── Hero ── */
  .he-hero { min-height: 100svh; align-items: flex-start; }
  .he-hero-inner {
    grid-template-columns: 1fr;
    padding-top: var(--sp-5);
    padding-bottom: var(--sp-5);
    gap: var(--sp-4);
  }
  /* Center hero content on mobile for visual impact */
  .he-hero-copy { align-items: center; text-align: center; gap: var(--sp-2); }
  .he-hero-sub { text-align: center; margin: 0 auto; }
  .he-hero-note { justify-content: center; text-align: center; }
  /* Full-width stacked CTAs — no overflow */
  .he-hero-ctas { flex-direction: column; width: 100%; align-items: stretch; }
  .he-btn-primary, .he-btn-ghost { justify-content: center; text-align: center; width: 100%; box-sizing: border-box; }
  /* The real program stays visible on mobile, below the CTAs */
  /* Immediately show hero icon (no reveal delay) */
  .he-hero .reveal { opacity: 1; transform: none; }

  /* ── Stats bar ── */
  .he-stats-inner { gap: var(--sp-2); flex-wrap: wrap; padding: var(--sp-4) var(--sp-2); }
  .he-stat { min-width: calc(50% - 8px); padding: var(--sp-2) 4px; }
  .he-stat-div { display: none; }
  /* One line per value: "Windows 7+" used to break into "Windows / 7+" */
  .he-stat-n { font-size: clamp(22px, 6.6vw, 28px); white-space: nowrap; }

  /* ── Features ── */
  .he-real-cards { grid-template-columns: minmax(0, 1fr); }
  .he-real-card-body { padding: var(--sp-3); }

  /* ── Pricing ── */
  
  

  /* ── CTA final ── */
  .he-cta-title { font-size: clamp(28px, 8vw, 40px); }
  .he-cta-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .he-btn-primary--large { width: 100%; justify-content: center; box-sizing: border-box; }
  .he-cta-reassurance { flex-direction: column; gap: var(--sp-2); }
}

/* Small mobile — ≤ 380px */
@media (max-width: 380px) {
  .he-hero-headline { font-size: 38px; }
  .he-editor-tabs { display: none; }
  .he-hero-inner { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
}

/* Pricing: same accent as every pricing section */
#pricing .he-eyebrow { color: var(--primary-on-dark); }
