:root {
  --brand: #2554e8;
  --brand-600: #1d43c4;
  --brand-50: #eef3ff;
  --mint: #12b886;
  --mint-50: #e6f8f1;
  --ink: #0e1a33;
  --ink-2: #3b4863;
  --muted: #6b7690;
  --line: #e4e8f1;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --danger: #e5484d;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(14, 26, 51, .25);
  --shadow-sm: 0 4px 16px -6px rgba(14, 26, 51, .15);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
section[id] { scroll-margin-top: 80px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 84, 232, .7); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(37, 84, 232, .35); outline-offset: 2px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.lang button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { padding: 64px 0 40px; background:
  radial-gradient(900px 420px at 85% 0%, rgba(37, 84, 232, .10), transparent 70%),
  radial-gradient(600px 300px at 0% 20%, rgba(18, 184, 134, .08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--mint-50); color: #0b7a59; font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(18, 184, 134, .2); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--mint); margin-right: 6px; font-weight: 800; }

.hero-visual { position: relative; padding: 20px 0 40px; }
.app { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dce7; }
.app-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; }
.app-body { display: flex; }
.app-side { width: 52px; background: var(--ink); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.app-side b { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .14); }
.app-side b.on { background: var(--brand); }
.app-main { flex: 1; padding: 16px 18px 18px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-head small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.app-head strong { font-size: 16px; }
.alert-chip { background: #fdecec; color: #b42328; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--line); margin: 14px 0; font-size: 12.5px; font-weight: 700; color: var(--muted); overflow: hidden; }
.tabs span { padding-bottom: 8px; white-space: nowrap; }
.tabs .on { color: var(--brand); border-bottom: 2px solid var(--brand); }

/* Odontogram (generated) */
.chart { display: grid; gap: 10px; }
.jaw { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; }
.t { aspect-ratio: .78; border-radius: 6px 6px 9px 9px; background: #f1f4fa; border: 1.5px solid #d9dfeb; position: relative; display: flex; align-items: flex-end; justify-content: center; font-size: 8.5px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.jaw.lower .t { border-radius: 9px 9px 6px 6px; align-items: flex-start; padding: 2px 0 0; }
.t.done { background: var(--mint-50); border-color: var(--mint); color: #0b7a59; }
.t.sel { background: var(--brand-50); border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 2px rgba(37, 84, 232, .18); }
.t.molar { aspect-ratio: .9; }
.legend { display: flex; gap: 14px; margin-top: 12px; font-size: 11.5px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-green::before { background: var(--mint); }
.lg-blue::before { background: var(--brand); }

.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; }
.float-card small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fc-pay { right: -14px; bottom: 0; }
.fc-pay strong { font-size: 22px; display: block; }
.fc-pay .ok { font-size: 12px; font-weight: 700; color: #0b7a59; }
.fc-appt { left: -28px; bottom: -34px; width: 190px; }
.appt { display: flex; gap: 10px; font-size: 12.5px; padding: 5px 0; border-top: 1px dashed var(--line); }
.appt:first-of-type { border-top: 0; }
.appt b { color: var(--brand); }

/* Real panel screenshots */
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; height: auto; }
.hero-visual .shot { transform: perspective(1600px) rotateY(-4deg); transform-origin: left center; }
.view-switch { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.view-switch button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.view-switch button.on { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.feature-visual { min-width: 0; }
.view-switch { flex-wrap: wrap; }

/* Odontogram feature: full width with the live 3D demo */
.feature.wide { grid-template-columns: 1fr; gap: 32px; }
.feature.wide .feature-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; align-items: start; }
.feature.wide .feature-copy .tag, .feature.wide .feature-copy h3 { grid-column: 1; }
.feature.wide .feature-copy p { grid-column: 1; }
.feature.wide .feature-copy .checks { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; align-self: center; }
.feature.wide .feature-visual { text-align: center; }
.feature.wide .shot, .od-card { text-align: left; }

.od-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-areas: "jaws detail" "arch detail" "teeth detail" "legend detail"; gap: 12px 24px; align-items: start; }
.od-loading { grid-column: 1 / -1; margin: 0; padding: 80px 0; text-align: center; color: var(--muted); font-weight: 600; }
.od-jaws { grid-area: jaws; display: flex; gap: 8px; }
.od-jaws button, .od-modes button { flex: 1; min-height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.od-jaws button[aria-pressed="true"], .od-modes button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.od-arch-wrap { grid-area: arch; position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at top, #ffffff, #edf3f5); }
.od-side { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); z-index: 2; pointer-events: none; }
.od-arch { width: 100%; aspect-ratio: 1.25; }
.od-labels span { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: rgba(255, 255, 255, .95); color: var(--ink-2); pointer-events: none; }
.od-labels span.on { background: var(--brand); color: #fff; }
.od-nogl { padding: 40px 20px; text-align: center; color: var(--muted); margin: 0; }
.od-teeth { grid-area: teeth; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.od-teeth button { min-height: 38px; min-width: 0; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 8px; font: inherit; font-size: 11px; font-weight: 800; color: var(--ink-2); cursor: pointer; }
.od-teeth button.done { border-color: #9fe0c3; background: var(--mint-50); color: #0b7a59; }
.od-teeth button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.od-legend { grid-area: legend; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); font-weight: 600; }
.od-legend .sel::before, .od-legend .done::before { content: "●"; margin-right: 5px; }
.od-legend .sel::before { color: #459ff5; }
.od-legend .done::before { color: #7cd6b1; }
.od-detail { grid-area: detail; display: grid; gap: 12px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.od-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.od-title { font-size: 20px; }
.od-restart { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--brand); cursor: pointer; padding: 4px; }
.od-modes { display: flex; gap: 8px; }
.od-tooth-wrap { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at top, #ffffff, #edf3f5); }
.od-tooth { width: 100%; height: 280px; }
.od-reset { position: absolute; top: 10px; right: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); border-radius: 9px; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.od-hint { font-size: 13px; color: var(--muted); margin: 0; }
.od-surfaces { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.od-surfaces button { min-height: 42px; border: 1.5px solid var(--line); background: #fff; border-radius: 11px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; padding: 6px 8px; }
.od-surfaces button.done { border-color: #9fe0c3; background: var(--mint-50); color: #0b7a59; }
.od-surfaces button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.od-status { margin: 0; font-size: 14px; font-weight: 700; color: var(--brand); }
.od-save { min-height: 46px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(37, 84, 232, .7); }
.od-save:hover { background: var(--brand-600); }
.od-msg { margin: 0; min-height: 20px; font-size: 13.5px; font-weight: 700; color: #0b7a59; opacity: 0; transition: opacity .2s; }
.od-msg.show { opacity: 1; }
@media (max-width: 1100px) {
  .feature.wide .feature-copy { grid-template-columns: 1fr; }
  .feature.wide .feature-copy .checks { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .od-card { grid-template-columns: 1fr; grid-template-areas: "jaws" "arch" "teeth" "legend" "detail"; }
}
@media (max-width: 720px) {
  .od-card { padding: 12px; border-radius: 18px; }
  .od-teeth { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .od-labels span { width: 18px; height: 18px; font-size: 8.5px; }
  .od-surfaces { grid-template-columns: 1fr; }
}

/* Strip */
.strip { padding: 22px 0; border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip-grid div { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.strip-grid strong { font-size: 22px; color: var(--brand); min-width: 44px; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.sec-head p { color: var(--ink-2); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 12px; }

.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature.reverse { grid-template-columns: 1.15fr .85fr; }
.feature.reverse .feature-copy { order: 2; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.feature h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.feature p { color: var(--ink-2); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2312b886' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; }
.tooth-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.tooth-svg { width: 100%; height: auto; }
.tooth-svg .s { fill: #f1f4fa; stroke: #c9d1e1; stroke-width: 2; transition: fill .2s; cursor: pointer; }
.tooth-svg .s:hover { fill: #e3e9f6; }
.tooth-svg .s-done { fill: var(--mint-50); stroke: var(--mint); }
.tooth-svg .s-sel { fill: #d6e1ff; stroke: var(--brand); }
.tooth-svg text { font-size: 15px; font-weight: 800; fill: var(--ink-2); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.tooth-info small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tooth-info > strong { display: block; font-size: 40px; line-height: 1.1; margin: 2px 0 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.chip.blue { background: var(--brand-50); color: var(--brand); }
.hist div { display: flex; gap: 10px; font-size: 13.5px; padding: 8px 0; border-top: 1px solid var(--line); }
.hist b { color: #0b7a59; min-width: 42px; }

.offer-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.offer-head strong { display: block; letter-spacing: .04em; }
.offer-head small { color: var(--muted); font-weight: 600; }
.pdf { background: var(--danger); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 7px; }
.mini-chart { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: var(--bg-alt); margin-bottom: 14px; }
.mini-chart .jaw { gap: 2px; }
.mini-chart .t { font-size: 0; border-width: 1px; }
.offer table { width: 100%; border-collapse: collapse; font-size: 14px; }
.offer td { padding: 9px 4px; border-top: 1px solid var(--line); }
.offer td:nth-child(2) { color: var(--muted); text-align: right; white-space: nowrap; }
.offer td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.offer .tot td { font-weight: 800; font-size: 16px; border-top: 2px solid var(--ink); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.fcard h4 { font-size: 18px; }
.fcard p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 34px; color: var(--brand); font-weight: 800; font-size: 20px; z-index: 1; }
.flow span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.flow p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Roles */
.rcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.rcard h4 { font-size: 20px; }
.rcard.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.rcard.dark .checks li { color: #cfd6e6; }
.rcard.dark .checks li::before { background-color: rgba(18, 184, 134, .18); }

/* Security */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sec-grid h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-list li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.sec-list b { display: block; margin-bottom: 4px; }
.sec-list span { color: var(--ink-2); font-size: 14.5px; }

/* Pricing */
.promo { display: inline-block; margin-top: 6px; padding: 10px 18px; border-radius: 12px; background: #fff7e6; color: #9a5b00; font-weight: 800; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: #fff; }
.plan h4 { font-size: 22px; margin-bottom: 4px; }
.plan-desc { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.price b { font-size: 48px; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--muted); font-weight: 600; }
.plan .checks { margin-bottom: 28px; flex: 1; font-size: 15px; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.fine { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 24px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li > span { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-list a, .contact-list b { font-weight: 700; color: var(--brand); }
.form { display: grid; gap: 16px; padding: 32px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label span { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 84, 232, .12); }
input.invalid { border-color: var(--danger); }
textarea { resize: vertical; }
.form-err { color: var(--danger); font-weight: 600; font-size: 14px; margin: 0; }
.form .fine { margin: 0; }

/* Footer */
.footer { background: var(--ink); color: #b9c2d6; padding: 56px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand.light { color: #fff; margin-bottom: 10px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; font-size: 14px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
.built-by a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.built-by a:hover { border-bottom-color: #fff; }
.demo-label { display: inline-block; margin: 0 0 14px; padding: 8px 16px; border-radius: 99px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 14.5px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; margin: 0; box-shadow: var(--shadow-sm); }
  .nav-links.open a { padding: 10px 4px; }
  .hero-grid, .feature, .sec-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-copy { order: 0; }
  .hero-visual { max-width: 760px; margin: 0 auto; width: 100%; }
  .hero-visual .shot { transform: none; }
  .grid3, .plans { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2)::after { display: none; }
  .plan.popular { transform: none; }
}
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .section { padding: 68px 0; }
  .hero { padding-top: 36px; }
  .grid3, .plans, .flow, .sec-list, .row2, .strip-grid { grid-template-columns: 1fr; }
  .strip-grid { gap: 10px; }
  .flow li::after { display: none; }
  .tooth-wrap { grid-template-columns: 1fr; }
  .tooth-svg { max-width: 200px; margin: 0 auto; }
  .fc-appt { display: none; }
  .fc-pay { right: 8px; bottom: -4px; }
  .feature { margin-bottom: 64px; }
  .card, .form { padding: 20px; }
  .jaw { gap: 2px; }
  .t { font-size: 0; }
}
.form-ok { color: #0b7a55; background: #e6f7f0; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
