/* =========================================================
   CONTAHA — marketing site design system
   ========================================================= */

:root {
  /* Colour tokens */
  /* Light page; dark chapters (hero banners, implant section, photo CTA, footer) switch tokens below */
  --green-500: #00a85a;
  --green-600: #008f4c;
  --green-700: #006f40;
  --green-50: #eaf7f0;
  --green-100: #d3efe0;
  --ink: #111827;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #f7f9f8;
  --surface: #ffffff;
  --card-base: #ffffff;
  --border: #e2e8f0;
  --border-soft: #edf1f4;
  --grid-line: rgba(17, 24, 39, 0.05);
  --acc: 0, 168, 90;
  --dark: #071b17;
  --dark-2: #0c2a23;
  --dark-border: rgba(255, 255, 255, 0.09);
  --dark-muted: #9fb5ad;

  /* Accent tints for clinical phases (used sparingly) */
  --tint-blue: #eef4ff;
  --tint-violet: #f3efff;
  --tint-amber: #fff6e6;

  /* Typography */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(2.25rem, 1.4rem + 3.6vw, 4.125rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2vw, 3rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing & layout */
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --section-y: clamp(56px, 6.5vw, 96px);

  /* Shape & depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 12px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 4px 12px rgba(16, 24, 40, 0.05), 0 24px 60px rgba(7, 27, 23, 0.14);
  --ring: 0 0 0 3px rgba(0, 168, 90, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;

  --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 { letter-spacing: -0.022em; line-height: 1.12; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--green-50) 100%); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700);
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--green-50); border: 1px solid var(--green-100);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.eyebrow--plain { background: none; border: 0; padding: 0; }

.section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 16px; }
.section-head p { font-size: var(--fs-lead); color: var(--muted); margin-top: 16px; }

.text-green { color: var(--green-600); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h); padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--sm { --btn-h: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn--lg { --btn-h: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--green-500); color: #fff;
  box-shadow: 0 1px 2px rgba(0, 111, 64, 0.2), 0 6px 18px rgba(0, 168, 90, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { background: var(--green-600); box-shadow: 0 1px 2px rgba(0, 111, 64, 0.25), 0 10px 24px rgba(0, 168, 90, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { border-color: #cbd5e1; background: #fbfcfc; }
.btn--ghost { color: var(--ink-2); padding-inline: 14px; }
.btn--ghost:hover { color: var(--green-700); background: rgba(0, 168, 90, 0.07); }
.btn--white { background: #fff; color: var(--green-700); }
.btn--white:hover { background: var(--green-50); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.12); }

.btn--glass {
  color: #fff; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-open { transform: none; background: #fff; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 32px; width: auto; }
.brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark, .site-header.menu-open .brand .logo-dark { display: none; }
.site-header.is-solid .brand .logo-light, .site-header.menu-open .brand .logo-light { display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-drop-btn {
  position: relative; padding: 8px 12px; border-radius: var(--r-pill); border: 0; background: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links > a:hover, .nav-drop-btn:hover { color: var(--ink); background: rgba(17, 24, 39, 0.04); }
.nav-links a[aria-current="page"] { color: var(--green-700); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--green-500);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Header over the dark page heroes (transparent state) */
.site-header:not(.is-solid):not(.menu-open) .nav-links > a,
.site-header:not(.is-solid):not(.menu-open) .nav-drop-btn,
.site-header:not(.is-solid):not(.menu-open) .btn--ghost { color: rgba(255, 255, 255, 0.82); }
.site-header:not(.is-solid):not(.menu-open) .nav-links > a:hover,
.site-header:not(.is-solid):not(.menu-open) .nav-drop-btn:hover,
.site-header:not(.is-solid):not(.menu-open) .btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-header:not(.is-solid):not(.menu-open) .nav-links a[aria-current="page"] { color: #5fe0a0; }
.site-header:not(.is-solid):not(.menu-open) .menu-toggle { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.site-header:not(.is-solid):not(.menu-open) .menu-toggle span,
.site-header:not(.is-solid):not(.menu-open) .menu-toggle span::before,
.site-header:not(.is-solid):not(.menu-open) .menu-toggle span::after { background: #fff; }

/* Product dropdown */
.nav-drop { position: relative; }
.nav-drop-btn svg { transition: transform 0.25s var(--ease); }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; left: 50%; top: calc(100% + 10px); width: 300px; padding: 8px; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-drop-menu a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background-color 0.2s; }
.nav-drop-menu a:hover, .nav-drop-menu a:focus-visible { background: var(--green-50); }
.nav-drop-menu .icon-badge { width: 36px; height: 36px; border-radius: 10px; }
.nav-drop-menu .icon-badge svg { width: 18px; height: 18px; }
.nav-drop-menu b { display: block; font-size: 0.9rem; color: var(--ink); }
.nav-drop-menu small { display: block; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 1120px) { .nav-links > a, .nav-drop-btn { padding-inline: 9px; font-size: 0.875rem; } }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: #fff; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu a.mobile-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; font-size: 1.125rem; font-weight: 600; border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a.mobile-link[aria-current="page"] { color: var(--green-700); }
.mobile-menu a.mobile-link--sub { padding-left: 16px; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.mobile-group { margin-top: 12px; padding: 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700); }
.mobile-menu .btn-row { margin-top: 24px; flex-direction: column; }
.mobile-menu .btn { width: 100%; }

@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn--ghost, .nav-actions .btn--primary { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1025px) { .mobile-menu { display: none; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Generic card ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe9db; }

.icon-badge {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); border: 1px solid var(--green-100);
  flex-shrink: 0; transition: transform var(--dur) var(--ease), background-color var(--dur);
}
.icon-badge svg { width: 22px; height: 22px; }
.card--hover:hover .icon-badge { transform: translateY(-2px) rotate(-4deg); }

/* ---------- UI mock primitives (interface illustrations built in code) ---------- */
/* Dark chapters */
.dark-hero, .section--dark, .site-footer, .cta-band--photo, .billing-summary, .contact-panel {
  --green-600: #22c47a; --green-700: #5fe0a0; --green-50: rgba(0, 168, 90, 0.12); --green-100: rgba(0, 168, 90, 0.3);
  --ink: #f1f6f4; --ink-2: #c9d6d1; --muted: #8ea39b; --bg: #050b09; --surface: #08120f; --card-base: #0b1613;
  --border: rgba(255, 255, 255, 0.1); --border-soft: rgba(255, 255, 255, 0.06); --grid-line: rgba(255, 255, 255, 0.045);
  --acc: 63, 217, 138; color: var(--ink);
}
/* Mock-ups depict the real (light) product UI, so they get the light token set back */
.ui, .app-window {
  --ink: #111827; --ink-2: #334155; --muted: #64748b; --bg: #f7f9f8; --surface: #ffffff;
  --border: #e2e8f0; --border-soft: #edf1f4; --green-50: #eaf7f0; --green-100: #d3efe0;
  --green-600: #008f4c; --green-700: #006f40;
}
.ui { font-size: 12px; line-height: 1.4; color: var(--ink); user-select: none; }
.ui-card {
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 14px;
}
.ui-glass {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-lg);
}
.ui-title { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.ui-sub { font-size: 11px; color: var(--muted); }
.ui-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ui-row { display: flex; align-items: center; gap: 8px; }
.ui-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ui-line { height: 6px; border-radius: 4px; background: #e9eef2; }
.ui-line--g { background: var(--green-100); }
.ui-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 600; background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100);
  white-space: nowrap;
}
.ui-chip--grey { background: #f1f5f9; color: var(--ink-2); border-color: var(--border); }
.ui-chip--amber { background: var(--tint-amber); color: #9a5b00; border-color: #fde7c2; }
.ui-num {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-size: 11px; font-weight: 700; background: var(--green-500); color: #fff;
}
.ui-num--o { background: #fff; color: var(--muted); border: 1.5px solid #cbd5e1; }
.ui-check {
  width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0; display: grid; place-items: center;
  border: 1.5px solid #cbd5e1; background: #fff;
}
.ui-check.on { background: var(--green-500); border-color: var(--green-500); }
.ui-check.on::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.ui-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--green-600); color: #fff; font-size: 11px; font-weight: 700;
}
.ui-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px;
  background: var(--green-500); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.ui-btn svg { width: 12px; height: 12px; }
.ui-mic {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #2bc77a, var(--green-600)); color: #fff;
  box-shadow: 0 0 0 6px rgba(0, 168, 90, 0.12), 0 8px 20px rgba(0, 168, 90, 0.3);
}
.ui-mic svg { width: 20px; height: 20px; }
.ui-rec { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15); }

.wave { display: flex; align-items: center; gap: 2px; height: 28px; }
.wave i { display: block; width: 3px; border-radius: 3px; background: var(--green-500); height: calc(var(--h) * 1%); opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .is-visible .wave--live i, .hero .wave--live i { animation: wave 1.6s ease-in-out infinite; animation-delay: calc(var(--d) * -0.12s); transform-origin: center; }
  .wave--live.is-paused i { animation-play-state: paused; }
}
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }

/* Stage stepper (mirrors the Cases list in the product) */
.stepper { display: flex; align-items: center; gap: 4px; min-width: 0; }
.stepper .s { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #cbd5e1; background: #fff; flex-shrink: 0; position: relative; }
.stepper .s.done { background: var(--green-500); border-color: var(--green-500); }
.stepper .s.done::after { content: ""; position: absolute; left: 3.5px; top: 2.5px; width: 5px; height: 3px; border: 1.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.stepper .s.now { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(0, 168, 90, 0.15); }
.stepper .b { flex: 1; height: 2px; min-width: 6px; background: #e2e8f0; border-radius: 2px; }
.stepper .b.done { background: var(--green-500); }

/* Mini dental chart (illustrative only) */
.teeth { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; }
.teeth span {
  height: 18px; border-radius: 5px 5px 7px 7px; background: linear-gradient(180deg, #fff, #eef2f5);
  border: 1px solid #dbe3ea;
}
.teeth--lower span { border-radius: 7px 7px 5px 5px; }
.teeth span.sel { background: linear-gradient(180deg, #c9f0dc, #8fdcb5); border-color: #5ccb92; }
.teeth span.miss { background: transparent; border-style: dashed; border-color: #f2a3a3; }
.teeth span.imp { background: linear-gradient(180deg, #e4ecff, #b8c9f2); border-color: #95acea; }
.teeth-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 10px; color: var(--muted); }
.teeth-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }

/* =========================================================
   HERO
   ========================================================= */
/* Shared dark gradient surface with light grid lines (home hero, page heroes) */
.dark-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(0, 168, 90, 0.32) 0%, rgba(0, 168, 90, 0) 70%),
    radial-gradient(35% 40% at 92% 55%, rgba(25, 185, 108, 0.16) 0%, rgba(25, 185, 108, 0) 70%),
    radial-gradient(35% 40% at 4% 75%, rgba(0, 143, 76, 0.18) 0%, rgba(0, 143, 76, 0) 70%),
    linear-gradient(180deg, #04120e 0%, #071b17 50%, #0a1f19 80%, var(--bg) 100%);
}
.dark-hero::before { /* light precision grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 25%, #000 0%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 25%, #000 0%, transparent 80%);
}
.dark-hero::after { /* soft glow behind the content */
  content: ""; position: absolute; left: 50%; top: 38%; width: min(1100px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, 0);
  background: radial-gradient(closest-side, rgba(0, 168, 90, 0.22), transparent); filter: blur(30px); pointer-events: none; z-index: -1;
}
.dark-hero .eyebrow { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #8ff0bd; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dark-hero .eyebrow::before { background: #3fd98a; box-shadow: 0 0 10px #3fd98a; }
.grad-light { background: linear-gradient(100deg, #5fe0a0, #19b96c 50%, #8ff0bd); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero-copy { position: relative; text-align: center; max-width: 1120px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 3.3vw, 3.875rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 20px; line-height: 1.08; text-wrap: initial; }
.hero h1 .grad { background: linear-gradient(100deg, #5fe0a0, #19b96c 50%, #8ff0bd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
.hero-lead { font-size: var(--fs-lead); color: rgba(226, 238, 233, 0.78); max-width: 800px; margin: 20px auto 0; }
.hero .btn-row { margin-top: 32px; justify-content: center; }

/* Hero visual: product window + connected workflow cards */
.hero-visual { position: relative; margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1120px; }
.hero-visual .connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.connectors path { fill: none; stroke: #3fd98a; stroke-width: 1.5; stroke-dasharray: 4 6; opacity: 0.55; }

.app-window {
  position: relative; z-index: 2; margin-inline: auto; width: min(100%, 790px);
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06), 0 0 0 9px rgba(255, 255, 255, 0.1), 0 40px 100px -20px rgba(0, 0, 0, 0.6), 0 0 120px -30px rgba(0, 168, 90, 0.5);
}

/* Hero product video (YouTube, muted autoplay) */
.hero-video { position: relative; z-index: 2; margin-inline: auto; width: min(100%, 820px); }
.hv-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #050b09;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06), 0 0 0 9px rgba(255, 255, 255, 0.1), 0 40px 100px -20px rgba(0, 0, 0, 0.6), 0 0 120px -30px rgba(0, 168, 90, 0.5);
}
.hv-poster, .hv-frame iframe, .hv-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv-poster { object-fit: cover; z-index: 1; transition: opacity 0.6s var(--ease); }
.hv-frame iframe { z-index: 0; }
.hero-video.is-playing .hv-poster { opacity: 0; }
.hero-video.is-playing .hv-frame iframe { z-index: 2; pointer-events: none; }
/* Autoplay blocked (e.g. low-power mode): show YouTube's own play button */
.hero-video.needs-tap .hv-poster { opacity: 0; pointer-events: none; }
.hero-video.needs-tap .hv-frame iframe { z-index: 2; }
.hv-sound {
  position: absolute; z-index: 4; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 6px; border-radius: var(--r-pill); color: #fff; font-size: 0.875rem; font-weight: 600; cursor: pointer;
  background: rgba(5, 11, 9, 0.62); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.hv-sound:hover { background: rgba(0, 168, 90, 0.55); border-color: rgba(63, 217, 138, 0.7); transform: translateY(-1px); }
.hv-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-500); }
.hv-ic svg { width: 17px; height: 17px; }
.hv-sound .ic-on, .hv-sound[aria-pressed="true"] .ic-off { display: none; }
.hv-sound[aria-pressed="true"] .ic-on { display: block; }
.hv-sound[aria-pressed="true"] { padding-right: 6px; }
.hv-sound[aria-pressed="true"] .hv-txt { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hv-sound[aria-pressed="false"] .hv-ic { animation: hvPulse 2.2s ease-out infinite; }
}
@keyframes hvPulse { 0% { box-shadow: 0 0 0 0 rgba(63, 217, 138, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(63, 217, 138, 0); } }
@media (min-width: 721px) and (max-width: 1024px) { .hero-visual .float-card { display: none; } }
@media (max-width: 720px) {
  .hv-frame { border-radius: 14px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 24px 60px -12px rgba(0, 0, 0, 0.6); }
  .hv-sound { left: 10px; bottom: 10px; height: 40px; font-size: 0.8125rem; }
  .hv-ic { width: 28px; height: 28px; }
}

/* Glassmorphism cards on the dark hero */
.dark-hero .ui-glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 60px -12px rgba(0, 0, 0, 0.55);
}
.dark-hero .ui-glass .ui-sub { color: rgba(214, 230, 224, 0.7); }
.dark-hero .ui-glass .ui-check { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.dark-hero .ui-glass .ui-check.on { background: var(--green-500); border-color: var(--green-500); }
.dark-hero .ui-glass .plan-row { border-top-color: rgba(255, 255, 255, 0.12); color: rgba(240, 247, 244, 0.9); }
.dark-hero .ui-glass .plan-row b { color: #5fe0a0; }
.dark-hero .ui-glass .plan-row svg { color: rgba(255, 255, 255, 0.5); }
.dark-hero .ui-glass .report-sheet { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.dark-hero .ui-glass .report-sheet svg { color: #5fe0a0 !important; }
.dark-hero .ui-glass .ui-line { background: rgba(255, 255, 255, 0.14); }
.dark-hero .ui-glass .ui-line--g { background: rgba(63, 217, 138, 0.4); }
.dark-hero .ui-glass .bar span { background: rgba(255, 255, 255, 0.14); }
.dark-hero .ui-glass .bar span.on { background: #3fd98a; }
.dark-hero .ui-glass .ui-chip--amber { background: rgba(255, 196, 92, 0.14); color: #ffd28a; border-color: rgba(255, 196, 92, 0.35); }
.dark-hero .ui-glass .wave i { background: #3fd98a; }
.dark-hero .ui-glass .ui-note { background: rgba(255, 255, 255, 0.07); color: rgba(240, 247, 244, 0.85); border: 1px solid rgba(255, 255, 255, 0.1); }
.app-chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1f4f3; border-bottom: 1px solid var(--border); }
.app-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d7dde2; }
.app-chrome .url { margin-left: 12px; flex: 1; max-width: 260px; height: 16px; border-radius: 6px; background: #fff; border: 1px solid var(--border); font-size: 9.5px; color: var(--muted); display: flex; align-items: center; padding-left: 8px; }
.app-body { display: grid; grid-template-columns: 172px 1fr; min-height: 380px; }
.app-side { background: linear-gradient(180deg, #0b231d, #071b17); color: #c9d6d1; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-side .logo { display: flex; align-items: center; gap: 6px; padding: 2px 6px 12px; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; }
.app-side .logo img { width: 20px; height: 20px; }
.app-side .new { margin: 0 2px 10px; justify-content: center; }
.app-side .grp { font-size: 8.5px; letter-spacing: 0.12em; color: #6f8a81; padding: 10px 8px 4px; font-weight: 600; }
.app-side .it { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; font-size: 11px; }
.app-side .it svg { width: 13px; height: 13px; opacity: 0.85; }
.app-side .it.on { background: rgba(0, 168, 90, 0.16); color: #fff; box-shadow: inset 2px 0 0 var(--green-500); }
.app-main { padding: 14px 18px 18px; background: #fbfcfc; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.app-search { flex: 1; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--muted); font-size: 10.5px; max-width: 280px; }
.app-search svg { width: 12px; height: 12px; }
.app-h { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.case-row { display: grid; grid-template-columns: 30px minmax(0, 150px) 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--border-soft); border-radius: 10px; margin-top: 8px; box-shadow: var(--shadow-xs); }
.case-row .nm { font-weight: 700; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-row .id { font-size: 10px; color: var(--muted); }
.case-row .pct { font-size: 10px; font-weight: 600; color: var(--green-700); white-space: nowrap; }
.case-row.is-active { border-color: #bfe7d1; box-shadow: 0 0 0 3px rgba(0, 168, 90, 0.08); }

.float-card { position: absolute; z-index: 3; width: 226px; }
.float-card .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-consult { left: -36px; top: 14%; }
.fc-assess { right: -36px; top: -4%; }
.fc-plan { right: -48px; top: 50%; }
.fc-report { left: -48px; top: 60%; width: 210px; }
.bell { width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.bell svg { width: 15px; height: 15px; }

.plan-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--border); font-size: 11px; }
.plan-row:first-of-type { border-top: 0; }
.plan-row b { font-weight: 700; width: 46px; flex-shrink: 0; color: var(--green-700); }
.plan-row svg { width: 12px; height: 12px; color: var(--muted); margin-left: auto; }

.report-sheet { border-radius: 10px; border: 1px solid var(--border); padding: 10px; background: #fff; display: grid; gap: 6px; }
.report-sheet .bar { display: flex; gap: 4px; }
.report-sheet .bar span { flex: 1; height: 5px; border-radius: 3px; background: var(--green-100); }
.report-sheet .bar span.on { background: var(--green-500); }

@media (prefers-reduced-motion: no-preference) {
  .float-card.reveal { transition-duration: 0.9s; }
  .float-card.floaty .ui-card { animation: floaty 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 1180px) {
  .float-card { width: 210px; }
  .fc-consult { left: -8px; } .fc-assess { right: -8px; } .fc-plan { right: -12px; } .fc-report { left: -12px; }
}
@media (max-width: 1024px) {
  .hero-visual { padding-inline: 0; }
  .fc-report, .fc-assess { display: none; }
  .fc-consult { left: 0; top: -28px; }
  .fc-plan { right: 0; top: auto; bottom: 40px; }
  .connectors { display: none; }
}
@media (max-width: 720px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .case-row { grid-template-columns: 30px 1fr auto; }
  .case-row .stepper { grid-column: 1 / -1; }
  .case-row ~ .case-row ~ .case-row { display: none; }
  .hero-visual { display: flex; flex-direction: column; gap: 12px; }
  .float-card { position: static; width: 100%; transform: none; }
  .fc-consult { order: -1; }
  .fc-plan { display: none; }
  .app-window { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 24px 60px -12px rgba(0, 0, 0, 0.6); }
}

/* =========================================================
   WORKFLOW (6 stages)
   ========================================================= */
.workflow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: wf; }
/* Directional connectors between stages (desktop: 3 per row) */
.wf-card::after {
  content: ""; position: absolute; z-index: 2; top: 40px; right: -21px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A85A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1.5px solid #a9dfc2; box-shadow: 0 0 0 4px var(--surface);
  opacity: 0; transform: translateX(-6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 300ms);
}
.workflow.is-visible .wf-card::after { opacity: 1; transform: none; }
.wf-card:nth-of-type(3n)::after, .wf-card:last-of-type::after { display: none; }
.wf-card { position: relative; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.wf-card .top { display: flex; align-items: center; justify-content: space-between; }
.wf-step { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--green-700); font-variant-numeric: tabular-nums; }
.wf-card h3 { font-size: var(--fs-h3); }
.wf-card p { color: var(--muted); font-size: 0.9375rem; }
.wf-mini { margin-top: auto; border-radius: 12px; background: var(--bg); border: 1px solid var(--border-soft); padding: 12px; min-height: 112px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.wf-card.is-active { border-color: #a9dfc2; box-shadow: 0 0 0 4px rgba(0, 168, 90, 0.07), var(--shadow-md); }
.wf-card.is-active .wf-mini { background: linear-gradient(180deg, #f3fbf7, #ecf8f1); border-color: var(--green-100); }
.wf-arrow { position: absolute; z-index: 2; right: -19px; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--green-500); }
.workflow-note { margin-top: 24px; text-align: center; font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.workflow-note svg { width: 16px; height: 16px; color: var(--green-600); flex-shrink: 0; }

@media (max-width: 1024px) {
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .wf-card:nth-of-type(n)::after { display: block; }
  .wf-card:nth-of-type(2n)::after { display: none; }
}
@media (max-width: 680px) {
  .workflow { grid-template-columns: 1fr; gap: 14px; padding-left: 44px; }
  .wf-card:nth-of-type(n)::after { display: none; }
  .workflow::before { /* vertical timeline rail */
    content: ""; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 2px;
    background: linear-gradient(180deg, var(--green-500), var(--green-100));
    transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease);
  }
  .workflow.is-visible::before { transform: scaleY(1); }
  .wf-card { padding: 18px; }
  .wf-card::before { /* timeline node */
    content: attr(data-step); position: absolute; left: -44px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #fff; color: var(--green-700);
    border: 2px solid var(--green-500); box-shadow: 0 0 0 4px var(--bg);
  }
  .wf-card .wf-step { display: none; }
  .wf-mini { min-height: 0; }
}

/* =========================================================
   FEATURES (alternating)
   ========================================================= */
.features { display: grid; gap: clamp(48px, 6vw, 80px); }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-copy .num { font-size: var(--fs-sm); font-weight: 700; color: var(--green-600); letter-spacing: 0.06em; }
.feature-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-top: 10px; }
.feature-copy > p { color: var(--muted); font-size: var(--fs-lead); margin-top: 14px; }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-600); margin-top: 2px; }

.feature-visual {
  position: relative; border-radius: var(--r-xl); padding: clamp(20px, 3.5vw, 40px);
  background:
    radial-gradient(80% 70% at 80% 10%, rgba(0, 168, 90, 0.12), transparent 70%),
    linear-gradient(180deg, #f1f8f4, #e9f5ee);
  border: 1px solid var(--green-100); overflow: hidden; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.feature-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.feature-visual .ui-card { width: 100%; max-width: 440px; }
.fv-stack { position: relative; width: 100%; max-width: 440px; }
.fv-stack .ui-card + .ui-card { margin-top: 12px; }
.fv-offset { position: absolute; right: -12px; bottom: -18px; width: 200px; }

.note-item { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border-soft); }
.note-item:first-of-type { border-top: 0; }
.note-item .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.note-item .ic svg { width: 14px; height: 14px; }
.note-item b { display: block; font-size: 11.5px; }
.note-item span { font-size: 11px; color: var(--muted); }

.seg { display: inline-flex; padding: 3px; background: #f1f5f9; border-radius: 9px; gap: 2px; }
.seg span { padding: 5px 10px; border-radius: 7px; font-size: 11px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.seg span.on { background: #fff; color: var(--green-700); box-shadow: var(--shadow-xs); }
.seg svg { width: 12px; height: 12px; }

.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.phase { border-radius: 10px; padding: 8px; border: 1px solid var(--border); background: #fff; display: grid; gap: 4px; align-content: start; }
.phase .p { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.phase .t { font-size: 10.5px; font-weight: 700; line-height: 1.25; }
.phase .d { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.phase.g { background: #f0faf5; border-color: #c4ead6; }
.phase.b { background: #ecf8f2; border-color: #bfe6d1; }
.phase.v { background: #e7f6ee; border-color: #b5e1ca; }
.phase.a { background: #e2f4ea; border-color: #abdcc2; }
.edit-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--green-700); font-weight: 600; }
.edit-pill svg { width: 11px; height: 11px; }

.timeline-mini { display: grid; gap: 0; }
.timeline-mini li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: start; position: relative; padding-bottom: 12px; }
.timeline-mini li::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; width: 2px; background: var(--border); }
.timeline-mini li:last-child::before { display: none; }
.timeline-mini .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green-500); background: #fff; margin-top: 2px; z-index: 1; }
.timeline-mini .dot.f { background: var(--green-500); }
.timeline-mini b { font-size: 11.5px; display: block; }
.timeline-mini span { font-size: 10.5px; color: var(--muted); }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 10px; }
.cal .h { color: var(--muted); font-weight: 600; font-size: 9px; }
.cal .d { padding: 5px 0; border-radius: 6px; color: var(--ink-2); }
.cal .d.x { background: var(--green-500); color: #fff; font-weight: 700; }
.cal .d.m { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.cal .d.o { color: #c0c8d0; }

@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .feature-visual { min-height: 0; }
  .fv-offset { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
}
@media (max-width: 420px) {
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   IMPLANTOLOGY (dark section)
   ========================================================= */
.section--dark {
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(0, 168, 90, 0.22), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(0, 168, 90, 0.12), transparent 70%),
    var(--dark);
  color: #e7efec;
}
.section--dark .eyebrow { background: rgba(0, 168, 90, 0.12); border-color: rgba(0, 168, 90, 0.3); color: #7fe0ae; }
.section--dark .section-head p { color: var(--dark-muted); }
.implant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.implant-card {
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--dark-border);
  display: grid; grid-template-columns: 1fr; gap: 18px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur);
}
.implant-card:hover { border-color: rgba(0, 168, 90, 0.45); transform: translateY(-3px); }
.implant-card { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.implant-card .hdr > div { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 400px) { .implant-card .hdr { gap: 12px; } .implant-card .icon-badge { width: 38px; height: 38px; } }
.dark-mini .ui-between { flex-wrap: wrap; justify-content: flex-start; }
.implant-card .icon-badge { background: rgba(0, 168, 90, 0.12); border-color: rgba(0, 168, 90, 0.3); color: #5fd79a; }
.implant-card h3 { font-size: var(--fs-h3); color: #fff; }
.implant-card p { color: var(--dark-muted); margin-top: 6px; }
.implant-card .hdr { display: flex; gap: 16px; align-items: flex-start; }
.dark-mini { border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--dark-border); padding: 14px; font-size: 11px; color: #cfdcd7; }
.dark-mini .teeth span { background: linear-gradient(180deg, #24443b, #183129); border-color: #2c4e44; }
.dark-mini .teeth span.sel { background: linear-gradient(180deg, #2fc07a, #10955a); border-color: #4fd690; }
.dark-mini .teeth span.miss { background: transparent; border-color: #c96a6a; }
.dark-mini .teeth span.imp { background: linear-gradient(180deg, #5b78c7, #3b5294); border-color: #7f98dc; }
.dark-mini .teeth-legend { color: var(--dark-muted); }
.dark-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--dark-border); font-size: 10.5px; color: #d6e2de; }
.dark-chip.on { background: rgba(0, 168, 90, 0.16); border-color: rgba(0, 168, 90, 0.45); color: #8ff0bd; }
.dark-chip.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fd98a; }
.dark-steps { display: flex; gap: 6px; }
.dark-steps span { flex: 1; padding: 7px 6px; border-radius: 8px; text-align: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--dark-border); font-size: 10px; }
.dark-steps span.done { background: rgba(0, 168, 90, 0.14); border-color: rgba(0, 168, 90, 0.4); color: #a5f1c9; }
.dark-steps span.now { border-color: #3fd98a; color: #fff; }
.disclaimer-dark { margin-top: 28px; text-align: center; font-size: var(--fs-xs); color: #7c958d; }
@media (max-width: 820px) { .implant-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PATIENT JOURNEY (interactive)
   ========================================================= */
.journey { display: grid; gap: 28px; }
.journey-tabs { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.journey-tabs::before { content: ""; position: absolute; left: 7%; right: 7%; top: 22px; height: 2px; background: var(--border); z-index: 0; }
.journey-progress { position: absolute; left: 7%; top: 22px; height: 2px; background: var(--green-500); z-index: 0; width: 0; transition: width 0.5s var(--ease); }
.j-tab {
  position: relative; z-index: 1; background: none; border: 0; padding: 0 4px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--muted); text-align: center; line-height: 1.25;
  border-radius: 10px; transition: color 0.25s;
}
.j-tab .node {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--border); color: var(--muted);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.j-tab .node svg { width: 20px; height: 20px; }
.j-tab:hover { color: var(--ink); }
.j-tab:hover .node { border-color: #a9dfc2; transform: translateY(-2px); }
.j-tab.is-past .node { border-color: var(--green-500); color: var(--green-600); }
.j-tab[aria-selected="true"] { color: var(--ink); }
.j-tab[aria-selected="true"] .node { background: var(--green-500); border-color: var(--green-500); color: #fff; box-shadow: 0 0 0 6px rgba(0, 168, 90, 0.14); }
.j-tab:focus-visible { box-shadow: none; }
.j-tab:focus-visible .node { box-shadow: var(--ring); }

.journey-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); }
.journey-panel[hidden] { display: none; }
.journey-panel .lbl { font-size: var(--fs-sm); font-weight: 700; color: var(--green-600); letter-spacing: 0.04em; }
.journey-panel h3 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); margin-top: 8px; }
.journey-panel p { color: var(--muted); margin-top: 12px; font-size: var(--fs-lead); }
.journey-panel .ui-card { box-shadow: var(--shadow-sm); }
@media (prefers-reduced-motion: no-preference) {
  .journey-panel:not([hidden]) { animation: panelIn 0.45s var(--ease); }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Scroll-pinned mode (enabled by main.js on tall-enough screens without reduced motion) */
.journey-section { position: relative; padding-block: var(--section-y); }
.journey-hint { display: none; }
.journey-section.is-pinned { padding-block: 0; height: calc(100vh + var(--stages, 7) * 45vh); height: calc(100svh + var(--stages, 7) * 45svh); }
.journey-section.is-pinned .journey-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-block: var(--header-h) 12px;
}
.journey-section.is-pinned .journey-panel { min-height: 300px; }
.journey-section.is-pinned .section-head { margin-bottom: clamp(20px, 3vh, 40px); }
.journey-section.is-pinned .journey-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em;
}
.journey-hint .mouse { width: 16px; height: 24px; border-radius: 10px; border: 1.5px solid #b6c2cc; position: relative; }
.journey-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--green-500); }
@media (prefers-reduced-motion: no-preference) { .journey-hint .mouse::after { animation: mouse 1.6s var(--ease) infinite; } }
@keyframes mouse { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }

@media (max-width: 860px) {
  .journey-section.is-pinned .section-head p { display: none; }
  .journey-section.is-pinned .journey-tabs { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .journey-section.is-pinned .journey-tabs::before { left: 7%; right: 7%; top: 19px; bottom: auto; width: auto; height: 2px; }
  .journey-section.is-pinned .journey-progress { display: block; top: 19px; }
  .journey-section.is-pinned .j-tab { flex-direction: column; align-items: center; font-size: 0; gap: 0; padding: 0; }
  .journey-section.is-pinned .j-tab .node { width: 38px; height: 38px; }
  .journey-section.is-pinned .j-tab .node svg { width: 17px; height: 17px; }
  .journey-section.is-pinned .journey-panel { min-height: 0; padding: 20px; gap: 16px; }
  .journey-section.is-pinned .journey-panel p { font-size: 0.9375rem; margin-top: 8px; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .journey-section.is-pinned .journey-panel .ui-card { display: none; }
}

@media (max-width: 860px) {
  .journey-tabs { grid-template-columns: 1fr; gap: 0; }
  .journey-tabs::before { left: 22px; right: auto; top: 23px; bottom: 23px; width: 2px; height: auto; }
  .journey-progress { display: none; }
  .j-tab { flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; padding: 6px 0; font-size: 1rem; }
  .j-tab .node { width: 46px; height: 46px; flex-shrink: 0; }
  .journey-panel { grid-template-columns: 1fr; }
  .journey { gap: 20px; }
}

/* =========================================================
   PRICING
   ========================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 6px; }
.price-card .plan { font-size: 1.0625rem; font-weight: 700; }
.price-card .period { font-size: var(--fs-sm); color: var(--muted); }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price-card .amount strong { font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.price-card .amount span { color: var(--muted); font-size: var(--fs-sm); }
.price-card .equiv { font-size: var(--fs-sm); color: var(--green-700); font-weight: 500; min-height: 1.6em; }
.price-card .divider { height: 1px; background: var(--border); margin: 18px 0; }
.price-card .detail { font-size: 0.9375rem; color: var(--ink-2); display: grid; gap: 10px; }
.price-card .detail li { display: flex; gap: 10px; }
.price-card .detail svg { width: 18px; height: 18px; color: #fff; background: var(--green-500); border-radius: 50%; padding: 3px; flex-shrink: 0; margin-top: 2px; }
.price-card .btn { margin-top: 20px; }
.price-card .divider { margin: 22px 0 16px; }
.plan-top { display: flex; align-items: center; gap: 12px; }
.incl { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-card--emph { border-color: #9fdbbb; background: linear-gradient(180deg, #f6fcf9, #fff 40%); box-shadow: 0 0 0 4px rgba(0, 168, 90, 0.06), var(--shadow-md); }
.price-card .was { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }
.price-card .was s { text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.price-card .was + .amount { margin-top: 6px; }
.save { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); }

/* Consultation add-on calculator (driven by data-* attributes in main.js) */
.addon { margin-top: 16px; padding: 14px; border-radius: var(--r-md, 12px); border: 1px solid var(--border); background: rgba(var(--acc), 0.05); display: grid; gap: 10px; }
.addon-lbl { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; }
.addon-hint { font-weight: 500; color: var(--muted); font-size: 12px; }
.addon-select { position: relative; }
.addon-select select, .addon-other {
  width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 0.9375rem; padding: 0 40px 0 12px; transition: border-color 0.2s, box-shadow 0.2s;
}
.addon-select select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.addon-select select option { color: #111827; background: #fff; }
.addon-select svg { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.addon-other { padding-right: 12px; }
.addon-select select:focus-visible, .addon-other:focus-visible { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(0, 168, 90, 0.2); }
.addon-other[aria-invalid="true"] { border-color: #dc2626; }
.addon-sum { display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: var(--fs-sm); }
.addon-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.addon-sum dt { color: var(--muted); }
.addon-sum > div[hidden] { display: none; }
.addon-sum dt { white-space: nowrap; }
.addon-sum dd { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon-sum .tot b { font-size: 1.0625rem; font-weight: 800; color: var(--green-700); }
.addon-sum .tot span { color: var(--muted); font-weight: 500; }
.price-card .addon + .btn { margin-top: 16px; }
.compare td s { margin-left: 6px; font-size: 0.8125rem; }
.cc-group li b { font-weight: 600; font-size: var(--fs-sm); }
.price-tag { position: absolute; top: -12px; left: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--green-500); color: #fff; padding: 4px 10px; border-radius: var(--r-pill); }
.price-foot { margin-top: 32px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.price-foot p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* Comparison */
.compare { overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.compare thead th { background: #fbfcfc; font-size: var(--fs-sm); font-weight: 700; position: sticky; top: 0; }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 18%; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare tr.grp th { background: var(--green-50); color: var(--green-700); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding-block: 10px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.yes svg { width: 14px; height: 14px; }
.tbc { display: inline-block; font-size: 11px; font-weight: 600; color: #8a6200; background: var(--tint-amber); border: 1px dashed #f3cf86; border-radius: var(--r-pill); padding: 2px 8px; white-space: nowrap; }
.compare-cards { display: none; }
@media (max-width: 760px) {
  .compare table { display: none; }
  .compare-cards { display: grid; gap: 0; }
  .cc-group { padding: 16px 18px; border-bottom: 1px solid var(--border-soft); }
  .cc-group h3 { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-700); margin-bottom: 8px; }
  .cc-group li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; font-size: 0.9375rem; border-top: 1px dashed var(--border-soft); }
  .cc-group li:first-child { border-top: 0; }
}

/* Billing info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.info-card { padding: 22px; }
.info-card h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 18px; height: 18px; color: var(--green-600); }
.info-card p { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; }

/* Placeholder marker (dev only content awaiting confirmation) */
.placeholder-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  background: #fffaf0; border: 1px dashed #f0c674; color: #7a5600; font-size: var(--fs-sm);
}
.placeholder-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   PRINCIPLES / TESTIMONIAL ALTERNATIVE
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.review::after { /* quote mark watermark */
  content: "\201C"; position: absolute; right: 20px; top: 6px; font: 800 64px/1 Georgia, serif; color: var(--green-100); pointer-events: none;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, #17c271, #007a43); color: #fff; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; }
.review-head b { display: block; font-size: 0.9375rem; }
.review-head small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.stars { display: flex; gap: 2px; color: #fbbc04; }
.stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0; color: var(--ink-2); font-size: 0.9875rem; line-height: 1.6; }
.reviews-note { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.reviews-note svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 960px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 86%; scroll-snap-align: center; }
}

/* =========================================================
   FAQ (accordion)
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-wrap > .section-head { margin: 0; text-align: left; position: sticky; top: 110px; }
.faq-aside { position: sticky; top: 100px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.faq-photo { aspect-ratio: 4 / 5; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.faq-aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 18, 14, 0.8)); pointer-events: none; }
.glass-dark {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px -12px rgba(0, 0, 0, 0.4);
}
.faq-ask { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; border-radius: var(--r-lg); padding: 18px; display: grid; gap: 6px; justify-items: start; }
.faq-ask b { font-size: 1.0625rem; }
.faq-ask p { font-size: var(--fs-sm); color: rgba(240, 247, 244, 0.85); margin-bottom: 8px; }
.faq-list { counter-reset: faq; }
.faq-btn::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-size: var(--fs-xs); font-weight: 700; color: var(--green-600); min-width: 22px; font-variant-numeric: tabular-nums; }
.faq-list .faq-btn { justify-content: flex-start; }
.faq-btn > .faq-icon { margin-left: auto; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item.is-open { border-color: #b9e4cc; box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 1rem; line-height: 1.4; border-radius: var(--r-md);
}
.faq-btn:focus-visible { box-shadow: var(--ring); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; position: relative; background: var(--green-50); transition: background-color 0.25s, transform 0.3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--green-700); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--green-500); }
.faq-btn[aria-expanded="true"] .faq-icon::before, .faq-btn[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 20px 20px 58px; color: var(--muted); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-item:hover:not(.is-open) { border-color: #cfe9db; }
@media (max-width: 880px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap > .section-head { position: static; text-align: center; margin-inline: auto; }
  .faq-aside { position: relative; top: 0; order: 2; }
  .faq-photo { aspect-ratio: 16 / 10; }
  .faq-panel p { padding-left: 20px; }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-band { padding-block: clamp(32px, 5vw, 64px) var(--section-y); }
.cta-box {
  position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(0, 40, 22, 0.45), transparent 70%),
    linear-gradient(135deg, #00a85a 0%, #008f4c 45%, #006f40 100%);
  color: #fff; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  box-shadow: 0 30px 80px -20px rgba(0, 111, 64, 0.5);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.25;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.cta-box h2 { font-size: var(--fs-h2); position: relative; }
.cta-box p { margin-top: 16px; font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.85); max-width: 560px; position: relative; }
.cta-box .btn-row { margin-top: 32px; position: relative; }
.cta-orbit { position: relative; justify-self: center; width: 100%; max-width: 300px; aspect-ratio: 1; }
.cta-orbit svg { width: 100%; height: 100%; overflow: visible; }
.cta-orbit .ring { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1; stroke-dasharray: 3 6; }
.cta-orbit .link { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; }
.cta-orbit .nd { fill: #fff; }
.cta-orbit .nd-ring { fill: rgba(255, 255, 255, 0.14); stroke: rgba(255, 255, 255, 0.5); }
.cta-orbit text { fill: #fff; font: 600 11px var(--font); }
@media (prefers-reduced-motion: no-preference) {
  .cta-orbit .spin { transform-origin: 150px 150px; animation: spin 60s linear infinite; }
  .cta-box:not(.is-visible) .spin { animation-play-state: paused; }
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Photo variant: clinic image under a dark gradient with a glass content panel */
.cta-box--photo { grid-template-columns: 1fr; background: var(--dark); min-height: clamp(360px, 38vw, 460px); box-shadow: var(--shadow-lg); }
.cta-box--photo::before { display: none; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-box--photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 18, 14, 0.94) 0%, rgba(4, 18, 14, 0.78) 45%, rgba(4, 18, 14, 0.25) 100%);
}
.cta-copy { position: relative; z-index: 1; max-width: 620px; }
@media (max-width: 880px) {
  .cta-box--photo::after { background: linear-gradient(180deg, rgba(4, 18, 14, 0.7), rgba(4, 18, 14, 0.92)); }
  .cta-copy { margin-inline: auto; }
}
@media (max-width: 880px) {
  .cta-box { grid-template-columns: 1fr; text-align: center; }
  .cta-box p { margin-inline: auto; }
  .cta-box .btn-row { justify-content: center; }
  .cta-orbit { display: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--dark); color: #c3d2cd; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--dark-muted); max-width: 360px; font-size: 0.9375rem; }
.footer-col h2 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col span { font-size: 0.9375rem; color: #b4c6c0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col .soon { color: #6f8a81; display: inline-flex; gap: 8px; align-items: center; }
.footer-col .soon em { font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: var(--r-pill); border: 1px solid #2b463e; color: #84a097; }
.footer-bottom { margin-top: clamp(40px, 6vw, 72px); padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--dark-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); color: #7f978f; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FLOATING ACTION BUTTON
   ========================================================= */
.fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.fab.is-away, .menu-is-open .fab { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
.fab-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--r-pill); border: 0;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9375rem;
  box-shadow: 0 10px 30px rgba(7, 27, 23, 0.3); transition: background-color 0.25s, transform 0.25s var(--ease);
}
.fab-toggle:hover { background: #1c2636; transform: translateY(-2px); }
.fab-toggle .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--green-500); display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.fab-toggle .ic svg { width: 14px; height: 14px; }
.fab-toggle[aria-expanded="true"] .ic { transform: rotate(45deg); }
.fab-menu {
  width: 260px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-lg);
  transform-origin: bottom right; transform: scale(0.96) translateY(6px); opacity: 0; visibility: hidden;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease), visibility 0s linear 0.22s;
}
.fab.is-open .fab-menu { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.fab-menu a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; transition: background-color 0.2s; }
.fab-menu a:hover, .fab-menu a:focus-visible { background: var(--green-50); }
.fab-menu .icon-badge { width: 38px; height: 38px; border-radius: 10px; }
.fab-menu .icon-badge svg { width: 18px; height: 18px; }
.fab-menu b { display: block; font-size: 0.9375rem; }
.fab-menu small { display: block; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 600px) {
  .fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .fab-toggle { height: 48px; padding: 0 16px 0 12px; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(56px, 7vw, 88px);
  background: radial-gradient(55% 60% at 50% 0%, rgba(0, 168, 90, 0.12), transparent 70%), var(--bg);
}
.page-hero.dark-hero {
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(0, 168, 90, 0.32) 0%, rgba(0, 168, 90, 0) 70%),
    radial-gradient(35% 40% at 92% 55%, rgba(25, 185, 108, 0.14) 0%, rgba(25, 185, 108, 0) 70%),
    linear-gradient(180deg, #04120e 0%, #071b17 55%, #0a1f19 80%, var(--bg) 100%);
}
.page-hero h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 20px; }
.page-hero .lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 20px; max-width: 640px; }
.dark-hero .lead { color: rgba(226, 238, 233, 0.78); }
.page-hero-copy { text-align: center; max-width: 900px; margin-inline: auto; }
.page-hero-copy .lead { margin-inline: auto; max-width: 720px; }

/* About: large video at the foot of the banner */
.about-video { max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 10px; border-radius: calc(var(--r-xl) + 10px); }
.about-video { background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7), 0 0 120px -40px rgba(0, 168, 90, 0.6); }
.about-video .video-frame { border: 0; box-shadow: none; }
.about-video .video-facade img { opacity: 1; }
.about-video .video-facade::after { background: radial-gradient(circle at center, rgba(4, 18, 14, 0.25), transparent 60%); }
.video-caption { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px 6px; font-size: var(--fs-sm); color: rgba(226, 238, 233, 0.75); text-align: center; }
.video-caption b { color: #fff; font-weight: 600; }
.video-caption svg { width: 14px; height: 14px; color: #3fd98a; flex-shrink: 0; }
@media (max-width: 600px) { .about-video { padding: 6px; border-radius: calc(var(--r-lg) + 6px); } .about-video .video-frame { border-radius: var(--r-lg); } }

.video-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--dark); box-shadow: var(--shadow-lg); border: 1px solid rgba(17, 24, 39, 0.08); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--dark); display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s, transform 0.6s var(--ease); }
.video-facade:hover img { opacity: 1; transform: scale(1.02); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 27, 23, 0.65)); }
.video-facade .play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: var(--green-600); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 12px 30px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease);
}
.video-facade:hover .play { transform: scale(1.06); }
.video-facade .play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-facade .cap { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; text-align: left; font-size: var(--fs-sm); font-weight: 600; }
.video-facade .cap small { display: block; font-weight: 400; opacity: 0.8; }
.video-facade:focus-visible { box-shadow: inset 0 0 0 3px var(--green-500); }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-card { padding: 24px; }
.problem-card h3 { font-size: 1.0625rem; margin-top: 16px; }
.problem-card p { color: var(--muted); font-size: 0.9375rem; margin-top: 8px; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-body h2 { font-size: var(--fs-h2); margin-top: 16px; }
.story-body { display: grid; gap: 20px; font-size: var(--fs-lead); color: var(--ink-2); }
.story-body .pull { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.4; font-weight: 600; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--green-500); letter-spacing: -0.015em; }
@media (max-width: 880px) { .story { grid-template-columns: 1fr; } .story-img { aspect-ratio: 16 / 11; } }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.approach-card { padding: 26px; display: grid; gap: 14px; align-content: start; }
.approach-card h3 { font-size: 1.125rem; }
.approach-card p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .approach-grid { grid-template-columns: 1fr; } }

.vision { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.vision-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.12); }
.vision-img img { width: 100%; height: 100%; object-fit: cover; }
.vision-list { margin-top: 24px; display: grid; gap: 16px; }
.vision-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.vision-list .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 168, 90, 0.14); color: #6fe0a6; font-weight: 700; font-size: var(--fs-sm); }
.vision-list b { color: #fff; display: block; }
.vision-list span { color: var(--dark-muted); font-size: 0.9375rem; }
@media (max-width: 880px) { .vision { grid-template-columns: 1fr; } }

.contact-card { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.contact-card h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); }
.contact-card p { color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; } }

/* Pricing hero */
.pricing-hero .lead { margin-inline: auto; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 24px; font-size: var(--fs-sm); color: rgba(226, 238, 233, 0.85); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: #3fd98a; }
.pricing-cards-wrap { margin-top: clamp(36px, 5vw, 56px); }
.dark-hero .price-card { box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); border-color: rgba(255, 255, 255, 0.1); color: var(--ink); }
.dark-hero .price-card--emph { border-color: #3fd98a; box-shadow: 0 0 0 4px rgba(63, 217, 138, 0.18), 0 30px 70px -20px rgba(0, 168, 90, 0.55); }
.workflow-note--dark { color: rgba(226, 238, 233, 0.6); }

/* Included in every plan */
.incl-split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.h2 { font-size: var(--fs-h2); margin-top: 16px; }
.lead-muted { font-size: var(--fs-lead); color: var(--muted); margin-top: 16px; max-width: 620px; }
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.incl-item { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: border-color 0.25s, box-shadow 0.25s; }
.incl-item:hover { border-color: #b9e4cc; box-shadow: var(--shadow-sm); }
.incl-item b { display: block; font-size: 0.9875rem; }
.incl-item span:not(.icon-badge) { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.incl-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.incl-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .incl-split { grid-template-columns: 1fr; } .incl-img { aspect-ratio: 16 / 11; } }
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } }

/* =========================================================
   DARK THEME LAYER
   Overrides for components first designed on light surfaces.
   ========================================================= */
::selection { background: rgba(0, 168, 90, 0.4); color: #fff; }
.skip-link { color: var(--bg); }
.section--glow { background: radial-gradient(60% 50% at 50% 0%, rgba(0, 168, 90, 0.16), transparent 70%), var(--bg); }

/* Light grid-line pattern (same language as the hero) */
.bg-grid, .section--dark { isolation: isolate; }
.bg-grid::before, .section--dark::before, .site-footer::before, .contact-panel::before, .cta-band--photo::after, .feature-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000, transparent 85%);
  mask-image: radial-gradient(75% 60% at 50% 0%, #000, transparent 85%);
}

/* One brand accent across every card grid */
.tone-cycle > * { --acc: 0, 168, 90; }
.section--dark .tone-cycle > * { --acc: 63, 217, 138; }

/* Cards: tinted dark glass with a pointer-following spotlight (--mx/--my/--so set in main.js) */
.card, .implant-card, .incl-item, .faq-item {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--acc), calc(var(--so, 0) * 0.16)), transparent 45%),
    linear-gradient(160deg, rgba(var(--acc), 0.09), rgba(255, 255, 255, 0.015) 55%),
    var(--card-base);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px -16px rgba(16, 24, 40, 0.12);
}
.card--hover:hover, .incl-item:hover, .implant-card:hover {
  border-color: rgba(var(--acc), 0.45);
  box-shadow: 0 24px 50px -24px rgba(var(--acc), 0.4);
}
.icon-badge, .implant-card .icon-badge { background: rgba(var(--acc), 0.12); border-color: rgba(var(--acc), 0.32); color: rgb(var(--acc)); }
.ui .icon-badge { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }

/* Buttons */
.btn--primary { box-shadow: 0 10px 30px -8px rgba(0, 168, 90, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn--primary:hover { background: #00b863; box-shadow: 0 14px 36px -8px rgba(0, 168, 90, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.dark-hero .btn--secondary, .section--dark .btn--secondary { background: rgba(255, 255, 255, 0.06); color: var(--ink); border-color: rgba(255, 255, 255, 0.14); }
.dark-hero .btn--secondary:hover, .section--dark .btn--secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }


/* Workflow */
.wf-card::after { background-color: var(--card-base); border-color: rgba(63, 217, 138, 0.55); box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(0, 168, 90, 0.45); }
.wf-card.is-active { border-color: rgba(var(--acc), 0.55); box-shadow: 0 0 0 4px rgba(var(--acc), 0.08), 0 24px 50px -24px rgba(var(--acc), 0.5); }
.wf-mini { box-shadow: 0 8px 20px -14px rgba(16, 24, 40, 0.2); }
@media (max-width: 680px) {
  .wf-card::before { background: var(--card-base); box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(0, 168, 90, 0.4); }
}

/* Feature visuals: tinted stage with grid lines */
.feature-visual { isolation: isolate; }
.feature-visual::before { -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 90%); mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 90%); }

/* Implant section: deeper teal tone so it reads as its own chapter */
.section--dark {
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(0, 168, 90, 0.24), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(45, 212, 191, 0.14), transparent 70%),
    linear-gradient(180deg, #06140f, #041210);
  border-block: 1px solid var(--border-soft);
}

/* Journey */
.j-tab .node { background: var(--card-base); }
.journey-hint .mouse { border-color: var(--muted); }

/* Pricing */
.price-card--emph {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(63, 217, 138, calc(var(--so, 0) * 0.16)), transparent 45%),
    linear-gradient(170deg, rgba(0, 168, 90, 0.2), rgba(255, 255, 255, 0.02) 55%), var(--card-base);
  border-color: rgba(63, 217, 138, 0.55);
  box-shadow: 0 0 0 4px rgba(63, 217, 138, 0.1), 0 30px 70px -25px rgba(0, 168, 90, 0.6);
}
.dark-hero .price-card { border-color: rgba(255, 255, 255, 0.1); }
.compare thead th { background: var(--bg); }

/* Billing information */
.billing { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.billing-summary {
  position: sticky; top: 100px; display: grid; gap: 18px; padding: 26px; border-radius: var(--r-xl);
  background: radial-gradient(120% 80% at 0% 0%, rgba(0, 168, 90, 0.26), transparent 60%), linear-gradient(180deg, #0d1d18, #0a1512);
  border: 1px solid rgba(63, 217, 138, 0.3); box-shadow: 0 30px 70px -30px rgba(0, 168, 90, 0.5);
}
.ui-label-dark { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700); }
.billing-rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.billing-rows span { grid-row: span 2; font-weight: 600; color: var(--ink-2); }
.billing-rows b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; }
.billing-rows small { text-align: right; font-size: var(--fs-xs); color: var(--muted); }
.billing-facts { display: grid; gap: 8px; }
.billing-facts p { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--ink-2); }
.billing-facts svg { width: 16px; height: 16px; color: #3fd98a; flex-shrink: 0; }
.billing .info-grid { grid-template-columns: repeat(2, 1fr); }
.info-card { display: grid; gap: 12px; align-content: start; }
.info-card p { margin-top: 0; }
.info-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(var(--acc), 0.3), rgba(var(--acc), 0.08)); color: rgb(var(--acc));
  border: 1px solid rgba(var(--acc), 0.35); box-shadow: 0 8px 20px -8px rgba(var(--acc), 0.55);
}
.info-ic svg { width: 20px; height: 20px; }
.info-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.info-hd h3 { font-size: 1.0625rem; }
.status--ok { font-size: 11px; font-weight: 600; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--r-pill); padding: 2px 8px; }
@media (max-width: 960px) { .billing { grid-template-columns: 1fr; } .billing-summary { position: static; } }
@media (max-width: 560px) { .billing .info-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-item.is-open { border-color: rgba(63, 217, 138, 0.45); box-shadow: 0 20px 40px -24px rgba(0, 168, 90, 0.5); }
.faq-item:hover:not(.is-open) { border-color: #cfe9db; }
.review::after { color: rgba(var(--acc), 0.22); }

/* Full-bleed photo CTA */
.cta-band--photo { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 104px); color: #fff; }
.cta-band--photo .cta-bg { z-index: -3; }
.cta-band--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 11, 9, 0) 22%, rgba(5, 11, 9, 0) 78%, #040907 100%),
    linear-gradient(90deg, rgba(5, 11, 9, 0.96) 0%, rgba(5, 11, 9, 0.82) 45%, rgba(5, 11, 9, 0.35) 100%);
}
.cta-band--photo::after { -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.cta-copy { max-width: 640px; }
.cta-copy h2 { font-size: var(--fs-h2); }
.cta-copy p { margin-top: 16px; font-size: var(--fs-lead); color: rgba(226, 238, 233, 0.82); max-width: 560px; }
.cta-copy .btn-row { margin-top: 28px; }
@media (max-width: 880px) {
  .cta-band--photo::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 11, 9, 0.8) 30%, rgba(5, 11, 9, 0.88) 70%, #040907 100%); }
  .cta-copy { text-align: center; margin-inline: auto; }
  .cta-copy p { margin-inline: auto; }
  .cta-copy .btn-row { justify-content: center; }
}

/* Footer */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(60% 50% at 50% 0%, rgba(0, 168, 90, 0.14), transparent 70%), #040907; padding-top: clamp(48px, 6vw, 72px); }
.site-footer::after { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(63, 217, 138, 0.7), transparent); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(40px, 6vw, 96px); }
.footer-brand p { margin-top: 16px; max-width: 340px; color: #9fb3ac; line-height: 1.65; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.footer-login { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: #e6efeb; transition: color 0.2s; }
.footer-login svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.footer-login:hover { color: #5fe0a0; }
.footer-login:hover svg { transform: translateX(3px); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 32px; }
.footer-col .soon { white-space: nowrap; }
.footer-col h2 { font-size: 0.8125rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer-col ul { gap: 12px; }
.footer-col a, .footer-col span { color: #93a8a0; }
.footer-col a:hover { color: #fff; }
.footer-trust {
  display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(40px, 5vw, 64px); padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-sm); color: #b4c6c0;
}
.footer-trust li { display: inline-flex; align-items: center; gap: 10px; }
.footer-trust svg { width: 18px; height: 18px; color: #3fd98a; flex-shrink: 0; }
.footer-bottom { margin-top: 0; border-top-color: rgba(255, 255, 255, 0.08); align-items: center; color: #7f978f; }
.footer-top-link { display: inline-flex; align-items: center; gap: 6px; color: #93a8a0; transition: color 0.2s; }
.footer-top-link svg { width: 15px; height: 15px; transform: rotate(180deg); }
.footer-top-link:hover { color: #fff; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-col .soon { white-space: normal; } .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } .footer-trust { flex-direction: column; } }

/* Animated "Get started" button */
.fab-toggle {
  position: relative; isolation: isolate; color: #fff;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%) no-repeat, linear-gradient(135deg, #00a85a, #17c271);
  background-size: 250% 100%, 100% 100%; background-position: 200% 0, 0 0;
  box-shadow: 0 14px 34px -8px rgba(0, 168, 90, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.fab-toggle:hover { background-color: transparent; background-image: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%), linear-gradient(135deg, #00b863, #1fd17d); transform: translateY(-2px) scale(1.02); }
.fab-toggle .ic { background: rgba(4, 18, 14, 0.3); }
.fab-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(63, 217, 138, 0.8); pointer-events: none; z-index: -1; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .fab-toggle { animation: fabShine 4s ease-in-out infinite; }
  .fab-ring { animation: fabRing 2.4s ease-out infinite; }
  .fab-toggle .ic svg { animation: fabNudge 4s ease-in-out infinite; }
  .fab-toggle[aria-expanded="true"], .fab-toggle[aria-expanded="true"] .fab-ring, .fab-toggle[aria-expanded="true"] .ic svg { animation: none; }
}
@keyframes fabShine { 0%, 55% { background-position: 200% 0, 0 0; } 100% { background-position: -100% 0, 0 0; } }
@keyframes fabRing { 0% { transform: scale(1); opacity: 0.85; } 100% { transform: scale(1.25, 1.6); opacity: 0; } }
@keyframes fabNudge { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(90deg); } 90% { transform: rotate(90deg); } }

/* About: vision */
.vision-section { background: radial-gradient(50% 40% at 50% 35%, rgba(0, 168, 90, 0.16), transparent 70%), var(--bg); }
.vision-frame {
  max-width: 1040px; margin: 0 auto; padding: 10px; border-radius: calc(var(--r-xl) + 10px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 120px -40px rgba(0, 168, 90, 0.5);
}
.vision-frame img { width: 100%; border-radius: var(--r-xl); }
.vision-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: -56px auto 0; position: relative; z-index: 1; }
.vision-pillars .card { padding: 22px; box-shadow: 0 24px 50px -20px rgba(16, 24, 40, 0.25); }
.vp-n { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: rgb(var(--acc)); }
.vision-pillars h3 { font-size: 1.0625rem; margin-top: 8px; }
.vision-pillars p { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
@media (max-width: 760px) { .vision-pillars { grid-template-columns: 1fr; margin-top: 16px; } }

/* About: contact / demo */
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 5vw, 56px); border-radius: clamp(20px, 3vw, 32px);
  background: radial-gradient(70% 90% at 0% 0%, rgba(0, 168, 90, 0.22), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(0, 168, 90, 0.1), transparent 70%), #0a1612;
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 100px -40px rgba(0, 168, 90, 0.45);
}
.contact-panel::before { -webkit-mask-image: radial-gradient(60% 80% at 100% 0%, #000, transparent 85%); mask-image: radial-gradient(60% 80% at 100% 0%, #000, transparent 85%); }
.contact-copy h2 { font-size: var(--fs-h2); margin-top: 16px; }
.contact-copy > p { color: var(--muted); font-size: var(--fs-lead); margin-top: 14px; max-width: 540px; }
.demo-list { margin-top: 26px; display: grid; gap: 14px; }
.demo-list li { display: flex; gap: 14px; align-items: flex-start; }
.dl-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 700; color: #04120e; background: linear-gradient(135deg, #5fe0a0, #00a85a); box-shadow: 0 0 0 4px rgba(0, 168, 90, 0.15); }
.demo-list b { display: block; }
.demo-list span { color: var(--muted); font-size: var(--fs-sm); }
.contact-actions { display: grid; gap: 12px; }
.action-tile {
  --acc: 63, 217, 138; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
}
.action-tile--primary { --acc: 63, 217, 138; background: linear-gradient(135deg, rgba(0, 168, 90, 0.28), rgba(0, 168, 90, 0.08)); border-color: rgba(63, 217, 138, 0.45); }
.action-tile b { display: block; font-size: 1rem; }
.action-tile small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.action-tile .go { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.action-tile:hover { transform: translateY(-2px); border-color: rgba(var(--acc), 0.55); background-color: rgba(var(--acc), 0.08); }
.action-tile:hover .go { transform: translateX(4px); color: rgb(var(--acc)); }
@media (max-width: 880px) { .contact-panel { grid-template-columns: 1fr; } }

/* Reduced motion: disable non-essential transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
