/* ══════════════════════════════════════════════════════════
   Butler Marketing — Oceanic Light Design System
   Fonts: Space Grotesk (display) + DM Sans (body)
   Palette: Ocean teal, slate neutrals, coral accent
   ══════════════════════════════════════════════════════════ */

:root {
  --ocean-50: #ecfeff;
  --ocean-100: #cffafe;
  --ocean-200: #a5f3fc;
  --ocean-500: #06b6d4;
  --ocean-600: #0891b2;
  --ocean-700: #0e7490;
  --ocean-800: #155e75;
  --ocean-900: #164e63;

  --coral-100: #ffedd5;
  --coral-400: #fb923c;
  --coral-500: #f97316;
  --coral-600: #ea580c;

  --seafoam-50: #ecfdf5;
  --seafoam-100: #d1fae5;
  --seafoam-500: #10b981;
  --seafoam-600: #059669;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;
  --line: #e2e8f0;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 200ms;
  --dur-md: 600ms;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.03);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 14px 44px rgba(0,0,0,.13);

  --max-w: 1180px;
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
::selection { background: var(--ocean-100); color: var(--ocean-900); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Scroll Reveal & Hide ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity var(--dur-md) var(--ease), transform var(--dur-md) var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

/* ── Header ────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; height: 68px; }

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 10;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ocean-600), var(--ocean-500));
  box-shadow: var(--shadow-sm);
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: 10px;
  padding: 8px 14px;
  transition: all var(--dur) var(--ease);
}
.nav-link:hover { background: var(--slate-100); color: var(--slate-900); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1rem;
  color: var(--slate-600);
  margin-left: auto;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .84rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; border-radius: 14px; font-size: .88rem; }
.btn-sm { padding: 8px 14px; border-radius: 10px; font-size: .78rem; }

.btn-primary {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--ocean-600), var(--ocean-500));
  color: #fff;
  box-shadow: 0 2px 8px rgba(8,145,178,.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(8,145,178,.35); }

.btn-outline {
  padding: 10px 22px;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,.7);
  color: var(--slate-800);
}
.btn-outline:hover { border-color: var(--ocean-200); background: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  padding: 8px 14px;
}
.btn-ghost:hover { background: var(--slate-100); color: var(--slate-900); }

.btn-white {
  padding: 14px 28px;
  border-radius: 14px;
  background: #fff;
  color: var(--ocean-700);
  font-weight: 800;
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-hero-outline {
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }

.btn-accent { background: var(--seafoam-500); color: #fff; }

/* ── Hero (Full-bleed image) ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,.25) 0%,
    rgba(15,23,42,.4) 50%,
    rgba(15,23,42,.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 740px;
  padding: 130px 24px 90px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.12);
}
.hero-content .lede {
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: .76rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .02em; }

/* ── Section System ────────────────────── */
.section-white { background: var(--white); }
.section-pearl { background: var(--slate-50); }
.section-mist { background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%); }
.section-mint { background: linear-gradient(180deg, var(--seafoam-50) 0%, #f8fdfb 100%); }
.section-sand { background: linear-gradient(180deg, #fffbeb 0%, #fefce8 50%, #fffdf5 100%); }

.section-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--ocean-50);
  color: var(--ocean-700);
  margin-bottom: 14px;
}
.section-label-coral {
  background: var(--coral-100);
  color: var(--coral-600);
}

.section-title { text-align: center; margin-bottom: 54px; }
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  letter-spacing: -.04em;
  line-height: 1.12;
  margin-bottom: 12px;
  color: var(--slate-900);
}
.section-title p { color: var(--slate-500); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── Image Divider (Parallax strip) ───── */
.image-divider {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.image-divider img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  position: absolute;
  top: -20%;
  will-change: transform;
}

/* ── Module Cards ──────────────────────── */
.modules { padding: 96px 0; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ocean-200); }
.module-chip {
  display: inline-flex;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ocean-700);
  background: var(--ocean-50);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.module-card p { font-size: .86rem; color: var(--slate-500); margin-bottom: 14px; }
.module-link {
  color: var(--ocean-600);
  font-size: .83rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur) var(--ease);
}
.module-link::after { content: '\2192'; }
.module-card:hover .module-link { gap: 10px; }

/* ── Showcase (Story sections) ─────────── */
.showcase,
.showcase-alt { padding: 100px 0; }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 72px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-row.reverse .showcase-visual { order: 1; }
.showcase-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  margin-bottom: 12px;
  color: var(--slate-900);
}
.showcase-copy > p { color: var(--slate-600); font-size: .94rem; margin-bottom: 20px; line-height: 1.7; }
.story-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral-600);
  background: var(--coral-100);
  border-radius: 999px;
  padding: 6px 12px;
}
.check-list { list-style: none; margin-bottom: 24px; }
.check-list li {
  display: flex;
  gap: 10px;
  font-size: .87rem;
  color: var(--slate-600);
  margin-bottom: 7px;
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
  background: var(--seafoam-100);
  border: 1px solid #b6e9d4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.showcase-visual {
  min-height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.showcase-visual img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.showcase-visual:hover img { transform: scale(1.04); }

/* ── How It Works ──────────────────────── */
.how-it-works { padding: 96px 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  border: 1px solid #d1e7dd;
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--seafoam-500), var(--seafoam-600));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.step-card p { font-size: .86rem; color: var(--slate-500); }

/* ── Advantages (Dark section) ─────────── */
.advantages {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--slate-900), #162033 40%, #1a2d42 100%);
  color: #e2e8f0;
}
.advantages .section-title h2 { color: #f1f5f9; }
.advantages .section-title p { color: var(--slate-400); }
.advantages .section-label { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.adv-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 26px 22px;
  transition: all var(--dur) var(--ease);
}
.adv-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.adv-marker {
  display: inline-flex;
  background: rgba(6,182,212,.2);
  color: var(--ocean-200);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 12px;
}
.adv-card h4 { font-family: var(--font-display); margin-bottom: 7px; font-size: .98rem; color: #f1f5f9; }
.adv-card p { color: var(--slate-400); font-size: .84rem; line-height: 1.6; }

/* ── CTA Band ──────────────────────────── */
.cta-band {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--ocean-700), var(--ocean-500));
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 40%);
  pointer-events: none;
}
.cta-band h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  letter-spacing: -.035em;
  margin-bottom: 10px;
  position: relative;
}
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 26px; position: relative; }
.cta-band .btn { position: relative; }

/* ── Footer ────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.footer-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ocean-600), var(--ocean-500));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  font-weight: 800;
}
.footer-desc { color: var(--slate-500); font-size: .82rem; margin-bottom: 16px; line-height: 1.65; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: .78rem;
  font-weight: 700;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,.08); color: #fff; }

.footer-col h5 {
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--slate-500);
}
.footer-col a { display: block; font-size: .82rem; color: var(--slate-400); padding: 4px 0; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--slate-500);
}
.footer-bottom a { color: var(--slate-400); }

/* ── Inner Hero (Sub-pages) ────────────── */
.inner-hero {
  padding: 128px 0 58px;
  text-align: center;
  background: linear-gradient(180deg, #f0f9ff 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.inner-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  letter-spacing: -.04em;
  margin-bottom: 12px;
  color: var(--slate-900);
}
.inner-hero p { color: var(--slate-500); max-width: 540px; margin: 0 auto; font-size: 1rem; }

/* ── Pricing ───────────────────────────── */
.pricing,
.docs,
.contact { padding: 88px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--ocean-200); box-shadow: var(--shadow-md); }
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .58rem;
  letter-spacing: .06em;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ocean-600), var(--ocean-500));
  color: #fff;
  padding: 5px 13px;
  border-radius: 999px;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 4px; color: var(--slate-900); }
.price-desc { color: var(--slate-500); font-size: .8rem; margin-bottom: 18px; }
.price-amount { display: flex; gap: 3px; align-items: baseline; margin-bottom: 22px; }
.currency { font-size: 1.15rem; font-weight: 700; color: var(--slate-900); }
.amount { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--slate-900); }
.period { font-size: .8rem; color: var(--slate-500); }
.price-features { list-style: none; margin-bottom: 24px; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--slate-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 999px;
  flex-shrink: 0;
  background: var(--seafoam-100);
  border: 1px solid #b6e9d4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}
.price-features li.disabled { color: var(--slate-400); }
.price-features li.disabled::before {
  background: var(--slate-100);
  border-color: var(--slate-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

/* ── Docs ───────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
}
.docs-sidebar { position: sticky; top: 86px; align-self: start; }
.docs-sidebar h5 {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 10px;
}
.docs-sidebar a {
  display: block;
  padding: 7px 12px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  color: var(--slate-600);
  font-size: .83rem;
  transition: all var(--dur) var(--ease);
}
.docs-sidebar a:hover { background: var(--ocean-50); color: var(--slate-800); }
.docs-sidebar a.active {
  background: var(--ocean-50);
  color: var(--ocean-700);
  border-left-color: var(--ocean-600);
  font-weight: 700;
}

.docs-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  padding-top: 18px;
  color: var(--slate-900);
}
.docs-content h2:first-child { padding-top: 0; }
.docs-content h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  margin: 32px 0 10px;
  color: var(--slate-800);
}
.docs-content p { color: var(--slate-600); font-size: .9rem; margin-bottom: 12px; }
.docs-content code {
  background: var(--ocean-50);
  border: 1px solid var(--ocean-100);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ocean-700);
  font-size: .8rem;
}
.docs-content pre {
  background: var(--slate-900);
  color: var(--slate-200);
  border-radius: 14px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--slate-700);
}
.docs-content pre code { background: transparent; border: none; color: inherit; padding: 0; }

.step-list { counter-reset: step; list-style: none; }
.step-list li {
  position: relative;
  counter-increment: step;
  padding-left: 48px;
  margin-left: 12px;
  padding-bottom: 24px;
  border-left: 2px solid var(--slate-200);
}
.step-list li:last-child { border-left-color: transparent; }
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ocean-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}
.step-list li h4 { font-family: var(--font-display); font-size: .92rem; margin-bottom: 4px; color: var(--slate-800); }
.step-list li p { font-size: .83rem; color: var(--slate-600); }

/* ── Contact ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--slate-900);
}
.contact-info > p { color: var(--slate-500); margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--ocean-50);
  color: var(--ocean-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-family: var(--font-display); font-size: .9rem; margin-bottom: 2px; color: var(--slate-800); }
.contact-item p { font-size: .82rem; color: var(--slate-500); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.contact-form h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 24px; color: var(--slate-900); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 6px; color: var(--slate-600); }
.form-control {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--slate-800);
  padding: 11px 14px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--ocean-200);
  box-shadow: 0 0 0 3px rgba(6,182,212,.12);
}
.form-control::placeholder { color: var(--slate-400); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
textarea.form-control { min-height: 120px; resize: vertical; }

/* ── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { max-width: 600px; }
  .hero-content h1 { font-size: 2.4rem; }

  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-row { grid-template-columns: 1fr; gap: 32px; }
  .showcase-row.reverse .showcase-copy { order: 1; }
  .showcase-row.reverse .showcase-visual { order: 2; }
  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .docs-sidebar h5 { width: 100%; }
  .docs-sidebar a { border-left: none; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .image-divider { height: 220px; }
}

@media (max-width: 768px) {
  .site-header .container { height: 62px; }

  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 5;
  }
  .nav.open { display: flex; }
  .nav-link { font-size: 1.05rem; padding: 12px 22px; }
  .nav-cta {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 14px;
    flex-direction: column;
  }
  .nav-cta .btn { width: 180px; justify-content: center; }
  .nav-toggle { display: block; }

  .hero { min-height: 85vh; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content { padding: 100px 20px 60px; }

  .modules-grid,
  .adv-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .inner-hero { padding: 104px 0 44px; }
  .image-divider { height: 180px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
