:root {
  --bone: #f7f3ed;
  --bone-deep: #eee7dc;
  --paper: #fffdf9;
  --ink: #17140f;
  --ink-soft: #554e45;
  --muted: #81776d;
  --line: #ded5c9;
  --line-soft: #ece5db;
  --clay: #a3533b;
  --clay-deep: #87412e;
  --sage: #576858;
  --forest: #20231d;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 16px 40px rgba(35, 28, 20, 0.08);
  --shadow-lg: 0 32px 80px rgba(35, 28, 20, 0.16);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --section-space: clamp(78px, 9vw, 132px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

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

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 7.2vw, 6.35rem);
  line-height: 0.91;
}

h1 em,
h2 em {
  color: var(--clay);
  font-weight: 400;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--clay-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
}

.lede {
  max-width: 57ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 60px;
}

.section-heading h2 {
  margin-top: 20px;
}

.section-heading .lede {
  padding-bottom: 7px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
  transform: translateY(-1px);
}

.button--light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button--light:hover {
  color: var(--paper);
  background: var(--clay);
  border-color: var(--clay);
}

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button--outline:hover {
  color: var(--ink);
  background: var(--bone-deep);
  border-color: var(--ink);
}

.button--small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.84rem;
}

.arrow {
  transition: transform 180ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 237, 0.9);
  border-bottom: 1px solid rgba(222, 213, 201, 0.78);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav-wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-copy {
  display: inline-flex;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a,
.login-link {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease;
}

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

.mobile-nav-action {
  display: none;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 17px;
  height: 1px;
  display: block;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  transform: translateY(-5px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(62px, 8vw, 116px) clamp(84px, 10vw, 140px);
}

.hero::before {
  position: absolute;
  top: -90px;
  right: -140px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(163, 83, 59, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 650ms both ease-out;
}

.hero h1 {
  margin-top: 24px;
}

.hero h1 em {
  display: block;
}

.hero .lede {
  margin-top: 30px;
}

.hero-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
}

.hero-action p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.shop-input {
  min-width: 0;
  min-height: 52px;
  width: 100%;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(23, 20, 15, 0.03);
}

.shop-input::placeholder {
  color: #958a7e;
}

.shop-input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(163, 83, 59, 0.12);
}

.form-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-error {
  min-height: 1.1em;
  grid-column: 1 / -1;
  color: #912f22;
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.check {
  width: 17px;
  height: 17px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--paper);
  background: var(--clay);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  animation: rise-in 650ms 90ms both ease-out;
}

.hero-photo-frame {
  position: absolute;
  inset: 0 26px 0 48px;
  overflow: hidden;
  background: var(--bone-deep);
  border-radius: 210px 210px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.visual-kicker {
  position: absolute;
  top: 62px;
  left: 0;
  z-index: 2;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(222, 213, 201, 0.85);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.analysis-card {
  position: absolute;
  right: -10px;
  bottom: 32px;
  z-index: 3;
  width: min(326px, 84%);
  padding: 20px;
  background: rgba(255, 253, 249, 0.97);
  border: 1px solid rgba(222, 213, 201, 0.92);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.analysis-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  background: #69806a;
  border-radius: 50%;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}

.profile-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.1;
}

.profile-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.profile-score {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--clay-deep);
  border: 1px solid rgba(163, 83, 59, 0.35);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 600;
}

.concern-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.concern-list span {
  padding: 5px 9px;
  color: var(--ink-soft);
  background: var(--bone);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.66rem;
}

.recommendation {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.product-bottle {
  width: 30px;
  height: 42px;
  justify-self: center;
  background: linear-gradient(to bottom, var(--ink) 0 8px, #c48466 8px 100%);
  border-radius: 3px 3px 6px 6px;
}

.recommendation strong,
.recommendation span {
  display: block;
}

.recommendation strong {
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.65rem;
}

.mini-add {
  padding: 8px 10px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

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

/* Proof strip */
.proof-strip {
  background: var(--forest);
  color: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 154px;
  padding: 32px clamp(20px, 3vw, 36px);
  border-right: 1px solid rgba(255, 253, 249, 0.14);
}

.proof-item:first-child {
  border-left: 1px solid rgba(255, 253, 249, 0.14);
}

.proof-item b {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 11px;
  color: rgba(255, 253, 249, 0.62);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* How it works */
.journey-demo {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  margin-top: 72px;
}

.journey-tabs {
  display: grid;
  border-top: 1px solid var(--line);
}

.journey-tab {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 27px 16px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color 220ms ease, background-color 220ms ease;
}

.journey-tab::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: var(--clay);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 220ms ease;
}

.journey-tab:hover {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.52);
}

.journey-tab.is-active {
  color: var(--ink);
  background: var(--paper);
}

.journey-tab.is-active::before {
  transform: scaleY(1);
}

.journey-tab-number {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
}

.journey-tab strong,
.journey-tab small {
  display: block;
}

.journey-tab strong {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1;
}

.journey-tab small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.journey-tab-arrow {
  margin-top: 2px;
  color: var(--clay);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.journey-tab.is-active .journey-tab-arrow {
  opacity: 1;
  transform: translateX(0);
}

.journey-stage {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.demo-chrome {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  color: var(--muted);
  background: #f4efe8;
  border-bottom: 1px solid var(--line);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-dots {
  display: flex;
  gap: 5px;
}

.demo-dots i {
  width: 7px;
  height: 7px;
  background: #d7cbbd;
  border-radius: 50%;
}

.demo-live {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-live i,
.analysis-complete i {
  width: 6px;
  height: 6px;
  background: #4d8069;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(77, 128, 105, 0.12);
}

.demo-canvas {
  position: relative;
  min-height: 560px;
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(201, 150, 128, 0.22), transparent 27%),
    linear-gradient(145deg, #fbf7f1 0%, #eee5d9 100%);
}

.journey-panel {
  grid-area: 1 / 1;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(16px) scale(0.985);
  transition: opacity 320ms ease, transform 380ms ease, visibility 320ms ease;
}

.journey-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.demo-kicker {
  color: var(--clay);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
}

.journey-panel--capture {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(230px, 1fr);
  align-items: center;
  gap: 36px;
}

.capture-copy h3 {
  max-width: 11ch;
  margin-top: 16px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 0.98;
}

.capture-copy p {
  max-width: 31ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.65;
}

.privacy-pill,
.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  padding: 8px 11px;
  color: #315e4c;
  background: rgba(77, 128, 105, 0.1);
  border: 1px solid rgba(77, 128, 105, 0.18);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 600;
}

.capture-phone {
  position: relative;
  width: min(100%, 260px);
  height: 448px;
  justify-self: center;
  padding: 14px;
  background: #232725;
  border: 4px solid #232725;
  border-radius: 34px;
  box-shadow: 0 28px 50px rgba(45, 39, 31, 0.2);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 52px;
  height: 5px;
  background: #151716;
  border-radius: 999px;
  transform: translateX(-50%);
}

.camera-view {
  position: relative;
  height: calc(100% - 50px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.5), transparent 30%),
    linear-gradient(145deg, #d9ddd5, #9cab9e);
  border-radius: 20px 20px 12px 12px;
}

.capture-face {
  position: absolute;
  inset: 18px 18px 38px;
  width: calc(100% - 36px);
  height: calc(100% - 56px);
  filter: drop-shadow(0 13px 16px rgba(44, 38, 31, 0.16));
}

.face-guide {
  position: absolute;
  inset: 18% 20% 13%;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 48% 48% 45% 45%;
}

.camera-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--paper);
}

.camera-corner--tl { top: 17px; left: 17px; border-top: 2px solid; border-left: 2px solid; }
.camera-corner--tr { top: 17px; right: 17px; border-top: 2px solid; border-right: 2px solid; }
.camera-corner--bl { bottom: 17px; left: 17px; border-bottom: 2px solid; border-left: 2px solid; }
.camera-corner--br { right: 17px; bottom: 17px; border-right: 2px solid; border-bottom: 2px solid; }

.camera-status {
  position: absolute;
  bottom: 17px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: var(--paper);
  background: rgba(27, 31, 29, 0.66);
  border-radius: 999px;
  font-size: 0.58rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.camera-status i {
  width: 5px;
  height: 5px;
  background: #8dd1af;
  border-radius: 50%;
}

.camera-shutter {
  width: 29px;
  height: 29px;
  display: block;
  margin: 10px auto 0;
  background: var(--paper);
  border: 3px solid #858986;
  border-radius: 50%;
}

.journey-panel--analyze.is-active,
.journey-panel--recommend.is-active {
  display: block;
}

.analysis-demo-head,
.recommend-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.analysis-complete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #315e4c;
  font-size: 0.68rem;
  font-weight: 600;
}

.analysis-demo-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  margin-top: 46px;
}

.skin-profile-visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.profile-orbit {
  position: absolute;
  border: 1px solid rgba(163, 83, 59, 0.25);
  border-radius: 50%;
}

.profile-orbit--one { width: 250px; height: 250px; }
.profile-orbit--two { width: 310px; height: 310px; border-style: dashed; }

.profile-face {
  width: 140px;
  height: 204px;
  background: linear-gradient(145deg, #d8a88e, #a66955);
  border-radius: 48% 48% 43% 43%;
  box-shadow: inset -18px -9px 30px rgba(94, 52, 38, 0.16), 0 24px 40px rgba(64, 47, 36, 0.16);
}

.scan-line {
  position: absolute;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
  box-shadow: 0 0 14px rgba(163, 83, 59, 0.55);
  animation: scan-face 2.8s ease-in-out infinite alternate;
}

@keyframes scan-face {
  from { transform: translateY(-78px); }
  to { transform: translateY(78px); }
}

.skin-findings > p {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skin-findings h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.finding-row {
  display: grid;
  grid-template-columns: 76px 1fr 24px;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.finding-row > i {
  height: 5px;
  overflow: hidden;
  background: #ded4c8;
  border-radius: 999px;
}

.finding-row b {
  height: 100%;
  display: block;
  background: var(--clay);
  border-radius: inherit;
}

.finding-row strong {
  color: var(--ink);
  font-size: 0.68rem;
}

.analysis-note {
  display: block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.64rem;
}

.recommend-demo-head h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.match-pill {
  margin-top: 0;
}

.recommend-products {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.recommend-product {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.recommend-product--featured {
  background: var(--paper);
  border-color: rgba(163, 83, 59, 0.38);
  box-shadow: var(--shadow-sm);
}

.recommend-bottle,
.recommend-jar,
.recommend-tube {
  min-height: 64px;
  display: grid;
  place-items: center;
  background: #e8ded0;
  border-radius: 5px;
}

.recommend-bottle i {
  width: 24px;
  height: 57px;
  background: linear-gradient(to bottom, #2c302e 0 12px, #fcf6ed 12px);
  border: 1px solid #c7b8a8;
  border-radius: 2px 2px 5px 5px;
}

.recommend-jar i {
  width: 43px;
  height: 31px;
  background: linear-gradient(to bottom, #b17964 0 8px, #f7eee3 8px);
  border: 1px solid #c7b8a8;
  border-radius: 3px 3px 8px 8px;
}

.recommend-tube i {
  width: 31px;
  height: 52px;
  background: linear-gradient(to bottom, #f8efe4 0 42px, #a86a54 42px);
  border: 1px solid #c7b8a8;
  border-radius: 5px 5px 2px 2px;
  transform: perspective(40px) rotateX(-2deg);
}

.product-match {
  color: var(--clay);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommend-product h4 {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
}

.recommend-product p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.64rem;
}

.recommend-product strong {
  display: block;
  margin-top: 9px;
  font-size: 0.7rem;
}

.recommend-add {
  padding: 9px 11px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  font-size: 0.61rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.66rem;
}

/* Product story */
.experience {
  background: var(--bone-deep);
  border-block: 1px solid var(--line);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(54px, 8vw, 108px);
}

.store-preview {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.preview-browser {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  background: #f4efe8;
  border-bottom: 1px solid var(--line);
}

.preview-browser i {
  width: 7px;
  height: 7px;
  background: var(--line);
  border-radius: 50%;
}

.preview-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.preview-store span:last-child {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-product {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 26px;
  padding: 26px;
}

.preview-product-image {
  min-height: 310px;
  display: grid;
  place-items: center;
  background: #e8ded0;
  border-radius: 5px;
}

.preview-product-image::before {
  width: 78px;
  height: 166px;
  content: "";
  background: linear-gradient(to bottom, #2b2b27 0 25px, #faf6ef 25px 100%);
  border: 1px solid #d2c7b9;
  border-radius: 3px 3px 9px 9px;
  box-shadow: 0 16px 26px rgba(42, 34, 26, 0.12);
}

.preview-product-copy {
  padding-top: 12px;
}

.preview-product-copy small {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-product-copy h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.preview-lines {
  width: 88%;
  height: 42px;
  margin-top: 16px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 14px);
}

.preview-price {
  display: block;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
}

.preview-button {
  width: 100%;
  display: block;
  margin-top: 20px;
  padding: 11px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.widget-launcher {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: var(--paper);
  background: var(--clay-deep);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 600;
}

.store-preview-body {
  position: relative;
}

.experience-copy h2 {
  margin-top: 20px;
}

.experience-copy .lede {
  margin-top: 26px;
}

.benefit-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.benefit-list .check {
  margin-top: 3px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 68px;
}

.feature-card {
  min-height: 280px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-card--wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 30px;
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}

.feature-card--wide p {
  color: rgba(255, 253, 249, 0.66) !important;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--clay);
  background: var(--bone);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
}

.feature-card h3 {
  margin-top: auto;
  padding-top: 38px;
  font-size: 1.05rem;
}

.feature-card p {
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.68;
}

.dashboard-mini {
  padding: 16px;
  color: var(--ink);
  background: #f6f2eb;
  border-radius: 8px;
}

.dashboard-mini small {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-number {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
}

.dashboard-bars {
  height: 42px;
  display: flex;
  align-items: end;
  gap: 5px;
  margin-top: 18px;
}

.dashboard-bars i {
  flex: 1;
  background: var(--clay);
  border-radius: 2px 2px 0 0;
}

.dashboard-bars i:nth-child(1) { height: 32%; }
.dashboard-bars i:nth-child(2) { height: 58%; }
.dashboard-bars i:nth-child(3) { height: 44%; }
.dashboard-bars i:nth-child(4) { height: 76%; }
.dashboard-bars i:nth-child(5) { height: 62%; }
.dashboard-bars i:nth-child(6) { height: 92%; }

/* Privacy */
.privacy {
  color: var(--paper);
  background: var(--forest);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
}

.privacy .eyebrow {
  color: #d2a28f;
}

.privacy h2 {
  margin-top: 20px;
}

.privacy .lede {
  margin-top: 26px;
  color: rgba(255, 253, 249, 0.67);
}

.privacy-points {
  display: grid;
  gap: 1px;
  background: rgba(255, 253, 249, 0.14);
  border: 1px solid rgba(255, 253, 249, 0.14);
}

.privacy-point {
  padding: 25px 26px;
  background: var(--forest);
}

.privacy-point b {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.privacy-point span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 253, 249, 0.58);
  font-size: 0.8rem;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 249, 0.35);
  text-underline-offset: 5px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 66px;
}

.price-card {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.price-card--featured {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: var(--shadow-lg);
}

.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-head h3 {
  font-size: 0.94rem;
  letter-spacing: 0.04em;
}

.popular-tag {
  padding: 5px 10px;
  color: var(--paper);
  border: 1px solid rgba(255, 253, 249, 0.28);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 28px;
}

.price strong {
  font-family: var(--serif);
  font-size: 3.45rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price span,
.plan-caption {
  color: var(--muted);
  font-size: 0.78rem;
}

.price-card--featured .price span,
.price-card--featured .plan-caption {
  color: rgba(255, 253, 249, 0.57);
}

.annual-note {
  min-height: 24px;
  margin-top: 8px;
  color: var(--clay-deep);
  font-size: 0.74rem;
  font-weight: 600;
}

.price-card--featured .annual-note {
  color: #dfad99;
}

.plan-features {
  display: grid;
  gap: 13px;
  margin: 30px 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.price-card--featured .plan-features {
  border-color: rgba(255, 253, 249, 0.16);
}

.plan-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.price-card--featured .plan-features li {
  color: rgba(255, 253, 249, 0.72);
}

.plan-features .check {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  font-size: 0.62rem;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* FAQ */
.faq {
  background: var(--bone-deep);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(50px, 8vw, 110px);
}

.faq h2 {
  margin-top: 20px;
}

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

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

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::after {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--clay-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 62ch;
  padding: 0 46px 25px 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.75;
}

/* Final CTA */
.final-cta {
  color: var(--paper);
  background: var(--clay-deep);
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.final-cta .eyebrow {
  color: #efc8b7;
}

.final-cta h2 {
  margin-top: 20px;
}

.final-cta .lede {
  margin-top: 24px;
  color: rgba(255, 253, 249, 0.73);
}

.login-panel {
  padding: clamp(26px, 3vw, 36px);
  background: rgba(23, 20, 15, 0.18);
  border: 1px solid rgba(255, 253, 249, 0.2);
  border-radius: var(--radius-md);
}

.login-panel h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.login-panel > p {
  margin-top: 8px;
  color: rgba(255, 253, 249, 0.67);
  font-size: 0.82rem;
}

.login-panel form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.login-panel label {
  color: rgba(255, 253, 249, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-panel .shop-input {
  color: var(--paper);
  background: rgba(23, 20, 15, 0.27);
  border-color: rgba(255, 253, 249, 0.24);
}

.login-panel .shop-input::placeholder {
  color: rgba(255, 253, 249, 0.43);
}

.login-panel .form-note {
  color: rgba(255, 253, 249, 0.55);
}

.login-panel .form-error {
  color: #ffe2d7;
}

/* Footer */
.site-footer {
  padding: 70px 0 32px;
  background: var(--bone);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr repeat(3, 0.8fr);
  gap: clamp(34px, 5vw, 70px);
}

.footer-intro p {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-column h3 {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 62px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

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

@media (max-width: 1040px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    position: absolute;
    inset: 76px 0 auto;
    max-height: calc(100vh - 76px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px 20px 28px;
    overflow-y: auto;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }

  .primary-nav .mobile-nav-action {
    display: flex;
  }

  .primary-nav .mobile-nav-action--primary {
    justify-content: center;
    margin-top: 16px;
    color: var(--paper);
    background: var(--ink);
    border: 0;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions .login-link {
    display: none;
  }

  .hero-grid,
  .experience-grid,
  .privacy-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual {
    width: min(100%, 650px);
    min-height: 700px;
    margin-inline: auto;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item:nth-child(2) {
    border-right: 1px solid rgba(255, 253, 249, 0.14);
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 253, 249, 0.14);
  }

  .journey-demo {
    grid-template-columns: 1fr;
  }

  .journey-tabs {
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
  }

  .journey-tab {
    grid-template-columns: 34px 1fr;
    min-height: 170px;
    border-right: 1px solid var(--line);
  }

  .journey-tab::before {
    inset: auto 0 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .journey-tab.is-active::before {
    transform: scaleX(1);
  }

  .journey-tab-arrow {
    display: none;
  }

  .feature-card {
    grid-column: span 6;
  }

  .feature-card--wide {
    grid-column: span 12;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 78px;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .nav-actions .button {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero::before {
    display: none;
  }

  .hero-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-action .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 570px;
  }

  .hero-photo-frame {
    inset: 0 10px 0 22px;
    border-radius: 170px 170px var(--radius-md) var(--radius-md);
  }

  .visual-kicker {
    top: 36px;
    left: 0;
  }

  .analysis-card {
    right: 0;
    bottom: 18px;
    width: min(310px, 91%);
  }

  .proof-item {
    min-height: 138px;
    padding: 26px 20px;
  }

  .journey-demo {
    margin-top: 48px;
  }

  .journey-tabs {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .journey-tab {
    grid-template-columns: 34px 1fr 20px;
    min-height: 0;
    padding: 20px 14px;
    border-right: 0;
  }

  .journey-tab::before {
    inset: 0 auto 0 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: bottom;
  }

  .journey-tab.is-active::before {
    transform: scaleY(1);
  }

  .journey-tab-arrow {
    display: inline;
  }

  .demo-canvas {
    min-height: 660px;
  }

  .journey-panel--capture {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .capture-copy h3,
  .capture-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .capture-phone {
    width: 218px;
    height: 374px;
  }

  .analysis-demo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .skin-profile-visual {
    min-height: 245px;
  }

  .profile-orbit--one { width: 190px; height: 190px; }
  .profile-orbit--two { width: 230px; height: 230px; }
  .profile-face { width: 105px; height: 154px; }

  .recommend-demo-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .recommend-products {
    margin-top: 26px;
  }

  .preview-product {
    grid-template-columns: 1fr;
  }

  .preview-product-image {
    min-height: 230px;
  }

  .feature-card,
  .feature-card--wide {
    grid-column: span 12;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 1.3rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .analysis-card {
    padding: 16px;
  }

  .demo-chrome {
    grid-template-columns: 1fr auto;
  }

  .demo-chrome > span:nth-child(2) {
    justify-self: end;
  }

  .demo-live {
    display: none;
  }

  .journey-panel {
    padding: 24px 18px;
  }

  .recommend-product {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(2) {
    min-height: 0;
    border-right: 1px solid rgba(255, 253, 249, 0.14);
    border-bottom: 1px solid rgba(255, 253, 249, 0.14);
    border-left: 1px solid rgba(255, 253, 249, 0.14);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    grid-column: auto;
  }
}

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

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