/* Guadalajara Dental Care proposal. Palette drawn from the client's own sign (blue #457BB6)
   with clinical white paper and ink. Type: Geist for text, Instrument Serif italic for one
   payoff phrase per headline, JetBrains Mono for labels and source tags. */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #07111d;
  --ink-2: #0b1828;
  --ink-3: #132638;
  --line-d: rgba(200, 220, 240, 0.18);
  --paper: #f3f7fa;
  --paper-2: #e6eef5;
  --line-p: #c9d6e2;
  --sign: #457bb6;
  --sign-deep: #1b4f8c;
  --sign-ink: #0f3566;
  --cure: #8fe3ff;
  --cure-soft: #cff3ff;
  --txt-d: #eef4fa;
  --muted-d: #b7c5d4;
  --txt-p: #0e1a27;
  --muted-p: #3b4b5d;
  --sev-high: #a3201a;
  --sev-med: #8a5300;
  --sev-low: #1b4f8c;

  --pad-x: clamp(20px, 3.6vw, 64px);
  --top: 72px;
  --bottom: 60px;
  --fs-body: clamp(1.125rem, 0.75rem + 0.55vw, 1.5rem);
  --fs-card: clamp(1.0625rem, 0.9rem + 0.3vw, 1.25rem);
  --fs-lede: clamp(1.1875rem, 0.9rem + 0.55vw, 1.625rem);
  --fs-label: clamp(0.8125rem, 0.72rem + 0.22vw, 0.9375rem);
  --fs-h2: clamp(2.2rem, 1.3rem + 2.5vw, 4.1rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 0.8vw, 2rem);
  --fs-cover: clamp(3.6rem, 1.6rem + 6.6vw, 8.4rem);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html.js body { overflow: hidden; }
body {
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--txt-d);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--cure); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sign-deep); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }
.nowrap { white-space: nowrap; }
.chrome-x { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--cure); font-size: 1.35em; line-height: 1; }

/* ---------- chrome ---------- */
.chrome { position: fixed; left: 0; right: 0; z-index: 20; background: var(--ink); color: var(--txt-d); }
.chrome--top {
  top: 0; height: calc(var(--top) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--pad-x) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  border-bottom: 1px solid var(--line-d);
}
.chrome--bottom {
  bottom: 0; height: calc(var(--bottom) + env(safe-area-inset-bottom, 0px));
  padding: 0 var(--pad-x) env(safe-area-inset-bottom, 0px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-d);
}
.chrome-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brandcore-mark { height: 26px; width: auto; }
.chrome-client { font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--txt-d); }
.chrome-label { font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem); font-weight: 600; color: var(--txt-d); text-align: center; white-space: nowrap; }
.chrome-end { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.chrome-count { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); letter-spacing: 0.06em; }
.chrome-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid var(--line-d); border-radius: 999px; color: var(--txt-d);
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.04em;
}
.chrome-btn svg { width: 18px; height: 18px; }
.chrome-btn:hover { border-color: var(--cure); color: var(--cure); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(200, 220, 240, 0.14); }
.progress span { position: absolute; inset: 0; background: var(--cure); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.6s var(--ease-out); }

.chrome--bottom .foot-left { font-size: var(--fs-label); color: var(--muted-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.foot-loc { color: var(--txt-d); }
.foot-nav { display: flex; gap: 10px; flex-shrink: 0; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-d); border-radius: 999px; background: transparent; color: var(--txt-d);
  font-size: var(--fs-label); font-weight: 600;
}
.nav-btn svg { width: 18px; height: 18px; flex: none; }
.nav-btn:hover:not(:disabled) { border-color: var(--cure); }
.nav-btn:disabled { opacity: 0.35; }
.nav-btn--primary { background: var(--sign); border-color: var(--sign); color: #fff; }
.nav-btn--primary:hover:not(:disabled) { background: #5b8fc9; border-color: #5b8fc9; }

/* ---------- stage & slides ---------- */
.stage { position: fixed; left: 0; right: 0; top: calc(var(--top) + env(safe-area-inset-top, 0px)); bottom: calc(var(--bottom) + env(safe-area-inset-bottom, 0px)); overflow: hidden; background: var(--ink); }
.slide {
  position: absolute; inset: 0; z-index: 1; visibility: hidden; opacity: 0; pointer-events: none;
  background: var(--ink);
}
.slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.slide.is-leaving { z-index: 3; pointer-events: none; }
.cure-seam {
  position: absolute; top: -6%; bottom: -6%; left: 0; width: 22%; z-index: 5; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(143, 227, 255, 0) 0%, rgba(207, 243, 255, 0.5) 50%, rgba(143, 227, 255, 0) 100%);
  mix-blend-mode: screen;
}
.boom-flash {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 55% at 40% 45%, rgba(255, 255, 255, 0.9) 0%, rgba(143, 227, 255, 0.35) 40%, rgba(7, 17, 29, 0) 75%);
}
.slide--paper { background: var(--paper); color: var(--txt-p); }
.slide--dark { background: var(--ink); }
.slide--stage { background: radial-gradient(120% 90% at 70% 0%, #14304c 0%, var(--ink) 55%); }
.slide-inner {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: clamp(24px, 4.4vh, 56px) var(--pad-x) clamp(28px, 5vh, 60px);
  scrollbar-width: thin; scrollbar-color: rgba(143, 227, 255, 0.4) transparent;
}
.slide--paper .slide-inner { scrollbar-color: rgba(27, 79, 140, 0.4) transparent; }
.slide-inner > * { max-width: 1480px; margin-inline: auto; }

.kicker { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cure); margin-bottom: 14px; }
.kicker--ink { color: var(--sign-deep); }
.section-title { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650; color: inherit; text-wrap: balance; }
.section-lede { font-size: var(--fs-lede); line-height: 1.45; max-width: 46ch; margin-top: 18px; color: var(--muted-d); }
.slide--paper .section-lede { color: var(--muted-p); }
.payoff { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--cure); letter-spacing: -0.01em; }
.slide--paper .payoff { color: var(--sign-deep); }
.section-title .payoff { display: inline-block; font-size: 1.08em; line-height: 1.1; }
.source { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--sign-deep); margin-top: 12px; }
.method-note { margin-top: 22px; font-size: var(--fs-label); color: var(--muted-p); max-width: 52ch; }

/* ---------- 1 · cover ---------- */
.slide--cover { background: transparent; }
.cover-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 68% 48%, rgba(69, 123, 182, 0.42) 0%, rgba(69, 123, 182, 0.12) 42%, rgba(7, 17, 29, 0) 70%),
    linear-gradient(180deg, #0a1a2c 0%, var(--ink) 100%);
}
.slide--cover .slide-inner { z-index: 1; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 56px); align-items: center; min-height: 100%; }
.cover-copy { position: relative; z-index: 2; }
.cover-title { font-size: var(--fs-cover); line-height: 0.92; letter-spacing: -0.055em; font-weight: 700; color: var(--txt-d); }
.cover-payoff { font-size: clamp(1.6rem, 1rem + 1.7vw, 2.8rem); margin-top: 14px; line-height: 1.12; }
.cover-lede { margin-top: 22px; font-size: var(--fs-lede); line-height: 1.45; color: var(--muted-d); max-width: 42ch; }
.ticker { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.ticker li { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--txt-d); border: 1px solid var(--line-d); border-radius: 999px; padding: 6px 12px; background: rgba(19, 38, 56, 0.6); }
.cover-pill-row { margin-top: 26px; }
.cobrand-pill {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line-d);
  font-size: var(--fs-label); font-weight: 600;
}
.cobrand-pill img { height: 24px; width: auto; }
.prepared-by { margin-top: 22px; font-size: var(--fs-label); color: var(--muted-d); }
.prepared-by strong { color: var(--txt-d); font-weight: 600; }
.cue { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); }
.cue-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cure); box-shadow: 0 0 0 0 rgba(143, 227, 255, 0.6); animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { 0% { box-shadow: 0 0 0 0 rgba(143, 227, 255, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(143, 227, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 227, 255, 0); } }
.cover-art { position: relative; height: min(78vh, 820px); min-height: 360px; width: 100%; z-index: 1; touch-action: pan-y; }
#sign-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sign-fallback { display: none; }
.art-caption { position: absolute; left: 0; right: 0; bottom: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); text-align: center; }
.no-webgl #sign-canvas { display: none; }
.no-webgl .sign-fallback { display: flex; position: absolute; inset: 6% 8% 12%; align-items: center; justify-content: center; }
.no-webgl .sign-fallback img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 10px #f1f6fb; }

/* ---------- 2 · audit ---------- */
.split { display: grid; gap: clamp(28px, 4vw, 72px); align-items: start; }
.split--audit { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.finding {
  background: #fff; border: 1px solid var(--line-p); border-radius: 18px; padding: clamp(18px, 1.6vw, 26px);
  box-shadow: 0 1px 0 rgba(14, 26, 39, 0.04);
}
.finding-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sev { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; }
.sev--high { background: var(--sev-high); }
.sev--med { background: var(--sev-med); }
.sev--low { background: var(--sev-low); }
.finding-no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-p); }
.finding h3 { font-size: var(--fs-card); font-weight: 650; line-height: 1.25; color: var(--txt-p); margin-bottom: 8px; }
.finding p:not(.source) { font-size: var(--fs-card); line-height: 1.5; color: var(--muted-p); }
.finding--image .finding-figure { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.finding--image .finding-figure img { width: 88px; height: 80px; border-radius: 12px; border: 1px solid var(--line-p); }
.finding--image figcaption { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-p); }

/* ---------- 3 · gap ---------- */
.split--gap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.clock { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.6rem); font-weight: 400; letter-spacing: -0.02em; color: var(--cure); line-height: 1; }
.gap-kicker-note { margin-top: 26px; font-size: var(--fs-lede); color: var(--txt-d); }
.gap-kicker-note em { font-family: "Instrument Serif", Georgia, serif; color: var(--cure); }
.path-grid { display: grid; gap: 18px; }
.path { border-radius: 20px; padding: clamp(20px, 2vw, 30px); border: 1px solid var(--line-d); background: rgba(19, 38, 56, 0.55); }
.path--next { background: #fff; color: var(--txt-p); border-color: #fff; }
.path-title { font-size: var(--fs-h3); font-weight: 650; line-height: 1.15; margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.path-count { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.4rem); color: var(--cure); }
.path--next .path-count { color: var(--sign-deep); }
.steps { display: grid; gap: 10px; counter-reset: st; }
.steps li { position: relative; padding-left: 52px; font-size: var(--fs-card); line-height: 1.45; min-height: 30px; }
.steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label);
  width: 38px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(143, 227, 255, 0.14); color: var(--cure);
}
.path--next .steps li::before { background: rgba(27, 79, 140, 0.1); color: var(--sign-deep); }

/* ---------- 4 · flagship concept ---------- */
.flagship { display: grid; gap: 22px; }
.flagship-head .section-lede { margin-top: 12px; }
.concept-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 330px); gap: 22px; align-items: start; }
.browser { background: #fff; color: var(--txt-p); border-radius: 16px; overflow: hidden; border: 1px solid #0b1828; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #e9eef4; border-bottom: 1px solid #d3dde8; }
.traffic { display: inline-flex; gap: 6px; }
.traffic i { width: 10px; height: 10px; border-radius: 50%; background: #b7c4d2; display: block; }
.url { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: #33465a; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.concept-tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #0f3566; color: #fff; white-space: nowrap; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 18px; border-bottom: 1px solid #e1e8f0; }
.site-logo { font-weight: 700; font-size: 17px; color: var(--sign-ink); letter-spacing: -0.01em; }
.tablist { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: #304357; font-size: 15px; font-weight: 600; }
.tab:hover { background: #eef4fa; }
.tab.is-on { background: var(--sign-deep); color: #fff; }
.site-body { padding: 0; }
.pane[hidden] { display: none; }
.hero {
  position: relative; min-height: clamp(240px, 36vh, 340px); display: flex; align-items: flex-end;
  background-image: linear-gradient(90deg, rgba(7, 17, 29, 0.84) 0%, rgba(7, 17, 29, 0.35) 62%, rgba(7, 17, 29, 0.1) 100%), var(--img);
  background-size: cover; background-position: center 40%; color: #fff;
}
.hero-copy { padding: 26px 26px 28px; max-width: 520px; }
.hero-kicker { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #bfe9ff; margin-bottom: 8px; }
.hero-title { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.hero-sub { margin-top: 10px; font-size: 16px; line-height: 1.5; color: #e6f1fb; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-size: 16px; font-weight: 650; border: 1px solid transparent; text-decoration: none; }
.btn--sign { background: var(--sign-deep); color: #fff; margin-top: 16px; }
.btn--sign:hover { background: var(--sign-ink); }
.btn--ghost { background: #fff; color: #4a5b6e; border-color: #c4d1de; }
.btn--ghost:disabled { cursor: not-allowed; }
.strip { padding: 16px 20px; border-bottom: 1px solid #e1e8f0; }
.strip-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: #3b4d61; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 15px; padding: 8px 12px; border-radius: 10px; background: #eef4fa; border: 1px solid #d4e0ec; color: #0e1a27; font-weight: 600; }
.doctor, .team { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid #e1e8f0; }
.doctor img, .team img { width: 112px; height: 132px; object-fit: cover; border-radius: 12px; }
.doctor-name, .team-title { font-size: 19px; font-weight: 700; color: var(--txt-p); }
.doctor-text, .team-text { font-size: 16px; line-height: 1.5; color: #2c3d50; margin-top: 4px; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; padding: 18px 20px; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.svc { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid #d4e0ec; background: #fff; text-align: left; font-size: 15px; font-weight: 600; color: #0e1a27; }
.svc:hover { background: #eef4fa; }
.svc.is-on { background: var(--sign-deep); border-color: var(--sign-deep); color: #fff; }
.svc-detail { background: #f3f7fb; border-radius: 14px; padding: 18px 20px; border: 1px solid #dbe6f1; }
.svc-detail h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--txt-p); margin-bottom: 8px; }
.svc-detail p { font-size: 17px; line-height: 1.55; color: #243649; }
.svc-fees { margin-top: 12px; font-size: 14px !important; color: #4a5b6e !important; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; padding: 18px 20px; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-weight: 700; font-size: 17px; color: var(--txt-p); }
.cal-note { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: #3b4d61; font-weight: 400; }
.cal-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cal-h { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: #3b4d61; text-align: center; padding: 4px 0; }
.cal-day { min-height: 64px; border-radius: 10px; border: 1px solid #d4e0ec; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px; }
.cal-day:hover:not(:disabled) { border-color: var(--sign-deep); }
.cal-day:disabled { background: #f0f3f7; color: #7b8a9b; }
.cal-day.is-on { background: var(--sign-deep); border-color: var(--sign-deep); color: #fff; }
.cal-num { font-size: 18px; font-weight: 700; }
.cal-open { font-size: 12px; color: #34485d; }
.cal-day.is-on .cal-open { color: #e4f2ff; }
.cal-side { display: grid; gap: 12px; align-content: start; }
.cal-day-label, #cal-day { font-size: 18px; font-weight: 700; color: var(--txt-p); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: 10px; border: 1px solid #c4d1de; background: #fff; font-size: 15px; font-weight: 600; color: #0e1a27; }
.slot:disabled { background: #eef2f6; color: #7b8a9b; text-decoration: line-through; }
.slot.is-on { background: var(--sign-deep); color: #fff; border-color: var(--sign-deep); }
.seats { height: 10px; border-radius: 999px; background: #dbe5ef; overflow: hidden; }
.seats span { display: block; height: 100%; background: var(--sign); border-radius: 999px; width: 0; transition: width 0.4s var(--ease-out); }
.seats-label { font-size: 14px; color: #3b4d61; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: #0e1a27; }
.field span { font-size: 14px; color: #34485d; }
.field select, .field input { min-height: 46px; border-radius: 10px; border: 1px solid #b8c7d7; background: #fff; padding: 0 12px; font-size: 16px; color: #0e1a27; width: 100%; }
.preview { border: 1px dashed #9db4cc; border-radius: 12px; padding: 14px; background: #f7fbff; display: grid; gap: 10px; }
.preview-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #3b4d61; }
#preview-text { font-size: 16px; line-height: 1.5; color: #0e1a27; }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 18px 20px; align-items: start; }
.visit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.visit-h { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #3b4d61; }
.visit-addr { font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--txt-p); margin: 6px 0 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours caption { text-align: left; font-size: 13px; color: #3b4d61; padding-bottom: 6px; font-family: "JetBrains Mono", ui-monospace, monospace; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid #e1e8f0; color: #0e1a27; font-weight: 600; }
.hours td { font-weight: 500; }
.visit-phone { margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--sign-ink); }
.concept-notes { display: grid; gap: 14px; color: var(--txt-d); }
.concept-notes h4 { font-size: 20px; font-weight: 700; }
.concept-notes ul { display: grid; gap: 10px; }
.concept-notes li { font-size: 17px; line-height: 1.5; color: var(--muted-d); padding-left: 16px; border-left: 2px solid var(--sign); }
.concept-notes strong { color: var(--txt-d); }
.phone-wrap { display: flex; justify-content: center; margin-top: 6px; }
.phone { width: 232px; height: 420px; border-radius: 36px; background: #0b1420; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #1f2e40; }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; background: #fff; color: var(--txt-p); overflow: hidden; padding-bottom: 12px; }
.phone-hero { height: 150px; background-image: linear-gradient(180deg, rgba(7, 17, 29, 0.1), rgba(7, 17, 29, 0.6)), var(--img); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 14px; }
.phone-hero p { font-size: 17px; font-weight: 700; color: #fff; background: var(--sign-deep); padding: 8px 14px; border-radius: 999px; }
.phone-h { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #3b4d61; padding: 12px 14px 6px; }
.phone-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; }
.phone-chips span { font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #eef4fa; border: 1px solid #d4e0ec; }
.phone-small { font-size: 16px; font-weight: 600; padding: 0 14px; }
.concept-detail { display: none; background: rgba(19, 38, 56, 0.7); border: 1px solid var(--line-d); border-radius: 16px; padding: 20px; }
.concept-detail h4 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.concept-detail p { font-size: 18px; line-height: 1.55; color: var(--muted-d); }

/* ---------- 5 · system ---------- */
.system { display: grid; gap: 26px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line-p); border-radius: 20px; padding: clamp(20px, 1.8vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.pillar-no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--sign-deep); }
.pillar h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; color: var(--txt-p); line-height: 1.15; }
.pillar p:not(.closes):not(.pillar-no) { font-size: var(--fs-card); line-height: 1.5; color: var(--muted-p); }
.closes { margin-top: auto; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--sign-deep); padding-top: 8px; border-top: 1px solid var(--line-p); }

/* ---------- 6 · proof ---------- */
.split--proof { grid-template-columns: minmax(0, 5fr) minmax(0, 4.4fr); align-items: center; }
.proof-note { margin-top: 20px; font-size: var(--fs-label); color: var(--muted-d); max-width: 52ch; }
.ba {
  position: relative; height: min(70vh, 660px); aspect-ratio: 3 / 4; max-width: 100%; justify-self: end; border-radius: 20px; overflow: hidden;
  --pos: 50%; background: #0b1828; border: 1px solid var(--line-d); user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, 0.45); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-style: solid; transform: translateY(-50%); }
.ba-handle span::before { left: 12px; border-width: 7px 9px 7px 0; border-color: transparent var(--sign-deep) transparent transparent; }
.ba-handle span::after { right: 12px; border-width: 7px 0 7px 9px; border-color: transparent transparent transparent var(--sign-deep); }
.ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(7, 17, 29, 0.82); color: #fff; pointer-events: none; }
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; }
.ba-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- 7 · roadmap ---------- */
.roadmap { display: grid; gap: 26px; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phase { background: #fff; border: 1px solid var(--line-p); border-radius: 20px; padding: clamp(20px, 1.8vw, 28px); }
.phase-when { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--sign-deep); letter-spacing: 0.06em; text-transform: uppercase; }
.phase h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; color: var(--txt-p); margin: 6px 0 14px; line-height: 1.15; }
.phase dl { display: grid; gap: 12px; }
.phase dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--sign-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.phase dd { font-size: var(--fs-card); line-height: 1.5; color: var(--muted-p); margin: 2px 0 0; }
.launch-line { margin-top: 4px; font-size: var(--fs-card); color: var(--txt-p); font-weight: 600; }

/* ---------- 8 · engagement ---------- */
.engage { display: grid; gap: 26px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { position: relative; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 22px; padding: clamp(22px, 2vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.tier h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; color: var(--txt-d); }
.tier-for { font-size: var(--fs-card); color: var(--cure); }
.tier ul { display: grid; gap: 10px; margin-top: 6px; }
.tier li { position: relative; padding-left: 26px; font-size: var(--fs-card); line-height: 1.45; color: var(--txt-d); }
.tier li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 2px; background: var(--cure); }
.tier-not { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-d); font-size: var(--fs-label); color: var(--muted-d); }
.tier--rec { background: #fff; color: var(--txt-p); border-color: #fff; }
.tier--rec h3 { color: var(--txt-p); }
.tier--rec .tier-for { color: var(--sign-deep); }
.tier--rec li { color: var(--txt-p); }
.tier--rec li::before { background: var(--sign-deep); }
.tier--rec .tier-not { color: var(--muted-p); border-top-color: var(--line-p); }
.rec-tag { position: absolute; top: -12px; left: 24px; padding: 6px 12px; border-radius: 999px; background: var(--sign-deep); color: #fff; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- 9 · close ---------- */
.close { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(26px, 3.4vw, 64px); align-items: start; }
.rep-card { background: #fff; border: 1px solid var(--line-p); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(14, 26, 39, 0.12); }
.rep-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.rep-card figcaption { padding: 18px 22px 22px; }
.rep-name { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; color: var(--txt-p); }
.rep-role { font-size: var(--fs-card); color: var(--sign-deep); font-weight: 600; margin-top: 4px; }
.close-copy { display: grid; gap: 14px; }
.payoff-line { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem); line-height: 1.1; }
.contacts { display: grid; gap: 8px; margin-top: 6px; }
.contacts li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: var(--fs-card); padding: 10px 0; border-bottom: 1px solid var(--line-p); color: var(--txt-p); }
.contacts a { color: var(--sign-ink); font-weight: 650; text-decoration: none; word-break: break-word; }
.contacts a:hover { text-decoration: underline; }
.c-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-p); text-transform: uppercase; letter-spacing: 0.06em; }
.scheduler { background: #fff; border: 1px solid var(--line-p); border-radius: 20px; padding: clamp(18px, 1.8vw, 26px); display: grid; gap: 14px; }
.sched-title { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; color: var(--txt-p); line-height: 1.15; }
.scheduler .field { font-size: 16px; color: var(--txt-p); }
.scheduler .field span { font-size: 15px; color: var(--muted-p); }
.scheduler .field select, .scheduler .field input { min-height: 50px; font-size: 17px; }
.scheduler .btn--sign { min-height: 52px; font-size: 17px; margin-top: 2px; text-align: center; }
.sched-note { font-size: var(--fs-label); color: var(--muted-p); }

/* ---------- navigation rail & index ---------- */
.rail { position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 15; display: grid; gap: 10px; }
.rail-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(200, 220, 240, 0.7); background: transparent; padding: 0; }
.rail-dot[aria-current="step"] { background: var(--cure); border-color: var(--cure); }
.rail-dot:focus-visible { outline-offset: 4px; }
.index { position: fixed; inset: 0; z-index: 40; background: rgba(7, 17, 29, 0.97); overflow-y: auto; }
.index[hidden] { display: none; }
.index-inner { max-width: 1280px; margin: 0 auto; padding: clamp(20px, 4vh, 48px) var(--pad-x); }
.index-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.index-head h2 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.index-card { width: 100%; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--line-d); background: var(--ink-3); text-align: left; color: var(--txt-d); }
.index-card:hover, .index-card:focus-visible { border-color: var(--cure); }
.ic-no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--cure); }
.ic-title { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.45rem); font-weight: 650; line-height: 1.2; }

.noscript { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px var(--pad-x); background: var(--paper); color: var(--txt-p); z-index: 60; }

/* ---------- no JavaScript: stack the slides ---------- */
html:not(.js) body { overflow: auto; height: auto; }
html:not(.js) .stage { position: static; overflow: visible; }
html:not(.js) .slide { position: relative; visibility: visible; opacity: 1; min-height: 100vh; }
html:not(.js) .slide-inner { position: relative; overflow: visible; }
html:not(.js) .chrome--top, html:not(.js) .chrome--bottom, html:not(.js) .rail, html:not(.js) .index { display: none; }
html:not(.js) .cover-art { display: none; }

/* ---------- breakpoints ---------- */
@media (max-width: 1180px) {
  .split--audit { grid-template-columns: minmax(0, 1fr); }
  .findings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--gap { grid-template-columns: minmax(0, 1fr); }
  .concept-wrap { grid-template-columns: minmax(0, 1fr); }
  .concept-notes { grid-template-columns: minmax(0, 1fr); }
  .phone-wrap { justify-content: flex-start; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--proof { grid-template-columns: minmax(0, 1fr); }
  .ba { justify-self: start; }
  .close { grid-template-columns: minmax(0, 1fr); }
  .rep-portrait { aspect-ratio: 16 / 11; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1181px) {
  .concept-notes { position: sticky; top: 0; }
  .rail { display: grid; }
}
@media (max-width: 1100px) {
  .rail { display: none; }
  .chrome--top { grid-template-columns: minmax(0, 1fr) auto; }
  .chrome-label { display: none; }
  .cover-grid { grid-template-columns: minmax(0, 1fr); }
  .cover-art { height: min(52vh, 520px); min-height: 300px; }
}
@media (max-width: 900px) {
  .split--audit .findings, .findings { grid-template-columns: minmax(0, 1fr); }
  .svc-layout, .cal-layout, .visit { grid-template-columns: minmax(0, 1fr); }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --top: 58px; --bottom: 66px; --pad-x: 20px; }
  .chrome--top { grid-template-columns: minmax(0, 1fr) auto; background: var(--ink); }
  .chrome-client { font-size: 12px; }
  .chrome-btn-text { display: none; }
  .chrome-btn { min-width: 44px; justify-content: center; padding: 0 12px; }
  .chrome--bottom .foot-left { display: none; }
  .chrome--bottom { justify-content: center; }
  .foot-nav { width: 100%; justify-content: space-between; }
  .nav-btn { flex: 1; justify-content: center; }
  .cover-art { height: 44vh; min-height: 260px; }
  .cover-title { font-size: clamp(3.1rem, 13vw, 4.6rem); }
  .pillars, .phases, .tiers, .findings { grid-template-columns: minmax(0, 1fr); }
  .findings { gap: 12px; }
  .section-title { font-size: clamp(2rem, 8.6vw, 2.8rem); }
  .section-lede { font-size: 1.125rem; }
  .browser, .concept-notes .phone-wrap, .concept-notes ul, .concept-notes > h4 { display: none; }
  .concept-notes { display: block; }
  .concept-detail { display: block; }
  .concept-wrap { gap: 16px; }
  .ba { height: 62vh; width: 100%; aspect-ratio: auto; }
  .contacts li { grid-template-columns: 96px minmax(0, 1fr); }
  .index-grid { grid-template-columns: minmax(0, 1fr); }
  .path-title { font-size: 1.4rem; }
  .steps li { font-size: 1.0625rem; }
  .doctor, .team { grid-template-columns: 96px minmax(0, 1fr); }
  .doctor img, .team img { width: 96px; height: 116px; }
}
@media (max-width: 420px) {
  .chrome-client { display: none; }
  .chrome--top { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cue-dot { animation: none; }
  .progress span, .seats span { transition: none; }
}
