/* ==========================================================================
   Elvaio Website — Production Styles
   ========================================================================== */

/* ===== GLOBAL COLOR OVERRIDE — 3 colors only ===== */
:root {
  --bg:             #F2EDE4;
  --bg-card:        #EDE6DA;
  --fg:             #1A1A18;
  --fg-body:        rgba(26,26,24,0.75);
  --fg-muted:       rgba(26,26,24,0.45);
  --accent:         #C9622A;
  --accent-hover:   #B55520;
  --accent-soft:    rgba(201,98,42,0.1);
  --border:         rgba(26,26,24,0.1);
  --border-strong:  rgba(26,26,24,0.2);
  --shadow-glow-sienna: 0 10px 28px -8px rgba(201,98,42,0.45);
}

/* ===== CUSTOM FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Font overrides */
:root {
  --font-sans:    'Gilroy', 'Helvetica Neue', sans-serif;
  --font-display: 'Gilroy', 'Helvetica Neue', sans-serif;
  --font-body:    'Helvetica', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== RESET + BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  background: var(--bg);
  color: var(--fg-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: var(--lh-base);
}
a, button, [role="button"], [role="tab"] {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Prevent GPU-composited layers from blurring text */
.btn, .btn-link-arrow, .btn-icon-pill, .nav-bar a, .stepper-trigger, .nav-cta, .btn-outline-pill {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-8); }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 var(--s-8); }
.section-pad { padding: var(--s-24) 0; }
.section-pad-lg { padding: var(--s-32) 0; }

/* ===== COMMON TYPOGRAPHY ===== */
.eyebrow {
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--fg-muted); margin: 0 0 var(--s-3);
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 5vw, 56px); letter-spacing: var(--tracking-tight);
  color: var(--fg); margin: 0 0 var(--s-5); line-height: var(--lh-snug);
}
.editorial-italic {
  font-family: var(--font-serif-italic);
  font-style: italic; font-weight: 400;
  letter-spacing: var(--tracking-snug);
}
.accent-text { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif; font-weight: 600;
  font-size: 15px; line-height: 1; white-space: nowrap;
  padding: 16px 26px; border-radius: var(--r-pill);
  border: none; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.btn-sm { font-size: 13px; padding: 11px 18px; font-weight: 500; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-sm), var(--shadow-glow-sienna);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md), var(--shadow-glow-sienna); }
.btn-primary:active { transform: scale(0.98); box-shadow: var(--shadow-xs); }

/* Animated pill button */
.btn-icon-pill {
  position: relative;
  border-radius: 9999px;
  height: 48px;
  padding: 4px 56px 4px 24px;
  overflow: hidden;
  width: fit-content;
  text-decoration: none;
  transition: padding 0.5s cubic-bezier(0.4,0,0.2,1), background 0.2s, box-shadow 0.2s, transform 0.2s !important;
}
.btn-icon-pill:hover {
  padding: 4px 24px 4px 56px;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-pill-text {
  position: relative; z-index: 1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: inherit;
}
.btn-pill-icon {
  position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  color: #1a1410;
  transition: right 0.5s cubic-bezier(0.4,0,0.2,1), rotate 0.5s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}
.btn-icon-pill:hover .btn-pill-icon {
  right: calc(100% - 44px);
  rotate: 45deg;
}
.btn-ghost {
  background: transparent; color: var(--fg);
  border-radius: var(--r-md); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { background: var(--bg-card); box-shadow: var(--shadow-sm); }
.btn-ghost:active { transform: scale(0.98); }

/* Link-arrow button (ghost style with sliding arrow) */
.btn-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif; font-size: var(--fs-base); font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  background: none; border: none; padding: 0;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.btn-link-arrow:link, .btn-link-arrow:visited, .btn-link-arrow:hover, .btn-link-arrow:active {
  text-decoration: none;
}
.btn-link-arrow:hover { color: var(--accent); }
.btn-link-arrow-icon {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}
.btn-link-arrow:hover .btn-link-arrow-icon {
  transform: translateX(5px);
}

/* ===== NAV ===== */
.nav-spacer { height: 71px; }
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #F2EDE4;
  border-bottom: 1px solid var(--border);
  transition: top var(--dur-base) var(--ease-out);
}
.nav-wrap.nav-hidden { top: -80px; }
.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
}
.nav-brand { display: flex; align-items: center; justify-self: start; }
.nav-brand img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--fg-body); font-size: 15px; font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
/* Dark pill CTA — like Inflate */
.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fg); color: #F2EDE4;
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; font-weight: 600;
  height: 40px; padding: 0 18px; border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  letter-spacing: 0.01em;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-cta:link, .nav-cta:visited, .nav-cta:hover, .nav-cta:active {
  color: #F2EDE4; text-decoration: none;
}
.nav-cta:hover { background: rgba(26,26,24,0.88); }
.nav-cta:focus { outline: none; }
.nav-cta:focus-visible { outline: 2px solid rgba(26,26,24,0.35); outline-offset: 3px; }
.nav-cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  background: #F2EDE4;
  padding: var(--s-20) 40px var(--s-24);
  display: flex; flex-direction: column;
}
.hero-bg { display: none; }
.hero-orbs { display: none; }

/* Eyebrow row */
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 1120px;
  margin: 0 auto var(--s-8);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
}
.hero-eyebrow-text {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--fg-muted); text-transform: uppercase;
}

/* Hand-drawn animated underline under the hero accent line */
.hero-accent-underline { position: relative; display: inline-block; }
.hero-underline-svg {
  position: absolute; left: 0; right: 0; bottom: -0.1em;
  width: 100%; height: 0.3em; overflow: visible; pointer-events: none;
}
.hero-underline-svg path {
  fill: none; stroke: var(--accent); stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hero-underline-draw 1.4s var(--ease-out) 0.5s forwards;
}
@keyframes hero-underline-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-underline-svg path { animation: none; stroke-dashoffset: 0; }
}

/* Giant headline */
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(52px, 7.5vw, 100px); line-height: 1.0;
  letter-spacing: -0.03em; color: var(--fg);
  margin: 0 0 var(--s-16);
  max-width: 1100px;
}

/* Bottom 3-column row */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: var(--s-10);
  align-items: center;
  width: 100%; max-width: 1120px;
  margin: var(--s-12) auto 0;
  padding-top: var(--s-6);
  border-top: 1px solid rgba(26,26,24,0.1);
}
.hero-bottom-sub {
  max-width: 440px; margin: 0;
  font-size: 16px; line-height: 1.65; color: var(--fg-body);
}
.hero-sub {
  font-size: 16px; line-height: 1.65; color: var(--fg-body);
  margin: 0;
}
.hero-ctas {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-bottom-stat {
  text-align: center;
  padding: 0 var(--s-8);
}
.hero-stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 4vw, 52px); color: var(--accent);
  letter-spacing: -0.03em; line-height: 1;
}
.hero-stat-label {
  font-size: 12px; color: var(--fg-muted); margin-top: 4px;
  max-width: 140px; line-height: 1.4;
}
.hero-bottom-ctas {
  display: flex; flex-direction: row; gap: 12px;
  align-items: center; justify-self: end;
}

/* Ghost outline pill — "See the work" */
.btn-outline-pill {
  display: inline-flex; align-items: center;
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif; font-size: 14px; font-weight: 600;
  color: var(--fg); background: transparent;
  border: 1.5px solid rgba(26,26,24,0.2); border-radius: 9999px;
  padding: 10px 20px; text-decoration: none; white-space: nowrap;
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
  -webkit-font-smoothing: antialiased;
}
.btn-outline-pill:hover { border-color: var(--fg); background: rgba(0,0,0,0.03); transform: translateY(-1px); }

@media (max-width: 900px) {
  .hero { padding: var(--s-12) 24px var(--s-16); }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: var(--s-6);
    margin-top: var(--s-12);
  }
  .hero-bottom-sub { max-width: none; }
  .hero-bottom-stat { text-align: left; padding: 0; }
  .hero-bottom-ctas { justify-self: start; flex-wrap: wrap; }
}

/* Animated atmospheric orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: rgba(201, 98, 42, 0.5);
  top: -10%; left: -15%;
  animation: orb-drift-1 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: rgba(212, 169, 106, 0.35);
  bottom: -15%; right: -5%;
  animation: orb-drift-2 14s ease-in-out infinite alternate;
}
.orb-3 {
  width: 500px; height: 500px;
  background: rgba(217, 122, 72, 0.4);
  top: 20%; left: 5%;
  animation: orb-drift-3 10s ease-in-out infinite alternate;
}
@keyframes orb-drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes orb-drift-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -50px) scale(1.1); }
}
@keyframes orb-drift-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.2); }
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(52px, 7.5vw, 100px); line-height: 1;
  letter-spacing: -0.03em; color: var(--fg);
  width: 100%; max-width: 1120px;
  margin: var(--s-4) auto var(--s-8);
}
.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--fg-body);
  max-width: 480px; margin: 0 0 var(--s-10);
  text-wrap: balance;
}
.hero-ctas { display: flex; gap: 14px; justify-content: flex-start; margin-bottom: var(--s-10); flex-wrap: wrap; align-items: center; }
.hero-avail {
  font-size: 13px; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: var(--s-16);
}
.dot-live { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--olive-sage); flex-shrink: 0; position: relative; }
.dot-live::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--olive-sage); opacity: 0.3; animation: pulse-dot 2s ease-out infinite; }
@keyframes pulse-dot { 0% { transform: scale(1); opacity: 0.3; } 100% { transform: scale(1.8); opacity: 0; } }

/* ── Hero height (content-driven, not pinned to viewport) ── */
.hero {
  min-height: auto;
}
.hero-sub {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 var(--s-8);
  text-wrap: balance;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ===== LAPTOP MOCKUP ===== */
.laptop-frame {
  width: 100%; max-width: 520px;
  filter: drop-shadow(0 32px 64px rgba(74,55,40,0.18));
}
.laptop-screen {
  background: #1a1410;
  border-radius: 14px 14px 0 0;
  padding: 8px;
  border: 2px solid #2e2016;
}
.laptop-screen-inner {
  background: #F2EDE4;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex; flex-direction: column;
}
.laptop-chin {
  background: #1a1410;
  border-radius: 0 0 8px 8px;
  height: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #2e2016; border-top: none;
}
.laptop-notch {
  width: 60px; height: 5px;
  background: #2e2016; border-radius: 99px;
}

/* Mini site preview inside laptop */
.mini-nav {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(242,237,228,0.95);
  border-bottom: 1px solid rgba(74,55,40,0.08);
}
.mini-logo { width: 32px; height: 8px; background: #2e2016; border-radius: 2px; }
.mini-nav-links { display: flex; gap: 5px; flex: 1; margin-left: 8px; }
.mini-link { width: 22px; height: 5px; background: rgba(74,55,40,0.2); border-radius: 2px; }
.mini-btn { width: 28px; height: 10px; background: #C9622A; border-radius: 4px; }

.mini-hero {
  flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px;
}
.mini-eyebrow { width: 60px; height: 4px; background: rgba(74,55,40,0.25); border-radius: 2px; margin-bottom: 4px; }
.mini-h1-line { height: 10px; background: #2e2016; border-radius: 3px; width: 90%; }
.mini-h1-accent { background: #C9622A; width: 80%; font-style: italic; margin-bottom: 4px; }
.mini-body { height: 4px; background: rgba(74,55,40,0.18); border-radius: 2px; width: 90%; }
.mini-ctas { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.mini-pill-btn { width: 50px; height: 12px; background: #C9622A; border-radius: 99px; }
.mini-ghost-link { width: 40px; height: 4px; background: rgba(74,55,40,0.25); border-radius: 2px; }
.mini-avail { width: 100px; height: 4px; background: rgba(74,55,40,0.12); border-radius: 2px; margin-top: 2px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-mockup { display: none; }
}

/* Dashboard container */
.hero-dashboard {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto var(--s-20);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
  background: var(--bg-card);
}

/* ===== INTEGRATIONS STRIP ===== */
.integrations-strip {
  padding: var(--s-10) 0 var(--s-16);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.int-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--s-6);
}
.int-tool {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.5;
  transition: opacity var(--dur-base) var(--ease-out);
}
.int-tool:hover { opacity: 1; }
.int-tool-img {
  width: 36px; height: 36px; object-fit: contain; border-radius: 8px;
}
.int-tool-name {
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--fg-muted); text-align: center;
}

/* ===== SOCIAL PROOF CATEGORIES ===== */
.proof { padding: var(--s-12) 0 var(--s-16); background: var(--bg); }
.proof-label { text-align: center; margin-bottom: var(--s-8); }
.proof-categories {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-8); flex-wrap: wrap;
}
.proof-cat {
  font-size: 14px; font-weight: 500; color: var(--fg-muted);
  padding: 6px 0; position: relative; cursor: default;
  transition: color var(--dur-fast) var(--ease-out);
  text-decoration: underline; text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}
.proof-cat:hover { color: var(--fg); }

/* ===== PROBLEM SECTION ===== */
.problem { padding: var(--s-24) 0; background: var(--bg); }
.problem-header { margin-bottom: var(--s-10); }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12);
  align-items: start;
}
.problem-intro {
  font-size: var(--fs-base); line-height: var(--lh-base); color: var(--fg-body);
  margin-bottom: var(--s-6);
}
.problem-bullets {
  display: flex; flex-direction: column; gap: var(--s-3);
  list-style: none; padding: 0;
}
.problem-bullet {
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-size: 15px; line-height: 1.55; color: var(--fg-body);
}
.problem-bullet-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 8px;
  background: var(--accent);
}
.problem-right { display: flex; flex-direction: column; justify-content: center; }
.problem-tasks {
  display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-md);
}
.problem-task {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-3) var(--s-4);
  background: var(--bg); border-radius: var(--r-sm);
  font-size: 13px; color: var(--fg-body);
}
.problem-task-label { flex: 1; white-space: pre-line; }
.problem-task-pct { font-weight: 700; font-size: 14px; flex-shrink: 0; margin-left: var(--s-4); }

/* ===== SYSTEMS ===== */
.systems { padding: var(--s-24) 0; background: var(--bg-card); }
.systems-header { text-align: center; margin-bottom: var(--s-10); }
.systems-sub {
  font-size: 17px; line-height: 1.6; color: var(--fg-body);
  max-width: 560px; margin: 0 auto; text-wrap: balance;
}
.systems-list {
  display: flex; flex-direction: column; gap: var(--s-4);
  max-width: 800px; margin: 0 auto;
}
.system-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.system-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.system-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-lg); color: var(--fg); margin-bottom: var(--s-2);
  letter-spacing: var(--tracking-snug);
}
.system-desc {
  font-size: var(--fs-sm); line-height: var(--lh-base); color: var(--fg-body);
}
.system-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}
.system-tools { display: flex; align-items: center; gap: 8px; }
.system-tool {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-fast) var(--ease-out);
}
.system-tool:hover { transform: translateY(-2px); }
.system-tool img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.system-tag {
  flex-shrink: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}

/* ===== PROCESS ===== */
.process { padding: var(--s-24) 0; background: var(--bg); }
.process-header { text-align: center; margin-bottom: var(--s-10); }
.process-sub {
  font-size: 17px; line-height: 1.6; color: var(--fg-body);
  max-width: 520px; margin: 0 auto; text-wrap: balance;
}

/* Stepper */
.stepper-nav {
  max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.stepper-item { display: flex; flex-direction: column; }

/* Static (always-expanded) row */
.stepper-row {
  display: flex; align-items: stretch; gap: var(--s-5);
}

.stepper-trigger {
  display: flex; align-items: flex-start; gap: var(--s-5);
  background: none; border: none; padding: 0;
  text-align: left; cursor: pointer; width: 100%;
  border-radius: var(--r-sm);
  transition: opacity var(--dur-fast) var(--ease-out);
}
.stepper-trigger:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
.stepper-item--inactive .stepper-trigger { opacity: 0.45; }
.stepper-item--inactive .stepper-trigger:hover { opacity: 0.7; }

/* Track: circle + vertical line */
.stepper-track {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 28px;
}
.stepper-indicator {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  position: relative; z-index: 1;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.stepper-indicator[data-state="completed"] {
  background: var(--fg); color: var(--bg);
  border: 2px solid var(--fg);
}
.stepper-indicator[data-state="active"] {
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--fg);
}
.stepper-indicator[data-state="inactive"] {
  background: var(--sand); color: var(--fg-muted);
  border: 2px solid var(--border-strong);
}

.stepper-separator {
  width: 2px; flex: 1; min-height: 28px;
  margin: 4px 0;
  border-radius: 9999px;
  background: var(--border-strong);
  transition: background var(--dur-base) var(--ease-out);
}
.stepper-separator[data-state="completed"] { background: var(--fg); }

/* Text */
.stepper-label {
  padding-top: 2px; padding-bottom: var(--s-3); flex: 1;
}
.stepper-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-lg); letter-spacing: var(--tracking-snug);
  color: var(--fg); line-height: 1.3;
  transition: color var(--dur-fast) var(--ease-out);
}
.stepper-title[data-state="inactive"] { color: var(--fg-muted); }

.stepper-description {
  margin-top: var(--s-2);
  font-size: 15px; line-height: 1.65; color: var(--fg-body);
  max-width: 400px;
  animation: fadeSlideIn 0.28s var(--ease-out);
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESULTS ===== */
.results { padding: var(--s-24) 0; background: var(--bg-card); }
.results-header { text-align: center; margin-bottom: var(--s-10); }
.results-sub {
  font-size: 17px; line-height: 1.6; color: var(--fg-body);
  max-width: 520px; margin: 0 auto; text-wrap: balance;
}
.results-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8);
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.result-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 64px); color: var(--fg);
  letter-spacing: -0.03em; line-height: 1; margin-bottom: var(--s-3);
}
.result-label {
  font-size: 14px; line-height: 1.5; color: var(--fg-body);
  max-width: 220px; margin: 0 auto;
}

/* ===== TESTIMONIAL ===== */
.testimonial { padding: var(--s-16) 0 var(--s-24); background: var(--bg-card); border-top: 1px solid var(--border); }
.testimonial-inner {
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial-quote {
  font-family: var(--font-serif-italic); font-style: italic;
  font-size: clamp(18px, 3vw, 22px); line-height: 1.6;
  color: var(--fg); margin: 0 0 var(--s-6);
}
.testimonial-attr { display: flex; align-items: center; justify-content: center; gap: var(--s-3); }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.testimonial-meta { font-size: 14px; color: var(--fg-muted); }

/* ===== FAQ ===== */
.faq { padding: var(--s-24) 0; background: var(--bg-card); }
.faq-header { text-align: center; margin-bottom: var(--s-10); }
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.faq-item--open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  width: 100%; text-align: left;
  padding: var(--s-5) var(--s-6);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-md); color: var(--fg);
  letter-spacing: var(--tracking-snug);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-question:hover { color: var(--accent); }
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-q-text { flex: 1; }
.faq-q-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-card); color: var(--fg-muted);
  transition: transform var(--dur-base) var(--ease-spring),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.faq-item--open .faq-q-icon { background: var(--accent); color: #fff; transform: rotate(180deg); }
.faq-answer {
  padding: 0 var(--s-6) var(--s-5);
  animation: fadeSlideIn 0.28s var(--ease-out);
}
.faq-answer p {
  font-size: 15px; line-height: 1.7; color: var(--fg-body);
  margin: 0; max-width: 620px;
}

@media (max-width: 640px) {
  .faq-question { padding: var(--s-4) var(--s-5); font-size: var(--fs-base); }
  .faq-answer { padding: 0 var(--s-5) var(--s-4); }
}

/* ===== FINAL CTA — centered dark card ===== */
.final-cta {
  padding: var(--s-24) var(--s-8);
  background: var(--ink-900); color: var(--linen);
  position: relative;
}
.final-cta-card {
  position: relative;
  max-width: 920px; margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px) clamp(32px, 5vw, 56px);
  border-radius: var(--r-2xl);
  background: radial-gradient(120% 120% at 50% 0%, #2c2722 0%, #1a1a18 58%);
  border: 1px solid rgba(242,237,228,0.08);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.final-cta-badge {
  display: inline-block;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(201,98,42,0.4);
  background: rgba(201,98,42,0.08);
  margin-bottom: var(--s-6);
}
.final-cta-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--linen);
  margin: 0 0 var(--s-5);
}
.final-cta-title .accent-text { color: var(--accent); }
.final-cta-sub {
  font-size: 17px; line-height: 1.6;
  color: rgba(242,237,228,0.6);
  max-width: 540px; margin: 0 auto var(--s-8);
}

/* ===== VISUAL BOOKING CALENDAR (funnels to cal.com) ===== */
.final-cta-cal { width: 100%; margin: 0 auto; }
.cal-visual {
  width: 100%; max-width: 360px; margin: 0 auto;
  background: rgba(242,237,228,0.04);
  border: 1px solid rgba(242,237,228,0.1);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  animation: fadeSlideIn 0.5s var(--ease-out);
}
.cal-visual-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-4);
}
.cal-visual-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-md); color: var(--linen);
}
.cal-visual-nav {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  color: rgba(242,237,228,0.7);
  background: rgba(242,237,228,0.06);
  border: 1px solid rgba(242,237,228,0.1);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cal-visual-nav:hover { background: rgba(242,237,228,0.12); color: var(--linen); }
.cal-visual-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-visual-wd {
  text-align: center; font-size: 10px; font-weight: 600;
  color: rgba(242,237,228,0.4); text-transform: uppercase;
  padding: 4px 0;
}
.cal-visual-day {
  aspect-ratio: 1; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 500;
  color: rgba(242,237,228,0.82);
  background: none; border: none; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.cal-visual-day:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.cal-visual-day.is-out { color: rgba(242,237,228,0.16); pointer-events: none; }
.cal-visual-day.is-today { background: rgba(201,98,42,0.28); color: var(--linen); font-weight: 700; }
.cal-visual-day.is-today:hover { background: var(--accent); }

@media (max-width: 900px) {
  .final-cta-card { padding: 40px 22px 32px; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--deep-ink); color: var(--linen);
  padding: var(--s-10) var(--s-8) var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: var(--s-8); flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--linen); }
.footer-brand img { height: 26px; width: auto; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: rgba(242,237,228,0.6); font-size: 13px; font-weight: 500; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--linen); }
.footer-meta {
  font-size: 12px; color: rgba(242,237,228,0.35); width: 100%;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: var(--s-5); margin-top: var(--s-2);
}

/* ===== ABOUT ME ===== */
.about { padding: var(--s-24) 0; background: var(--bg); }
.about-header { margin-bottom: var(--s-10); text-align: center; }
.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.about-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-md);
  margin-bottom: var(--s-5);
}
.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  display: block;
}
.about-text-col {
  margin-top: var(--s-6);
}
.about-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
  line-height: var(--lh-tight);
  margin: 0 0 var(--s-1);
}
.about-role {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-6);
}
.about-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-body);
  margin: 0 0 var(--s-4);
}
.about-body p:last-child { margin-bottom: 0; }
.about-closer {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 18px !important;
  color: var(--fg) !important;
  letter-spacing: var(--tracking-snug);
  margin-top: var(--s-2);
}
.about-text-col .btn-icon-pill {
  margin-top: var(--s-6);
}

@media (max-width: 640px) {
  .about-avatar {
    width: 110px;
    height: 110px;
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.vis { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; gap: var(--s-10); }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  /* Nav */
  .nav-bar { padding: 0 20px; }

  /* Layout containers */
  .wrap, .wrap-narrow { padding: 0 20px; }

  /* Hero */
  .hero { padding: 48px 20px 0; }
  .hero-title { font-size: clamp(40px, 12vw, 60px); line-height: 1.0; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }

  /* Sections */
  .section-pad { padding: 56px 0; }
  .section-pad-lg { padding: 72px 0; }
  .section-title { font-size: clamp(32px, 10vw, 48px); }

  /* Systems cards */
  .system-card { padding: var(--s-5); }

  /* Results */
  .results-grid { grid-template-columns: 1fr; }

  /* Final CTA */
  .final-cta { padding: 72px 20px; }
}

/* ── Small phones (≤390px) ── */
@media (max-width: 390px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  .nav-bar { padding: 0 16px; }
  .hero { padding: 36px 16px 0; }
  .hero-title { font-size: clamp(36px, 11vw, 48px); }
  .final-cta { padding: 56px 16px; }
}
