:root {
  --page: #FFFFFF; --card: #FFFFFF; --tile: #F3F7F7; --ink: #0F2A33; --muted: #4D6670;
  --line: #E3ECED; --accent: #E5502C; --brand: #FF6B4A; --green: #1E9E5A;
  --mint: #EAF6EF; --blush: #FDF0EC; --sky: #EEF5F6;
}
* { box-sizing: border-box; }
body {
  margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink);
  font: 500 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
main, .bar, footer { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* "Coming soon" strip across the very top (remove at launch) */
.soon { background: #0F2A33; color: #fff; text-align: center; padding: 11px 16px; font-size: 16px; font-weight: 600; }
.soon b { color: #FFB49F; font-weight: 900; }
.soon a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; }
.brand img { border-radius: 10px; }
.bn { display: flex; align-items: baseline; gap: 10px; }
.bn b { font-weight: 900; }
.bn em { font-style: normal; font-weight: 500; font-size: 17px; color: var(--muted); }
.bn .short { display: none; }
.btn.coral { background: var(--accent); }
.store-badge { display: block; line-height: 0; }
.store-badge img { height: 48px; width: auto; }

.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 900; font-size: 19px; padding: 16px 28px; border-radius: 16px;
}
.btn.small { font-size: 15px; padding: 10px 18px; border-radius: 12px; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 48px; align-items: center; padding: 6px 0 56px; }
h1 { font-size: min(46px, 3.6vw); line-height: 1.12; font-weight: 900; margin: 0 0 24px; letter-spacing: -0.01em; }
h1 span { display: block; white-space: nowrap; }
.accent { color: var(--accent); }
.audience {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px; padding: 8px 26px 8px 8px; border-radius: 40px; text-decoration: none; line-height: 1.3;
  background: #17804A; color: #fff; font-size: 18px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(23,128,74,.25);
}
.audience img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); object-fit: cover; flex: none; }
.audience b { display: block; font-weight: 900; color: #FFE08A; font-size: 1.1em; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 32px; margin: 10px 0; font-weight: 800; font-size: 18px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.fine { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 12px; }

.stage { background: #000; border-radius: 24px; padding: 20px; }
.stage video { width: 100%; aspect-ratio: 1; display: block; border-radius: 8px; }
.caption { color: #9AA5AA; font-weight: 800; font-size: 15px; margin: 12px 4px 0; }

.school { background: var(--mint); text-align: center; padding-top: 56px; padding-bottom: 60px; }
.school h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin-bottom: 14px; }
.school .lead { max-width: 720px; margin: 0 auto 30px; color: var(--muted); font-weight: 700; font-size: 19px; }
.vs { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; max-width: 1040px; margin: 0 auto; text-align: left; }
.vs > .before, .vs > .after { border-radius: 22px; padding: 30px 32px; }
.vs h3 { margin: 0 0 14px; font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.vs ul { list-style: none; margin: 0; padding: 0; }
.vs li { position: relative; padding-left: 36px; margin: 14px 0; font-weight: 800; font-size: 21px; line-height: 1.3; }
.vs li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.before { background: #fff; color: var(--ink); opacity: .9; }
.before h3 { color: var(--muted); }
.before li::before { content: "✕"; color: var(--accent); }
.after { background: var(--card); border: 3px solid var(--green); box-shadow: 0 14px 34px rgba(30,158,90,.15); }
.after h3 { color: var(--green); }
.after li { color: var(--ink); }
.after li::before { content: "✓"; color: var(--green); }
.after .yes { color: var(--green); font-weight: 900; }
/* The arrow glides back and forth along the line between the two boxes. */
.arrow { display: grid; place-items: center; position: relative; z-index: 2; }
.arrow::before { content: ""; position: absolute; left: -22px; right: -22px; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: #FF6B4A; }
.arrow span {
  position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #FF6B4A; color: #fff; font-size: 24px; font-weight: 900; box-shadow: 0 8px 20px rgba(229,80,44,.35);
  animation: kd-travel 2.4s ease-in-out infinite;
}
@keyframes kd-travel { 0%, 100% { transform: translateX(-40px); } 50% { transform: translateX(40px); } }
/* Scroll-in: the old way appears, then the Kick Dental way slides in from it. */
.vs.ready .before, .vs.ready .arrow, .vs.ready .after { opacity: 0; transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.vs.ready .after { transform: translateX(-60px); }
.vs.ready .arrow { transform: scale(.4); }
.vs.go .before { opacity: .9; }
.vs.go .arrow { opacity: 1; transform: none; transition-delay: .35s; }
.vs.go .after { opacity: 1; transform: none; transition-delay: .6s; }
/* Steps: each card zooms up into place, one after another. */
.steps.ready > div { opacity: 0; transform: translateY(40px) scale(.85); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.9,.3,1.3); }
.steps.go > div { opacity: 1; transform: none; }
.steps.go > div:nth-child(2) { transition-delay: .35s; }
.steps.go > div:nth-child(3) { transition-delay: .7s; }
.steps.go > div b { animation: kd-pop .5s ease-out both; }
.steps.go > div:nth-child(1) b { animation-delay: .3s; }
.steps.go > div:nth-child(2) b { animation-delay: .65s; }
.steps.go > div:nth-child(3) b { animation-delay: 1s; }
@keyframes kd-pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .steps.ready > div { opacity: 1; transform: none; transition: none; }
  .steps.go > div b { animation: none; }
  .arrow span { animation: none; }
  .vs.ready .before, .vs.ready .arrow, .vs.ready .after { transition: none; transform: none; opacity: 1; }
}
.app { text-align: center; padding-top: 64px; padding-bottom: 64px; background: #fff; }
.app h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin-bottom: 12px; }
.app .lead { color: var(--muted); font-weight: 700; font-size: 19px; max-width: 640px; margin: 0 auto 36px; }
/* One iPad that flips between the Diagnosis and Treatment tabs every few seconds. */
.ipads { position: relative; max-width: 760px; margin: 0 auto 48px; aspect-ratio: 900 / 637; filter: drop-shadow(0 30px 40px rgba(15,42,51,.18)); }
.ipad { position: absolute; inset: 0; width: 100%; height: auto; }
.ipad.tx { animation: kd-tabs 9s ease-in-out infinite; }
@keyframes kd-tabs { 0%, 38% { opacity: 0; } 46%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ipad.tx { animation: none; opacity: 0; } }
.app .steps { text-align: left; padding-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 56px; }
.steps div { background: var(--card); border-radius: 20px; padding: 24px; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(15,42,51,.06); }
.steps b {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 900;
}
.steps h3 { margin: 14px 0 6px; font-size: 20px; font-weight: 900; }
.steps p { margin: 0; color: var(--muted); font-weight: 600; }

h2 { font-size: 32px; font-weight: 900; margin: 0 0 20px; }
.tag {
  position: absolute; top: -12px; right: 16px; background: var(--brand); color: #0F2A33;
  font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px;
}

/* Full-width sections that alternate soft app colors. */
.band { margin: 0 calc(50% - 50vw); padding: 64px calc(50vw - 50%); }
.compare { text-align: center; background: var(--sky); color: var(--ink); }
.compare > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.compare .lead .sub { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--muted); }
.compare .lead { color: var(--ink); font-size: 19px; font-weight: 700; margin-bottom: 24px; }
.compare table { width: 100%; border-collapse: collapse; background: #fff; color: #0F2A33; border-radius: 20px; overflow: hidden; text-align: left; box-shadow: 0 16px 40px rgba(15,42,51,.10); }
.compare th, .compare td { padding: 12px 16px; }
.compare th { font-weight: 900; text-align: center; width: 22%; padding-top: 16px; }
.compare th:first-child { width: auto; }
.compare tbody tr:nth-child(odd) td { background: #F3F7F7; }
.compare td { font-weight: 800; }
.compare td small { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.compare th img { display: block; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.compare td.y, .compare td.n, .compare .price td + td { text-align: center; }
.compare td.y { color: #1E9E5A; font-size: 20px; font-weight: 900; }
.compare td.n { color: #9DB1B8; }
.compare .price td { font-weight: 900; font-size: 20px; background: #FFE6DD; color: #0F2A33; }
.compare .price td + td { color: var(--accent); }
.compare .credit { margin: 22px auto; font-weight: 600; color: var(--muted); }
.compare .credit { font-size: 18px; color: var(--ink); }
.compare .credit b { color: var(--accent); font-weight: 900; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); font-size: 16px; padding: 12px 22px; }
.trial { background: linear-gradient(135deg, #FF6B4A 0%, #E5502C 100%); color: #fff; text-align: center; padding-top: 56px; padding-bottom: 56px; }
.trial h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 22px; }
.trial p { max-width: 640px; margin: 0 auto 26px; font-weight: 700; font-size: 18px; color: #FFF3EF; }
.btn.light { background: #fff; color: #0F2A33; }
/* The price: big, warm, proud. */
.value { background: linear-gradient(180deg, #FFF1EC 0%, #FFE3D9 100%); color: #0F2A33; text-align: center; }
.value > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.kicker { font-size: 13px; font-weight: 900; letter-spacing: .12em; color: #E5502C; margin-bottom: 8px; }
.value h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin-bottom: 14px; }
.value .lead { font-size: 19px; font-weight: 700; color: #3D5560; max-width: 680px; margin-bottom: 34px; }
.plans { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.plan { position: relative; background: #fff; border-radius: 24px; padding: 30px 40px; width: 320px; text-align: left; box-shadow: 0 12px 30px rgba(229,80,44,.12); }
.plan.best { box-shadow: 0 0 0 4px #FF6B4A, 0 16px 40px rgba(229,80,44,.25); }
.plan h3 { margin: 0; color: #4D6670; font-size: 17px; font-weight: 800; }
.plan .price { margin: 2px 0 0; font-size: 64px; line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; }
.plan .per { margin: 4px 0 0; color: #4D6670; font-weight: 700; }
.perks { list-style: none; padding: 0; margin: 30px auto 0; display: inline-block; text-align: left; }
.perks li { position: relative; padding-left: 34px; margin: 10px 0; font-size: 18px; font-weight: 800; color: #0F2A33; }
.perks li::before { content: "✓"; position: absolute; left: 0; color: #1E9E5A; font-weight: 900; }
.value .fine { color: #6A7F87; }

/* Contact form */
.contact {
  display: block; max-width: 1000px; margin: 0 auto 56px; padding: 40px 44px 28px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--brand); box-shadow: 0 14px 36px rgba(15,42,51,.08);
}
.contact h2 { margin-bottom: 10px; }
.contact-intro { text-align: center; max-width: 680px; margin: 0 auto 18px; }
.contact-intro p { color: var(--muted); font-weight: 600; margin: 0 0 10px; font-size: 18px; }
.contact-intro b { color: var(--ink); }
.contact-form { min-width: 0; }
/* Meet the dentist behind it */
.founder { background: #fff; padding-top: 0; }
.founder-card { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; padding: 44px; border-radius: 28px; background: var(--sky); }
.photo { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; background: #FF6B4A; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 14px 32px rgba(15,42,51,.14); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo span { color: #fff; font-size: 64px; font-weight: 900; }
.story h2 { margin-bottom: 14px; }
.story p { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 14px; line-height: 1.55; }
.story .sig { font-weight: 900; margin-top: 18px; }
.story .hl-bad { color: var(--accent); font-weight: 800; }
.story .hl-good { color: var(--green); font-weight: 800; }
.story .sig span { font-weight: 600; color: var(--muted); }
.story .kicker { display: inline-block; background: var(--accent); color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; margin-bottom: 14px; }
.faq { max-width: 1000px; margin: 0 auto; padding: 60px 0 56px; }
details { background: var(--tile); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; border-left: 5px solid var(--brand); }
summary { font-weight: 900; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 900; transition: transform .2s;
}
details[open] summary::before { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--muted); font-weight: 600; }

footer { text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; padding-bottom: 40px; padding-top: 8px; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); font-weight: 900; font-size: 17px; }
.foot-brand img { border-radius: 7px; }
footer a { color: var(--ink); }

.legal { max-width: 720px; margin: 0 auto; padding: 8px 24px 56px; }
.legal h1 { font-size: 36px; margin-bottom: 4px; }
.legal h2 { font-size: 20px; margin: 28px 0 6px; }
.legal p { margin: 0; }
.legal .fine { margin: 0 0 8px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
  h1 { font-size: min(44px, 5.9vw); }
  .audience { font-size: 14px; padding: 5px 14px 5px 5px; margin-bottom: 18px; gap: 10px; }
  .audience img { width: 44px; height: 44px; }
  .stage { padding: 12px; border-radius: 18px; }
  .steps, .vs { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 28px 22px; }
  .photo { width: 160px; height: 160px; margin: 0 auto; }
  .story { text-align: left; }
  .arrow { height: 56px; }
  .arrow::before { left: 50%; right: auto; top: -22px; bottom: -22px; width: 8px; height: auto; margin: 0 0 0 -4px; background: #FF6B4A; }
  .arrow span { animation-name: kd-travel-down; }
  @keyframes kd-travel-down { 0%, 100% { transform: rotate(90deg) translateX(-30px); } 50% { transform: rotate(90deg) translateX(30px); } }
  .vs.ready:not(.go) .after { transform: translateY(-40px); }
  .btn { display: block; text-align: center; }
  .compare th, .compare td { padding: 10px 10px; font-size: 15px; }
  .plan { width: auto; flex: 1 1 0; min-width: 0; padding: 20px 18px; }
  .plan .price { font-size: 34px; }
  .contact { padding: 26px 18px 18px; }
  .btn.small { display: inline-block; }
  .bn { flex-direction: column; gap: 0; line-height: 1.15; }
  .bn b { font-size: 19px; }
  .bn em { font-size: 13px; white-space: nowrap; }
  .bn .long { display: none; }
  .bn .short { display: inline; }
  .store-badge img { height: 40px; }
}
