:root {
  color-scheme: light;
  --canvas: #f5efe7;
  --paper: #fffaf4;
  --paper-deep: #eee2d8;
  --ink: #24191e;
  --muted: #705f64;
  --faint: #9c898d;
  --rule: #d9cbc3;
  --rule-strong: #bda9a3;
  --accent: #8f263d;
  --accent-deep: #671628;
  --accent-pale: #f5dbe0;
  --success: #226b55;
  --warning: #8b4b20;
  --danger: #9a2d33;
  --shadow: 0 24px 70px rgba(62, 31, 38, .13);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  --content: min(1180px, calc(100% - 40px));
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select,
input[type="radio"],
input[type="checkbox"],
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
select,
summary,
label {
  touch-action: manipulation;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--accent);
}

button {
  border: 0;
}

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

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid #315e9b;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(111, 82, 89, .18);
}

.header-inner {
  width: var(--content);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand i {
  color: var(--accent);
  font-family: var(--sans);
  font-size: .58em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.brand-mark path:first-child {
  fill: var(--accent);
}

.brand-mark .brand-shine {
  fill: none;
  stroke: #fff7f3;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.primary-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--ink);
}

.header-action {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.header-action:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.studio-hero {
  min-height: calc(100svh - 73px);
  overflow: hidden;
}

.hero-inner {
  width: var(--content);
  min-height: calc(100svh - 73px);
  margin: 0 auto;
  padding: 48px 0 42px;
  display: grid;
  grid-template-columns: minmax(510px, .94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: clamp(34px, 4vw, 58px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  animation: hero-in 500ms ease-out both;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(50px, 4.15vw, 60px);
  line-height: 1;
  white-space: nowrap;
}

.hero-lede {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  border-color: var(--rule);
  background: var(--paper-deep);
  color: var(--faint);
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  border: 1px solid var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: rgba(255, 250, 244, .65);
  color: var(--accent-deep);
}

.privacy-promise {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.privacy-promise svg {
  width: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--success);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.studio-workspace {
  --polish: #8f263d;
  --polish-edge: #641327;
  position: relative;
  animation: hero-in 550ms 80ms ease-out both;
}

.studio-workspace[data-polish="rose"] {
  --polish: #c75e72;
  --polish-edge: #8f3448;
}

.studio-workspace[data-polish="clay"] {
  --polish: #b96754;
  --polish-edge: #804237;
}

.studio-workspace[data-polish="espresso"] {
  --polish: #4a2a2a;
  --polish-edge: #281313;
}

.studio-workspace[data-polish="bare"] {
  --polish: #dcae9f;
  --polish-edge: #b27b72;
}

.study-stage {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(148, 111, 118, .23);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.study-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 11px solid rgba(255, 255, 255, .36);
  border-radius: inherit;
  pointer-events: none;
}

.stage-caption {
  position: absolute;
  z-index: 2;
  top: 23px;
  left: 25px;
  display: flex;
  flex-direction: column;
}

.stage-caption span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stage-caption strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.hand-study {
  width: min(430px, 88%);
  height: 450px;
  margin: 24px auto 0;
}

.stage-shadow {
  fill: rgba(68, 28, 39, .08);
}

.hand-silhouette,
.hand-palm,
.comparison-finger {
  fill: url("#skinTone");
  stroke: rgba(112, 74, 76, .19);
  stroke-width: 1.2;
}

.nail,
.comparison-nail,
.card-nail {
  fill: var(--polish);
  stroke: var(--polish-edge);
  stroke-width: 1.4;
  transition: fill 180ms ease, opacity 180ms ease;
}

[data-finish="jelly"] .nail {
  fill-opacity: .72;
}

[data-finish="jelly"] .comparison-nail,
[data-finish="jelly"] .card-nail,
[data-finish="jelly"] .nail-icon-shape {
  fill-opacity: .72;
}

.nail-main {
  stroke-width: 1.8;
}

.nail-shine,
.comparison-shine {
  fill: none;
  stroke: rgba(255, 255, 255, .7);
  stroke-linecap: round;
  stroke-width: 4;
}

[data-finish="jelly"] .nail-shine {
  stroke: rgba(255, 255, 255, .82);
}

.shine-two {
  stroke-width: 3;
}

.studio-workspace.is-changing .nails {
  animation: nail-settle 220ms ease-out;
  transform-origin: center;
}

.stage-note {
  position: absolute;
  right: 22px;
  bottom: 17px;
  left: 22px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.stage-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.quick-controls {
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  margin: -34px auto 0;
  padding: 17px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(255, 250, 244, .98);
  box-shadow: 0 12px 28px rgba(62, 31, 38, .08);
}

.quick-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quick-controls legend,
.sublegend {
  margin: 0 0 8px;
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shape-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  scroll-snap-type: inline proximity;
}

.shape-rail button {
  min-height: 44px;
  padding: 7px 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  scroll-snap-align: start;
}

.shape-rail button:hover {
  background: var(--canvas);
}

.shape-rail button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-pale);
  color: var(--accent-deep);
}

.length-control {
  margin-top: 12px !important;
}

.length-hint {
  margin: 7px 1px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.segmented label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.segmented span {
  min-height: 44px;
  padding: 8px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.segmented input:hover + span {
  border-color: var(--rule-strong);
}

.segmented input:focus-visible + span {
  outline: 3px solid #315e9b;
  outline-offset: 2px;
}

.segmented input:checked + span {
  border-color: var(--accent);
  background: var(--accent-pale);
  color: var(--accent-deep);
}

.fine-tune {
  margin-top: 12px;
  border-top: 1px solid var(--rule);
}

.appearance-controls {
  margin-top: 12px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: minmax(150px, .68fr) minmax(0, 1.32fr);
  align-items: end;
  gap: 14px;
  border-top: 1px solid var(--rule);
}

.fine-tune summary {
  min-height: 44px;
  padding: 12px 1px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.fine-tune summary::-webkit-details-marker {
  display: none;
}

.fine-tune summary span {
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.fine-tune[open] summary span {
  transform: none;
}

.fine-grid {
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fine-grid > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

select {
  min-height: 44px;
  padding: 8px 32px 8px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background-color: var(--paper);
  cursor: pointer;
}

input[type="range"] {
  min-height: 24px;
  accent-color: var(--accent);
}

.range-labels {
  display: flex;
  justify-content: space-between;
}

.range-labels i {
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.finish-control,
.polish-control {
  min-width: 0;
}

.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swatches {
  display: flex;
  gap: 8px;
}

.swatches button {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(50, 24, 29, .25);
  border-radius: 50%;
  background: #8f263d;
  cursor: pointer;
}

.swatches button[data-polish="rose"] {
  background: #c75e72;
}

.swatches button[data-polish="clay"] {
  background: #b96754;
}

.swatches button[data-polish="espresso"] {
  background: #4a2a2a;
}

.swatches button[data-polish="bare"] {
  background: #dcae9f;
}

.swatches button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(35, 15, 20, .55);
}

.studio-workspace.is-captioning .stage-caption {
  animation: caption-flash 220ms ease-out;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nail-settle {
  0% {
    opacity: .55;
    transform: translateY(2px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes caption-flash {
  50% {
    color: var(--accent);
    transform: translateY(-2px);
  }
}

.finder-section,
.compare-section,
.guide-section,
.faq-section {
  width: var(--content);
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.salon-intro h2,
.method-section h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.04;
}

.section-heading > p:last-child,
.salon-intro > p:last-child {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.finder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 36px;
  align-items: start;
}

.finder-form {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(57, 29, 35, .08);
}

.finder-progress {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.finder-progress progress {
  width: 150px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper-deep);
}

.finder-progress progress::-webkit-progress-bar {
  background: var(--paper-deep);
}

.finder-progress progress::-webkit-progress-value {
  background: var(--accent);
}

.finder-progress progress::-moz-progress-bar {
  background: var(--accent);
}

.finder-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: step-in 180ms ease-out;
}

.finder-step > legend {
  max-width: 700px;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.finder-step > legend:focus-visible {
  border-radius: 4px;
}

.question-hint {
  margin: 9px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.choice-grid label,
.checkbox-grid label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.choice-grid input,
.checkbox-grid input {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.choice-grid label > span {
  min-height: 73px;
  padding: 13px 12px 12px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, .27);
}

.choice-grid label:hover > span,
.checkbox-grid label:hover > span {
  border-color: var(--rule-strong);
}

.choice-grid input:focus-visible + span,
.checkbox-grid input:focus-visible + span {
  outline: 3px solid #315e9b;
  outline-offset: 2px;
}

.choice-grid input:checked + span,
.checkbox-grid input:checked + span {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.choice-grid b {
  font-size: 14px;
}

.choice-grid i {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.length-glyph {
  width: 62px;
  height: 28px;
  margin: 0 0 7px;
}

.glyph-skin {
  fill: #edcbb7;
  stroke: rgba(112, 74, 76, .38);
  stroke-width: 1;
}

.glyph-edge {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 2.4;
}

.glyph-unsure text {
  fill: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-anchor: middle;
}

.proportion-question .segmented span {
  min-height: 77px;
  padding: 6px 3px;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.bed-glyph {
  width: 37px;
  height: 35px;
}

.bed-glyph rect {
  fill: rgba(143, 38, 61, .12);
  stroke: var(--accent-deep);
  stroke-width: 1.3;
}

.bed-glyph.glyph-unsure rect {
  stroke-dasharray: 3 2;
}

.bed-glyph text {
  fill: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-anchor: middle;
}

.choice-grid .not-sure {
  grid-column: 1 / -1;
}

.choice-grid .not-sure > span {
  min-height: 58px;
}

.paired-question {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.paired-question > div {
  min-width: 0;
}

.compact-choices {
  grid-template-columns: minmax(0, 1fr);
}

.compact-choices label > span {
  min-height: 64px;
}

.health-choice > span {
  border-color: rgba(154, 45, 51, .38) !important;
}

.health-choice input:checked + span {
  border-color: var(--danger) !important;
  background: #f8e1e1 !important;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.checkbox-grid label > span {
  min-height: 58px;
  padding: 12px 12px 12px 43px;
  display: flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.checkbox-grid .not-sure {
  grid-column: 1 / -1;
}

.field-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.finder-actions {
  margin-top: 27px;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--rule);
}

.finder-aside {
  position: sticky;
  top: 24px;
  padding: 19px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 250, 244, .52);
  color: var(--muted);
}

.aside-label {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.finder-summary {
  margin: 0;
}

.finder-summary div {
  padding: 11px 0;
  border-top: 1px solid var(--rule);
}

.finder-summary dt {
  margin: 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.finder-summary dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
}

.finder-aside > p:last-child {
  margin: 19px 0 0;
  font-size: 12px;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recommendation-output {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--ink);
  color: #fffaf4;
  box-shadow: var(--shadow);
  animation: step-in 180ms ease-out;
}

.recommendation-output.health-stop {
  background: #4c2026;
}

.result-heading {
  max-width: 740px;
}

.result-label {
  margin: 0 0 8px;
  color: #eeb8c3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.result-heading h3 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
}

.result-heading > p:last-child {
  margin: 14px 0 0;
  color: #d8c9cb;
  font-size: 17px;
}

.result-heading .result-plan {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid #eeb8c3;
  color: #f3dfe3;
  font-size: 13px;
}

.result-grid {
  margin-top: 33px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 38px;
}

.result-grid h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.result-badge {
  margin-bottom: 7px;
  display: inline-flex;
  color: #eeb8c3;
  font-size: 12px;
  font-weight: 800;
}

.result-lead {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-nail-visual {
  --polish: #8f263d;
  --polish-edge: #671628;
  width: 70px;
  height: 82px;
  flex: 0 0 auto;
}

.nail-icon {
  width: 100%;
  height: 100%;
}

.nail-icon-shape {
  fill: var(--polish, rgba(143, 38, 61, .12));
  stroke: var(--polish-edge, var(--accent-deep));
  stroke-width: 1.7;
}

.primary-result ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.primary-result li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-top: 1px solid rgba(255, 250, 244, .16);
  color: #eadfe0;
  font-size: 14px;
}

.primary-result li::before {
  content: "✓";
  position: absolute;
  left: 1px;
  color: #eeb8c3;
  font-weight: 800;
}

.result-caution {
  margin: -8px 0 22px;
  padding: 11px 13px;
  border-left: 3px solid #df9b67;
  background: rgba(255, 255, 255, .06);
  color: #f3d7c0;
  font-size: 13px;
}

.factor-breakdown {
  margin: 0 0 22px;
  padding-top: 4px;
}

.factor-breakdown > h4 {
  margin-bottom: 8px;
}

.factor-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: minmax(90px, .72fr) minmax(80px, 1fr) 58px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 250, 244, .13);
  color: #eadfe0;
  font-size: 11px;
}

.factor-row > i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 244, .16);
}

.factor-row > i > b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #eeb8c3;
}

.factor-row > i > .factor-limited {
  width: 34%;
}

.factor-row > i > .factor-balanced {
  width: 67%;
}

.factor-row > i > .factor-strong {
  width: 100%;
}

.factor-row > em {
  color: #d8c9cb;
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recommendation-output .button-secondary {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.alternatives {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 250, 244, .18);
}

.alternatives [data-result-alternatives] {
  display: grid;
  gap: 8px;
}

.alternatives button {
  min-height: 64px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 250, 244, .22);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.alternatives button:hover {
  border-color: #eeb8c3;
  background: rgba(255, 255, 255, .05);
}

.alternative-nail {
  --polish: #8f263d;
  --polish-edge: #671628;
  width: 43px;
  height: 51px;
  margin: 0 !important;
}

.alternative-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.alternatives button b {
  font-family: var(--serif);
  font-size: 18px;
}

.alternatives button .alternative-copy > span {
  margin-top: 2px;
  color: #d8c9cb;
  font-size: 12px;
}

.fallback-note {
  margin: 17px 0 0;
  color: #d8c9cb;
  font-size: 12px;
}

.result-boundary {
  margin: 33px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 244, .16);
  color: #bca9ac;
  font-size: 11px;
}

.compare-section {
  border-top: 1px solid var(--rule);
}

.compact-heading {
  max-width: 680px;
}

.compare-controls {
  max-width: 820px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 48px minmax(150px, 1fr);
  align-items: end;
  gap: 10px;
}

.compare-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.compare-controls > p {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.compare-preset {
  max-width: 820px;
  margin: -10px 0 24px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
}

.compare-preset .button {
  min-height: 42px;
  flex: 0 0 auto;
  padding-block: 9px;
  font-size: 12px;
}

.swap-button {
  width: 100%;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent);
  cursor: pointer;
  font-size: 20px;
}

.swap-button:hover {
  border-color: var(--accent);
}

.comparison-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--paper);
  overflow: hidden;
}

.comparison-stage article {
  min-width: 0;
  padding: clamp(23px, 4vw, 48px);
  text-align: center;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.comparison-stage article + article {
  border-left: 1px solid var(--rule);
}

.comparison-stage article.is-selected {
  background: #fff4f5;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.comparison-visual {
  --polish: #8f263d;
  --polish-edge: #671628;
  max-width: 260px;
  margin: 0 auto;
}

.comparison-visual svg {
  width: 100%;
}

.comparison-finger {
  fill: #e8c4af;
}

.comparison-stage h3 {
  margin: 13px 0 0;
  font-size: 30px;
}

.comparison-stage p {
  max-width: 350px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.compare-choice {
  min-width: 124px;
  min-height: 44px;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.compare-choice:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.compare-choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-pale);
  color: var(--accent-deep);
}

.compare-next {
  margin-top: 18px;
  padding: 15px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--rule);
}

.compare-next p {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.compare-next p span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compare-next p strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.versus {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--canvas);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 15px;
  transform: translate(-50%, -50%);
}

.salon-section {
  padding: 105px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(540px, 1.2fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  background: var(--ink);
  color: #fffaf4;
}

.salon-intro {
  max-width: 470px;
}

.salon-intro .section-kicker {
  color: #eeb8c3;
}

.salon-intro > p:last-child {
  color: #cbbabc;
}

.salon-card {
  --polish: #8f263d;
  --polish-edge: #671628;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .28);
  color: var(--ink);
}

.salon-card > header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.salon-card > header span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.salon-card h3 {
  margin: 4px 0 0;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
}

.salon-card > header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.salon-card > header svg {
  width: 82px;
  flex: 0 0 auto;
}

.card-finger {
  fill: #e8c4af;
}

.card-specs {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.card-specs div {
  min-width: 0;
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--rule);
}

.card-specs div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--rule);
}

.card-specs dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.card-specs dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 650;
}

.salon-card blockquote {
  margin: 25px 0 0;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}

.salon-card > footer {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-status {
  min-height: 24px;
  margin: 12px 0 0;
  padding: 0 2px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.clipboard-fallback {
  position: fixed;
  top: -1000px;
  left: -1000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.shape-atlas {
  border-top: 1px solid var(--rule);
}

.resource-disclosure,
.method-copy {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.resource-disclosure > summary,
.method-copy > summary {
  min-height: 82px;
  padding: 18px 54px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.resource-disclosure > summary::-webkit-details-marker,
.method-copy > summary::-webkit-details-marker {
  display: none;
}

.resource-disclosure > summary::after,
.method-copy > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  transform: translateY(-50%);
}

.resource-disclosure[open] > summary::after,
.method-copy[open] > summary::after {
  content: "−";
}

.resource-disclosure > summary span,
.method-copy > summary span {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.resource-disclosure > summary small,
.method-copy > summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.resource-content {
  padding: 9px 0 2px;
  animation: step-in 180ms ease-out;
}

.resource-intro {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.shape-atlas article {
  min-height: 112px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--rule);
}

.shape-atlas article.niche-shape {
  color: var(--muted);
}

.shape-atlas h3 {
  margin: 0;
  font-size: 25px;
}

.shape-atlas p {
  max-width: 690px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.shape-atlas article > b {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.atlas-mark {
  width: 48px;
  height: 66px;
  justify-self: center;
}

.atlas-mark .nail-icon-shape {
  fill: rgba(143, 38, 61, .11);
  stroke: var(--accent-deep);
  stroke-width: 2;
}

.comparison-table-wrap {
  margin-top: 58px;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

caption {
  padding: 17px 19px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  text-align: left;
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

tbody th {
  color: var(--ink);
  font-size: 13px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.method-section {
  padding: 82px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(480px, 1.28fr);
  gap: clamp(48px, 9vw, 120px);
  background: #eaded4;
}

.method-section > div:first-child {
  position: sticky;
  top: 32px;
  align-self: start;
}

.method-copy {
  max-width: 700px;
}

.method-details {
  padding: 4px 0 22px;
  animation: step-in 180ms ease-out;
}

.method-details > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.weight-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.weight-list li {
  min-height: 54px;
  padding: 10px 0;
  display: flex;
  align-items: baseline;
  gap: 17px;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--serif);
  font-size: 20px;
}

.weight-list li span {
  min-width: 50px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}

.source-note {
  margin-top: 35px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-strong);
}

.source-note h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.source-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(480px, 1.25fr);
  gap: clamp(48px, 8vw, 100px);
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  position: relative;
  min-height: 70px;
  padding: 20px 42px 20px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 4px;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 620px;
  margin: -5px 0 21px;
  padding-right: 35px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 60px max(20px, calc((100% - 1180px) / 2)) 34px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 45px;
  border-top: 1px solid var(--rule);
}

.footer-brand {
  font-size: 27px;
}

.site-footer > div > p {
  max-width: 500px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.site-footer nav a {
  min-height: 44px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 21px;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-size: 11px;
}

.legal-dialog {
  width: min(780px, calc(100% - 28px));
  max-height: min(840px, calc(100dvh - 28px));
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(34, 18, 23, .38);
  color: var(--ink);
}

.legal-dialog::backdrop {
  background: rgba(35, 22, 27, .66);
  backdrop-filter: blur(5px);
}

.legal-dialog-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 61px;
  padding: 10px 15px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 250, 244, .97);
}

.legal-dialog-bar span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.legal-dialog-bar button {
  min-width: 64px;
  min-height: 42px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.legal-dialog-bar button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.legal-dialog article {
  max-width: 680px;
  margin: 0 auto;
  padding: 42px 34px 60px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-dialog h2,
.legal-page h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 55px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.legal-dialog h3,
.legal-page h2 {
  margin: 28px 0 7px;
  font-family: var(--serif);
  font-size: 20px;
}

.legal-dialog article > p:not(.legal-kicker),
.legal-page article > p:not(.legal-kicker) {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  min-height: 100vh;
}

.legal-page main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.legal-page .back-link {
  min-height: 44px;
  margin-bottom: 35px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.not-found-page main {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found-page h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 8vw, 88px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .96;
}

.not-found-page main p {
  max-width: 520px;
  margin: 19px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-copy,
.studio-workspace,
.finder-aside > *,
.salon-section > *,
.method-section > *,
.faq-section > *,
.result-grid > *,
.site-footer > *,
.compare-controls > label {
  min-width: 0;
}

.compare-controls select {
  width: 100%;
  min-width: 0;
}

@media (min-width: 981px) {
  .shape-atlas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shape-atlas article {
    padding-inline: 18px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .shape-atlas article:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 32px, 780px);
  }

  .primary-nav {
    display: none;
  }

  .header-action {
    margin-left: auto;
  }

  .hero-inner {
    min-height: 0;
    padding: 48px 0 70px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-copy {
    max-width: 680px;
  }

  h1 {
    white-space: normal;
  }

  .studio-workspace {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .finder-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .finder-aside {
    display: none;
  }

  .result-grid {
    gap: 28px;
  }

  .salon-section {
    padding: 90px max(20px, calc((100% - 780px) / 2));
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .salon-intro {
    max-width: 680px;
  }

  .method-section {
    padding: 90px max(20px, calc((100% - 780px) / 2));
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .method-section > div:first-child {
    position: static;
  }

  .faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 700px) {
  :root {
    --content: calc(100% - 24px);
  }

  .header-inner {
    min-height: 62px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .header-action {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .studio-hero {
    min-height: 0;
  }

  .hero-inner {
    padding: 28px 0 52px;
    gap: 25px;
  }

  .hero-copy {
    animation-duration: 350ms;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(38px, 11.5vw, 47px);
    line-height: 1;
  }

  .section-kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .hero-lede {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .button {
    min-height: 44px;
  }

  .privacy-promise {
    margin-top: 14px;
    font-size: 11px;
  }

  .study-stage {
    min-height: 292px;
    border-radius: 18px;
  }

  .stage-caption {
    top: 16px;
    left: 18px;
  }

  .stage-caption strong {
    font-size: 20px;
  }

  .hand-study {
    width: min(300px, 86%);
    height: 270px;
    margin-top: 5px;
  }

  .stage-note {
    right: 12px;
    bottom: 26px;
    left: 12px;
    font-size: 10px;
  }

  .quick-controls {
    width: calc(100% - 18px);
    margin-top: -18px;
    padding: 12px;
    border-radius: 13px;
  }

  .quick-controls legend {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .shape-rail {
    margin: 0 -2px;
    padding: 2px;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .shape-rail button {
    min-width: 68px;
    flex: 0 0 auto;
  }

  .length-control {
    margin-top: 8px !important;
  }

  .appearance-controls {
    margin-top: 9px;
    padding-top: 9px;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .appearance-controls .swatches {
    justify-content: space-between;
  }

  .segmented span {
    min-height: 42px;
    font-size: 11px;
  }

  .fine-tune {
    margin-top: 8px;
  }

  .fine-tune summary {
    min-height: 40px;
    padding-top: 8px;
  }

  .fine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polish-control {
    grid-column: 1 / -1;
  }

  .finder-section,
  .compare-section,
  .guide-section,
  .faq-section {
    padding: 62px 0;
  }

  .section-heading {
    margin-bottom: 29px;
  }

  .section-heading h2,
  .salon-intro h2,
  .method-section h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-heading > p:last-child,
  .salon-intro > p:last-child {
    margin-top: 12px;
    font-size: 15px;
  }

  .finder-form {
    padding: 20px 15px;
    border-radius: 14px;
  }

  .finder-progress {
    margin-bottom: 20px;
  }

  .finder-step > legend {
    font-size: 27px;
  }

  .choice-grid,
  .checkbox-grid,
  .paired-question {
    grid-template-columns: minmax(0, 1fr);
  }

  .visual-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paired-question {
    gap: 24px;
  }

  .choice-grid .not-sure,
  .checkbox-grid .not-sure {
    grid-column: 1 / -1;
  }

  .finder-actions {
    position: sticky;
    z-index: 4;
    bottom: 0;
    margin: 24px -15px -20px;
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
    justify-content: stretch;
    border-top-color: var(--rule-strong);
    background: rgba(255, 250, 244, .98);
    box-shadow: 0 -12px 24px rgba(57, 29, 35, .07);
  }

  .finder-actions .button {
    flex: 1;
  }

  .recommendation-output {
    margin-top: 35px;
    border-radius: 15px;
  }

  .result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-actions .button {
    flex: 1 1 190px;
  }

  .alternatives {
    padding: 25px 0 0;
    border-top: 1px solid rgba(255, 250, 244, .18);
    border-left: 0;
  }

  .compare-controls {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  }

  .comparison-stage article {
    padding: 20px 12px 25px;
  }

  .comparison-stage h3 {
    font-size: 23px;
  }

  .comparison-stage p {
    font-size: 11px;
  }

  .compare-choice {
    min-width: 0;
    width: 100%;
    padding-inline: 7px;
  }

  .compare-next {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-next .button {
    width: 100%;
  }

  .versus {
    width: 38px;
    height: 38px;
  }

  .salon-section {
    padding: 72px 12px;
  }

  .salon-card {
    border-radius: 14px;
  }

  .salon-card > header svg {
    width: 65px;
  }

  .card-specs {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-specs div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .salon-card > footer .button {
    flex: 1 1 145px;
  }

  .shape-atlas article {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 13px;
  }

  .shape-atlas article > b {
    grid-column: 2;
    text-align: left;
  }

  .atlas-mark {
    width: 39px;
    height: 55px;
  }

  .method-section {
    padding: 62px 12px;
  }

  .resource-disclosure > summary,
  .method-copy > summary {
    min-height: 74px;
    padding-right: 43px;
  }

  .resource-disclosure > summary span,
  .method-copy > summary span {
    font-size: 20px;
  }

  .site-footer {
    padding: 48px 12px 28px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: 1;
  }

  .legal-dialog article {
    padding: 32px 20px 48px;
  }
}

@media (max-width: 430px) {
  .header-action {
    display: none;
  }

  .visual-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-controls {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  }

  .compare-preset {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-preset .button {
    width: 100%;
  }

  .compare-controls label {
    font-size: 10px;
  }

  .compare-controls select {
    padding-right: 22px;
    font-size: 12px;
  }

  .comparison-stage p {
    display: none;
  }
}

@page {
  margin: 14mm;
}

@media print {
  html,
  body {
    min-width: 0;
    background: #fff;
  }

  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body > :not(main),
  main > :not(.salon-section),
  .salon-intro,
  .salon-card > footer,
  .action-status {
    display: none !important;
  }

  body > main,
  .salon-section,
  .salon-card {
    display: block !important;
  }

  .salon-section {
    padding: 0;
    background: #fff;
  }

  .salon-card {
    max-width: 180mm;
    margin: 0 auto;
    border: 1px solid var(--rule);
    box-shadow: none;
    break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
