/* ═══════════════════════════════════════════════════════════════════════
   THESIDEKICK — WARM LIGHT THEME
   Warm, approachable, conversational. Not corporate or startup-bro.
   ═══════════════════════════════════════════════════════════════════════ */

/* ━━━ DESIGN TOKENS ━━━ */
:root {
  /* Core Palette */
  --bg: #FDFBF7;
  --bg-alt: #F5F0E8;
  --bg-card: #FFFFFF;
  --text: #2D2A26;
  --text-secondary: #6B6560;
  --text-tertiary: #9B9590;

  --accent: #E07A5F;
  --accent-hover: #C96A51;
  --accent-light: rgba(224, 122, 95, 0.08);
  --secondary: #81B29A;
  --secondary-light: rgba(129, 178, 154, 0.1);
  --warm-gold: #C29858;
  --warm-gold-light: rgba(194, 152, 88, 0.08);

  --border: rgba(45, 42, 38, 0.07);
  --border-hover: rgba(45, 42, 38, 0.14);

  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.5rem;
  --text-5xl: 4.5rem;

  /* 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;

  /* Timing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;

  /* Shadows — warm-tinted */
  --shadow-xs: 0 1px 2px rgba(45, 42, 38, 0.04);
  --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.06), 0 1px 2px rgba(45, 42, 38, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 42, 38, 0.06), 0 2px 4px rgba(45, 42, 38, 0.04);
  --shadow-lg: 0 12px 40px rgba(45, 42, 38, 0.08), 0 4px 12px rgba(45, 42, 38, 0.04);
  --shadow-xl: 0 24px 56px rgba(45, 42, 38, 0.1), 0 8px 16px rgba(45, 42, 38, 0.04);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv01', 'cv02', 'ss01';
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  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");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ━━━ TYPOGRAPHY ━━━ */
h1, h2 {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  line-height: 1.75;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

strong {
  font-weight: 600;
  color: var(--text);
}

em {
  font-style: italic;
}

/* ━━━ LAYOUT ━━━ */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide {
  max-width: 960px;
}

.container--narrow {
  max-width: 600px;
}

/* ━━━ BUTTONS ━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(224, 122, 95, 0.2), 0 1px 2px rgba(224, 122, 95, 0.15);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(224, 122, 95, 0.28), 0 2px 4px rgba(224, 122, 95, 0.2);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(224, 122, 95, 0.2);
}

.btn--accent {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(224, 122, 95, 0.2), 0 1px 2px rgba(224, 122, 95, 0.15);
  font-size: var(--text-base);
  padding: var(--space-5) var(--space-10);
}

.btn--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(224, 122, 95, 0.28), 0 2px 4px rgba(224, 122, 95, 0.2);
  transform: translateY(-1px);
}

.btn--accent:active {
  transform: translateY(0);
}

.btn-text {
  position: relative;
}

.btn-icon {
  display: flex;
  align-items: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ━━━ SECTION HEADERS ━━━ */
.section-header {
  margin-bottom: var(--space-12);
  max-width: 600px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
}

.section-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ━━━ VISUALLY HIDDEN (a11y) ━━━ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visually-hidden:focus {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-6);
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 100px;
  z-index: 10000;
  box-shadow: var(--shadow-lg);
}

/* ━━━ NAVIGATION ━━━ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(45, 42, 38, 0.04);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-brand:hover {
  color: var(--accent);
}

.nav-brand-text {
  /* inherits from .nav-brand */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-link {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-status {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: 5px var(--space-3);
  background: rgba(129, 178, 154, 0.06);
  border: 1px solid var(--secondary-light);
  border-radius: 100px;
}

@media (min-width: 640px) {
  .nav-status {
    display: flex;
  }
}

.nav-status-indicator {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-indicator 3s ease-in-out infinite;
}

@keyframes pulse-indicator {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(129, 178, 154, 0.3);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0);
  }
}

.nav-status-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* ━━━ HERO SECTION ━━━ */
.hero {
  padding: calc(var(--space-32) + var(--space-8)) 0 var(--space-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(224, 122, 95, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(129, 178, 154, 0.02) 0%, transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

/* Floating gradient accent blob */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.06) 0%, rgba(194, 152, 88, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float-blob 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, 15px) scale(1.05);
  }
  66% {
    transform: translate(10px, -10px) scale(0.97);
  }
}

@media (min-width: 768px) {
  .hero {
    padding: calc(var(--space-32) + var(--space-16)) 0 var(--space-24);
  }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-10);
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-size: var(--text-4xl);
  line-height: 1.1;
  margin-bottom: var(--space-10);
  max-width: 720px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
    line-height: 1.08;
  }
}

.hero-title-line {
  display: block;
}

.hero-title-em {
  position: relative;
  color: var(--accent);
  font-style: italic;
}

.hero-title-em::after {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 4px;
  height: 10px;
  background: var(--accent-light);
  border-radius: 4px;
  z-index: -1;
}

@media (min-width: 768px) {
  .hero-title-em::after {
    bottom: 6px;
    height: 14px;
  }
}

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

.hero-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .hero-footer {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-12);
  }
}

.hero-description {
  max-width: 400px;
}

.hero-description p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}

.hero-cta-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  padding-left: var(--space-1);
}

.hero-cta-note-icon {
  font-size: var(--text-sm);
  line-height: 1;
  opacity: 0.6;
}

/* ━━━ METRICS SECTION ━━━ */
.metrics {
  padding: var(--space-12) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  text-align: center;
}

@media (min-width: 640px) {
  .metrics-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.metric {
  padding: var(--space-6) var(--space-4);
}

@media (min-width: 640px) {
  .metric:not(:last-child) {
    border-right: 1px solid var(--border);
  }
}

.metric-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
}

.metric-number {
  font-feature-settings: 'tnum';
}

.metric-unit {
  font-size: var(--text-lg);
  font-weight: 400;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--accent-light);
  border-radius: 100px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.metric-badge-icon {
  font-size: var(--text-xs);
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ━━━ PROBLEM SECTION ━━━ */
.problem {
  padding: var(--space-20) 0;
}

@media (min-width: 768px) {
  .problem {
    padding: var(--space-24) 0;
  }
}

.problem-intro {
  margin-bottom: var(--space-12);
}

.problem-intro-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}

.problem-tried {
  margin-bottom: var(--space-12);
}

.problem-tried-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.problem-tried-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.problem-tried-header p {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.problem-tried-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-left: var(--space-10);
}

.problem-tried-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
}

.problem-tried-bullet {
  display: inline-block;
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 1px;
  flex-shrink: 0;
  margin-top: 12px;
}

.problem-solution {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-8);
  background: var(--bg-card);
  border-left: 2px solid var(--secondary);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
}

.problem-solution-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--secondary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.problem-solution-text {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--text);
}

.problem-solution-text em {
  color: var(--accent);
  font-style: italic;
}

/* ━━━ CAPABILITIES MARQUEE ━━━ */
.capabilities {
  padding: var(--space-6) 0;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.capabilities-track {
  display: flex;
  gap: var(--space-6);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.capabilities-item {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text);
  font-style: italic;
}

.capabilities-dot {
  font-size: var(--text-base);
  color: var(--text-tertiary);
  opacity: 0.4;
}

/* ━━━ PROCESS / TIMELINE ━━━ */
.process {
  padding: var(--space-20) 0;
  background: var(--bg-alt);
}

@media (min-width: 768px) {
  .process {
    padding: var(--space-24) 0;
  }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  position: relative;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--secondary) 100%);
  opacity: 0.2;
}

.timeline-step {
  display: flex;
  gap: var(--space-6);
  position: relative;
}

.timeline-number {
  position: absolute;
  left: calc(-1 * var(--space-12));
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 0 5px rgba(224, 122, 95, 0.15);
}

.timeline-content {
  flex: 1;
  padding-top: var(--space-1);
}

.timeline-title {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline-description {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ━━━ SERVICES ━━━ */
.services {
  padding: var(--space-20) 0;
}

@media (min-width: 768px) {
  .services {
    padding: var(--space-24) 0;
  }
}

.services-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.service-card {
  position: relative;
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all var(--duration-slow) var(--ease-out);
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-card {
    padding: var(--space-12);
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-6);
  display: inline-block;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.service-card-content {
  position: relative;
}

.service-card-title {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-card-description {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-secondary);
}

.services-footer {
  margin-top: var(--space-12);
  text-align: center;
  padding: 0 var(--space-8);
}

.services-footer-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

/* ━━━ IDEAL CLIENT ━━━ */
.ideal-client {
  padding: var(--space-20) 0;
  background: var(--bg-alt);
}

@media (min-width: 768px) {
  .ideal-client {
    padding: var(--space-24) 0;
  }
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

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

.criteria-marker {
  width: 9px;
  height: 9px;
  background: transparent;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.criteria-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ━━━ CTA SECTION ━━━ */
.cta {
  padding: var(--space-20) 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cta {
    padding: var(--space-24) 0;
  }
}

.cta-content {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Gradient top bar on CTA card */
.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--warm-gold), var(--secondary));
  border-radius: 20px 20px 0 0;
}

@media (min-width: 768px) {
  .cta-content {
    padding: var(--space-16) var(--space-12);
  }
}

.cta-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: var(--text-3xl);
  }
}

.cta-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.cta-pricing {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.cta-pricing-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: var(--space-3);
}

.cta-pricing-from {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.cta-pricing-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-pricing-period {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--text-tertiary);
}

.cta-pricing-note {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

.cta-includes {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  align-items: center;
}

@media (min-width: 640px) {
  .cta-includes {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-6);
  }
}

.cta-includes-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.cta-includes-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
  flex-shrink: 0;
}

.cta-guarantee {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--warm-gold-light);
  border: 1px solid rgba(194, 152, 88, 0.12);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.cta-guarantee-icon {
  color: var(--warm-gold);
  font-size: var(--text-base);
  line-height: 1;
}

.cta-guarantee strong {
  font-weight: 600;
  color: var(--text);
}

.cta-fine-print {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

/* ━━━ FOOTER ━━━ */
.footer {
  padding: var(--space-12) 0;
  background: var(--text);
  border-top: 2px solid var(--accent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--bg);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(253, 251, 247, 0.4);
}

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

@media (min-width: 768px) {
  .footer-contact {
    align-items: flex-end;
  }
}

.footer-email {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-email:hover {
  color: #E8937C;
}

.footer-copyright {
  font-size: 11px;
  color: rgba(253, 251, 247, 0.25);
  letter-spacing: 0.02em;
}

/* ━━━ ANIMATIONS ━━━ */
.anim-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

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

/* Hero title line stagger */
.hero-title .hero-title-line {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.anim-reveal.is-visible .hero-title-line:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.anim-reveal.is-visible .hero-title-line:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.anim-reveal.is-visible .hero-title-line:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 240ms;
}

/* ━━━ SELECTION & SCROLLBAR ━━━ */
::selection {
  background: rgba(224, 122, 95, 0.15);
  color: var(--text);
}

::-moz-selection {
  background: rgba(224, 122, 95, 0.15);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(45, 42, 38, 0.12);
  border: 2px solid var(--bg);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 42, 38, 0.2);
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 639px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .metric-value {
    font-size: var(--text-2xl);
  }

  .cta-title {
    font-size: var(--text-xl);
  }

  .cta-pricing-value {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--text-3xl);
  }
}

/* ━━━ FOCUS STATES ━━━ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ━━━ REDUCED MOTION ━━━ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .anim-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-title .hero-title-line {
    opacity: 1;
    transform: none;
  }

  .capabilities-track {
    animation: none;
  }

  .hero::before {
    animation: none;
  }

  body::after {
    display: none;
  }
}
