/* ===========================================================
   IVO Shift — shared design system (premium multi-page)
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0b0d;
  --bg2: #0e1014;
  --bg3: #111318;
  --card: #14161c;
  --card2: #181b22;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --teal: #00d8a0;
  --teal2: #00c896;
  --teal-soft: rgba(0,216,160,0.10);
  --white: #ffffff;
  --gray: #9aa0b0;
  --gray2: #6b7280;
  --max: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Typography helpers ---------- */
.serif { font-family: 'Fraunces', serif; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 22px;
}

.h-display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 760px;
}
.section-body {
  font-size: 17px;
  color: var(--gray);
  max-width: 660px;
  line-height: 1.75;
}

/* ---------- Layout ---------- */
section { padding: 110px 40px; position: relative; }
.container { max-width: var(--max); margin: 0 auto; }
.bg-alt { background: var(--bg3); }

.section-head { margin-bottom: 12px; }

/* ---------- NAV ---------- */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  background: rgba(10,11,13,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s, border-color .3s;
}
nav.site-nav.scrolled {
  background: rgba(10,11,13,0.92);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
}
.brand .mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand .brand-name {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand .brand-name b { color: var(--teal); font-weight: 600; }
.brand .brand-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray2);
  margin-top: 3px;
}

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.nav-cta {
  background: var(--teal);
  color: #04130d !important;
  padding: 11px 22px !important;
  border-radius: 8px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal2); transform: translateY(-1px); color: #04130d !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 119;
  background: rgba(10,11,13,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 18px 28px 28px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--gray);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--teal);
  color: #04130d;
  padding: 16px 30px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 30px rgba(0,216,160,0.18);
}
.btn-primary:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,216,160,0.28); }

.btn-secondary {
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 16px 30px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
  display: inline-block;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--teal); background: var(--teal-soft); transform: translateY(-2px); }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- HERO (animated dark bg) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 40px 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 18% 12%, rgba(0,216,160,0.16), transparent 60%),
    radial-gradient(800px 700px at 88% 85%, rgba(0,140,200,0.12), transparent 60%),
    linear-gradient(180deg, #07080a 0%, #0a0b0d 60%, #0c0e12 100%);
}
.hero-bg::before {
  /* slow-drifting light blob */
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  left: -10%; top: -20%;
  background: radial-gradient(circle, rgba(0,216,160,0.22), transparent 62%);
  filter: blur(40px);
  border-radius: 50%;
  animation: drift1 22s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  width: 55vw; height: 55vw;
  max-width: 760px; max-height: 760px;
  right: -12%; bottom: -25%;
  background: radial-gradient(circle, rgba(40,120,255,0.16), transparent 62%);
  filter: blur(46px);
  border-radius: 50%;
  animation: drift2 26s ease-in-out infinite alternate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1100px 700px at 50% 35%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(1100px 700px at 50% 35%, #000 35%, transparent 78%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
@keyframes drift1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(8%, 12%) scale(1.12); }
}
@keyframes drift2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-9%, -10%) scale(1.15); }
}

.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 920px;
}
.hero-headline .accent { color: var(--teal); font-style: italic; font-weight: 400; }
.hero-sub {
  font-size: 19px;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 42px;
  line-height: 1.7;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--gray2);
  font-size: 13px;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 56s linear infinite;
  will-change: transform;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gray);
  padding: 0 38px;
  display: inline-flex;
  align-items: center;
  gap: 38px;
}
.strip-item::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Interactive What We Do ---------- */
.wwd-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  margin-top: 54px;
  align-items: start;
}
.wwd-tabs { display: flex; flex-direction: column; gap: 12px; }
.wwd-tab {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 16px;
}
.wwd-tab:hover { border-color: var(--border2); }
.wwd-tab .wwd-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray2);
  letter-spacing: 0.1em;
  transition: color .25s;
}
.wwd-tab .wwd-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.wwd-tab.active {
  border-color: var(--teal);
  background: linear-gradient(180deg, var(--teal-soft), rgba(0,216,160,0.02));
  transform: translateX(4px);
}
.wwd-tab.active .wwd-num { color: var(--teal); }

.wwd-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px;
  min-height: 340px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.wwd-content { display: none; animation: fade .4s ease; }
.wwd-content.active { display: block; }
.wwd-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.15;
}
.wwd-content > p { color: var(--gray); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.wwd-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.wwd-list li {
  display: flex;
  gap: 12px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}
.wwd-list li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Generic cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--border2); transform: translateY(-3px); }
.card-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; color: var(--teal); }
.card-title {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-body { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ---------- Three-layer overview ---------- */
.layer-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.layer-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  transition: border-color .25s, transform .25s;
}
.layer-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px 190px at 92% 0%, rgba(0,216,160,0.13), transparent 58%);
  pointer-events: none;
}
.layer-overview-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.layer-overview-card h3 {
  position: relative;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
  margin: 18px 0 14px;
}
.layer-overview-card p {
  position: relative;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.layer-overview-card a {
  position: relative;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.layer-overview-card a:hover { color: var(--teal2); }
.layer-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0,216,160,0.28);
  background: var(--teal-soft);
  color: #d6fff2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- Differentiators ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 50px;
}
.diff-card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.diff-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.diff-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.diff-card:hover::before { opacity: 1; }
.diff-step {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
  font-style: italic;
}
.diff-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.25;
}
.diff-body { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ---------- Process steps ---------- */
.process-steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin-top: 50px; }
.process-step { display: flex; gap: 34px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.process-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; color: var(--teal); min-width: 44px; padding-top: 2px; }
.process-title { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 500; margin-bottom: 10px; }
.process-body { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ---------- Split / story ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 20px;
}
.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}
.story-card h4 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.story-card p { color: var(--gray); font-size: 15px; line-height: 1.7; }
.story-card + .story-card { margin-top: 16px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 40px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero .hero-bg { opacity: 0.9; }
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  max-width: 860px;
}
.page-hero h1 .accent { color: var(--teal); font-style: italic; font-weight: 400; }
.page-hero p { font-size: 19px; color: var(--gray); max-width: 640px; line-height: 1.7; }

/* ---------- ROI calculator ---------- */
#roi { background: var(--bg3); }
.roi-card {
  margin-top: 44px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  padding: 40px;
}
.roi-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.roi-grid .full { grid-column: 1 / -1; }
.roi-card label {
  display: block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray2); margin-bottom: 7px;
}
.roi-card input, .roi-card select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.roi-card select option { background: #111318; color: var(--white); }
.roi-card input:focus, .roi-card select:focus { border-color: var(--teal); }
.roi-card input::placeholder { color: var(--gray2); }
.roi-card input.invalid { border-color: #ff5d5d; }
.roi-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.roi-note { color: var(--gray2); font-size: 12px; line-height: 1.6; max-width: 520px; }
.roi-status { min-height: 18px; margin-top: 12px; color: var(--gray2); font-size: 12px; }
.roi-result { display: none; margin-top: 32px; border-top: 1px solid var(--border); padding-top: 30px; }
.roi-result.show { display: block; }
.roi-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.roi-metric { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.roi-metric span { display: block; color: var(--gray2); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.roi-metric strong { display: block; color: var(--teal); font-size: 22px; line-height: 1.2; font-family: 'Fraunces', serif; font-weight: 500; }
.roi-result p { color: var(--gray); line-height: 1.7; font-size: 15px; }

/* ---------- Assessment / quiz ---------- */
#assessment { background: var(--bg); }
.assessment-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 60px;
  max-width: 820px;
  margin: 50px auto 0;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.quiz-container { margin-top: 36px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question { font-family: 'Fraunces', serif; font-size: 23px; font-weight: 500; margin-bottom: 28px; line-height: 1.3; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 32px; }
.quiz-progress-dot { height: 3px; flex: 1; background: var(--border); border-radius: 2px; transition: background .3s; }
.quiz-progress-dot.done { background: var(--teal); }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px 20px;
  color: var(--gray);
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.quiz-option:hover { border-color: var(--teal); color: var(--white); background: var(--teal-soft); }
.quiz-option.selected { border-color: var(--teal); color: var(--white); background: rgba(0,216,160,0.12); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.quiz-counter { font-size: 12px; color: var(--gray2); letter-spacing: 0.08em; }
.btn-quiz-next {
  background: var(--teal); color: #04130d; border: none;
  padding: 13px 28px; border-radius: 8px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .2s; font-family: 'Inter', sans-serif;
}
.btn-quiz-next:hover { background: var(--teal2); }
.btn-quiz-next:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz-result { display: none; }
.quiz-result.active { display: block; }
.result-headline { font-family: 'Fraunces', serif; font-size: 28px; margin-bottom: 16px; font-weight: 500; }
.result-body { color: var(--gray); font-size: 16px; margin-bottom: 28px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; max-width: 460px; margin: 0 auto; }
.lead-form label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray2); margin-bottom: 6px; text-align: left; }
.lead-form input {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px; color: var(--white);
  font-size: 15px; font-family: 'Inter', sans-serif; outline: none;
  transition: border-color .2s; width: 100%;
}
.lead-form input:focus { border-color: var(--teal); }
.lead-form input::placeholder { color: var(--gray2); }
.lead-form input.invalid { border-color: #ff5d5d; }
.field-error { color: #ff7b7b; font-size: 12px; text-align: left; margin-top: 4px; display: none; }
.field-error.show { display: block; }
.consent-text { font-size: 11px; color: var(--gray2); line-height: 1.6; text-align: center; margin: 8px auto 0; max-width: 460px; }

/* ---------- Final CTA band ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(0,216,160,0.10), transparent 65%),
    var(--bg3);
  border-top: 1px solid var(--border);
}
.cta-band .section-headline { max-width: 720px; margin: 0 auto 22px; }
.cta-band .section-body { max-width: 560px; margin: 0 auto 36px; }
.cta-band .btn-group { justify-content: center; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 80px 40px 40px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-cta {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  max-width: 760px;
  margin-bottom: 48px;
}
.footer-cta .accent { color: var(--teal); font-style: italic; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--gray2); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray2); margin-bottom: 18px; font-weight: 600;
}
.footer-col a {
  display: block; color: var(--gray); text-decoration: none;
  font-size: 14px; padding: 6px 0; transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-guarantee {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(0,216,160,0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0,216,160,0.08), rgba(255,255,255,0.02));
  max-width: 310px;
}
.footer-guarantee span {
  display: block;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.footer-guarantee p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.footer-guarantee p strong { color: #fff; font-weight: 600; }
.footer-guarantee a {
  display: inline-block;
  padding: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--gray2); font-size: 13px; }
.footer-bottom .footer-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .footer-contact a { color: var(--gray); text-decoration: none; font-size: 13px; }
.footer-bottom .footer-contact a:hover { color: var(--teal); }

/* ---------- Chat widget ---------- */
#chat-bubble { position: fixed; bottom: 24px; right: 24px; z-index: 200; }
.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,216,160,0.4);
  transition: transform .2s, background .2s;
}
.chat-toggle:hover { transform: translateY(-2px); background: var(--teal2); }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-panel {
  position: absolute; bottom: 76px; right: 0;
  width: 320px; max-width: calc(100vw - 48px);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: none;
}
.chat-panel.open { display: block; }
.chat-panel h4 { font-family: 'Fraunces', serif; font-size: 18px; margin-bottom: 8px; font-weight: 500; }
.chat-panel p { font-size: 14px; color: var(--gray); margin-bottom: 18px; line-height: 1.6; }
.chat-actions { display: flex; flex-direction: column; gap: 10px; }
.chat-action {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 9px; padding: 12px 16px; color: var(--white);
  text-decoration: none; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.chat-action:hover { border-color: var(--teal); background: var(--teal-soft); }
.chat-action svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ---------- Reveal on scroll ---------- */
/* Hidden state only applies once JS marks the document with .js-on, so the
   page degrades gracefully for no-JS / SEO / crawlers (content stays visible). */
.js-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-on .reveal.in { opacity: 1; transform: none; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 50px; }
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: border-color .25s, transform .25s;
}
.blog-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.blog-thumb { height: 170px; position: relative; overflow: hidden; }
.blog-thumb .gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(300px 200px at 30% 20%, rgba(0,216,160,0.3), transparent 60%),
    radial-gradient(280px 200px at 80% 90%, rgba(40,120,255,0.22), transparent 60%),
    linear-gradient(135deg, #0e1116, #14161c);
}
.blog-thumb .tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.5); border: 1px solid var(--border2);
  color: var(--teal); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
}
.blog-body { padding: 26px; }
.blog-body h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; margin-bottom: 12px; line-height: 1.3; }
.blog-body p { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.blog-body .coming { font-size: 12px; color: var(--gray2); letter-spacing: 0.06em; }

/* ---------- Stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 50px; }
.stat { border-left: 2px solid var(--teal); padding-left: 20px; }
.stat strong { font-family: 'Fraunces', serif; font-size: 38px; font-weight: 500; display: block; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--gray); font-size: 14px; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .wwd-layout { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .layer-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  nav.site-nav { padding: 0 20px; height: 64px; }
  .mobile-menu { top: 64px; }
  section { padding: 70px 20px; }
  .hero { padding: 120px 20px 70px; min-height: auto; }
  .page-hero { padding: 130px 20px 60px; }
  .assessment-wrapper { padding: 32px 22px; }
  .roi-card { padding: 26px; }
  .roi-grid, .roi-result-grid { grid-template-columns: 1fr; }
  .roi-grid .full { grid-column: auto; }
  .footer-cols { grid-template-columns: 1fr; }
  .wwd-panel { padding: 30px 24px; }
  .strip-item { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before, .hero-bg::after, .strip-track { animation: none; }
  .js-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Offer v3 additions ===== */
.hero-offer-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 30px; }
.hero-offer-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border2); background: rgba(255,255,255,0.03);
  font-size: 13px; font-weight: 500; color: var(--gray); letter-spacing: 0.01em;
}
.hero-offer-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-offer-pill-strong {
  border-color: rgba(0,216,160,0.45); background: var(--teal-soft); color: #d6fff2;
}

/* Guarantee card */
.guarantee-card h4 { font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.2; }
.guarantee-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.guarantee-list li { display: flex; gap: 14px; align-items: flex-start; }
.guarantee-list li div { color: var(--gray); font-size: 14.5px; line-height: 1.6; }
.guarantee-list li div strong { color: #fff; font-weight: 600; }
.guarantee-list .g-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: #04130d; font-size: 13px; font-weight: 700; margin-top: 1px;
}

/* Results timeline */
.timeline-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); }
.timeline-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 28px; border-bottom: 1px solid var(--border); align-items: baseline; }
.timeline-row:last-child { border-bottom: 0; }
.timeline-when { font-family: 'Fraunces', serif; font-size: 19px; color: #fff; font-weight: 500; }
.timeline-what { color: var(--gray); font-size: 15.5px; line-height: 1.65; }
.timeline-mark { background: linear-gradient(90deg, var(--teal-soft), rgba(0,216,160,0.02)); }
.timeline-mark .timeline-when { color: var(--teal); }

/* Full system layer cards */
.layer-card { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 38px 40px; }
.layer-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.layer-list li { display: flex; gap: 14px; align-items: flex-start; }
.layer-list li svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.layer-list li div { color: var(--gray); font-size: 15.5px; line-height: 1.65; }
.layer-list li div strong { color: #fff; font-weight: 600; }

/* Not-a-fit list */
.fit-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fit-list li { position: relative; padding-left: 26px; color: var(--gray); font-size: 15px; line-height: 1.6; }
.fit-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 11px; height: 2px; background: var(--gray2); border-radius: 2px; }

@media (max-width: 768px) {
  .timeline-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .layer-card { padding: 28px 22px; }
  .hero-offer-pill { font-size: 12px; padding: 7px 13px; }
}
