:root {
  --bg: #faf8ff;
  --surface: #faf8ff;
  --surface-lowest: #ffffff;
  --surface-low: #f2f3ff;
  --surface-mid: #eaedff;
  --surface-high: #e2e7ff;
  --surface-highest: #dae2fd;
  --fg: #131b2e;
  --muted: #44474c;
  --outline: #74777d;
  --border: #c4c6cd;
  --accent: #041627;
  --accent-soft: #1a2b3c;
  --accent-on: #ffffff;
  --secondary: #505f76;
  --secondary-container: #d0e1fb;
  --success: #17a34a;
  --warn: #eab308;
  --danger: #ba1a1a;
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", monospace;
  --radius: 4px;
  --container: 1280px;
  --gutter: 24px;
  --margin-desktop: 64px;
  --margin-mobile: 20px;
  --section-gap: 120px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 20px 40px -15px rgb(4 22 39 / 8%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgb(4 22 39 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 2%) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
}

body.is-b2b {
  --bg: #07111f;
  --surface: #0b1626;
  --surface-lowest: #0f1b2d;
  --surface-low: #101f34;
  --surface-mid: #15283f;
  --surface-high: #1b324e;
  --surface-highest: #243d5d;
  --fg: #eef4ff;
  --muted: #b7c2d0;
  --outline: #8fa0b5;
  --border: #31435d;
  --accent: #d8e8ff;
  --accent-soft: #ffffff;
  --accent-on: #07111f;
  --secondary: #a8c2e8;
  --secondary-container: #19304d;
  --shadow: 0 24px 60px -22px rgb(0 0 0 / 62%);
  background:
    linear-gradient(rgb(216 232 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(216 232 255 / 4%) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-160%);
  z-index: 80;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

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

.container {
  width: min(100% - var(--margin-mobile) * 2, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 30%);
  background: color-mix(in oklab, var(--surface), transparent 5%);
  backdrop-filter: blur(18px);
}

body.chair-finder-page {
  height: 100dvh;
  overflow: hidden;
}

.chair-finder-page .footer {
  display: none;
}

.nav {
  display: grid;
}

.nav-top {
  min-height: 40px;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 55%);
  background: var(--surface-low);
}

.nav-top .container,
.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-top .container {
  min-height: 40px;
}

.nav-main {
  min-height: 80px;
}

.brand {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.1;
  text-transform: uppercase;
}

.mode-pill,
.chip,
.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border);
  background: var(--surface-high);
  color: var(--accent);
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links,
.nav-actions,
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links {
  gap: 34px;
}

.nav-link {
  color: var(--muted);
  padding-block: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.mode-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  color: var(--muted);
  padding: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}

.mode-toggle span,
.mode-toggle strong {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: calc(var(--radius) - 1px);
  line-height: 1;
}

.mode-toggle span {
  background: var(--accent);
  color: var(--accent-on);
}

.mode-toggle strong {
  color: var(--accent);
}

.mode-toggle[aria-pressed="true"] strong {
  background: var(--accent);
  color: var(--accent-on);
}

.mode-toggle[aria-pressed="true"] span {
  background: transparent;
  color: var(--accent);
}

.mode-toggle:hover {
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 13px 20px;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 140ms var(--ease), box-shadow 180ms var(--ease);
}

.btn:hover {
  background: var(--surface-low);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: var(--accent-on);
}

.btn-secondary {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--accent-on);
}

.btn-pill-left {
  border-radius: 0 9999px 9999px 0;
}

.section {
  padding-block: var(--section-gap);
}

.section-tight {
  padding-block: 72px;
}

.section + .section {
  border-top: 1px solid color-mix(in oklab, var(--border), transparent 25%);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: stretch;
  padding-block: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-panels {
  width: min(100%, 1600px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.15fr) minmax(300px, 0.72fr);
  min-height: 760px;
}

.hero-media,
.hero-statement,
.hero-action {
  position: relative;
  overflow: hidden;
  border-right: 1px solid color-mix(in oklab, var(--border), transparent 45%);
}

.hero-media {
  background: var(--surface-high);
}

.hero-media::before,
.product-image::before,
.image-well::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(4 22 39 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 5%) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 64px;
  background: var(--surface);
}

.hero-statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(4 22 39 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 3%) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-statement > * {
  position: relative;
  z-index: 1;
}

.hero-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  padding: 64px 52px;
  background: var(--surface-low);
}

.hero-action::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.stack {
  display: grid;
  gap: 18px;
}

.stack-lg {
  display: grid;
  gap: 30px;
}

.row-between {
  justify-content: space-between;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--outline);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.architectural-line {
  position: relative;
  width: fit-content;
}

.architectural-line::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 42px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.3rem, 6.2vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.quote-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-style: italic;
}

.quote-line::before {
  content: "";
  width: 80px;
  height: 1px;
  background: color-mix(in oklab, var(--accent), transparent 72%);
  flex: 0 0 auto;
}

.panel,
.product-card,
.result-box,
.table-wrap,
.article-card,
.spec-panel,
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-lowest);
}

.panel,
.result-box,
.spec-panel,
.form-card {
  padding: 28px;
}

.band {
  background: var(--surface-low);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: var(--surface-lowest);
}

.metric-strip > * {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.metric-strip > *:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 22px;
}

.split-grid,
.product-detail-grid,
.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: start;
}

.finder-loading {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(rgb(4 22 39 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 4%) 1px, transparent 1px),
    var(--surface-low);
  background-size: 42px 42px;
}

.finder-loading[hidden],
.finder-main[hidden] {
  display: none;
}

.finder-main.is-revealed .finder-experience {
  animation: finderReveal 360ms var(--ease);
}

.finder-main {
  height: 100dvh;
  overflow: hidden;
}

.finder-loading-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 34px;
  width: min(100% - var(--margin-mobile) * 2, 980px);
  min-height: inherit;
  margin-inline: auto;
  padding-block: 72px;
}

.loading-word {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 12vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.78;
  text-transform: lowercase;
  animation: loadingPulse 760ms var(--ease) infinite alternate;
}

.loading-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}

.loading-grid span {
  border-right: 1px solid color-mix(in oklab, var(--border), transparent 28%);
  transform: translateY(100%);
  animation: loadingPanel 2200ms var(--ease) infinite;
}

.loading-grid span:nth-child(2) {
  animation-delay: 160ms;
}

.loading-grid span:nth-child(3) {
  border-right: 0;
  animation-delay: 320ms;
}

.finder-canvas {
  height: 100dvh;
  min-height: 0;
  padding: 0;
  border-top: 0;
  background: var(--surface);
  overflow: hidden;
}

.finder-shell {
  width: 100%;
  margin: 0;
}

.quiz-experience {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
  background: var(--surface-lowest);
  overflow: hidden;
}

.finder-experience {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.finder-topbar {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(rgb(4 22 39 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 4%) 1px, transparent 1px),
    var(--surface-low);
  background-size: 42px 42px;
}

.finder-toolbar {
  display: grid;
  grid-template-columns: auto minmax(180px, 280px) auto;
  min-height: 52px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding: 10px clamp(24px, 4vw, 64px);
  background: color-mix(in oklab, var(--surface), transparent 5%);
}

.toolbar-exit {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  padding: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.toolbar-exit:hover {
  color: var(--muted);
  border-color: var(--muted);
  transform: translateX(-2px);
}

.toolbar-exit span {
  font-size: 15px;
  line-height: 1;
}

.toolbar-status {
  display: grid;
  width: min(280px, 38vw);
  gap: 6px;
  justify-items: stretch;
}

.toolbar-status .label {
  margin: 0;
  text-align: right;
}

.finder-mode-toggle {
  justify-self: end;
}

.finder-intro {
  display: grid;
  gap: 18px;
}

.finder-intro h1 {
  max-width: 680px;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.finder-intro p:not(.eyebrow) {
  max-width: 480px;
}

.quiz-progress-panel {
  display: grid;
  align-content: center;
  gap: 0;
  padding: 0 clamp(24px, 4vw, 64px);
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.step-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-track li {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  border-top: 0;
  border-right: 1px solid color-mix(in oklab, var(--border), transparent 28%);
  color: var(--outline);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms var(--ease);
  padding: 4px 10px;
}

.step-track li:last-child {
  border-right: 0;
}

.step-track li span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface-lowest);
  color: var(--outline);
  font-family: var(--font-mono);
  font-size: 10px;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.step-track li.is-active,
.step-track li.is-complete {
  color: var(--accent);
}

.step-track li.is-active span,
.step-track li.is-complete span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-on);
}

.finder-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 27vw);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.quiz-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
}

.quiz-progress {
  height: 4px;
  background: var(--surface-high);
  border: 1px solid var(--border);
}

.quiz-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--accent);
  transition: width 240ms var(--ease);
}

.quiz-step {
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 34px) clamp(30px, 4.6vw, 68px) clamp(14px, 1.8vw, 24px);
  animation: quizStepIn 220ms var(--ease);
}

.quiz-step > .eyebrow {
  margin-bottom: clamp(16px, 1.8vw, 26px);
}

.quiz-step > p:not(.eyebrow) {
  max-width: 720px;
}

.quiz-step h2 {
  max-width: 880px;
  font-size: clamp(2.1rem, 3.8vw, 4.05rem);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
  margin-top: clamp(16px, 1.8vw, 24px);
}

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

.choice-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: clamp(132px, 18vh, 190px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(rgb(4 22 39 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 3%) 1px, transparent 1px),
    var(--surface-lowest);
  background-size: 34px 34px;
  color: var(--muted);
  padding: clamp(18px, 1.8vw, 26px);
  text-align: left;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.choice-card:hover {
  border-color: var(--outline);
  transform: translateY(-2px);
}

.choice-card.is-selected {
  border-color: var(--accent);
  background:
    linear-gradient(rgb(4 22 39 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 5%) 1px, transparent 1px),
    var(--surface-high);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent);
}

.choice-kicker {
  color: var(--outline);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.choice-card strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.65vw, 1.65rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.choice-card span:last-child {
  font-size: clamp(0.86rem, 0.95vw, 0.98rem);
  line-height: 1.42;
}

.live-recommendation {
  position: relative;
  align-self: start;
  display: grid;
  grid-template-rows: auto minmax(150px, 0.82fr) auto auto auto auto;
  gap: 13px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--border);
  background:
    linear-gradient(rgb(4 22 39 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 4%) 1px, transparent 1px),
    var(--surface-low);
  background-size: 42px 42px;
  padding: clamp(18px, 2.1vw, 32px);
}

.recommendation-visual {
  position: relative;
  min-height: 150px;
  height: min(30vh, 270px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(rgb(4 22 39 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(4 22 39 / 5%) 1px, transparent 1px),
    var(--surface-lowest);
  background-size: 34px 34px;
}

.recommendation-visual .chair-mark {
  width: min(62%, 220px);
}

.live-recommendation h2 {
  font-size: clamp(1.55rem, 2.15vw, 2.7rem);
  line-height: 1;
}

.live-recommendation p:not(.label):not(.price) {
  color: var(--muted);
  font-size: clamp(0.9rem, 0.96vw, 1rem);
  line-height: 1.45;
}

.live-recommendation .btn {
  align-self: end;
  justify-self: start;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 14px clamp(34px, 5vw, 74px);
}

.quiz-actions .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

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

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

@keyframes loadingPanel {
  0%,
  36% {
    background: transparent;
    transform: translateY(100%);
  }
  62% {
    background: color-mix(in oklab, var(--surface-high), transparent 38%);
    transform: translateY(0);
  }
  100% {
    background: transparent;
    transform: translateY(-100%);
  }
}

@keyframes finderReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.comparison-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.compare-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.86fr) minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.compare-card:hover {
  border-color: var(--outline);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.compare-card .product-image {
  min-height: 100%;
  border: 0;
  border-right: 1px solid var(--border);
  aspect-ratio: auto;
}

.compare-card-body {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 26px;
}

.compare-card-body h2 {
  max-width: 100%;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.compare-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.compare-facts div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 45%);
}

.compare-facts dt,
.compare-facts dd {
  margin: 0;
}

.compare-facts dt {
  color: var(--outline);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-facts dd {
  color: var(--fg);
  font-size: 14px;
  line-height: 1.45;
}

.compare-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.product-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease), border-color 200ms var(--ease);
}

.product-card:hover {
  border-color: var(--outline);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-image,
.image-well,
.showroom {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-mid);
}

.product-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: grid;
  place-items: center;
}

.showroom {
  min-height: 100%;
}

.chair-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64%, 300px);
  height: min(54%, 340px);
  transform: translate(-50%, -50%);
  border: 8px solid var(--accent);
  border-bottom-width: 18px;
  border-radius: 46% 46% 22px 22px;
  opacity: 0.92;
}

.chair-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -132px;
  width: 8px;
  height: 132px;
  transform: translateX(-50%);
  background: var(--accent);
}

.chair-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -142px;
  width: 170px;
  height: 8px;
  transform: translateX(-50%);
  background: var(--accent);
}

.chair-mark span {
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in oklab, var(--accent), transparent 45%);
  border-radius: 42% 42% 16px 16px;
}

.chair-front {
  width: 46%;
  height: 44%;
  transform: translate(-42%, -36%);
  background: color-mix(in oklab, var(--surface-lowest), transparent 70%);
}

.chair-back {
  width: 52%;
  height: 50%;
  transform: translate(-58%, -60%) rotate(-6deg);
  opacity: 0.28;
}

.caption-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 5px;
  max-width: 260px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface-lowest), transparent 8%);
  padding: 16px;
}

.caption-card strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
}

.caption-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.price {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.disclaimer {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: var(--surface-lowest);
}

th,
td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-low);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

td strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 22px;
}

tr:hover td {
  background: var(--surface);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filters .btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-on);
}

fieldset {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface-lowest);
}

legend {
  padding-inline: 0;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  color: var(--muted);
  line-height: 1.45;
}

.option + .option {
  border-top: 1px solid color-mix(in oklab, var(--border), transparent 45%);
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
  margin-top: 2px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  color: var(--fg);
  padding: 13px 14px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.field {
  display: grid;
  gap: 8px;
}

.article-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.article-card time,
.micro {
  color: var(--outline);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface-low);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .hero-panels,
  .split-grid,
  .product-detail-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-media,
  .hero-statement,
  .hero-action {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .products,
  .article-grid,
  .comparison-cards {
    grid-template-columns: 1fr 1fr;
  }

  .compare-card {
    grid-template-columns: 1fr;
  }

  .compare-card .product-image {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .finder-topbar {
    grid-template-columns: 1fr;
  }

  .step-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step-track li {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    border-top: 0;
    border-bottom: 0;
    font-size: 10px;
  }

  .step-track li:last-child {
    border-bottom: 0;
  }

  .nav-links {
    gap: 16px;
  }

  .finder-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 30vw);
  }

  .live-recommendation {
    padding: 20px;
  }

  .recommendation-visual {
    height: min(25vh, 210px);
  }
}

@media (max-width: 720px) {
  :root {
    --section-gap: 64px;
  }

  body.chair-finder-page {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .container {
    width: min(100% - 40px, var(--container));
  }

  .nav-top .container,
  .nav-main,
  .row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-main {
    padding-block: 18px;
  }

  .brand {
    font-size: 13px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-statement,
  .hero-action {
    padding: 44px 28px;
  }

  .hero-media {
    min-height: 320px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .products,
  .article-grid,
  .comparison-cards,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .quiz-experience,
  .quiz-stage,
  .finder-workspace {
    min-height: 0;
  }

  .finder-main,
  .finder-canvas,
  .quiz-experience {
    height: auto;
    overflow: visible;
  }

  .finder-loading,
  .finder-canvas {
    min-height: 100dvh;
  }

  .finder-canvas {
    padding: 0 20px 40px;
    background: var(--surface);
  }

  .finder-shell {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .quiz-experience {
    display: block;
    min-height: 100dvh;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
    padding-block: 44px;
  }

  .finder-topbar {
    gap: 30px;
    border-bottom: 0;
    background: transparent;
  }

  .finder-loading-panel {
    padding-block: 52px;
  }

  .loading-word {
    font-size: clamp(3.6rem, 18vw, 5.8rem);
  }

  .progress-copy {
    display: flex;
    gap: 12px;
  }

  .finder-toolbar {
    grid-template-columns: 1fr auto;
    min-height: 42px;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .toolbar-exit {
    min-height: 30px;
    padding: 0 0 3px;
    font-size: 10px;
  }

  .toolbar-status {
    width: min(164px, 38vw);
    gap: 5px;
  }

  .finder-mode-toggle {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .finder-mode-toggle span,
  .finder-mode-toggle strong {
    flex: 1;
    justify-content: center;
  }

  .toolbar-status .label {
    font-size: 9px;
  }

  .toolbar-status .quiz-progress {
    display: none;
  }

  .quiz-progress-panel {
    padding: 0;
  }

  .step-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
  }

  .step-track li {
    min-width: 0;
    height: 4px;
    min-height: 4px;
    overflow: hidden;
    border: 0;
    background: var(--surface-high);
    padding: 0;
    color: transparent;
    font-size: 0;
  }

  .step-track li.is-active,
  .step-track li.is-complete {
    background: var(--accent);
  }

  .step-track li span {
    display: none;
  }

  .finder-workspace {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .quiz-stage {
    display: block;
    overflow: visible;
    background: transparent;
  }

  .choice-grid,
  .choice-grid.two-up {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .live-recommendation {
    display: none;
  }

  .quiz-step {
    padding: 30px 0 0;
  }

  .choice-card {
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas:
      "icon kicker"
      "icon title"
      "icon copy";
    min-height: 0;
    align-items: center;
    gap: 4px 18px;
    padding: 20px;
    background: var(--surface-lowest);
    box-shadow: 0 2px 4px rgb(4 22 39 / 2%);
  }

  .choice-card::before {
    content: "";
    grid-area: icon;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
      linear-gradient(rgb(4 22 39 / 5%) 1px, transparent 1px),
      linear-gradient(90deg, rgb(4 22 39 / 5%) 1px, transparent 1px),
      var(--surface);
    background-size: 12px 12px;
  }

  .choice-card.is-selected::before {
    border-color: var(--accent);
    background:
      linear-gradient(rgb(4 22 39 / 8%) 1px, transparent 1px),
      linear-gradient(90deg, rgb(4 22 39 / 8%) 1px, transparent 1px),
      var(--surface-high);
  }

  .choice-kicker {
    grid-area: kicker;
    font-size: 10px;
  }

  .choice-card strong {
    grid-area: title;
    font-size: 1.06rem;
    line-height: 1.1;
  }

  .choice-card span:last-child {
    grid-area: copy;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .quiz-actions {
    margin-top: 28px;
    padding: 22px 0 0;
  }

  .metric-strip > * {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .metric-strip > *:last-child {
    border-bottom: 0;
  }
}

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

@media (min-width: 1420px) {
  .comparison-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compare-card {
    grid-template-columns: 1fr;
  }

  .compare-card .product-image {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}
