/* =========================================================
   FONTS — self-hosted, privacy-clean
   ========================================================= */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/fonts/hanken-grotesk-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --bg: #F8FAFF;
  --paper: #FFFFFF;
  --accent: #93C5FD;
  --accent-strong: #60A5FA;
  --accent-deep: #1D4ED8;
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --muted: #64748B;
  --rule: #DDE3EE;
  --paper-soft: #F1F5FF;
  --frame-max: 1180px;

  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gradient-brand: linear-gradient(135deg, #0F172A 0%, #60A5FA 100%);
  --shadow-card: 0 30px 60px -22px rgba(15, 23, 42, 0.20), 0 4px 12px rgba(15, 23, 42, 0.04);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Atmospheric grain overlay — fixed across viewport */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.16;
  mix-blend-mode: multiply;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

a:hover { border-bottom-color: currentColor; }

a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Em becomes weight-based emphasis (no font switching) */
em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   TOP NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
  z-index: 90;
  background: rgba(248, 250, 255, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease;
}

.nav.is-scrolled {
  background: rgba(248, 250, 255, 0.9);
  border-bottom-color: var(--rule);
}

.nav-brand {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: none;
}

.nav-brand:hover { border-bottom-color: transparent; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-links a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}

@media (max-width: 640px) {
  .nav { padding: 14px 22px; }
  .nav-brand { font-size: 20px; }
  .nav-links { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Soft gradient orb behind the wordmark */
.hero::before {
  content: '';
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(880px, 110vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 35% 40%, rgba(96, 165, 250, 0.30) 0%, transparent 55%),
    radial-gradient(circle at 65% 60%, rgba(29, 78, 216, 0.12) 0%, transparent 50%);
  filter: blur(60px);
  z-index: -2;
  pointer-events: none;
  animation: orbDrift 22s ease-in-out infinite alternate;
}

/* Fine dot grid behind hero — atmospheric */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(15, 23, 42, 0.08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
  opacity: 0.6;
}

@keyframes orbDrift {
  0%   { transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  100% { transform: translate(-50%, -50%) translate(40px, -28px) scale(1.05); }
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(80px, 16vw, 168px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 32px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroEnter 1000ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.tagline {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  max-width: 640px;
  color: var(--ink-soft);
  animation: heroEnter 900ms cubic-bezier(0.22, 1, 0.36, 1) 280ms both;
}

.subline {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  animation: heroEnter 900ms cubic-bezier(0.22, 1, 0.36, 1) 420ms both;
}

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

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: scrollCueEnter 900ms ease-out 900ms both;
  pointer-events: none;
}

.hero-scroll-cue svg {
  animation: scrollBob 2200ms ease-in-out 1800ms infinite;
}

@keyframes scrollCueEnter {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 0.7; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 96px;
  bottom: 32px;
  left: 28px;
  width: 6px;
  background: rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  z-index: 100;
  pointer-events: none;
}

.scroll-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-brand);
  border-radius: 999px;
  transition: height 80ms linear;
  will-change: height;
}

@media (max-width: 480px) {
  .scroll-progress { top: 72px; bottom: 20px; left: 16px; width: 4px; }
  .hero-scroll-cue { bottom: 24px; font-size: 10px; }
}

/* =========================================================
   SECTIONS — editorial rail layout
   ========================================================= */
.section {
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 140px 56px;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  column-gap: 72px;
  align-items: start;
  position: relative;
}

.section-header {
  position: sticky;
  top: 120px;
  padding-top: 6px;
}

.section-body {
  max-width: 720px;
}

/* Section is wider for sections that include a visual */
.section-has-visual .section-body { max-width: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent-deep);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin: 0 0 32px;
  color: var(--ink);
}

.section-title em {
  font-weight: 700;
  color: var(--ink);
}

.section-lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  margin: 0 0 64px;
  max-width: 580px;
  color: var(--ink-soft);
  font-weight: 400;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
}

.feature h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: var(--ink);
}

.feature p {
  font-size: 16px;
  margin: 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   SAMPLE RATING CARD (visual mockup)
   ========================================================= */
.rating-card-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 64px;
  position: relative;
}

.rating-card-wrap::before {
  /* soft glow under the card */
  content: '';
  position: absolute;
  right: 5%;
  top: 10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.28), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.rating-card {
  position: relative;
  z-index: 1;
  width: 320px;
  max-width: 100%;
  background: var(--paper);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transform: rotate(1.5deg);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rating-card:hover { transform: rotate(0deg) translateY(-4px); }

.rating-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 16px;
}

.rating-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.rating-card-time {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.rating-card-photo {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.4), transparent 60%),
    linear-gradient(160deg, #DCE7FF 0%, #F0F4FF 55%, #C8D4EE 100%);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

/* abstract garment silhouette inside the photo placeholder */
.rating-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 78%;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.08) 50%, transparent 100%);
  clip-path: polygon(
    20% 0%, 80% 0%,
    100% 22%, 92% 30%,
    92% 100%, 8% 100%,
    8% 30%, 0% 22%
  );
}

.rating-card-score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rating-card-score-num {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.rating-card-score-out {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.rating-card-score-meter {
  flex: 1;
  height: 4px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.rating-card-score-fill {
  width: 85%;
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 999px;
}

.rating-card-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-card-notes .note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

.rating-card-notes .note-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 10px;
  flex-shrink: 0;
  font-weight: 700;
}

.note-good .note-mark {
  background: rgba(34, 197, 94, 0.14);
  color: #16A34A;
}

.note-suggest .note-mark {
  background: rgba(96, 165, 250, 0.18);
  color: var(--accent-deep);
}

/* =========================================================
   CLOSET GRID (SVG-based visual mockup)
   ========================================================= */
.closet-grid-wrap {
  margin: 0 0 64px;
  position: relative;
}

.closet-grid-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(96, 165, 250, 0.18), transparent 60%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.closet-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-card);
}

.closet-item {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.closet-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.10);
}

.closet-item svg {
  width: 60%;
  height: 60%;
  color: var(--ink);
  opacity: 0.85;
}

.closet-item.highlight {
  background: linear-gradient(135deg, #DCE7FF 0%, #F0F4FF 100%);
  outline: 1.5px solid var(--accent-strong);
  outline-offset: -1.5px;
}

.closet-item.highlight svg { opacity: 1; color: var(--accent-deep); }

/* small "worn" dot indicator */
.closet-item.worn::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-strong);
}

/* =========================================================
   "HOW IT WORKS" — special big-numeral layout
   ========================================================= */
.section-steps .section-body { max-width: none; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}

.step-num {
  font-family: var(--font-sans);
  font-size: clamp(64px, 8.5vw, 112px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.88;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.step-body { padding-top: 14px; }

.step-body h3 {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--ink);
}

.step-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   PULL-QUOTE INTERLUDE — large sans light, no italics
   ========================================================= */
.section-quote {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 56px;
  text-align: left;
  position: relative;
}

.pull-quote {
  margin: 0;
  position: relative;
  padding-left: 56px;
}

.pull-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  width: 36px;
  height: 2px;
  background: var(--accent-deep);
}

.pull-quote p {
  font-family: var(--font-sans);
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.032em;
  line-height: 1.04;
  margin: 0 0 28px;
  max-width: 980px;
  color: var(--ink);
}

.pull-quote p em {
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pull-quote cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.pull-quote cite::before {
  content: '— ';
  margin-right: 2px;
}

/* =========================================================
   PREMIUM BADGE (visual mockup for Premium perks section)
   ========================================================= */
.premium-badge-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 56px;
  position: relative;
}

.premium-badge-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(29, 78, 216, 0.18), transparent 65%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.premium-badge {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 16px;
  padding: 28px 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
}

.premium-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--paper);
  box-shadow: 0 8px 16px -4px rgba(29, 78, 216, 0.30);
}

.premium-badge-icon svg { width: 28px; height: 28px; }

.premium-badge-body { display: flex; flex-direction: column; gap: 4px; }

.premium-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.premium-badge-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.premium-badge-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 32px 120px;
  position: relative;
}

.page-header {
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 32px;
}

.page-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-eyebrow .eyebrow-num {
  font-size: 13px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}

h1 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.02;
  color: var(--ink);
}

.last-updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
}

.draft-notice {
  display: block;
  margin: 0 0 48px;
  padding: 18px 22px;
  background: #FDF6E3;
  border-left: 3px solid #B45309;
  border-radius: 4px;
  font-size: 14px;
  color: #78350F;
  line-height: 1.55;
}

.draft-notice strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #92400E;
}

.page h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 56px 0 18px;
  line-height: 1.3;
  color: var(--ink);
}

.page p,
.page ul {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.page ul { padding-left: 22px; }
.page li { margin-bottom: 10px; }
.page li::marker { color: var(--accent-deep); }
.page strong { font-weight: 700; color: var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--rule);
  margin-top: 80px;
  padding: 48px 36px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}

.footer-brand {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.035em;
  justify-self: start;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

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

.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  justify-self: end;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease-out, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero .wordmark,
  .hero .tagline,
  .hero .subline,
  .hero-scroll-cue,
  .hero-scroll-cue svg,
  .hero::before,
  .js .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-scroll-cue { opacity: 0.7 !important; transform: translateX(-50%) !important; }
  .rating-card { transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .section {
    grid-template-columns: 1fr;
    padding: 96px 28px;
    column-gap: 0;
  }
  .section-header {
    position: static;
    margin-bottom: 32px;
  }
  .section-body { max-width: none; }
  .features { gap: 40px; }
  .section-quote { padding: 96px 28px; }
  .pull-quote { padding-left: 40px; }
  .pull-quote::before { width: 24px; }
  .rating-card-wrap { justify-content: center; }
  .closet-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .step {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 24px;
  }
  .step-num { font-size: clamp(52px, 14vw, 80px); }
  .closet-grid { grid-template-columns: repeat(3, 1fr); }
  .premium-badge { padding: 22px 26px; gap: 18px; }
  .premium-badge-icon { width: 48px; height: 48px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .nav { padding: 14px 22px; }
  .hero { padding: 88px 22px 72px; }
  .section { padding: 80px 22px; }
  .section-quote { padding: 80px 22px; }
  .pull-quote { padding-left: 24px; }
  .pull-quote::before { top: 18px; width: 16px; }
  .step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding-top: 24px;
  }
  .step-num { font-size: 48px; }
  .step-body { padding-top: 6px; }
  .page { padding: 96px 22px 80px; }
  .footer {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    padding: 40px 22px;
  }
  .footer-brand,
  .footer-links,
  .footer-copy { justify-self: center; }
  .rating-card { width: 100%; max-width: 320px; }
  .closet-grid { grid-template-columns: repeat(3, 1fr); padding: 14px; gap: 10px; }
}
