/* ========================================================
   M-POWER METHOD — DESIGN SYSTEM
   Dark-mode-first. Premium executive coaching aesthetic.
   WHOOP + Apple + dashboard feel.
   ======================================================== */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 1040px;
  --content-wide:    1280px;

  /* Fonts */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;
}

/* ── DARK MODE (DEFAULT) ──────────────────────────────── */
:root,
[data-theme="dark"] {
  --color-bg:              #0a0a0c;
  --color-surface:         #111114;
  --color-surface-2:       #18181c;
  --color-surface-offset:  #1e1e24;
  --color-surface-offset-2:#242430;
  --color-surface-dynamic: #2c2c38;
  --color-divider:         #1e1e28;
  --color-border:          #2a2a38;

  --color-text:            #e8e8f0;
  --color-text-muted:      #8080a0;
  --color-text-faint:      #46465a;
  --color-text-inverse:    #0a0a0c;

  /* Electric teal accent — premium, data-y */
  --color-accent:          #00c9b1;
  --color-accent-hover:    #00e0c5;
  --color-accent-dim:      rgba(0,201,177,0.12);
  --color-accent-glow:     rgba(0,201,177,0.25);

  /* For CTAs (slightly warmer) */
  --color-primary:         #00c9b1;
  --color-primary-hover:   #00e0c5;
  --color-primary-active:  #00a890;
  --color-primary-highlight: rgba(0,201,177,0.15);

  /* Supplementary */
  --color-red:    #ff4757;
  --color-gold:   #f9a825;
  --color-blue:   #4a90d9;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.6);
  --shadow-accent: 0 0 24px rgba(0,201,177,0.2);
}

/* ── LIGHT MODE ──────────────────────────────────────── */
[data-theme="light"] {
  --color-bg:              #f6f6fa;
  --color-surface:         #ffffff;
  --color-surface-2:       #f2f2f8;
  --color-surface-offset:  #eaeaf4;
  --color-surface-offset-2:#e2e2ee;
  --color-surface-dynamic: #d8d8ec;
  --color-divider:         #e0e0ee;
  --color-border:          #d0d0e4;

  --color-text:            #12121e;
  --color-text-muted:      #5858788;
  --color-text-faint:      #aaaac0;
  --color-text-inverse:    #f6f6fa;

  --color-accent:          #007a6b;
  --color-accent-hover:    #009080;
  --color-accent-dim:      rgba(0,122,107,0.10);
  --color-accent-glow:     rgba(0,122,107,0.20);

  --color-primary:         #007a6b;
  --color-primary-hover:   #009080;
  --color-primary-active:  #006057;
  --color-primary-highlight: rgba(0,122,107,0.12);

  --shadow-sm: 0 1px 2px rgba(18,18,30,0.06);
  --shadow-md: 0 4px 16px rgba(18,18,30,0.08);
  --shadow-lg: 0 16px 40px rgba(18,18,30,0.12);
  --shadow-accent: 0 0 24px rgba(0,122,107,0.15);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg:              #0a0a0c;
    --color-surface:         #111114;
    --color-surface-2:       #18181c;
    --color-surface-offset:  #1e1e24;
    --color-surface-offset-2:#242430;
    --color-surface-dynamic: #2c2c38;
    --color-divider:         #1e1e28;
    --color-border:          #2a2a38;
    --color-text:            #e8e8f0;
    --color-text-muted:      #8080a0;
    --color-text-faint:      #46465a;
    --color-text-inverse:    #0a0a0c;
    --color-accent:          #00c9b1;
    --color-accent-hover:    #00e0c5;
    --color-accent-dim:      rgba(0,201,177,0.12);
    --color-accent-glow:     rgba(0,201,177,0.25);
    --color-primary:         #00c9b1;
    --color-primary-hover:   #00e0c5;
    --color-primary-active:  #00a890;
    --color-primary-highlight: rgba(0,201,177,0.15);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.6);
    --shadow-accent: 0 0 24px rgba(0,201,177,0.2);
  }
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.1;
}

p, li {
  text-wrap: pretty;
  max-width: 68ch;
}

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

ul { list-style: none; }

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

::selection {
  background: var(--color-accent-dim);
  color: var(--color-text);
}

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

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

/* ── LAYOUT ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--wide {
  max-width: var(--content-wide);
}

/* ── SECTIONS ───────────────────────────────────────── */
.section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.section__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section__h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.section__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
  max-width: 55ch;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-interactive);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--color-accent-glow);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
}

.btn--sm  { font-size: var(--text-sm);  padding: 0.5rem 1rem; }
.btn--md  { font-size: var(--text-sm);  padding: 0.7rem 1.4rem; }
.btn--lg  { font-size: var(--text-base); padding: 0.85rem 1.8rem; }
.btn--xl  { font-size: var(--text-base); padding: 1.1rem 2.2rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── NAVIGATION ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-smooth);
}

[data-theme="light"] .nav {
  background: rgba(246,246,250,0.88);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-12));
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-left: var(--space-8);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.nav__links a:hover { color: var(--color-text); }

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-5) clamp(var(--space-5), 4vw, var(--space-12));
  gap: var(--space-4);
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}
.nav__mobile a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__actions { margin-left: auto; gap: var(--space-2); }
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

/* Subtle noise grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,201,177,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Dashboard grid floats in the background */
.dash-grid {
  position: absolute;
  right: max(-5%, -60px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(3, 150px);
  grid-template-rows: repeat(2, auto);
  gap: var(--space-4);
  opacity: 0.18;
  filter: blur(0.5px);
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 20%, rgba(0,0,0,0.7) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 20%, rgba(0,0,0,0.7) 60%, transparent 100%);
}

@media (max-width: 900px) {
  .dash-grid { opacity: 0.08; right: -10%; }
}
@media (max-width: 600px) {
  .dash-grid { display: none; }
}

.dash-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  backdrop-filter: blur(4px);
}

.dash-card--metric {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.dash-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.dash-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.dash-unit {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.dash-delta {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
}
.dash-delta.up { color: var(--color-accent); }

.dash-card--chart {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 80px;
  position: relative;
  overflow: hidden;
}

.dash-card--ring {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 6px var(--color-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--color-accent); }
  50% { opacity: 0.6; box-shadow: 0 0 12px var(--color-accent); }
}

.hero__h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: var(--space-5);
  max-width: 56ch;
}

.hero__hook {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 56ch;
}

.hero__hook em {
  font-style: normal;
  color: var(--color-accent);
  font-weight: 600;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.proof-item strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.proof-item span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

@media (max-width: 480px) {
  .hero__cta-group { flex-direction: column; align-items: flex-start; }
  .hero__proof { gap: var(--space-5); }
}

.br-md { display: none; }
@media (min-width: 600px) { .br-md { display: inline; } }

/* ── PROBLEM SECTION ────────────────────────────────── */
.section--problem {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.problem-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-smooth);
}

.problem-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-dim), var(--shadow-md);
  transform: translateY(-3px);
}

.problem-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  border: 1px solid var(--color-accent-glow);
}

.problem-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.problem-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.problem__close {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.fall-seven {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.fall-seven__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.fall-seven__rise {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.fall-seven__rise strong {
  color: var(--color-accent);
}

/* ── PILLARS SECTION ────────────────────────────────── */
.section--pillars {
  background: var(--color-bg);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 860px) {
  .pillars__grid { grid-template-columns: 1fr; max-width: 520px; }
}

.pillar-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--color-accent-dim), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.pillar-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pillar-card:hover::before { opacity: 1; }

.pillar-card__number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  opacity: 0.7;
}

.pillar-card__icon {
  color: var(--color-accent);
  width: 48px;
  height: 48px;
}

.pillar-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.pillar-card__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}

.pillar-card__footer {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent-glow);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

/* ── TIMELINE ───────────────────────────────────────── */
.section--timeline {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr 200px;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
  transition: all var(--transition-smooth);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item:hover {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  margin-inline: calc(var(--space-6) * -1);
  padding-inline: var(--space-6);
}

@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .timeline-item__visual { display: none; }
}

.timeline-item__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: var(--space-1);
}

.timeline-marker__num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-marker__line {
  width: 2px;
  flex: 1;
  min-height: 80px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-border));
  margin-top: var(--space-2);
}

.timeline-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.timeline-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.timeline-item__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.timeline-tags span {
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

.timeline-item__visual {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 90px;
  overflow: hidden;
  align-self: center;
}

/* ── TECH STACK ─────────────────────────────────────── */
.section--tech {
  background: var(--color-bg);
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.tech-card {
  display: flex;
  gap: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  transition: all var(--transition-smooth);
}

.tech-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tech-card--optional {
  border-style: dashed;
  opacity: 0.85;
}
.tech-card--optional:hover { opacity: 1; }

.tech-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  border: 1px solid var(--color-accent-glow);
}

.tech-card__content {
  flex: 1;
  min-width: 0;
}

.tech-card__num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: var(--space-2);
}

.tech-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.tech-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.tech-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.price-badge {
  padding: 0.25rem 0.75rem;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent-glow);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
}

.price-badge.optional {
  background: var(--color-surface-offset);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.tech-link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition-interactive);
}
.tech-link:hover { color: var(--color-accent-hover); text-decoration: underline; }

.tech-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.tech__footnote {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: fit-content;
}
.tech__footnote svg { flex-shrink: 0; color: var(--color-accent); }

/* ── OFFER SECTION ─────────────────────────────────── */
.section--offer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.offer__wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 900px) {
  .offer__wrapper { grid-template-columns: 1fr; }
}

.offer-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.offer-card__header {
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface-offset));
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-10);
}

.offer-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent-glow);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.offer-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.price-main {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.offer-card__value-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.offer-card__checklist {
  padding: var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.check-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.check-item span {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: none;
}

.check-item strong {
  color: var(--color-text);
}

.offer-card__cta {
  padding: var(--space-8) var(--space-10);
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.offer-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  max-width: none;
}

/* Offer sidebar */
.offer-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.sidebar-stat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}
.sidebar-stat:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.sidebar-stat__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
}
.sidebar-stat strong {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}
.sidebar-stat p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ── CONSULT SECTION ────────────────────────────────── */
.section--consult {
  background: var(--color-bg);
}

.consult__inner {
  text-align: center;
}

.consult__inner .section__h2 {
  font-size: var(--text-2xl);
}

.consult__inner .section__lead {
  margin-inline: auto;
}

.calendar-embed {
  margin-top: var(--space-10);
}

.calendar-placeholder {
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.calendar-placeholder svg {
  margin-inline: auto;
}

.calendar-placeholder h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.calendar-placeholder p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 44ch;
  margin-inline: auto;
}

.calendar-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  max-width: 40ch;
  margin-inline: auto;
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.footer__inner {
  display: flex;
  gap: var(--space-16);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-12);
}

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; gap: var(--space-10); }
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.footer__hook {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.footer__links {
  display: flex;
  gap: var(--space-16);
}

@media (max-width: 480px) {
  .footer__links { gap: var(--space-10); }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}

.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.footer__col a:hover { color: var(--color-accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__bottom a {
  color: var(--color-text-faint);
  transition: color var(--transition-interactive);
}
.footer__bottom a:hover { color: var(--color-text-muted); }

.footer__bottom span { margin-inline: var(--space-2); }

/* ── SCROLL ANIMATIONS ─────────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
  transform: translateY(28px);
}

[data-animate="slide-right"] {
  transform: translateX(-24px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ── UTILITY ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
