@font-face { font-family: "Unbounded"; src: url(fonts/Unbounded.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url(fonts/RethinkSans.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --gum: #ea8373;          /* sampled from the smile photo's wall */
  --gum-deep: #c9534f;
  --gum-soft: #f3b2a5;
  --ink: #2a1220;          /* plum, never black */
  --ink-2: #4a1f2c;
  --enamel: #fff7ec;
  --enamel-2: #f6ead8;
  --dentine: #f4d06f;
  --pulp: #c93a3f;
  --mint: #1d7a51;         /* peppermint stripe */
  --mint-2: #135c3b;
  --line: rgb(42 18 32 / .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .9s;
  --display-w: 640;
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  color-scheme: light;
}
/* calm mode: softer contrast, lighter letters, slower everything */
html.calm {
  --gum: #f2c9bd;
  --gum-deep: #dc8f86;
  --gum-soft: #f8ddd4;
  --ink: #3b2530;
  --ink-2: #5a3d48;
  --dentine: #f2dd9f;
  --pulp: #d77a72;
  --mint: #3f7a62;
  --mint-2: #2f6550;
  --dur: 1.7s;
  --display-w: 420;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--gum); color: var(--ink);
  font: 400 1.0625rem/1.55 "Rethink Sans", system-ui, sans-serif;
  transition: background-color 1.2s var(--ease), color 1.2s var(--ease);
  overflow-x: clip;
}
html.calm body { font-size: 1.125rem; line-height: 1.65; }
::selection { background: var(--dentine); color: var(--ink); }
html { scrollbar-color: var(--ink-2) var(--gum); scrollbar-width: thin; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2 {
  font-family: "Unbounded", system-ui, sans-serif; font-weight: var(--display-w);
  line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .5em; text-wrap: balance;
  transition: font-weight 1.2s var(--ease);
}
h1 { font-size: clamp(2.15rem, 4.1vw, 3.85rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.75rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--enamel); padding: .6rem 1rem; border-radius: 99px; }
.skip:focus { top: 1rem; }

.calm-only { display: none; }
html.calm .calm-only { display: revert; animation: calmIn 1.6s var(--ease) both; }
html.calm .calm-off { display: none; }
@keyframes calmIn { from { opacity: 0; transform: translateY(8px); } }

/* ── buttons: pill with a nested circle ── */
.btn {
  display: inline-flex; align-items: center; gap: .85rem; min-height: 3.25rem; padding: .35rem .4rem .35rem 1.35rem;
  border: 0; border-radius: 99px; background: var(--mint); color: var(--enamel);
  font: 600 1rem/1 "Rethink Sans", sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgb(19 92 59 / .8);
  transition: background-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.btn i { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--enamel); transition: transform .5s var(--ease); }
.btn i svg { width: 1rem; height: 1rem; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: var(--mint-2); transform: translateY(-1px); }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); padding: .35rem 1.35rem; }
.btn--ghost:hover { background: rgb(255 247 236 / .35); }

/* ── nav: a floating carton-white capsule ── */
.nav {
  position: fixed; z-index: 30; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px)); display: flex; align-items: center; gap: 1.25rem;
  padding: .45rem .45rem .45rem 1.1rem; border-radius: 99px; background: var(--enamel);
  box-shadow: 0 14px 34px -22px rgb(42 18 32 / .55);
}
.nav__mark { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 700 1.05rem/1 "Unbounded", sans-serif; letter-spacing: -.03em; }
.nav__mark svg, .foot__stripes { width: 2.1rem; height: .85rem; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.nav__mark svg path:nth-child(1), .foot__stripes path:nth-child(1) { stroke: var(--dentine); }
.nav__mark svg path:nth-child(2) { stroke: var(--pulp); }
.nav__mark svg path:nth-child(3) { stroke: var(--mint); }
.nav__links { display: flex; gap: 1.4rem; margin-left: auto; font-size: .95rem; }
.nav__links a { text-decoration: none; padding: .3rem 0; background: linear-gradient(var(--pulp), var(--pulp)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease); }
.nav__links a:hover { background-size: 100% 2px; }
.nav__cta { text-decoration: none; background: var(--mint); color: var(--enamel); padding: .75rem 1.3rem; border-radius: 99px; font-weight: 600; }
.nav__cta:hover { background: var(--mint-2); }
.calm {
  display: inline-flex; align-items: center; gap: .6rem; border: 0; cursor: pointer; background: var(--enamel-2);
  color: var(--ink); padding: .5rem .9rem .5rem .55rem; border-radius: 99px; font: 600 .92rem/1 "Rethink Sans", sans-serif;
}
.calm__track { position: relative; width: 2.6rem; height: 1.5rem; border-radius: 99px; background: var(--gum-deep); transition: background-color .6s var(--ease); }
.calm__knob { position: absolute; top: 3px; left: 3px; width: calc(1.5rem - 6px); height: calc(1.5rem - 6px); border-radius: 50%; background: var(--enamel); box-shadow: 0 2px 5px rgb(42 18 32 / .3); transition: transform .7s var(--ease); }
.calm[aria-checked="true"] .calm__track { background: var(--mint); }
.calm[aria-checked="true"] .calm__knob { transform: translateX(1.1rem); }

/* ── the molar track ── */
.molar { position: relative; height: 640vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ribbon { position: absolute; left: 0; width: 100%; top: 30%; height: 60%; overflow: visible; pointer-events: none; }
.ribbon__s { fill: none; stroke-width: 24; stroke-linecap: round; stroke-dasharray: 1 1; transition: opacity .8s var(--ease), stroke .8s var(--ease); vector-effect: non-scaling-stroke; }
.r1 { stroke: var(--enamel); transform: translateY(-36px); }
.r2 { stroke: var(--dentine); transform: translateY(-12px); }
.r3 { stroke: var(--pulp); transform: translateY(12px); }
.r4 { stroke: var(--mint); transform: translateY(36px); }
.ribbon { opacity: var(--ro, 1); }

.tooth {
  position: absolute; z-index: 2; height: min(84svh, 62vw); aspect-ratio: 768 / 1240;
  left: 64%; top: 52%; translate: -50% -50%;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ts, 1));
  transform-origin: 50% 50%;
}
.tooth__float { position: absolute; inset: 0; animation: bob 7s ease-in-out infinite; }
html.calm .tooth__float { animation-duration: 12s; }
@keyframes bob { 50% { transform: translateY(-1.4%) rotate(.6deg); } }
.t { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 30px 34px rgb(90 20 30 / .28)); }
.t--whole img { width: 100%; height: 100%; }
.t--whole { clip-path: polygon(var(--pa) -10%, 130% -10%, 130% 115%, var(--pb) 115%); opacity: var(--wo, 1); }
.t--enamel { transform: translateY(var(--ey, 0%)) scale(var(--es, 1)); opacity: var(--eo, 1); transition: filter .6s; }
.t--dl { clip-path: inset(0 50% 0 0); transform: translateX(calc(var(--split, 0) * -9%)); }
.t--dr { clip-path: inset(0 0 0 50%); transform: translateX(calc(var(--split, 0) * 9%)); }
.t--dl, .t--dr { opacity: var(--do, 1); filter: drop-shadow(0 18px 20px rgb(90 20 30 / .22)) saturate(var(--dsat, 1)); }
.t--pulp { opacity: var(--po, 1); filter: drop-shadow(0 0 calc(var(--glow, 0) * 26px) rgb(255 120 100 / calc(var(--glow, 0) * .9))) saturate(var(--psat, 1)); }
.t--gum { inset: 0 -45%; width: 190%; filter: none;
  -webkit-mask: linear-gradient(90deg, #0000 2%, #000 24%, #000 76%, #0000 98%), linear-gradient(#000 62%, #0000 96%); -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, #0000 2%, #000 24%, #000 76%, #0000 98%), linear-gradient(#000 62%, #0000 96%); mask-composite: intersect; transform: translateY(calc((1 - var(--gum, 0)) * 60%)); opacity: calc(var(--gum, 0) * 1.4); }
.gum__soft { opacity: .88; }
.peel {
  position: absolute; top: -4%; bottom: -4%; width: 7%; left: var(--pk, -20%); pointer-events: none;
  background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 252 244 / .95) 45%, rgb(201 83 79 / .35) 60%, rgb(255 255 255 / 0));
  transform: skewX(-13.9deg); opacity: var(--po2, 0); mix-blend-mode: screen; filter: blur(2px);
}
.tag {
  position: absolute; z-index: 3; left: calc(var(--gx, .5) * 100%); top: calc(var(--gy, .5) * 100%);
  display: flex; align-items: center; gap: .55rem; opacity: var(--go, 0); transition: opacity .5s var(--ease), left .9s var(--ease), top .9s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.tag i { width: 14px; height: 14px; border-radius: 50%; background: var(--enamel); box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px rgb(255 247 236 / .45); flex: none; }
.tag b { font: 600 .82rem/1 "Rethink Sans", sans-serif; background: var(--ink); color: var(--enamel); padding: .45rem .7rem; border-radius: 99px; letter-spacing: .01em; }

.smile { position: absolute; inset: 0; z-index: 1; clip-path: circle(var(--sr, 0%) at var(--sx, 63%) var(--sy, 52%)); }
.smile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.rail { position: absolute; z-index: 4; right: clamp(1rem, 2.4vw, 2.4rem); top: 50%; translate: 0 -50%; margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.rail button { position: relative; display: block; width: 18px; height: 64px; border: 0; padding: 0; cursor: pointer; background: none; }
.rail button::before {
  content: ""; position: absolute; inset: 5px 3px; border-radius: 99px; background: var(--c);
  box-shadow: inset 0 0 0 1.5px rgb(42 18 32 / .22); transform-origin: 50% 50%; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.rail button span {
  position: absolute; right: calc(100% + .7rem); top: 50%; translate: 0 -50%; white-space: nowrap; font-size: .85rem; font-weight: 600;
  background: var(--enamel); padding: .35rem .65rem; border-radius: 99px; opacity: 0; transform: translateX(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none;
}
.rail button:hover span, .rail button:focus-visible span, .rail button[aria-current="step"] span { opacity: 1; transform: none; }
.rail button[aria-current="step"]::before { transform: scale(1.35, 1.45); box-shadow: inset 0 0 0 1.5px var(--ink); }

.copy { position: absolute; z-index: 5; left: var(--pad); top: 50%; translate: 0 -50%; width: min(33rem, 40vw); min-height: 22rem; }
.beat { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(26px); filter: blur(6px); visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease), visibility 0s var(--dur); }
.beat.is-on { opacity: 1; transform: none; filter: none; visibility: visible; transition-delay: .12s, .12s, .12s, 0s; }
.beat p { max-width: 31rem; font-size: 1.12rem; color: var(--ink-2); }
html.calm .beat p { font-size: 1.18rem; }
.beat p.calm-only { color: var(--ink); background: rgb(255 247 236 / .55); border-radius: 18px; padding: .8rem 1rem; font-size: 1.02rem; }
.beat__act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.beat__still { display: none; }
.beat[data-beat="5"] { background: rgb(255 247 236 / .92); border-radius: 24px; padding: 1.8rem 2rem 2rem; inset: auto 0 auto 0; top: 50%; translate: 0 -50%; }
.capture .ribbon__s, .capture .tooth__float { animation: none !important; }
.ribbon__s { animation: draw 2.6s var(--ease) .3s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ── shade guide ── */
.shade {
  position: relative; z-index: 3; background: var(--enamel); border-radius: 48px 48px 0 0; margin-top: -48px;
  padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.shade__copy p { color: var(--ink-2); max-width: 32rem; }
.tabs { border: 0; margin: 1.6rem 0 1rem; padding: 0; }
.tabs legend { font-weight: 700; font-size: .9rem; margin-bottom: .8rem; }
.tabs__row {
  display: flex; gap: .45rem; padding: 1.1rem .9rem .8rem; border-radius: 22px; background: var(--enamel-2);
  box-shadow: inset 0 -12px 0 var(--gum-soft); position: relative;
}
.stab { position: relative; flex: 1; min-width: 0; }
.stab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.stab__face {
  display: block; height: 4.6rem; border-radius: 14px 14px 22px 22px; background: var(--c);
  box-shadow: inset 0 -10px 14px rgb(140 100 50 / .14), inset 0 6px 8px rgb(255 255 255 / .7), 0 6px 10px -6px rgb(42 18 32 / .4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stab__name { display: block; text-align: center; font-size: .74rem; font-weight: 600; margin-top: .45rem; letter-spacing: .01em; }
.stab input:checked + .stab__face { transform: translateY(-10px); box-shadow: inset 0 -10px 14px rgb(140 100 50 / .14), inset 0 6px 8px rgb(255 255 255 / .7), 0 0 0 3px var(--ink), 0 16px 18px -10px rgb(42 18 32 / .45); }
.stab input:focus-visible + .stab__face { outline: 3px solid var(--mint); outline-offset: 4px; }
.stab:hover .stab__face { transform: translateY(-5px); }
.stab__today { position: absolute; top: -1.55rem; left: 50%; translate: -50% 0; font-size: .66rem; font-weight: 700; background: var(--pulp); color: var(--enamel); padding: .2rem .45rem; border-radius: 99px; white-space: nowrap; }
.shade__read { font-weight: 600; color: var(--ink) !important; }
.fine { font-size: .86rem; }
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 50px -30px rgb(42 18 32 / .6); touch-action: pan-y; }
.compare__before, .compare__after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--x, 50%)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; translate: -50% 0; background: var(--enamel); pointer-events: none; }
.compare__line i { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--enamel); box-shadow: 0 6px 16px rgb(42 18 32 / .35); }
.compare__line i::before, .compare__line i::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.compare__line i::before { left: 14px; transform: translateY(-50%) rotate(45deg); }
.compare__line i::after { right: 14px; transform: translateY(-50%) rotate(-135deg); }
.compare__lab { position: absolute; bottom: 1rem; font-size: .82rem; font-weight: 700; background: rgb(42 18 32 / .8); color: var(--enamel); padding: .4rem .75rem; border-radius: 99px; pointer-events: none; }
.compare__lab--l { left: 1rem; } .compare__lab--r { right: 1rem; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--mint); outline-offset: 4px; }

/* the crimped end of a tube, between carton and wall */
.crimp {
  position: relative; z-index: 3; height: 34px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--enamel) 0 7px, var(--enamel-2) 7px 9px);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}

/* ── first visit ── */
.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(4rem, 8vw, 7rem) var(--pad); align-items: start; }
.visit__img { position: sticky; top: 6.5rem; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 50px -32px rgb(42 18 32 / .65); }
.visit__img img { width: 100%; height: auto; }
.visit__lead { font-size: 1.15rem; color: var(--ink-2); }
.steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1.5px solid var(--line); }
.steps li:last-child { border-bottom: 1.5px solid var(--line); }
.steps b { font: 600 .95rem/1.6 "Unbounded", sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html.calm .steps li.calm-only { display: grid; }
html.calm .steps li.calm-only b { color: var(--mint-2); }

/* ── sample fees, as the panel on the back of a carton ── */
.fees { padding: clamp(2rem, 5vw, 4rem) var(--pad) clamp(4rem, 8vw, 7rem); display: grid; place-items: center; }
.carton { width: min(46rem, 100%); background: var(--enamel); border: 4px solid var(--ink); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 50px -34px rgb(42 18 32 / .7); }
.carton__head { border-bottom: 10px solid var(--ink); padding-bottom: .9rem; margin-bottom: .2rem; }
.carton__head h2 { margin: 0 0 .3rem; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.carton__head p { margin: 0; color: var(--ink-2); }
.facts { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.facts thead th { font-size: .8rem; font-weight: 700; text-align: left; padding: .6rem 0; border-bottom: 3px solid var(--ink); }
.facts th, .facts td { padding: .8rem 0; border-bottom: 1.5px solid var(--line); text-align: left; font-weight: 500; vertical-align: baseline; }
.facts tbody th { font-weight: 600; padding-right: 1rem; }
.facts td:nth-child(2) { color: var(--ink-2); padding-right: 1rem; white-space: nowrap; }
.facts td:last-child, .facts thead th:last-child { text-align: right; font: 600 1.05rem/1 "Unbounded", sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.facts thead th:last-child { font: 700 .8rem/1 "Rethink Sans", sans-serif; letter-spacing: 0; }
.carton__fine { margin: 1rem 0 0; font-size: .86rem; color: var(--ink-2); }

/* ── appointment card ── */
.book { background: var(--dentine); padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(5rem, 9vw, 8rem); display: grid; justify-items: center; transition: background-color 1.2s var(--ease); }
.book h2 { text-align: center; }
.card { position: relative; width: min(44rem, 100%); background: var(--enamel); border-radius: 26px; padding: 2.6rem clamp(1.2rem, 3.5vw, 2.5rem) 1.8rem; box-shadow: 0 30px 50px -32px rgb(110 70 10 / .55); display: grid; gap: 1.4rem; }
.card__perf { position: absolute; left: 22px; right: 22px; top: 14px; height: 6px; background: radial-gradient(circle, var(--dentine) 2.5px, transparent 3px) 0 0 / 14px 6px repeat-x; transition: background .9s; }
.pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick legend { font-weight: 700; font-size: .9rem; margin-bottom: .6rem; padding: 0; }
.pick__row, .slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick label, .slots label, .days label { position: relative; }
.pick input[type=radio] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick input[type=radio] + span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem 1.05rem; border-radius: 99px;
  background: var(--enamel-2); font-weight: 600; font-size: .95rem; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); cursor: pointer;
}
.pick input[type=radio]:hover + span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pick input[type=radio]:checked + span { background: var(--ink); color: var(--enamel); }
.pick input[type=radio]:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 3px; }
.pick input[type=radio]:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; box-shadow: none; }
.days { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .1rem .6rem; scrollbar-width: thin; scroll-snap-type: x proximity; }
.days label { flex: none; scroll-snap-align: start; }
.days input[type=radio] + span { flex-direction: column; gap: .2rem; width: 4.4rem; min-height: 4.6rem; border-radius: 18px; padding: .5rem; }
.days span small { font-weight: 500; font-size: .76rem; opacity: .8; }
.days span strong { font: 600 1.2rem/1 "Unbounded", sans-serif; letter-spacing: -.03em; }
.slots input[type=radio] + span { font-variant-numeric: tabular-nums; min-width: 5.2rem; }
.slow { display: flex; align-items: center; gap: .7rem; font-weight: 600; cursor: pointer; }
.slow input { width: 1.25rem; height: 1.25rem; accent-color: var(--mint); margin: 0; }
.card__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.card__fields label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.card__fields input { font: 500 1rem/1.2 "Rethink Sans", sans-serif; color: var(--ink); background: var(--enamel-2); border: 1.5px solid transparent; border-radius: 14px; padding: .85rem .9rem; caret-color: var(--pulp); }
.card__fields input:focus { outline: none; border-color: var(--ink); background: #fff; }
.card__fields input[aria-invalid="true"] { border-color: var(--pulp); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1.5px dashed var(--line); padding-top: 1.2rem; }
.card__sum { margin: 0; font-weight: 600; max-width: 22rem; }
.card__note { margin: 0; font-size: .88rem; color: var(--ink-2); }

.foot { background: var(--ink); color: var(--enamel); padding: 3rem var(--pad) 6rem; display: flex; gap: 1.2rem; align-items: flex-start; }
.foot p { max-width: 48rem; margin: 0; font-size: .95rem; opacity: .9; }
.foot__stripes { flex: none; margin-top: .4rem; }
.foot__stripes path:nth-child(2) { stroke: var(--pulp); } .foot__stripes path:nth-child(3) { stroke: var(--mint); }

.credit {
  position: fixed; z-index: 40; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink); color: var(--enamel); text-decoration: none; font: 600 .82rem/1 "Rethink Sans", sans-serif;
  padding: .55rem .55rem .55rem .95rem; border-radius: 99px; box-shadow: 0 10px 24px -12px rgb(42 18 32 / .7);
}
.credit svg { width: 1.6rem; height: 1.6rem; padding: .35rem; border-radius: 50%; background: var(--enamel); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

/* ── phone ── */
@media (max-width: 760px) {
  .nav { gap: .5rem; padding-left: .9rem; top: 10px; width: calc(100% - 20px); }
  .nav__links { display: none; }
  .nav__mark span { font-size: .95rem; }
  .nav__mark svg { display: none; }
  .calm { margin-left: auto; padding: .45rem .7rem .45rem .45rem; font-size: .84rem; }
  .calm__long { display: none; }
  .nav__cta { padding: .7rem 1rem; }
  .molar { height: 620svh; }
  .tooth { height: 46svh; left: 50%; top: 35svh; }
  .ribbon { top: 12svh; height: 34svh; }
  .ribbon__s { stroke-width: 15; }
  .r1 { transform: translateY(-22px); } .r2 { transform: translateY(-7px); } .r3 { transform: translateY(8px); } .r4 { transform: translateY(23px); }
  .rail { top: auto; bottom: calc(43svh + .6rem); right: 50%; translate: 50% 0; display: flex; gap: .4rem; }
  .rail button { width: 44px; height: 20px; }
  .rail button::before { inset: 6px 2px; }
  .rail button[aria-current="step"]::before { transform: scale(1.5, 1.35); }
  .rail button span { display: none; }
  .copy {
    left: 0; right: 0; top: auto; bottom: 0; translate: none; width: auto; height: 43svh; min-height: 0;
    background: var(--enamel); border-radius: 28px 28px 0 0; box-shadow: 0 -18px 30px -24px rgb(42 18 32 / .45);
  }
  .beat { padding: 1.4rem 1.25rem 4.4rem; inset: 0; overflow: hidden; }
  .beat h1 { font-size: 1.75rem; } .beat h2 { font-size: 1.42rem; }
  .beat p { font-size: 1rem; margin-bottom: .7em; }
  html.calm .beat p { font-size: 1rem; }
  .beat p.calm-only { font-size: .92rem; padding: .6rem .8rem; }
  .beat__act { margin-top: .8rem; }
  .beat[data-beat="5"] { background: none; padding: 1.4rem 1.25rem 4.4rem; inset: 0; translate: none; border-radius: 0; }
  .beat__act .btn--ghost { display: none; }
  .tag b { font-size: .74rem; }
  .shade { grid-template-columns: 1fr; border-radius: 32px 32px 0 0; margin-top: -32px; padding-top: 3.2rem; }
  .compare { border-radius: 20px; aspect-ratio: 4 / 3; }
  .stab__face { height: 3.4rem; border-radius: 10px 10px 16px 16px; }
  .stab__name { font-size: .64rem; }
  .tabs__row { gap: .3rem; padding: 1.2rem .5rem .7rem; }
  .visit { grid-template-columns: 1fr; }
  .visit__img { position: relative; top: 0; border-radius: 20px; }
  .card__fields { grid-template-columns: 1fr; }
  .card__foot .btn { width: 100%; justify-content: space-between; }
  .credit { right: auto; left: 12px; bottom: 12px; font-size: .74rem; padding: .45rem .45rem .45rem .8rem; }
  .credit svg { width: 1.4rem; height: 1.4rem; }
  .foot { padding-bottom: 7rem; }
  .book { padding-bottom: calc(8dvh + 4rem); }
}

/* ── reduced motion: the stages become a plain read with stills ── */
html.reduce .molar { height: auto; }
html.reduce .stage { position: relative; height: auto; overflow: visible; padding: 7rem var(--pad) 5rem; }
html.reduce .ribbon, html.reduce .tooth, html.reduce .rail, html.reduce .smile { display: none; }
html.reduce .copy { position: static; translate: none; width: auto; height: auto; min-height: 0; background: none; box-shadow: none; display: grid; gap: 3.5rem; }
html.reduce .beat { position: static; opacity: 1; transform: none; filter: none; visibility: visible; padding: 0; overflow: visible; transition: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 0 3rem; align-items: center; }
html.reduce .beat[data-beat="5"] { translate: none; background: none; padding: 0; }
html.reduce .beat > :not(.beat__still) { grid-column: 1; }
html.reduce .beat__still { display: block; grid-column: 2; grid-row: 1 / span 6; width: 100%; height: auto; max-height: 60vh; object-fit: contain; border-radius: 20px; }
html.reduce .beat__act .btn--ghost { display: inline-flex; }
html.reduce .shade { margin-top: 0; }
html.reduce *, html.reduce *::before, html.reduce *::after { animation: none !important; transition-duration: .01s !important; }
@media (max-width: 760px) {
  html.reduce .beat { grid-template-columns: 1fr; }
  html.reduce .beat__still { grid-column: 1; grid-row: auto; max-height: 46vh; margin-top: 1rem; }
}
