/* ============================================================
   Oranga AI — shared design system  ·  "Ink & Bone" (minimalist)
   One source of truth for all pages. Tokens + components.
   ============================================================ */

:root {
  /* --- Palette: Ink & Bone --- */
  --bg:          #F7F5F0;   /* bone */
  --bg-elev:     #FFFFFF;   /* raised surfaces */
  --bg-sunk:     #F1EEE7;   /* recessed / hover fill */
  --ink:         #14140F;   /* primary text */
  --ink-muted:   #56544C;   /* secondary text */
  --ink-faint:   #6F6C60;   /* labels, captions — 4.83:1 on bone, meets WCAG AA */
  --line:        rgba(20, 20, 15, 0.10);   /* hairline */
  --line-strong: rgba(20, 20, 15, 0.18);

  --accent:      #3B5BDB;   /* electric blue */
  --accent-ink:  #2440B8;   /* accent hover/pressed */
  --accent-soft: rgba(59, 91, 219, 0.10);

  /* Ink zone (single dark section) */
  --zone-bg:     #14140F;
  --zone-elev:   #1E1E17;
  --zone-text:   #F2F0EB;
  --zone-muted:  #A7A499;
  --zone-line:   rgba(255, 255, 255, 0.12);

  /* --- Type --- */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Layout --- */
  --max-w: 1200px;
  --max-w-narrow: 760px;
  --pad-x: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.006em;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* --- Display type --- */
.display {
  font-family: var(--display);
  font-weight: 480;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h1, h2, h3 { font-family: var(--display); font-weight: 480; }

.accent { color: var(--accent); }
em.accent, .accent em { font-style: italic; }

/* --- Eyebrow / section label --- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   NAV
   ============================================================ */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 15, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  color: var(--zone-text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
nav.site-nav.scrolled { border-bottom-color: var(--zone-line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--zone-text);
}
.site-nav .nav-back { color: var(--zone-muted); }
.site-nav .nav-back:hover { color: var(--zone-text); }
.site-nav .btn-ghost { color: var(--zone-text); border-color: var(--zone-line); }
.site-nav .btn-ghost:hover { border-color: var(--zone-text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav-links a {
  color: var(--zone-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--zone-text); }
.logo-mark {
  width: 96px;
  height: 96px;
  margin-top: 8px;
  flex-shrink: 0;
  background-image: url("/images/oranga-logo-transparent.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.nav-back {
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}
.nav-back:hover { color: var(--ink); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 91, 219, 0.24);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-large { padding: 15px 30px; font-size: 1rem; }
.btn .arrow { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .nav-inner { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding: 10px 0; height: auto; }
  .logo-mark { width: 44px; height: 44px; margin-top: 0; }
  .logo { font-size: 1.02rem; gap: 9px; }
  .site-nav .btn-primary { padding: 9px 16px; font-size: 0.82rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(64px, 10vh, 108px) 0;
  overflow: hidden;
}
.hero .container { position: relative; width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.hero-content { max-width: 42ch; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-scene { order: -1; }
}
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  max-width: 15ch;
}
.hero h1 em.accent { margin-right: 0.1em; font-style: italic; }
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink-muted);
  max-width: 46ch;
  line-height: 1.5;
  margin-bottom: 34px;
  font-weight: 400;
}
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   HERO SCENE — before/after: a cluttered inbox vs the dawn run
   ============================================================ */
.hero-scene {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 320px;
}
.scene-caption {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 12px;
}

.scene-chaos-wrap { flex: 1; }
.scene-chaos {
  position: relative;
  height: 260px;
}
.chaos-card {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: 230px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  box-shadow: 0 10px 24px rgba(20, 20, 15, 0.06);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: chaosDrift 7s ease-in-out infinite;
}
.chaos-card .cc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); flex-shrink: 0; }
.cc1 { top: 0;   transform: rotate(-4deg); animation-delay: 0s; }
.cc2 { top: 52px; left: 14%; transform: rotate(3deg); animation-delay: 0.4s; }
.cc3 { top: 104px; transform: rotate(-2deg); animation-delay: 0.8s; }
.cc4 { top: 156px; left: 10%; transform: rotate(4deg); animation-delay: 1.2s; }
.cc5 { top: 208px; transform: rotate(-3deg); animation-delay: 1.6s; }
@keyframes chaosDrift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-4px) rotate(var(--r, 0deg)); }
}

.scene-arrow {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.scene-arrow svg { width: 15px; height: 15px; }

.scene-calm { flex: 1; }
.calm-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: 0 16px 40px rgba(20, 20, 15, 0.08);
}
.calm-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.calm-stats {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.calm-stats strong { color: var(--accent); font-weight: 600; }
.calm-stats .sep { color: var(--line-strong); margin: 0 4px; }
.calm-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-scene { flex-direction: column; align-items: stretch; }
  .scene-arrow { align-self: center; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .chaos-card { max-width: 100%; font-size: 0.76rem; left: 0 !important; right: 0; transform: none !important; animation: none; }
  .scene-chaos { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .chaos-card { animation: none; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(76px, 11vh, 132px) 0; position: relative; }
.section-head { margin-bottom: 60px; max-width: 40ch; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 20ch;
}
.section-head.center h2 { margin-left: auto; margin-right: auto; }
.section-head p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 56ch;
  line-height: 1.55;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

.lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

/* ============================================================
   PROBLEM GRID — four concrete mini-mockups, not prose
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pain-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 250px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pain-card:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(20, 20, 15, 0.08); }
.pain-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.pain-visual { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pain-caption { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.42; border-top: 1px solid var(--line); padding-top: 14px; }

/* card 1 — repeated context */
.repeat-stack { position: relative; height: 78px; }
.repeat-chip {
  position: absolute; left: 0; right: 0;
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 11px; font-size: 0.72rem; color: var(--ink-muted); line-height: 1.3;
}
.repeat-chip.r1 { top: 0; z-index: 3; padding-right: 68px; }
.repeat-chip.r2 { top: 13px; left: 8px; right: -8px; z-index: 2; opacity: 0.65; }
.repeat-chip.r3 { top: 26px; left: 16px; right: -16px; z-index: 1; opacity: 0.4; }
.repeat-badge {
  position: absolute; top: 8px; right: 10px;
  font-size: 0.62rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border-radius: 100px; padding: 2px 8px;
}

/* card 2 — evening admin list */
.pain-time { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-bottom: 12px; }
.pain-time-sm { font-size: 0.9rem; color: var(--ink-faint); margin-left: 2px; }
.pain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pain-list li {
  font-size: 0.82rem; color: var(--ink-muted);
  padding-left: 14px; position: relative; line-height: 1.4;
}
.pain-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-faint); }

/* card 3 — hub of knowledge */
.hub-center {
  align-self: flex-start;
  background: var(--ink); color: var(--bg);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 12px;
}
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-tag { font-size: 0.68rem; color: var(--ink-faint); border: 1px solid var(--line-strong); border-radius: 100px; padding: 4px 10px; }

/* card 4 — guardrail preview */
.compose-mock { margin-bottom: 12px; }
.compose-row { font-size: 0.72rem; color: var(--ink-faint); line-height: 1.6; }
.compose-send {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-size: 0.74rem; color: var(--ink-muted);
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 6px 13px; width: fit-content;
}
.compose-send svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 1000px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOUR LAYERS
   ============================================================ */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.layer-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.layer-card:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(20, 20, 15, 0.08); }
.layer-num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
}
.layer-name { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.layer-desc { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.55; }
.layer-desc strong { color: var(--ink); font-weight: 600; }
.layer-tag {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.layer-visual { margin: 2px 0 4px; }

/* layer 01 — knowledge file mock */
.file-mock { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.file-mock-name { font-family: var(--mono, ui-monospace, monospace); font-size: 0.72rem; color: var(--ink-faint); margin-bottom: 10px; }
.file-row { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: var(--ink-muted); padding: 4px 0; }
.file-check { color: var(--accent); font-size: 0.78rem; flex-shrink: 0; }

/* layer 02 — playbooks */
.playbook-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.playbook-row:first-child { border-top: none; }
.playbook-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.playbook-name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.playbook-desc { font-size: 0.78rem; color: var(--ink-faint); margin-top: 1px; }

/* layer 03 — scheduled work timeline */
.timeline-mini { position: relative; padding: 10px 4px 4px; }
.tl-track { position: absolute; left: 4px; right: 4px; top: 20px; height: 1px; background: var(--line-strong); }
.timeline-mini { display: flex; justify-content: space-between; }
.tl-point { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 50%; }
.tl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-elev); border: 2px solid var(--accent); z-index: 1; }
.tl-point-2 .tl-dot { border-color: var(--ink-faint); }
.tl-label { font-size: 0.72rem; color: var(--ink-faint); text-align: center; line-height: 1.4; }
.tl-label strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.78rem; margin-top: 1px; }

/* layer 04 — guardrail example */
.guard-example { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.guard-example-task { font-size: 0.85rem; color: var(--ink-muted); }
.guard-example-status {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.74rem; color: var(--ink-muted);
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 6px 13px;
}
.guard-example-status svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

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

/* quote/task tracker (for-tradies pain card) */
.track-list { display: flex; flex-direction: column; gap: 2px; }
.track-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; color: var(--ink-muted);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.track-row:last-child { border-bottom: none; }
.track-row em { font-style: normal; color: var(--ink-faint); }
.track-dot {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: transparent;
}
.track-dot.done { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: none; }
.compare-cell { padding: 22px 28px; line-height: 1.45; }
.compare-cell.generic {
  color: var(--ink-faint);
  border-right: 1px solid var(--line);
  font-size: 0.98rem;
}
.compare-cell.core { color: var(--ink); font-weight: 500; font-size: 1.02rem; }
.compare-head .compare-cell {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-sunk);
}
.compare-head .compare-cell.core { color: var(--accent); }
@media (max-width: 640px) {
  .compare-cell { padding: 16px 20px; }
}

/* ============================================================
   GUARDRAILS (ink zone — the single dark section)
   ============================================================ */
.ink-zone {
  background: var(--zone-bg);
  color: var(--zone-text);
}
.ink-zone .eyebrow { color: var(--zone-muted); }
.ink-zone .eyebrow::before { background: var(--accent); }
.ink-zone .section-head h2 { color: var(--zone-text); }
.ink-zone .section-head p { color: var(--zone-muted); }
.guard-lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin-bottom: 56px;
}
.guard-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--zone-line);
  border: 1px solid var(--zone-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.guard-item {
  background: var(--zone-bg);
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.05rem;
  line-height: 1.35;
}
.guard-item .x {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--zone-line);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 0.9rem;
}
.guard-never { color: var(--zone-muted); }
@media (max-width: 700px) { .guard-list { grid-template-columns: 1fr; } }

/* ============================================================
   INSTALL PROCESS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process-step {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease);
}
.process-step:hover { background: var(--bg-elev); }
.process-num {
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.process-step h3 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }
.process-step p { color: var(--ink-muted); font-size: 0.98rem; line-height: 1.5; }
.process-visual { margin: 4px 0 2px; min-height: 66px; display: flex; align-items: center; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* step 2 — linked tool chips */
.linked-chips { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.linked-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--ink-muted);
}
.linked-chip svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

/* step 3 — the loud-failure alert */
.alert-banner {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-sunk); border: 1px solid var(--accent);
  border-radius: 12px; padding: 13px 15px; width: 100%;
}
.alert-banner svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.alert-title { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.alert-sub { font-size: 0.76rem; color: var(--ink-faint); margin-top: 2px; line-height: 1.4; }

/* step 6 — recurring retainer badge */
.cycle-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--ink-muted);
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 8px 15px;
}
.cycle-badge svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   FOUNDER CREDIBILITY
   ============================================================ */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.founder-aside { display: flex; flex-direction: column; gap: 28px; }
.founder-monogram {
  width: 92px; height: 92px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.founder-stats { display: flex; flex-direction: column; gap: 22px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--display); font-size: 2rem; line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.founder-main { display: flex; flex-direction: column; gap: 28px; }
.pull-quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.founder-cred { color: var(--ink-muted); font-size: 1.1rem; line-height: 1.55; }
.founder-cred strong { color: var(--ink); font-weight: 600; }
.risk-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.risk-pill {
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section { padding: clamp(80px, 13vh, 140px) 0; }
.cta-card {
  text-align: center;
  max-width: 44ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-card h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.cta-card p { color: var(--ink-muted); font-size: 1.15rem; line-height: 1.5; max-width: 50ch; }
.cta-note { font-size: 0.85rem; color: var(--ink-faint); }

/* ============================================================
   TRUST STRIP (secondary pages)
   ============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  background: var(--bg);
  padding: 26px var(--pad-x);
  font-size: 0.98rem;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 12px;
}
.trust-item .tick { color: var(--accent); flex-shrink: 0; }
@media (max-width: 720px) { .trust-strip { grid-template-columns: 1fr; } }

/* ============================================================
   SIMPLE HERO (inner pages: about, for-tradies, strategy-call)
   ============================================================ */
.hero-simple {
  padding: clamp(72px, 11vh, 120px) 0 clamp(56px, 9vh, 90px);
  border-bottom: 1px solid var(--line);
}
.hero-simple .content { max-width: 640px; }
.hero-simple h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 20px 0 28px;
}
.hero-simple h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.hero-meta-row span { display: flex; align-items: center; gap: 7px; }
.hero-meta-row svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.content { max-width: 640px; margin: 0 auto; }

/* ============================================================
   PROSE SECTIONS (about page)
   ============================================================ */
.prose-section { padding: clamp(56px, 8vh, 96px) 0; border-bottom: 1px solid var(--line); }
.prose-section:last-of-type { border-bottom: none; }
.prose-section .eyebrow { margin-bottom: 30px; }
.prose p {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* --- pull quote (inline within prose) --- */
.pull-quote-inline {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 26px;
  margin: 36px 0;
}
.pull-quote-inline p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important;
  font-style: italic;
  color: var(--ink) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* --- career timeline --- */
.timeline { display: flex; flex-direction: column; margin: 32px 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.tl-item { display: flex; gap: 22px; align-items: flex-start; padding: 0 0 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elev); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1; font-size: 14px;
}
.tl-dot.active { background: var(--accent-soft); border-color: var(--accent); }
.tl-content { padding-top: 5px; }
.tl-label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.tl-text { font-size: 0.98rem; color: var(--ink-muted); line-height: 1.55; }

/* --- Oranga meaning card --- */
.oranga-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 32px 0;
}
.oranga-word {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.oranga-translation { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px; }
.oranga-card p { font-size: 1.02rem; color: var(--ink-muted); line-height: 1.7; }

/* --- industries / tags --- */
.industries { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.industry-tag { background: var(--bg-elev); border: 1px solid var(--line); padding: 7px 15px; border-radius: 100px; font-size: 0.85rem; color: var(--ink-muted); transition: all 0.2s var(--ease); }
.industry-tag:hover { border-color: var(--accent); color: var(--accent); }

/* --- examples list --- */
.examples-list { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.examples-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-muted); line-height: 1.6; padding: 15px 18px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; }
.ex-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.ex-dot svg { width: 9px; height: 9px; }

/* ============================================================
   GENERIC CARD GRIDS (for-tradies: problem cards, features, objections)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.info-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(20, 20, 15, 0.08); }
.info-card-title { font-family: var(--display); font-size: 1.1rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.info-card-body { color: var(--ink-muted); font-size: 0.98rem; line-height: 1.55; }

.feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-icon svg { width: 18px; height: 18px; }

.q-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--line-strong);
  color: var(--accent); font-size: 0.72rem; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.objection-q { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin-bottom: 12px; }
.objection-a { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.6; padding-left: 32px; }

/* --- get-card icon (strategy-call "what you get") --- */
.get-icon { font-size: 1.6rem; margin-bottom: 14px; }

/* --- checklist (strategy-call "for you if") --- */
.check-list { display: flex; flex-direction: column; gap: 4px; max-width: 640px; margin: 0 auto; }
.check-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem; color: var(--ink); line-height: 1.5;
}
.check-item:last-child { border-bottom: none; }
.check-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--zone-bg);
  color: var(--zone-text);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-meta { display: flex; gap: 22px; align-items: center; font-size: 0.9rem; color: var(--zone-muted); }
.footer-meta a { color: var(--zone-muted); transition: color 0.2s var(--ease); }
.footer-meta a:hover { color: var(--zone-text); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media video { display: none; }
}

/* ============================================================
   CHATBOT  (launcher + panel)  — hooks used by app.js + booking-chatbot.js
   ============================================================ */
.chat-launcher {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: none;
  cursor: pointer;
  z-index: 60;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(20, 20, 15, 0.25);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  background-size: cover;
  background-position: center;
}
.chat-launcher:hover { transform: scale(1.05); }
.chat-launcher .icon-close { display: none; }
.chat-launcher.open .icon-chat { display: none; }
.chat-launcher.open .icon-close { display: block; }

.chat-panel {
  position: fixed;
  bottom: 94px; right: 24px;
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px));
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 24px 70px rgba(20, 20, 15, 0.22);
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.chat-title .name { font-family: var(--display); font-weight: 500; font-size: 1rem; }
.chat-title .status { font-size: 0.75rem; color: var(--ink-faint); }
.chat-close {
  margin-left: auto; background: transparent; border: none; cursor: pointer;
  color: var(--ink-faint); padding: 6px; border-radius: 8px;
}
.chat-close:hover { color: var(--ink); background: var(--bg-sunk); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.msg.bot { background: var(--bg-sunk); color: var(--ink); border-bottom-left-radius: 5px; align-self: flex-start; }
.msg.user { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.msg a { color: var(--accent); text-decoration: underline; }
.msg.user a { color: #fff; }
.msg.typing { display: flex; gap: 5px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.chat-suggestions { padding: 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chat-suggestions:empty { display: none; }
.suggestion-chip {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-family: var(--sans);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.suggestion-chip:hover { border-color: var(--accent); color: var(--accent); }
.chat-input-wrap {
  display: flex; gap: 8px; align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1; border: none; background: var(--bg-sunk);
  border-radius: 100px; padding: 11px 16px;
  font-family: var(--sans); font-size: 0.92rem; color: var(--ink);
}
.chat-input::placeholder { color: var(--ink-faint); }
.chat-input:focus { outline: none; box-shadow: 0 0 0 2px var(--accent-soft); }
.chat-send {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
}
.chat-send:hover { background: var(--accent-ink); }
