/* ═══════════════════════════════════════════════════════════════
   Skillbee — main.css
   Design system ported from the Figma marketing set + app prototype.
   Colors, type, decorative motifs (hexagon honeycomb, sparkle ✦,
   wavy underline) all match the source design.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600;1,700;1,800&display=swap');

/* ──────────────── Tokens ──────────────── */
:root {
  /* Brand palette — pulled from the Figma marketing set */
  --orange-300: #FFB060;
  --orange-400: #FA7F0E;
  --orange-500: #FD8914;
  --orange-600: #F26800;
  --orange-700: #D44414;
  --orange-deep: #B23308;

  --cream-50:  #FFF8F0;
  --cream-100: #FBEFE0;
  --cream-200: #F5E4D0;
  --sage-200:  #DAE2D3;
  --sand-200:  #F0ECE3;
  --stone-500: #817E73;
  --stone-600: #61605D;
  --stone-700: #524B40;

  --ink-900:   #1D1F21;
  --ink-800:   #0E0B0F;

  /* Semantic */
  --bg:         var(--cream-50);
  --bg-alt:     #FFFFFF;
  --surface:    #FFFFFF;
  --text:       var(--ink-900);
  --text-soft:  #6B6862;
  --text-muted: #9A958A;
  --line:       rgba(29,31,33,0.08);
  --line-strong:rgba(29,31,33,0.14);

  --accent:    var(--orange-500);
  --accent-2:  var(--orange-600);
  --accent-3:  var(--orange-700);

  /* Shadows */
  --shadow-card:    0 1px 0 rgba(255,255,255,0.7) inset, 0 8px 24px rgba(15,15,15,0.04);
  --shadow-lift:    0 14px 40px rgba(15,15,15,0.08);
  --shadow-cta:     0 10px 28px rgba(212,68,20,0.32);
  --shadow-cta-hov: 0 14px 36px rgba(212,68,20,0.42);
  --shadow-deep:    0 24px 60px rgba(0,0,0,0.18);

  /* Layout */
  --container:  1180px;
  --gutter:     22px;
  --radius-sm:  12px;
  --radius-md:  18px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full:999px;
}

/* ──────────────── Reset ──────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ──────────────── Typography ──────────────── */
.h-display {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.h-italic {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft);
}
.text-soft { color: var(--text-soft); }

/* Wordmark — used in nav */
.wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.wordmark .dot { color: var(--accent); }

/* ──────────────── Layout ──────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 64px 0; position: relative; }
.section-tight { padding: 40px 0; }

/* ──────────────── Background motifs ──────────────── */
/* Honeycomb hexagon pattern from the icon — used as decorative bg */
.hex-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hex-bg svg {
  position: absolute;
  width: 220%; height: 220%;
  top: -60%; left: -60%;
  opacity: 0.1;
  animation: hexDrift 60s linear infinite;
}
.hex-bg.subtle svg { opacity: 0.05; }
@keyframes hexDrift {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Sparkle decorative glyph */
.sparkle {
  display: inline-block;
  color: var(--accent);
  animation: sparkleTwinkle 3s ease-in-out infinite;
}
.sparkle::before { content: '✦'; }
@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(1.25) rotate(15deg); opacity: 0.7; }
}

/* Wavy underline (matches line-6.svg from prototype) */
.wavy {
  position: relative;
  display: inline-block;
}
.wavy::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  bottom: -0.18em;
  height: 0.35em;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 Q 16 1 30 6 T 60 6 T 90 6 T 118 6' fill='none' stroke='%23FD8914' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ──────────────── Buttons ──────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px;
  border-radius: var(--radius-full);
  font-weight: 700; font-size: 16px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hov);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--cream-100);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--cream-200);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px;
  border-radius: var(--radius-full);
  background: rgba(29,31,33,0.06);
  font-size: 13px; font-weight: 600;
}
.pill-orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
}
.pill-cream {
  background: var(--cream-100);
  color: var(--orange-700);
}

/* ──────────────── Header ──────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,248,240,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-brand .brand-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(212,68,20,0.25);
  flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(29,31,33,0.04); }
.nav-links a.active { color: var(--accent); background: rgba(253,137,20,0.08); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(29,31,33,0.05);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ──────────────── Hero ──────────────── */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(253,137,20,0.20), transparent 60%),
    linear-gradient(180deg, var(--cream-50) 0%, #fff 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(253,137,20,0.12);
  color: var(--orange-700);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 800;
}
.hero p.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-meta {
  display: flex; gap: 20px; align-items: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-soft);
}
.hero-meta strong { color: var(--text); font-weight: 700; }

/* Hero illustration — iPhone with library screenshot */
.hero-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 640px;
}
.hero-art .iphone-frame {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19.5;
  background: #1D1F21;
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #2a2724,
    0 0 0 3px rgba(255,255,255,0.06),
    var(--shadow-deep),
    0 50px 80px -20px rgba(0,0,0,0.35);
  animation: phoneRise 8.5s ease-in-out infinite;
}
.hero-art .iphone-frame::before {
  /* Dynamic island */
  content: '';
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 3;
}
.hero-art .iphone-frame::after {
  /* Subtle inner highlight */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 46px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.04) 100%);
  z-index: 2;
}
.hero-art .iphone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--cream-50);
  z-index: 1;
}
.hero-art .iphone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
@keyframes phoneRise {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-art .floating-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.hero-art .floating-card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.hero-art .floating-card.fc-1 {
  top: 90px; left: -10px;
  animation-delay: 0s;
}
.hero-art .floating-card.fc-2 {
  bottom: 100px; right: -10px;
  animation-delay: -3s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes beeFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}
@keyframes hexFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, -8px); }
}

/* ──────────────── Section heading ──────────────── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .eyebrow { margin-bottom: 14px; display: inline-block; color: var(--orange-700); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0;
}

/* ──────────────── AI tools grid ──────────────── */
.tools-section {
  background: linear-gradient(180deg, #fff 0%, var(--cream-50) 100%);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
.tool-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 110px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: #fff;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 24px rgba(212,68,20,0.18);
}
.tool-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(212,68,20,0.28);
}
.tool-tile .hex-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52'><polygon points='30,2 56,15 56,37 30,50 4,37 4,15' fill='none' stroke='white' stroke-width='1' opacity='0.22'/></svg>");
  background-size: 50px 44px;
  opacity: 0.8;
}
.tool-tile .tool-name {
  position: relative; z-index: 2;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-align: center;
  padding: 0 12px;
  text-shadow: 0 2px 10px rgba(94,30,2,0.22);
  line-height: 1;
}

/* ──────────────── Stat widgets (image 2 style) ──────────────── */
.stats-section {
  background: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-widget {
  position: relative;
  aspect-ratio: 1;
  border-radius: 28px;
  padding: 22px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(160deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(212,68,20,0.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat-widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(212,68,20,0.3);
}
.stat-widget .hex-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52'><polygon points='30,2 56,15 56,37 30,50 4,37 4,15' fill='none' stroke='white' stroke-width='1' opacity='0.28'/></svg>");
  background-size: 56px 48px;
  background-position: top right;
  opacity: 0.9;
}
.stat-widget .stat-icon {
  position: relative; z-index: 2;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.stat-widget .stat-body { position: relative; z-index: 2; }
.stat-widget .stat-value {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-widget .stat-value .dim { opacity: 0.55; }
.stat-widget .stat-label {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

/* ──────────────── Features ──────────────── */
.features-section { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--cream-50);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(253,137,20,0.3);
}
.feature-card .feat-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(212,68,20,0.25);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}

/* ──────────────── Big CTA band ──────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-deep);
}
.cta-band .hex-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52'><polygon points='30,2 56,15 56,37 30,50 4,37 4,15' fill='none' stroke='white' stroke-width='1.2' opacity='0.22'/></svg>");
  background-size: 80px 70px;
  opacity: 0.9;
  animation: hexFloat 12s ease-in-out infinite;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cta-band p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 auto 30px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--orange-700);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.cta-band .btn-primary:hover {
  background: var(--cream-50);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

/* ──────────────── Onboarding mockups ──────────────── */
.onboarding-section { background: linear-gradient(180deg, var(--cream-50), #fff); }
.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.onboard-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.onboard-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.onboard-visual {
  height: 280px;
  background: linear-gradient(180deg, #FD8914, #F26800);
  position: relative;
  overflow: hidden;
}
.onboard-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.onboard-card:hover .onboard-visual img {
  transform: scale(1.04);
}
.onboard-body {
  padding: 24px 24px 28px;
}
.onboard-body .step {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.onboard-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 8px 0 6px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.onboard-body p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

/* ──────────────── Page hero (legal + contact) ──────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(800px 360px at 50% -20%, rgba(253,137,20,0.18), transparent 60%),
    var(--cream-50);
  text-align: center;
}
.page-hero .eyebrow { color: var(--orange-700); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
  line-height: 1.05;
}
.page-hero .updated {
  font-size: 13px;
  color: var(--text-soft);
}

/* ──────────────── Legal content ──────────────── */
.legal {
  padding: 48px 0 96px;
  background: #fff;
}
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.legal h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
  scroll-margin-top: 90px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
}
.legal p {
  margin: 0 0 14px;
  color: var(--stone-700);
  font-size: 16px;
  line-height: 1.7;
}
.legal ul, .legal ol {
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--stone-700);
}
.legal ul li, .legal ol li {
  margin-bottom: 8px;
  line-height: 1.65;
  list-style: disc;
}
.legal ol li { list-style: decimal; }
.legal a { color: var(--orange-700); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

.legal-toc {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.legal-toc .eyebrow { color: var(--orange-700); margin-bottom: 12px; display: block; }
.legal-toc ol {
  padding-left: 22px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.legal-toc ol li { font-size: 14px; line-height: 1.5; color: var(--text); }
.legal-toc ol li a { color: inherit; font-weight: 500; }
.legal-toc ol li a:hover { color: var(--orange-700); }

/* ──────────────── Contact ──────────────── */
.contact {
  padding: 96px 0;
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: stretch;
}
.contact-card {
  background: var(--cream-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.contact-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.contact-card p { color: var(--text-soft); margin: 0 0 26px; line-height: 1.6; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.contact-row:hover { border-color: rgba(253,137,20,0.3); transform: translateY(-2px); }
.contact-row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.contact-row .meta {
  flex: 1; min-width: 0;
}
.contact-row .meta-label {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-row .meta-val {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
  word-break: break-all;
}
.contact-row .meta-val:hover { color: var(--orange-700); }

.contact-side {
  background: linear-gradient(160deg, var(--orange-500), var(--orange-700));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.contact-side .hex-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52'><polygon points='30,2 56,15 56,37 30,50 4,37 4,15' fill='none' stroke='white' stroke-width='1.2' opacity='0.22'/></svg>");
  background-size: 70px 60px;
  opacity: 0.9;
  animation: hexFloat 10s ease-in-out infinite;
}
.contact-side > * { position: relative; z-index: 2; }
.contact-side h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.contact-side p {
  margin: 0 0 24px;
  opacity: 0.92;
  line-height: 1.55;
}
.contact-side .side-bee {
  width: 110px;
  align-self: center;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.2));
  animation: beeFloat 5s ease-in-out infinite;
}

/* ──────────────── Footer ──────────────── */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.footer-brand .brand-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  overflow: hidden;
}
.footer-brand .word {
  color: #fff;
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
}
.footer-brand .word .dot { color: var(--orange-500); }
.footer-about {
  font-size: 14px;
  line-height: 1.6;
  max-width: 380px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .15s ease;
}
.footer-col ul li a:hover { color: var(--orange-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .copy strong { color: rgba(255,255,255,0.85); font-weight: 700; }

/* ──────────────── Animations ──────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }

/* Hero entrance */
.hero-enter > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEnter .9s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-enter > *:nth-child(1) { animation-delay: 0.1s; }
.hero-enter > *:nth-child(2) { animation-delay: 0.2s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.3s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.4s; }
.hero-enter > *:nth-child(5) { animation-delay: 0.5s; }
@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

.hero-art-enter {
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  animation: heroArtEnter 1.1s cubic-bezier(.2,.8,.2,1) 0.3s forwards;
}
@keyframes heroArtEnter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-enter > * { opacity: 1; transform: none; animation: none; }
  .hero-art-enter { opacity: 1; transform: none; animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Responsive — mobile-first finishing, iPhone-optimized
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-art { min-height: 600px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255,248,240,0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 28px;
    border-bottom: 1px solid var(--line);
    animation: slideDown .25s ease;
  }
  .nav-links.mobile-open li {
    padding: 24px 0;
  }
  .nav-links.mobile-open li:first-child {
    padding-top: 10px;
  }
  .nav-links.mobile-open li + li {
    border-top: 1px solid var(--line);
  }
  .nav-links.mobile-open a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    text-align: left;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .section { padding: 48px 0; }
  .hero { padding: 40px 0 64px; }
  .hero-art { min-height: 560px; }
  .hero-art .iphone-frame {
    width: 260px;
    border-radius: 42px;
    padding: 11px;
  }
  .hero-art .iphone-frame::before { width: 84px; height: 25px; top: 17px; }
  .hero-art .iphone-screen { border-radius: 32px; }
  .hero-art .floating-card { font-size: 12px; padding: 12px 14px; }
  .hero-art .floating-card .ico { width: 32px; height: 32px; }
  .hero-art .floating-card.fc-1 { top: 60px; left: 0px; }
  .hero-art .floating-card.fc-2 { bottom: 70px; right: 0px; }

  .features-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .onboarding-grid { grid-template-columns: 1fr; gap: 18px; }

  .cta-band { padding: 40px 24px; }
  .contact-card, .contact-side { padding: 28px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .btn { height: 52px; padding: 0 22px; font-size: 15px; }

  .legal h2 { font-size: 22px; }
  .legal p, .legal ul li, .legal ol li { font-size: 15px; }
}

@media (max-width: 420px) {
  /* iPhone narrow widths */
  :root { --gutter: 18px; }
  .hero h1 { font-size: 38px; }
  .hero p.lede { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 8px; align-items: center; text-align: center; }
  .hero-art { min-height: 520px; }
  .hero-art .iphone-frame {
    width: 230px;
    border-radius: 38px;
    padding: 10px;
  }
  .hero-art .iphone-frame::before { width: 76px; height: 22px; top: 14px; }
  .hero-art .iphone-screen { border-radius: 30px; }
  .hero-art .floating-card.fc-1 { left: -4px; top: 40px; }
  .hero-art .floating-card.fc-2 { right: -4px; bottom: 50px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-widget { padding: 18px; border-radius: 22px; }
  .stat-widget .stat-value { font-size: 26px; }
  .stat-widget .stat-label { font-size: 12px; }

  .tools-grid { gap: 10px; }
  .tool-tile { border-radius: 20px; }

  .feature-card { padding: 22px; }
  .feature-card .feat-ico { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }

  .cta-band { padding: 36px 20px; }
  .cta-band h2 { font-size: 26px; }

  .contact-card, .contact-side { padding: 24px 20px; }

  .legal-wrap { padding: 0 4px; }
}

/* No-JS fallback — make sure email is visible */
.no-js .reveal,
.no-js .reveal-stagger > *,
.no-js .hero-enter > *,
.no-js .hero-art-enter {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
