@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,400;1,500&display=swap");

@font-face {
  font-family: "Akkurat Light";
  src:
    local("Akkurat Light"),
    local("Akkurat Pro Light"),
    url("../assets/Akkurat-Light.woff2") format("woff2"),
    url("../assets/Akkurat-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Akkurat Light", "Akkurat", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-banner: "EB Garamond", "Times New Roman", serif;
  --ink: #2f211b;
  --ink-soft: #4d372d;
  --canvas: #efe6dd;
  --panel: #fbf8f3;
  --panel-deep: #f2e8dc;
  --line: #ddcebc;
  --accent: #6a4634;
  --accent-soft: #8c6855;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 14px 40px rgba(44, 25, 17, 0.08);
  --glass-edge: rgba(255, 255, 255, 0.58);
  --glass-fill-top: rgba(255, 255, 255, 0.62);
  --glass-fill-bottom: rgba(241, 229, 215, 0.36);
  --glass-shadow:
    0 22px 50px rgba(45, 24, 14, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(166, 130, 106, 0.18);
  --glass-shadow-soft:
    0 18px 38px rgba(45, 24, 14, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -1px 0 rgba(166, 130, 106, 0.14);
  --glass-shadow-strong:
    0 28px 62px rgba(45, 24, 14, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(166, 130, 106, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.55;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.45) 0 14%, transparent 32%),
    radial-gradient(circle at 85% 3%, rgba(255, 255, 255, 0.3) 0 16%, transparent 34%),
    linear-gradient(160deg, #f4ebe2 0%, #e8ddd2 52%, #f5ede4 100%);
  padding: 0 14px 22px;
}

p,
li,
a,
span,
label,
button,
input,
textarea,
small,
strong {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
.accordion-title,
.eb-copy {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.4rem, 3.6vw, 2.05rem);
}

h2 {
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
}

h3,
h4 {
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

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

nav {
  max-width: 1160px;
  margin: 14px auto 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  background: rgba(251, 248, 243, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 10px;
  z-index: 20;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .logo a {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 42px;
  width: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav ul li {
  display: inline-flex;
}

nav ul li a {
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.35);
}

nav ul li a:hover {
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  max-width: 1160px;
  margin: 0 auto 20px;
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(38px, 8vw, 84px) 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(120deg, rgba(19, 11, 8, 0.56), rgba(47, 28, 20, 0.24)),
    url("../assets/hairlab-cover.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 8, 6, 0.05), rgba(245, 235, 225, 0.1));
}

.hero::after {
  display: none;
}

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

.hero h1,
.hero h2 {
  font-family: var(--font-banner);
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--canvas);
  margin-bottom: 10px;
}

.hero #user-name {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero p {
  margin: 0 auto 18px;
  max-width: 680px;
  color: var(--canvas);
  font-size: clamp(0.92rem, 2.2vw, 1rem);
}

section {
  max-width: 1160px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), var(--panel));
  box-shadow: var(--shadow-soft);
  padding: clamp(16px, 3vw, 30px);
}

section > h2 {
  margin-bottom: 12px;
}

.shop-jump {
  display: none;
}

.shop-jump-links {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.shop-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(205, 184, 165, 0.85);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-soft);
  padding: 0.42rem 0.74rem;
  font-size: 0.77rem;
  letter-spacing: 0.01em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.shop-jump-link:hover {
  color: var(--ink);
  border-color: rgba(154, 112, 89, 0.5);
}

.shop-jump-link.is-active {
  color: #fff;
  border-color: rgba(94, 63, 45, 0.92);
  background: linear-gradient(155deg, rgba(119, 79, 60, 0.95), rgba(92, 60, 43, 0.94));
}

section.flat,
.ready-strip {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.58), rgba(236, 222, 208, 0.32));
}

.ready-strip {
  text-align: center;
}

.liquid-shell,
nav,
section,
.quiz-container,
.summary-card,
.action-card,
.product-card,
.surface-card,
.grid.three > div,
.benefit-list li,
.work-rail,
footer,
.v2-footer {
  --liquid-angle: 150deg;
  --liquid-top: rgba(255, 255, 255, 0.67);
  --liquid-mid: rgba(255, 255, 255, 0.38);
  --liquid-bottom: rgba(233, 216, 198, 0.36);
  --liquid-edge: var(--glass-edge);
  --liquid-shadow: var(--glass-shadow);
  --liquid-blur: 22px;
  --liquid-sheen-angle: 134deg;
  --liquid-glint-x: 16%;
  --liquid-glint-y: 12%;
  --liquid-pool-opacity: 0.36;
  --liquid-pool-rotation: -7deg;
  --liquid-edge-bend-x: 0%;
  --liquid-edge-bend-y: 0%;
  --liquid-edge-roll: 0deg;
  --liquid-edge-spark: 0.34;
  --liquid-caustic-rise: 0px;
  --liquid-prism-shift: 0deg;
  --liquid-prism-intensity: 0.12;
  --liquid-scroll-x: 0px;
  --liquid-scroll-y: 0px;
  --liquid-scroll-tilt: 0deg;
  --liquid-pool-shift-x: 0px;
  --liquid-pool-shift-y: 0px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: var(--liquid-edge);
  color: var(--ink);
  background:
    conic-gradient(
      from calc(216deg + var(--liquid-prism-shift)) at calc(8% + var(--liquid-edge-bend-x)) calc(7% + var(--liquid-edge-bend-y)),
      rgba(124, 219, 255, calc(var(--liquid-prism-intensity) * 0.72)) 0deg,
      rgba(255, 176, 236, calc(var(--liquid-prism-intensity) * 0.66)) 38deg,
      rgba(255, 235, 167, calc(var(--liquid-prism-intensity) * 0.62)) 74deg,
      rgba(130, 242, 255, calc(var(--liquid-prism-intensity) * 0.58)) 112deg,
      rgba(255, 255, 255, 0) 158deg,
      rgba(255, 255, 255, 0) 360deg
    ),
    radial-gradient(
      150% 94% at calc(6% + var(--liquid-edge-bend-x)) calc(2% + var(--liquid-edge-bend-y)),
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.24) 22%,
      rgba(255, 255, 255, 0.07) 42%,
      rgba(255, 255, 255, 0) 63%
    ),
    radial-gradient(
      140% 88% at calc(96% - var(--liquid-edge-bend-x)) calc(4% + var(--liquid-edge-bend-y)),
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.18) 18%,
      rgba(255, 255, 255, 0.05) 38%,
      rgba(255, 255, 255, 0) 58%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.13) 24%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(var(--liquid-angle), var(--liquid-top), var(--liquid-mid) 50%, var(--liquid-bottom));
  box-shadow:
    var(--liquid-shadow),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.83),
    inset 0 -1.4px 0 rgba(163, 126, 103, 0.22),
    inset 1px 0 0 rgba(255, 255, 255, 0.44),
    inset -1px 0 0 rgba(255, 255, 255, 0.28),
    inset 0 16px 24px -18px rgba(255, 255, 255, 0.22),
    inset 0 -20px 28px -24px rgba(118, 81, 61, 0.18);
  backdrop-filter: blur(var(--liquid-blur)) saturate(145%);
  -webkit-backdrop-filter: blur(var(--liquid-blur)) saturate(145%);
}

nav::before,
section::before,
.quiz-container::before,
.summary-card::before,
.action-card::before,
.product-card::before,
.surface-card::before,
.grid.three > div::before,
.benefit-list li::before,
.work-rail::before,
footer::after,
.v2-footer::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    conic-gradient(
      from calc(228deg + var(--liquid-prism-shift)) at calc(6% + var(--liquid-edge-bend-x)) calc(10% + var(--liquid-edge-bend-y)),
      rgba(122, 223, 255, calc(var(--liquid-prism-intensity) * 0.7)) 0deg,
      rgba(255, 163, 227, calc(var(--liquid-prism-intensity) * 0.64)) 44deg,
      rgba(255, 228, 156, calc(var(--liquid-prism-intensity) * 0.54)) 86deg,
      rgba(255, 255, 255, 0) 130deg,
      rgba(255, 255, 255, 0) 360deg
    ),
    radial-gradient(
      120% 82% at calc(2% + var(--liquid-edge-bend-x)) calc(8% + var(--liquid-edge-bend-y)),
      rgba(255, 255, 255, var(--liquid-edge-spark)) 0%,
      rgba(255, 255, 255, 0.34) 19%,
      rgba(255, 255, 255, 0.08) 36%,
      rgba(255, 255, 255, 0) 56%
    ),
    radial-gradient(
      115% 76% at calc(98% - var(--liquid-edge-bend-x)) calc(10% + var(--liquid-edge-bend-y)),
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.16) 18%,
      rgba(255, 255, 255, 0.04) 37%,
      rgba(255, 255, 255, 0) 58%
    ),
    linear-gradient(
      calc(var(--liquid-sheen-angle) + var(--liquid-edge-roll)),
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.3) 18%,
      rgba(255, 255, 255, 0.1) 37%,
      rgba(255, 255, 255, 0.03) 56%,
      rgba(255, 255, 255, 0) 78%
    );
  transform:
    translate3d(var(--liquid-scroll-x), var(--liquid-scroll-y), 0)
    rotate(var(--liquid-scroll-tilt));
  transform-origin: 50% 50%;
  will-change: transform;
}

nav::after,
section::after,
.quiz-container::after,
.summary-card::after,
.action-card::after,
.product-card::after,
.surface-card::after,
.grid.three > div::after,
.benefit-list li::after,
.work-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      105% 72% at 50% calc(118% + var(--liquid-caustic-rise)),
      rgba(255, 255, 255, calc(var(--liquid-pool-opacity) + 0.08)) 0%,
      rgba(255, 255, 255, calc(var(--liquid-pool-opacity) * 0.42)) 24%,
      rgba(255, 255, 255, 0) 58%
    ),
    radial-gradient(120% 72% at 50% -28%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 64%);
  transform:
    translate3d(var(--liquid-pool-shift-x), var(--liquid-pool-shift-y), 0)
    rotate(var(--liquid-pool-rotation));
  box-shadow:
    inset 0 1.4px 0 rgba(255, 255, 255, 0.76),
    inset 0 -1.8px 0 rgba(166, 128, 103, 0.27),
    inset 1.2px 0 0 rgba(255, 255, 255, 0.34),
    inset -1.2px 0 0 rgba(255, 255, 255, 0.2);
  will-change: transform;
}

nav > *,
section > *,
.quiz-container > *,
.summary-card > *,
.action-card > *,
.product-card > *,
.surface-card > *,
.grid.three > div > *,
.benefit-list li > *,
.work-rail > *,
footer > *,
.v2-footer > * {
  position: relative;
  z-index: 1;
}

nav {
  --liquid-angle: 156deg;
  --liquid-top: rgba(255, 255, 255, 0.7);
  --liquid-mid: rgba(255, 255, 255, 0.44);
  --liquid-bottom: rgba(225, 206, 189, 0.42);
  --liquid-shadow: var(--glass-shadow-strong);
  --liquid-blur: 24px;
  --liquid-sheen-angle: 121deg;
  --liquid-glint-x: 12%;
  --liquid-glint-y: 10%;
}

footer,
.v2-footer {
  --liquid-angle: 162deg;
  --liquid-top: rgba(255, 255, 255, 0.64);
  --liquid-mid: rgba(255, 255, 255, 0.34);
  --liquid-bottom: rgba(228, 209, 191, 0.36);
  --liquid-shadow: var(--glass-shadow-soft);
  --liquid-blur: 18px;
}

section:nth-of-type(3n + 1),
.summary-card:nth-of-type(3n + 1),
.action-card:nth-child(3n + 1),
.product-card:nth-child(3n + 1),
.surface-card:nth-child(3n + 1),
.grid.three > div:nth-child(3n + 1),
.benefit-list li:nth-child(3n + 1) {
  --liquid-angle: 145deg;
  --liquid-top: rgba(255, 255, 255, 0.69);
  --liquid-mid: rgba(255, 250, 244, 0.42);
  --liquid-bottom: rgba(233, 217, 201, 0.34);
  --liquid-sheen-angle: 130deg;
  --liquid-glint-x: 18%;
  --liquid-glint-y: 9%;
}

section:nth-of-type(3n + 2),
.summary-card:nth-of-type(3n + 2),
.action-card:nth-child(3n + 2),
.product-card:nth-child(3n + 2),
.surface-card:nth-child(3n + 2),
.grid.three > div:nth-child(3n + 2),
.benefit-list li:nth-child(3n + 2) {
  --liquid-angle: 162deg;
  --liquid-top: rgba(249, 255, 255, 0.64);
  --liquid-mid: rgba(242, 254, 255, 0.34);
  --liquid-bottom: rgba(210, 229, 232, 0.31);
  --liquid-sheen-angle: 144deg;
  --liquid-glint-x: 26%;
  --liquid-glint-y: 14%;
  --liquid-pool-opacity: 0.3;
  --liquid-pool-rotation: -3deg;
}

section:nth-of-type(3n),
.summary-card:nth-of-type(3n),
.action-card:nth-child(3n),
.product-card:nth-child(3n),
.surface-card:nth-child(3n),
.grid.three > div:nth-child(3n),
.benefit-list li:nth-child(3n) {
  --liquid-angle: 138deg;
  --liquid-top: rgba(255, 250, 252, 0.67);
  --liquid-mid: rgba(254, 242, 247, 0.36);
  --liquid-bottom: rgba(233, 207, 219, 0.3);
  --liquid-sheen-angle: 116deg;
  --liquid-glint-x: 10%;
  --liquid-glint-y: 18%;
  --liquid-pool-opacity: 0.34;
  --liquid-pool-rotation: -11deg;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.three > div,
.surface-card {
  border-radius: var(--radius-md);
  padding: 14px;
}

.compact-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.compact-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-number {
  width: 28px;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.84rem;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.benefit-list li {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.best-next-step {
  margin-bottom: 14px;
}

.best-next-step .surface-card ul {
  margin: 10px 0 0;
}

.home-page .surface-card p,
.home-page .surface-card li,
.home-page .benefit-list li {
  font-size: 13px;
}

.results-next-step .surface-card ul {
  margin: 10px 0 0;
}

.results-page .hero {
  padding: clamp(22px, 4vw, 38px) 20px;
  margin-bottom: 12px;
}

.consult-preview {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.work-rail {
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 8px 0;
}

.work-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: work-scroll 28s linear infinite;
  padding: 0 10px;
}

.work-track:hover {
  animation-play-state: paused;
}

.work-track img {
  width: 190px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #f3e7dc;
}

@keyframes work-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.consult-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.btn {
  --btn-tilt-x: 0deg;
  --btn-tilt-y: 0deg;
  --btn-lift: 0px;
  --btn-glint-x: 50%;
  --btn-glint-y: 50%;
  --btn-glint-alpha: 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  padding: 0.64rem 1.18rem;
  font-size: 0.88rem;
  font-weight: 300;
  border: 1px solid rgba(255, 255, 255, 0.46);
  cursor: pointer;
  margin: 4px 6px 0 0;
  transform-style: preserve-3d;
  transform:
    perspective(900px)
    rotateX(var(--btn-tilt-x))
    rotateY(var(--btn-tilt-y))
    translateZ(var(--btn-lift));
  box-shadow:
    0 8px 18px rgba(61, 36, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -1px 0 rgba(116, 78, 58, 0.28);
  transition:
    transform 240ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
  will-change: transform, box-shadow;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      95% 100% at var(--btn-glint-x) var(--btn-glint-y),
      rgba(255, 255, 255, calc(var(--btn-glint-alpha) * 0.6)) 0%,
      rgba(255, 255, 255, calc(var(--btn-glint-alpha) * 0.26)) 24%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(154deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.02) 72%);
}

.btn.is-tilting {
  box-shadow:
    0 16px 24px rgba(58, 32, 18, 0.2),
    0 6px 10px rgba(46, 25, 15, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(116, 78, 58, 0.32);
}

.btn.primary {
  background: linear-gradient(164deg, rgba(125, 85, 64, 0.95), rgba(99, 64, 47, 0.92));
  color: #fff;
  border-color: rgba(156, 114, 92, 0.58);
}

.btn.secondary {
  background: linear-gradient(164deg, rgba(255, 255, 255, 0.78), rgba(243, 231, 219, 0.66));
  color: var(--accent);
  border-color: rgba(213, 194, 178, 0.88);
}

.btn.primary:hover {
  background: linear-gradient(164deg, rgba(138, 96, 74, 0.97), rgba(113, 74, 56, 0.93));
  border-color: rgba(170, 127, 104, 0.7);
}

.btn.secondary:hover {
  background: linear-gradient(164deg, rgba(255, 255, 255, 0.9), rgba(248, 238, 226, 0.78));
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-title {
  padding: 13px 8px;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 0 8px 13px;
}

.quiz-container {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: clamp(14px, 3.6vw, 24px);
}

.progress-bar {
  height: 9px;
  background: rgba(151, 111, 88, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-bar-inner {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7a4f3b 0%, #a57b68 100%);
  transition: width 0.3s ease;
}

.quiz-question {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 300;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.answer-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answer-option {
  width: 100%;
  text-align: left;
  padding: 0.84rem 0.96rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.answer-option:hover,
.answer-option.highlight {
  border-color: var(--accent);
  background: #f5ebe0;
  color: var(--ink);
}

.helper-text {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.quiz-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.results-container {
  max-width: 1160px;
  margin: 0 auto 18px;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.results-container::before,
.results-container::after {
  display: none;
}

.results-container > * {
  margin: 0;
  max-width: none;
}

.results-intro {
  padding: clamp(16px, 2.6vw, 24px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), var(--panel));
  box-shadow: var(--shadow-soft);
}

.results-container .summary-card,
.results-container .action-card,
.results-container .product-card {
  padding: clamp(16px, 2.6vw, 24px);
}

.results-container .action-cards {
  gap: clamp(12px, 2vw, 18px);
}

.summary-card,
.action-card,
.product-card {
  border-radius: var(--radius-md);
  padding: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.product-group {
  margin-bottom: 16px;
}

.product-group:last-child {
  margin-bottom: 0;
}

.product-group-title {
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.product-subgrid {
  margin: 0;
}

.product-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-lift: 0px;
  --card-glint-x: 50%;
  --card-glint-y: 50%;
  --card-glint-alpha: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  transform-style: preserve-3d;
  transform:
    perspective(1150px)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    translateZ(var(--card-lift));
  transition:
    transform 260ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 260ms ease;
  will-change: transform, box-shadow;
}

.product-card.is-tilting {
  box-shadow:
    0 20px 30px rgba(54, 32, 20, 0.2),
    0 8px 14px rgba(42, 23, 14, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(132, 93, 72, 0.28);
}

.product-media {
  position: relative;
  width: 100%;
  min-height: 290px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  border: 1px solid rgba(218, 199, 182, 0.85);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(237, 223, 210, 0.48)),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  padding: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    95% 92% at var(--card-glint-x) var(--card-glint-y),
    rgba(255, 255, 255, calc(var(--card-glint-alpha) * 0.52)),
    rgba(255, 255, 255, 0) 64%
  );
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.58), rgba(244, 234, 224, 0.44));
}

.product-head h4 {
  margin-bottom: 4px;
}

.product-brand {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  border: 1px solid rgba(205, 184, 165, 0.82);
  background: rgba(255, 255, 255, 0.68);
  color: #523b30;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.product-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
  flex: 1;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-tag {
  margin: 0;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-buy {
  margin: 0;
  padding: 0.46rem 0.9rem;
  font-size: 0.76rem;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .product-card {
    transform: none !important;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }

  .btn::before,
  .product-media::before {
    display: none;
  }
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.highlight {
  border-color: var(--accent);
  background: linear-gradient(160deg, #fcf2e7 0%, #f4e4d2 100%);
}

.media-placeholder {
  width: 100%;
  min-height: 190px;
  border-radius: var(--radius-md);
  border: 1px dashed #bda48f;
  background:
    linear-gradient(140deg, rgba(140, 104, 85, 0.08), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(
      -45deg,
      rgba(140, 104, 85, 0.07) 0 10px,
      rgba(255, 255, 255, 0.35) 10px 20px
    );
  display: grid;
  place-content: center;
  text-align: center;
  padding: 14px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input,
form textarea {
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

form input:focus,
form textarea:focus {
  outline: 2px solid rgba(122, 79, 59, 0.25);
  border-color: var(--accent);
}

ul,
ol {
  margin: 0;
  padding-left: 1.18rem;
}

li {
  margin-bottom: 4px;
}

footer,
.v2-footer {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 14px 58px;
  text-align: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  position: relative;
}

footer::before,
.v2-footer::before {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 9px;
  width: 24px;
  height: 24px;
  background: url("../assets/icon-brn.png") center / contain no-repeat;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .shop-jump {
    display: block;
    position: sticky;
    top: 8px;
    z-index: 18;
    padding: 12px;
  }

  .shop-jump > h2 {
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-soft);
  }

  .shop-section,
  .product-group {
    scroll-margin-top: 118px;
  }

  nav {
    position: static;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    width: 100%;
    justify-content: flex-start;
  }

  nav ul li a {
    font-size: 0.8rem;
  }

  .split-feature,
  .consult-cards {
    grid-template-columns: 1fr;
  }

  .best-next-step .consult-preview {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0 10px 18px;
  }

  .hero {
    padding: 32px 14px;
  }

  .work-track img {
    width: 150px;
    height: 180px;
  }

  section,
  .quiz-container,
  footer,
  .v2-footer {
    border-radius: 16px;
    padding: 14px;
  }

  footer,
  .v2-footer {
    padding-left: 46px;
  }

  footer::before,
  .v2-footer::before {
    left: 12px;
    bottom: 9px;
  }

  .quiz-actions {
    flex-direction: column;
  }

  .quiz-actions .btn,
  .quiz-actions button {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-media {
    min-height: 250px;
  }

  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-buy {
    width: 100%;
    text-align: center;
  }
}
