/* ============================================================
   Bismillah AI — Design System
   Supabase-inspired white-canvas system (per DESIGN.md).
   Emerald (#3ecf8e) is the ONLY chromatic event: CTAs + wordmark.
   Everything else is a monochrome grey ladder. No gradients.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand — emerald is scarce, CTAs + wordmark only */
  --primary: #3ecf8e;
  --primary-deep: #24b47e;
  --primary-soft: #4ade80;

  /* Ink */
  --ink: #171717;
  --ink-secondary: #212121;
  --ink-mute: #707070;
  --ink-mute-2: #9a9a9a;
  --ink-faint: #b2b2b2;
  --on-primary: #171717;   /* near-black text on emerald — deliberate */
  --on-dark: #ffffff;

  /* Surface */
  --canvas: #ffffff;
  --canvas-soft: #fafafa;
  --canvas-night: #1c1c1c;
  --canvas-night-soft: #202020;

  /* Hairlines */
  --hairline: #dfdfdf;
  --hairline-strong: #c7c7c7;
  --hairline-cool: #ededed;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;   /* buttons */
  --r-md: 8px;
  --r-lg: 12px;  /* cards */
  --r-xl: 16px;
  --r-full: 9999px;

  /* Spacing */
  --s-xxs: 2px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-xxl: 32px;
  --s-huge: 64px;

  /* Elevation */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-2: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-3: 0 16px 48px rgba(0,0,0,0.12);

  --container: 1200px;
  --nav-h: 68px;

  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--primary-deep); outline-offset: 2px; border-radius: var(--r-xs); }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.12; }
.display-xxl { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.display-xl  { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
.display-lg  { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.display-md  { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-mute); font-weight: 400; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); display: inline-flex; align-items: center; gap: var(--s-sm);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--hairline-strong); }
p { color: var(--ink-secondary); }
strong { font-weight: 600; color: var(--ink); }
.text-mute { color: var(--ink-mute); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--s-xl); }
.section { padding-block: clamp(56px, 9vw, 96px); }
.section--soft { background: var(--canvas-soft); }
.section--dark { background: var(--canvas-night); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--s-lg); }
.stack > * + * { margin-top: var(--s-lg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-sm);
  font-size: 0.9rem; font-weight: 600; line-height: 1;
  padding: 12px 18px; border-radius: var(--r-sm);
  min-height: 44px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-primary:active { transform: translateY(0); background: var(--primary-deep); }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-on-dark { background: var(--canvas-night-soft); color: var(--on-dark); border: 1px solid rgba(255,255,255,.16); }
.btn-on-dark:hover { border-color: rgba(255,255,255,.4); transform: translateY(-1px); }
.btn-lg { padding: 15px 24px; font-size: 0.98rem; min-height: 50px; }
.btn-block { width: 100%; }

/* text-only secondary link (booking / email) — never a competing button */
.link-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-secondary);
  border-bottom: 1px solid var(--hairline-strong); padding-bottom: 1px; transition: border-color .15s ease, color .15s ease;
}
.link-text:hover { color: var(--ink); border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 5px 12px; border-radius: var(--r-full);
  background: var(--canvas-soft); color: var(--ink-secondary); border: 1px solid var(--hairline);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.pill--dark { background: rgba(255,255,255,.06); color: var(--on-dark); border-color: rgba(255,255,255,.14); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav.scrolled { background: rgba(255,255,255,0.9); border-bottom-color: var(--hairline); box-shadow: var(--shadow-1); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-xl); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--canvas-night); display: grid; place-items: center; flex: none; }
.brand-mark span { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-secondary); padding: 8px 12px; border-radius: var(--r-sm); transition: color .15s ease, background .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--canvas-soft); }
.nav-right { display: flex; align-items: center; gap: var(--s-md); }
.nav-cta { display: inline-flex; }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.hamburger span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
body.menu-open .hamburger span { background: transparent; }
body.menu-open .hamburger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--canvas);
  padding: calc(var(--nav-h) + 24px) var(--s-xl) var(--s-xl);
  display: flex; flex-direction: column; gap: var(--s-xs);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s;
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 1.3rem; font-weight: 600; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--hairline-cool); letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: var(--s-lg); }
.mobile-menu .mm-sub { font-size: 0.85rem; color: var(--ink-mute); margin-top: auto; padding-top: var(--s-lg); font-weight: 400; border: none; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: none; transform: translateY(140%); transition: transform .3s ease;
  box-shadow: var(--shadow-3);
}
.sticky-cta.show { transform: translateY(0); }
@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  /* clear the fixed CTA bar (44px + 16px offset) so it never covers footer content */
  body { padding-bottom: 84px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: clamp(56px, 8vw, 88px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-block: var(--s-lg) var(--s-lg); }
.hero .lead { max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-lg); margin-top: var(--s-xl); }
.hero-cta .btn { flex: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--s-lg) var(--s-xl); margin-top: var(--s-xl); padding-top: var(--s-xl); border-top: 1px solid var(--hairline-cool); }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-mute); }
.hero-trust svg { width: 16px; height: 16px; color: var(--primary-deep); flex: none; }

/* ---------- Chat mockup (product proof) ---------- */
.chat-window {
  background: var(--canvas-night); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,.08);
  max-width: 380px; margin-inline: auto; width: 100%;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--canvas-night-soft); display: grid; place-items: center; flex: none; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.chat-avatar span { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.chat-title { display: flex; flex-direction: column; line-height: 1.2; }
.chat-title b { color: #fff; font-size: 0.95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chat-title .online { font-size: 0.72rem; color: #8ee7bd; display: inline-flex; align-items: center; gap: 5px; }
.chat-title .online::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.chat-controls { margin-left: auto; display: flex; gap: 12px; color: #6b6b6b; }
.chat-controls span { width: 14px; height: 2px; background: currentColor; border-radius: 2px; align-self: center; }
.chat-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--canvas-night); min-height: 340px; }
.chat-time { text-align: center; font-size: 0.7rem; color: #7a7a7a; margin: 6px 0; }
.bubble { max-width: 78%; padding: 10px 13px; font-size: 0.86rem; line-height: 1.4; border-radius: 16px; }
.bubble.them { background: #2c2c2e; color: #e8e8ea; border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.us { background: var(--primary-deep); color: #06251a; font-weight: 500; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble .lang { display: block; font-size: 0.68rem; opacity: .6; margin-top: 4px; font-weight: 400; }
.chat-typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: #2c2c2e; border-radius: 16px; border-bottom-left-radius: 5px; align-self: flex-start; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8a8a8a; animation: blink 1.4s infinite both; }
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.chat-input { flex: 1; background: var(--canvas-night-soft); border-radius: var(--r-full); padding: 9px 14px; font-size: 0.82rem; color: #8a8a8a; }
.chat-send { width: 30px; height: 30px; display: grid; place-items: center; color: var(--primary); flex: none; }
.chat-send svg { width: 20px; height: 20px; }
/* speed badge on the mockup */
.chat-badge {
  position: absolute; z-index: 3; background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 10px 13px;
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 500;
}
.chat-badge b { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.chat-badge .ico { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--canvas-soft); display: grid; place-items: center; color: var(--primary-deep); flex: none; }
.chat-badge .ico svg { width: 17px; height: 17px; }
.chat-wrap { position: relative; }
.chat-wrap .b-top { top: -14px; right: -8px; }
.chat-wrap .b-bottom { bottom: -14px; left: -8px; }

/* ---------- Cards ---------- */
.card {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s-xxl); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--hairline-strong); }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); background: var(--canvas-soft);
  border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink); margin-bottom: var(--s-lg);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: var(--s-sm); }
.card p { font-size: 0.95rem; color: var(--ink-mute); line-height: 1.55; }
.card .link-arrow { margin-top: var(--s-lg); }

/* system card with pain/outcome */
.sys-card .pain, .sys-card .outcome { font-size: 0.92rem; line-height: 1.55; }
.sys-card .pain { color: var(--ink-mute); margin-bottom: var(--s-md); }
.sys-card .outcome { color: var(--ink-secondary); }
.sys-card .outcome b { color: var(--ink); }
.label-mini { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute-2); display: block; margin-bottom: 4px; }

/* grid helpers */
.grid { display: grid; gap: var(--s-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Stats / count-up ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-xl); }
.stat { }
.stat-num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: var(--s-sm); font-size: 0.9rem; color: var(--ink-mute); line-height: 1.45; }
.section--dark .stat-label { color: var(--ink-faint); }

/* ---------- Guarantee blocks ---------- */
.guarantee {
  border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s-xxl);
  background: var(--canvas); display: flex; flex-direction: column; gap: var(--s-md);
}
.guarantee .g-name { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.guarantee .g-promise { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); }
.guarantee .g-note { font-size: 0.9rem; color: var(--ink-mute); line-height: 1.5; }
.guarantee .g-tick { width: 26px; height: 26px; border-radius: var(--r-sm); background: rgba(62,207,142,.12); color: var(--primary-deep); display: grid; place-items: center; }
.guarantee .g-tick svg { width: 15px; height: 15px; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--s-xl); padding: var(--s-xl) 0; border-top: 1px solid var(--hairline-cool); }
.step:first-child { border-top: none; }
.step-num { font-size: 0.85rem; font-weight: 600; color: var(--ink); width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--hairline); display: grid; place-items: center; font-variant-numeric: tabular-nums; background: var(--canvas-soft); }
.step-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step-body .when { font-size: 0.8rem; color: var(--primary-deep); font-weight: 600; margin-bottom: 8px; }
.step-body p { font-size: 0.95rem; color: var(--ink-mute); line-height: 1.55; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-lg); text-align: left; padding: var(--s-xl) 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.faq-icon { width: 22px; height: 22px; flex: none; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.faq-icon::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-icon::after { left: 10px; top: 3px; width: 2px; height: 16px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding-bottom: var(--s-xl); }
.faq-a p { font-size: 0.98rem; color: var(--ink-mute); line-height: 1.6; }
.faq-a p + p { margin-top: var(--s-md); }

/* ---------- Contact form ---------- */
.form { display: flex; flex-direction: column; gap: var(--s-lg); }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-secondary); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--canvas); border: 1px solid var(--hairline-strong); border-radius: var(--r-sm);
  padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-deep); box-shadow: 0 0 0 3px rgba(62,207,142,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error textarea { border-color: #e2005a; }
.field .err-msg { display: none; font-size: 0.82rem; color: #e2005a; margin-top: 5px; }
.field.error .err-msg { display: block; }
.form-note { font-size: 0.85rem; color: var(--ink-mute); }
.form-status { font-size: 0.9rem; font-weight: 500; padding: 10px 0; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--primary-deep); }
.form-status.bad { color: #e2005a; }

/* ---------- Contact action buttons ---------- */
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s-md); }

/* ---------- Split / prose ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.prose p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-secondary); }
.prose p + p { margin-top: var(--s-lg); }
.prose h2 { margin-bottom: var(--s-lg); }
.prose h3 { font-size: 1.2rem; margin: var(--s-xl) 0 var(--s-sm); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; line-height: 1.5; color: var(--ink-secondary); padding: 10px 0; }
.checklist li + li { border-top: 1px solid var(--hairline-cool); }
.checklist .tick { width: 22px; height: 22px; border-radius: var(--r-xs); background: rgba(62,207,142,.12); color: var(--primary-deep); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick svg { width: 13px; height: 13px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: var(--s-xl); }
.cta-band .secondary-line { margin-top: var(--s-lg); font-size: 0.9rem; color: var(--ink-mute); }
.section--dark .cta-band .secondary-line { color: var(--ink-faint); }
.section--dark .link-text { color: #d8d8d8; border-color: rgba(255,255,255,.3); }
.section--dark .link-text:hover { color: #fff; border-color: #fff; }

/* ---------- Notice / honest proof ---------- */
.notice {
  border: 1px dashed var(--hairline-strong); border-radius: var(--r-lg); padding: var(--s-xxl);
  background: var(--canvas-soft); text-align: center; max-width: 640px; margin-inline: auto;
}
.notice .pill { margin-bottom: var(--s-lg); }
.notice h3 { font-size: 1.25rem; margin-bottom: var(--s-md); }
.notice p { font-size: 0.98rem; color: var(--ink-mute); line-height: 1.6; }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-mute); margin-bottom: var(--s-lg); }
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--hairline-strong); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: clamp(32px, 5vw, 48px); }
.page-hero h1 { margin-block: var(--s-md) var(--s-lg); max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding-block: var(--s-huge) var(--s-xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-xl); }
.footer-brand .brand { margin-bottom: var(--s-md); }
.footer-brand p { font-size: 0.9rem; color: var(--ink-mute); line-height: 1.55; max-width: 30ch; }
.footer-social { display: flex; gap: 10px; margin-top: var(--s-lg); }
.footer-social a { width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink-mute); transition: color .15s ease, border-color .15s ease, transform .15s ease; }
.footer-social a:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute-2); margin-bottom: var(--s-lg); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.92rem; color: var(--ink-secondary); }
.footer-col a:hover { color: var(--ink); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--ink-mute); flex: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-lg); flex-wrap: wrap; margin-top: var(--s-huge); padding-top: var(--s-xl); border-top: 1px solid var(--hairline-cool); }
.footer-bottom p, .footer-bottom a { font-size: 0.85rem; color: var(--ink-mute); }
.footer-bottom .legal { display: flex; gap: var(--s-lg); }
.footer-bottom a:hover { color: var(--ink); }
.footer-disc { margin-top: var(--s-lg); font-size: 0.8rem; color: var(--ink-faint); line-height: 1.5; max-width: 70ch; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-xxl) var(--s-xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xxl); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding-inline: var(--s-lg); }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xl) var(--s-lg); }
  .footer-brand { grid-column: 1 / -1; }
  .card { padding: var(--s-xl); }
  .step { grid-template-columns: 1fr; gap: var(--s-md); }
  .chat-badge { display: none; }
}
