/* ==========================================================================
   Dentalchemy — premium clinical
   Deep teal ground, peach accent, warm cream paper. Editorial serif display
   over a neutral UI sans. No pastel washes; contrast and structure instead.
   ========================================================================== */

:root {
  /* teal — the brand's weight */
  --teal-900: #0c2524;
  --teal-800: #163a3a;
  --teal-700: #1d4b49;
  --teal-600: #2a615e;
  --teal-400: #5c8b87;
  --teal-200: #a9c5c1;
  --teal-100: #d8e6e3;

  /* peach — used sparingly, always as the accent */
  --peach:      #f8c9b4;
  --peach-soft: #fbdccd;
  --peach-pale: #fdeee5;
  --clay:       #b9764f;

  /* paper */
  --cream:   #faf6f1;
  --cream-2: #f3ece2;
  --paper:   #ffffff;

  /* ink */
  --ink:       #14201f;
  --ink-soft:  #4d5f5d;
  --ink-faint: #8a9997;
  --line:      #e5ddd1;
  --line-soft: #efe8dd;

  --ok:   #2f6b57;
  --warn: #9a6320;
  --err:  #a83e38;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --r-arch: 260px 260px 20px 20px;

  --sh-xs: 0 1px 2px rgba(16, 40, 38, .06);
  --sh-sm: 0 1px 2px rgba(16, 40, 38, .05), 0 4px 10px -4px rgba(16, 40, 38, .10);
  --sh-md: 0 2px 4px rgba(16, 40, 38, .05), 0 14px 30px -14px rgba(16, 40, 38, .22);
  --sh-lg: 0 4px 8px rgba(16, 40, 38, .05), 0 34px 70px -28px rgba(16, 40, 38, .34);

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

/* A class-level `display` beats the UA rule for [hidden]; restate it so the
   nav buttons, item counter and success panel actually hide. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0 0 .48em;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); }
h4 { font-family: var(--sans); font-weight: 700; margin: 0 0 .5em; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }

img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 800px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 14px; top: -60px; z-index: 200;
  background: var(--teal-800); color: var(--cream);
  padding: 11px 20px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 14px; color: var(--cream); }

/* Small caps label used throughout */
.kicker {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 14px;
}
.kicker--peach { color: var(--peach); }
.kicker--teal { color: var(--teal-400); }

/* ================================================================ header == */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 241, .86);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--teal-800); color: var(--peach);
}
.brand__mark svg { width: 21px; height: 21px; }
.brand__name {
  font-family: var(--display); font-weight: 500; font-size: 1.34rem;
  letter-spacing: -.02em; line-height: 1; display: block;
}
.brand__tag {
  display: block; font-size: .63rem; color: var(--ink-faint); font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; margin-top: 5px;
}

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav__links { display: flex; gap: 2px; }
.site-nav a:not(.btn) {
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .94rem;
  padding: 9px 15px; border-radius: var(--r-sm); transition: color .18s, background .18s;
}
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--cream-2); }
.site-nav .btn { margin-left: 10px; }
@media (max-width: 820px) { .site-nav__links { display: none; } }

/* =============================================================== buttons == */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  padding: 14px 26px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .16s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--teal-800); color: var(--cream); box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--teal-700); color: var(--cream); box-shadow: var(--sh-md); }

.btn--peach { background: var(--peach); color: var(--teal-900); }
.btn--peach:hover { background: var(--peach-soft); color: var(--teal-900); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--teal-800); background: var(--paper); }

.btn--onDark { background: var(--peach); color: var(--teal-900); }
.btn--onDark:hover { background: var(--paper); color: var(--teal-900); }

.btn--quiet { background: transparent; color: var(--ink-soft); padding-inline: 14px; }
.btn--quiet:hover { color: var(--ink); background: var(--cream-2); }

.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ================================================================== hero == */
.hero { padding: clamp(46px, 7vw, 92px) 0 clamp(50px, 7vw, 96px); position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 5vw, 76px); align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 46px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--clay); }

.hero h1 { margin-bottom: .3em; }
.hero h1 em {
  font-style: italic; font-variation-settings: 'SOFT' 30, 'WONK' 1;
  color: var(--clay);
}
.hero__lede {
  font-size: clamp(1.04rem, 1.5vw, 1.16rem); color: var(--ink-soft);
  max-width: 48ch; margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero__proof div { min-width: 96px; }
.hero__proof dt {
  font-family: var(--display); font-size: 1.9rem; font-weight: 500;
  line-height: 1; color: var(--teal-800); margin: 0 0 5px;
}
.hero__proof dd {
  margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* The arch — the signature shape. Deep teal panel holding the menu, with a
   peach arch offset behind it. Needs no photography to feel finished. */
.arch-stack { position: relative; }
.arch-stack::before {
  content: ''; position: absolute; top: -20px; left: 20px; right: -20px; bottom: 0;
  background: var(--peach); border-radius: var(--r-arch); z-index: 0;
}
@media (max-width: 520px) { .arch-stack::before { right: -10px; left: 10px; top: -12px; } }
.arch {
  position: relative; z-index: 1;
  background: var(--teal-800); color: var(--cream);
  border-radius: var(--r-arch);
  padding: clamp(34px, 3.6vw, 48px) clamp(24px, 3vw, 38px) clamp(26px, 3vw, 34px);
  box-shadow: var(--sh-lg);
}
.arch__head { text-align: center; margin-bottom: 26px; }
.arch__head .kicker { color: var(--teal-200); margin-bottom: 10px; }
.arch__title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.02; letter-spacing: -.02em; color: var(--paper); margin: 0;
}
.arch__title em { font-style: italic; color: var(--peach); font-variation-settings: 'SOFT' 30, 'WONK' 1; }

.arch__list { list-style: none; margin: 0; padding: 0; }
.arch__row {
  display: flex; align-items: center; gap: 13px;
  padding: 9px 2px; border-top: 1px solid rgba(255, 255, 255, .11);
}
.arch__row:first-child { border-top: 0; }
.arch__n {
  font-family: var(--display); font-size: .84rem; font-weight: 500;
  color: var(--peach); width: 20px; flex: none; font-variant-numeric: tabular-nums;
}
.arch__ico { width: 21px; height: 21px; flex: none; color: var(--teal-200); }
.arch__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arch__name {
  flex: 1; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cream); line-height: 1.3;
}
.arch__dot { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 1.5px solid var(--teal-400); }
.arch__row:nth-child(2n) .arch__dot { background: var(--peach); border-color: var(--peach); }

.arch__foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.11);
  font-size: .8rem; color: var(--teal-200); text-align: center;
}

/* ============================================================== sections == */
.section { padding: clamp(58px, 8vw, 108px) 0; }
.section--dark { background: var(--teal-800); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p { color: var(--teal-200); }
.section--paper { background: var(--cream-2); }

.section__head { max-width: 620px; margin-bottom: clamp(38px, 5vw, 58px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; }
.section--dark .section__head p { color: var(--teal-200); }

/* Numbered editorial steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 30px 30px 30px 0; border-top: 2px solid var(--ink);
  margin-right: 26px;
}
@media (max-width: 860px) { .step { margin-right: 0; padding-right: 0; } }
.step__n {
  font-family: var(--display); font-size: 1rem; font-weight: 500;
  color: var(--clay); display: block; margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: .38em; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* The comfort menu, presented as an editorial list on the dark band */
.menu-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 72px);
}
@media (max-width: 820px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-entry {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.13);
}
.menu-entry__n {
  font-family: var(--display); font-size: .9rem; font-weight: 500; color: var(--peach);
  padding-top: 3px; font-variant-numeric: tabular-nums; flex: none;
}
.menu-entry__ico { width: 30px; height: 30px; flex: none; color: var(--peach); }
.menu-entry__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-entry__body h3 {
  font-family: var(--sans); font-size: .92rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--paper);
  margin: 2px 0 5px;
}
.menu-entry__body p { font-size: .92rem; color: var(--teal-200); margin: 0; }

/* ============================================================= form shell == */
.form-section { padding: clamp(46px, 7vw, 92px) 0 clamp(64px, 9vw, 118px); }

.form-shell {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden;
}
.form-shell__head {
  padding: clamp(22px, 3vw, 30px) clamp(24px, 4vw, 46px);
  border-bottom: 1px solid var(--line-soft); background: var(--cream);
}
.form-shell__body { padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 46px); }

/* Stepper — thin rules with numerals, not chunky bars */
.stepper { display: flex; gap: 6px; }
.stepper__item { flex: 1; min-width: 0; }
.stepper__bar { display: block; height: 2px; background: var(--line); overflow: hidden; }
.stepper__bar span { display: block; height: 100%; width: 0; background: var(--teal-800); transition: width .5s cubic-bezier(.4,0,.2,1); }
.stepper__item.is-done .stepper__bar span, .stepper__item.is-active .stepper__bar span { width: 100%; }
.stepper__item.is-active .stepper__bar span { background: var(--clay); }
.stepper__label {
  display: block; margin-top: 10px; font-size: .67rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stepper__item.is-active .stepper__label { color: var(--clay); }
.stepper__item.is-done .stepper__label { color: var(--ink-soft); }
@media (max-width: 720px) { .stepper__label { display: none; } }

.fstep { display: block; }
.js .fstep { display: none; }
.js .fstep.is-active { display: block; animation: stepIn .4s cubic-bezier(.22,.9,.3,1); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.fstep__title { margin-bottom: .3em; }
.fstep__intro { color: var(--ink-soft); margin-bottom: 30px; }

/* ================================================================ fields == */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.grid-2:last-child, .grid-3:last-child { margin-bottom: 0; }
@media (max-width: 660px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.grid-2 > .field, .grid-3 > .field { margin-bottom: 0; }

.field > label, .field__legend {
  display: block; font-weight: 600; font-size: .9rem; margin-bottom: 9px; color: var(--ink);
}
.grid-2 > .field > label, .grid-3 > .field > label { min-height: 1.3em; }
.field__hint { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-faint); margin-top: 3px; }
.req { color: var(--clay); }

.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 15px; appearance: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--teal-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: var(--paper); border-color: var(--teal-800);
  box-shadow: 0 0 0 3px rgba(22, 58, 58, .12);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234d5f5d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 44px; cursor: pointer;
}
.input.has-error, .select.has-error, .textarea.has-error { border-color: var(--err); background: #fdf5f4; }
.field__error { display: none; color: var(--err); font-size: .84rem; font-weight: 500; margin: 7px 0 0; }
.field__error.is-shown { display: block; }

fieldset { border: 0; padding: 0; margin: 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 16px; font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; user-select: none; transition: all .16s;
}
.chip span::before {
  content: ''; width: 14px; height: 14px; border-radius: 3px; flex: none;
  border: 1px solid var(--line); background: var(--paper); transition: all .16s;
}
.chip--radio span::before { border-radius: 50%; }
.chip:hover span { border-color: var(--teal-400); color: var(--ink); }
.chip input:checked + span { background: var(--teal-800); border-color: var(--teal-800); color: var(--cream); }
.chip input:checked + span::before {
  background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163a3a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
  border-color: var(--peach);
}
.chip input:focus-visible + span { outline: 2px solid var(--teal-800); outline-offset: 2px; }

/* Anxiety scale */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 760px) { .scale { grid-template-columns: 1fr; } }
.scale__opt { position: relative; }
.scale__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.scale__opt label {
  display: block; height: 100%; cursor: pointer; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 16px 15px; transition: all .18s;
}
.scale__n {
  font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1;
  color: var(--line); display: block; margin-bottom: 12px; transition: color .18s;
}
.scale__name { display: block; font-weight: 600; font-size: .88rem; }
.scale__blurb { display: block; font-size: .77rem; color: var(--ink-faint); margin-top: 4px; line-height: 1.4; }
.scale__opt:hover label { border-color: var(--teal-400); }
.scale__opt input:checked + label { background: var(--teal-800); border-color: var(--teal-800); }
.scale__opt input:checked + label .scale__n { color: var(--peach); }
.scale__opt input:checked + label .scale__name { color: var(--paper); }
.scale__opt input:checked + label .scale__blurb { color: var(--teal-200); }
.scale__opt input:focus-visible + label { outline: 2px solid var(--teal-800); outline-offset: 2px; }

/* ====================================================== comfort menu picker */
.comfort-intro {
  display: flex; gap: 13px; align-items: flex-start;
  border-left: 2px solid var(--clay); padding: 2px 0 2px 16px; margin-bottom: 28px;
}
.comfort-intro svg { width: 19px; height: 19px; color: var(--clay); flex: none; margin-top: 3px; }
.comfort-intro p { font-size: .93rem; color: var(--ink-soft); }

.comfort-list { display: block; border-top: 1px solid var(--line); }
.comfort-item { position: relative; border-bottom: 1px solid var(--line); }
.comfort-item > input { position: absolute; opacity: 0; width: 0; height: 0; }

.comfort-item__label {
  display: flex; align-items: center; gap: 16px; padding: 16px 14px 16px 4px;
  cursor: pointer; transition: background .18s, padding-left .18s;
}
.comfort-item__label:hover { background: var(--cream); padding-left: 12px; }

.comfort-item__n {
  font-family: var(--display); font-size: .84rem; font-weight: 500; color: var(--ink-faint);
  width: 22px; flex: none; font-variant-numeric: tabular-nums; transition: color .18s;
}
.comfort-item__icon { width: 30px; height: 30px; flex: none; color: var(--teal-600); transition: color .18s; }
.comfort-item__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.comfort-item__pill { flex: 1; min-width: 0; }
.comfort-item__name {
  display: block; font-weight: 700; font-size: .84rem; letter-spacing: .07em;
  text-transform: uppercase; line-height: 1.3;
}
.comfort-item__blurb { display: block; font-size: .87rem; color: var(--ink-soft); margin-top: 3px; }

.comfort-item__tick {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.comfort-item__tick svg {
  width: 14px; height: 14px; color: var(--teal-900); stroke-width: 3.4;
  opacity: 0; transform: scale(.6); transition: opacity .16s, transform .22s cubic-bezier(.3,1.6,.5,1);
}
.comfort-item > input:checked + .comfort-item__label { background: var(--peach-pale); }
.comfort-item > input:checked + .comfort-item__label .comfort-item__n { color: var(--clay); }
.comfort-item > input:checked + .comfort-item__label .comfort-item__icon { color: var(--teal-800); }
.comfort-item > input:checked + .comfort-item__label .comfort-item__tick { background: var(--peach); border-color: var(--peach); }
.comfort-item > input:checked + .comfort-item__label .comfort-item__tick svg { opacity: 1; transform: none; }
.comfort-item > input:focus-visible + .comfort-item__label { outline: 2px solid var(--teal-800); outline-offset: -2px; }

.comfort-follow {
  display: none; padding: 4px 14px 20px 72px; background: var(--peach-pale);
}
.comfort-follow.is-shown { display: block; animation: stepIn .28s ease; }
.comfort-follow > span { display: block; font-weight: 600; font-size: .84rem; margin-bottom: 10px; color: var(--ink-soft); }
@media (max-width: 600px) { .comfort-follow { padding-left: 18px; } }

.comfort-count {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .84rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--teal-800);
}
.comfort-count svg { color: var(--clay); }

/* =============================================================== consent == */
.consent {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 17px 19px;
}
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--teal-800); cursor: pointer; }
.consent label { font-size: .91rem; color: var(--ink-soft); cursor: pointer; }

/* ================================================================ review == */
.review { display: grid; gap: 0; border-top: 1px solid var(--line); }
.review__block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review__block h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 14px;
}
.review__row { display: flex; gap: 16px; padding: 5px 0; font-size: .94rem; }
.review__row dt { flex: 0 0 38%; color: var(--ink-faint); margin: 0; }
.review__row dd { flex: 1; margin: 0; font-weight: 500; }
.review__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.review__tag {
  background: var(--teal-800); color: var(--cream); border-radius: var(--r-pill);
  padding: 5px 13px; font-size: .8rem; font-weight: 500;
}
.review__empty { color: var(--ink-faint); font-style: italic; }

/* =================================================================== nav == */
.form-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
}
.form-nav__spacer { flex: 1; }
@media (max-width: 560px) {
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav .btn { width: 100%; }
  .form-nav__spacer { display: none; }
}

.form-alert {
  display: none; align-items: flex-start; gap: 11px;
  background: #fdf5f4; border: 1px solid #eccfcd; color: var(--err);
  border-radius: var(--r-sm); padding: 14px 17px; margin-bottom: 24px;
  font-size: .92rem; font-weight: 500;
}
.form-alert.is-shown { display: flex; }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ============================================================== success === */
.success { text-align: center; padding: clamp(26px, 5vw, 48px) 0; }
.success__mark {
  width: 78px; height: 78px; margin: 0 auto 28px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  display: grid; place-items: center;
  background: var(--teal-800); color: var(--peach);
  animation: pop .5s cubic-bezier(.3,1.5,.5,1);
}
.success__mark svg { width: 34px; height: 34px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

.success__ref {
  display: inline-flex; flex-direction: column; gap: 6px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 16px 34px; margin: 10px 0 26px; background: var(--cream);
}
.success__ref small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.success__ref strong { font-family: var(--display); font-size: 1.8rem; font-weight: 500; letter-spacing: .04em; }
.success__picked { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 20px 0 30px; }

/* ================================================================== FAQ === */
.faq { display: block; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; padding: 21px 40px 21px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-soft); margin: 0; max-width: 68ch; }

/* =============================================================== footer === */
.site-footer { background: var(--teal-900); color: var(--teal-200); padding: clamp(52px, 7vw, 82px) 0 32px; }
.site-footer a { color: var(--peach); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 780px) { .site-footer__grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 {
  color: var(--paper); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 16px;
}
.site-footer p, .site-footer li { font-size: .93rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .brand { color: var(--paper); margin-bottom: 18px; }
.site-footer .brand__name { color: var(--paper); }
.site-footer .brand__tag { color: var(--teal-400); }
.site-footer .brand__mark { background: var(--peach); color: var(--teal-900); }
.site-footer__base {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .83rem; color: var(--teal-400);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
