:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #10203a;
  --muted: #5f6f89;
  --line: #dbe4f0;
  --brand: #2c63ff;
  --brand-2: #0aa2d4;
  --green: #14b878;
  --purple: #7557ff;
  --dark: #0d1730;
  --dark-2: #111d3a;
  --shadow: 0 24px 60px rgba(26, 54, 112, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.demo-banner {
  background: linear-gradient(90deg, #092356, #1649af);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a:not(.button) {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover:not(.button) { color: var(--text); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(44, 99, 255, 0.24);
}

.button:hover { transform: translateY(-1px); }
.button-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button-sm { padding: 11px 18px; font-size: 14px; }
.button-full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(44, 99, 255, 0.16), transparent 36%),
    radial-gradient(circle at left center, rgba(10, 162, 212, 0.10), transparent 28%),
    linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
}

.hero-service.hero-implant {
  background:
    radial-gradient(circle at right top, rgba(44, 99, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.hero-service.hero-aligner {
  background:
    radial-gradient(circle at right top, rgba(20, 184, 120, 0.18), transparent 34%),
    linear-gradient(180deg, #f8fffb 0%, #eefcf5 100%);
}

.hero-proof {
  background:
    radial-gradient(circle at right top, rgba(117, 87, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #fbf9ff 0%, #f3efff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.service-grid { align-items: stretch; }

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(44, 99, 255, 0.10);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.12);
  color: #dce6ff;
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
h3 { font-size: 1.16rem; }

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-points,
.check-list,
.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li,
.check-list li,
.compact-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text);
}

.hero-points li::before,
.check-list li::before,
.compact-list li::before {
  content: '•';
  position: absolute;
  left: 10px;
  top: -1px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
}

.glass-card,
.feature-card,
.metric-card,
.panel-card,
.form-card,
.mini-card,
.side-cta,
.compare-cell {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 228, 240, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-card { padding: 28px; }
.hero-panel { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.price-panel { justify-content: center; text-align: left; }
.price-panel strong { font-size: clamp(2.5rem, 5vw, 4rem); margin: 8px 0 4px; display: block; }
.aligner-price strong { color: var(--green); }
.metric-label, .micro-note { color: var(--muted); }
.micro-note { font-size: 13px; }

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.metric-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,249,255,0.94));
}

.metric-card strong { display: block; margin-top: 6px; }
.mini-stack { display: grid; gap: 10px; margin-top: 18px; }
.mini-stack div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(44, 99, 255, 0.08);
  font-weight: 600;
}

.section { padding: 84px 0; }
.soft-bg { background: #f0f6ff; }
.dark-band {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: white;
}
.cta-band {
  background: linear-gradient(180deg, #eff5ff 0%, #e8f2ff 100%);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); }
.section-head.light p { color: #b8c5e6; }
.section-head.light h2 { color: white; }

.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.compact .mini-card { min-height: 100%; }

.feature-card,
.mini-card,
.panel-card,
.form-card {
  padding: 24px;
}

.icon-chip {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(44, 99, 255, 0.10);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 18px;
}

.feature-card p,
.panel-card p,
.mini-card span,
.info-list p,
.faq-list p,
.timeline p,
.side-cta p,
.compare-cell p {
  color: var(--muted);
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.two-col.reverse { grid-template-columns: 1fr 1fr; }
.align-start { align-items: start; }
.split-callout { align-items: center; }

.panel-card {
  color: var(--text);
}
.accent-blue { background: linear-gradient(180deg, #edf4ff, #ffffff); }
.accent-green { background: linear-gradient(180deg, #ecfff6, #ffffff); }
.accent-purple { background: linear-gradient(180deg, #f4f0ff, #ffffff); }

.info-list,
.faq-list {
  display: grid;
  gap: 16px;
}
.info-list article,
.faq-list article {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.85);
}

.timeline {
  display: grid;
  gap: 18px;
}
.timeline article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}
.timeline span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(44, 99, 255, 0.10);
  color: var(--brand);
}

.side-cta { padding: 0; background: transparent; border: 0; box-shadow: none; }
.stacked { display: flex; flex-direction: column; gap: 14px; }

.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.form-card input,
.form-card select {
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}
.form-card form { margin-top: 16px; }

.dark .mini-card,
.mini-card.dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
}
.mini-card.dark strong { display: block; margin-bottom: 8px; color: white; }
.mini-card.dark span { color: #c7d3f1; }

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  gap: 1px;
  background: var(--line);
}
.compare-head {
  padding: 18px 22px;
  font-weight: 800;
  background: #f1f4fa;
}
.compare-head.better {
  background: #edf9f2;
  color: #0a8051;
}
.compare-head.current { color: #6b7280; }
.compare-cell {
  padding: 22px;
  border-radius: 0;
  box-shadow: none;
  background: white;
}
.better-cell { background: #fbfefc; }

.proof-bullets {
  display: grid;
  gap: 12px;
}
.proof-bullets div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(117, 87, 255, 0.08);
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer {
  padding: 32px 0 96px;
  background: #f3f6fb;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.site-footer p,
.site-footer a { color: var(--muted); }

.sticky-cta-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 30;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(16, 32, 58, 0.92);
  box-shadow: 0 20px 50px rgba(7, 14, 28, 0.25);
}
.sticky-cta-bar a {
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.sticky-cta-bar a:first-child { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.sticky-cta-bar a:last-child { background: rgba(255,255,255,0.12); }

.hidden { display: none !important; }

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .card-grid.three,
  .card-grid.four,
  .footer-grid,
  .cta-band-inner,
  .compare-table,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta-bar {
    display: flex;
  }

  .compare-head { display: none; }
  .section-head,
  .cta-band-inner {
    flex-direction: column;
    align-items: start;
  }

  h1, h2 { max-width: none; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }

  .sticky-cta-bar {
    width: calc(100% - 20px);
    justify-content: space-between;
  }

  .sticky-cta-bar a {
    flex: 1;
    text-align: center;
    font-size: 14px;
    padding: 12px 10px;
  }
}

@media (max-width: 640px) {
  .hero,
  .section { padding: 68px 0; }
  .glass-card,
  .feature-card,
  .panel-card,
  .form-card,
  .mini-card,
  .compare-cell { padding: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .brand small { display: none; }
  .container { width: min(var(--container), calc(100% - 20px)); }
  .sticky-cta-bar { bottom: 10px; }
}

.hero-service.hero-emface {
  background:
    radial-gradient(circle at right top, rgba(117, 87, 255, 0.18), transparent 34%),
    radial-gradient(circle at left center, rgba(10, 162, 212, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf9ff 0%, #f3efff 100%);
}

.video-showcase-frame {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding: 0;
}

.feature-video {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.feature-video-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(180deg, rgba(10,17,34,0.12), rgba(10,17,34,0.78));
  backdrop-filter: blur(4px);
}

.feature-video-overlay span {
  color: rgba(255,255,255,0.88);
}

.service-photo-caption,
.small-lead {
  color: var(--muted);
}

.small-lead {
  font-size: 1rem;
  margin-top: 18px;
}

.office-gallery-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.office-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.office-gallery-main,
.office-gallery-grid img,
.office-gallery-video {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 228, 240, 0.85);
  background: white;
}

.office-gallery-main img,
.office-gallery-grid img,
.office-gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-gallery-main {
  min-height: 430px;
}

.office-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.office-gallery-grid img,
.office-gallery-video video {
  min-height: 205px;
}

.office-gallery-main.office-gallery-video video {
  min-height: 430px;
}

@media (max-width: 980px) {
  .office-gallery {
    grid-template-columns: 1fr;
  }

  .office-gallery-main {
    min-height: 320px;
  }

  .office-gallery-main.office-gallery-video video,
  .feature-video {
    min-height: 320px;
  }
}
