:root {
  --ground: #ffffff;
  --surface: #f3f4f6;
  --surface-2: #e7e9ec;
  --ink: #14161a;
  --ink-2: #4b5059;
  --ember: #f04a1d;
  --ember-fill: #d63f12;
  --ember-text: #c2390f;
  --ember-tint: #fdeee9;
  --on-ink: #ffffff;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-hero: clamp(2.5rem, 5.6vw, 6rem);
  --radius: 16px;
  --step-title: clamp(2rem, 3.6vw, 3.25rem);
  --step-statement: clamp(1.5rem, 2.4vw, 2.25rem);
  --step-body: 1.0625rem;
  --step-small: 0.9375rem;

  --margin: clamp(16px, 3vw, 40px);
  --section: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--step-body)/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, dl, dd { margin: 0; }
a { color: inherit; }
code { font-size: .9em; background: var(--surface-2); padding: .05em .3em; border-radius: 4px; }
::selection { background: var(--ember); color: #fff; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--margin); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--ember-fill); color: #fff;
  font: 600 1rem/1 var(--text); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--ember-text); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ember-tint); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #2a2d33; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--ground); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.wordmark { font: 700 1.375rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.label-short { display: none; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: .9375rem; color: var(--ink-2); transition: color .2s var(--ease); }
.nav nav a:hover { color: var(--ink); }

/* Hero */
/* The hero fills one screen below the nav, so the fold falls on the next section's edge. */
.hero { min-height: calc(100svh - 72px); display: flex; align-items: center; padding: clamp(24px, 5vh, 64px) 0; }
.hero > .wrap { width: 100%; }
.hero-title {
  font: 700 clamp(2.5rem, min(4.8vw, 9vh), 5rem)/.98 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.lede { margin-top: clamp(16px, 3vh, 28px); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.5; max-width: 34em; }
.hero .notify { margin-top: clamp(20px, 3.5vh, 36px); }
.hero-meta { margin-top: clamp(12px, 2vh, 20px); color: var(--ink-2); font-size: var(--step-small); }
.hero-meta a { color: var(--ember-text); font-weight: 600; text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; }

/* Notify form */
.notify { margin-top: 36px; }
.notify-label { display: block; font-weight: 600; margin-bottom: 10px; }
.notify-row { display: flex; gap: 10px; max-width: 560px; }
.notify input[type="email"] {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 20px;
  border: 2px solid var(--surface-2); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit;
  transition: border-color .2s var(--ease);
}
.notify input[type="email"]:focus { outline: none; border-color: var(--ember); }
.notify-note { margin-top: 10px; font-size: var(--step-small); color: var(--ink-2); }
.notify.is-done .notify-row { display: none; }
.notify.is-done .notify-note { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* honeypot field, not a rule. taste-skill-ignore */

/* Hero report (live sample) */
.hero-report {
  background: var(--surface); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 36px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: center;
}
.gauge-wrap { position: relative; width: clamp(140px, min(13vw, 24vh), 200px); aspect-ratio: 1; }
.gauge { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 16; }
.gauge-track { stroke: var(--surface-2); }
.gauge-fill { stroke: var(--ember); stroke-linecap: round; stroke-dasharray: 0 528; transition: stroke-dasharray .6s var(--ease); }
.gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-score { font: 700 clamp(2.75rem, 3.6vw, 3.5rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge-out { font-size: var(--step-small); color: var(--ink-2); }
.gauge-band { margin-top: 6px; font-weight: 600; font-size: var(--step-small); color: var(--ember-text); }

.fixes-title { font: 700 1.25rem/1.2 var(--display); margin-bottom: 12px; }
.fixes-title span { display: block; font: 400 var(--step-small)/1.4 var(--text); color: var(--ink-2); margin-top: 4px; }
.fixes-foot { margin-top: 12px; font-size: var(--step-small); color: var(--ink-2); }

.fix {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; margin-top: 6px;
  background: #fff; border-radius: 12px; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.fix:hover { background: var(--ember-tint); }
.fix:active { transform: scale(.99); }
.fix input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ember-fill); flex: none; cursor: pointer; }
.fix-body { display: flex; flex-direction: column; gap: 2px; }
.fix-body strong { font-weight: 600; }
.fix-body span { font-size: var(--step-small); color: var(--ink-2); }
.fix:has(input:checked) { background: var(--ember-tint); }
.fix:has(input:checked) .fix-body strong { text-decoration: line-through; text-decoration-color: var(--ember); }

/* Problem */
.problem { background: var(--ember-tint); padding: var(--section) 0; }
.problem-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.statement { font: 500 var(--step-statement)/1.2 var(--display); letter-spacing: -.02em; max-width: 22ch; }
.problem-text p + p { margin-top: 1.1em; }
.problem-text { max-width: 36em; }

/* Section titles */
.section-title { font: 700 var(--step-title)/1.02 var(--display); letter-spacing: -.03em; max-width: 20ch; }

/* Problem: what a shopper sees vs what an assistant reads */
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(56px, 7vw, 104px); }
.readout-side { margin: 0; display: flex; flex-direction: column; }
.readout-side figcaption { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 14px; }
.pp { flex: 1; background: #fff; border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: .9fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.pp-img { background: var(--surface); border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; }
.pp-img svg { width: 86%; }
.shoe-upper { fill: #2f5d9e; }
.shoe-sole { fill: var(--ink); }
.shoe-lace { stroke: #fff; stroke-width: 4; stroke-linecap: round; fill: none; }
.pp-title { font: 700 1.375rem/1.1 var(--display); letter-spacing: -.02em; }
.pp-price { margin-top: 6px; font-weight: 600; }
.pp-swatches { display: flex; gap: 8px; margin-top: 14px; }
.pp-swatches span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.pp-swatches span:first-child { outline: 2px solid var(--ink); outline-offset: 2px; }
.pp-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pp-sizes span { min-width: 36px; padding: 6px 0; text-align: center; background: var(--surface); border-radius: 6px; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.pp-sizes span:nth-child(3) { background: var(--ink); color: #fff; }
.pp-desc { margin-top: 14px; font-size: var(--step-small); color: var(--ink-2); line-height: 1.5; }
.pp-cart { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9375rem; }
.readout-data pre { flex: 1; margin: 0; background: var(--ink); color: #e6e8eb; border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); overflow-x: auto; font: 500 clamp(.875rem, 1.05vw, 1rem)/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.readout-data code { background: none; padding: 0; font: inherit; }
.readout-data mark { background: var(--ember-fill); color: #fff; padding: .1em .45em; border-radius: 4px; }
.problem .small-print { margin-top: 20px; color: var(--ink); }

/* How */
.how { padding: var(--section) 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.steps { list-style: none; padding: 0; margin-top: clamp(32px, 4vw, 56px); display: grid; gap: clamp(28px, 3vw, 40px); }
.step h3 { font: 700 clamp(1.5rem, 2vw, 1.875rem)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.step p { max-width: 34em; }
.step:first-child h3 { color: var(--ember-text); }

/* The audit screen inside WordPress */
.wp { background: #f0f0f1; border-radius: var(--radius); overflow: hidden; font-size: .9375rem; }
.wp-bar { background: #1d2327; color: #c3c4c7; height: 34px; display: flex; align-items: center; padding: 0 16px; font-size: .8125rem; }
.wp-body { display: grid; grid-template-columns: 150px 1fr; min-height: 440px; }
.wp-menu { list-style: none; margin: 0; padding: 10px 0; background: #2c3338; color: #f0f0f1; font-size: .875rem; }
.wp-menu li { padding: 8px 16px; }
.wp-menu .is-on { background: var(--ember-fill); color: #fff; font-weight: 600; }
.wp-main { padding: clamp(18px, 2.4vw, 32px); }
.wp-h { font: 600 1.5rem/1.2 var(--text); color: #1d2327; }
.wp-sub { margin-top: 4px; color: #50575e; }
.wp-card { background: #fff; margin-top: 20px; padding: 20px 22px; border-radius: 4px; }
.wp-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.wp-progress { height: 10px; margin-top: 10px; background: #dcdcde; border-radius: 999px; overflow: hidden; }
.wp-progress span { display: block; height: 100%; width: 65%; background: var(--ember-fill); border-radius: 999px; transition: width .4s var(--ease); }
.wp-log { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; color: #50575e; }
.wp-log li { padding-left: 26px; position: relative; }
.wp-log li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: #dcdcde; }
.wp-log .is-done { color: #1d2327; }
.wp-log .is-done::before { background: var(--ink); }
.wp-log .is-run { color: var(--ember-text); font-weight: 600; }
.wp-log .is-run::before { background: var(--ember); animation: wp-pulse 1.2s var(--ease) infinite alternate; }
@keyframes wp-pulse { from { transform: scale(.7); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.wp-note { margin-top: 16px; font-size: var(--step-small); color: #50575e; }
.small-print { margin-top: 40px; color: var(--ink-2); font-size: var(--step-small); max-width: 48em; }

/* Checks */
.checks { background: var(--surface); padding: var(--section) 0; }
.checks-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; }
.checks-head p { font-size: 1.25rem; max-width: 30em; }
.weightbar { display: flex; height: 56px; margin-top: clamp(40px, 5vw, 64px); border-radius: 999px; overflow: hidden; }
.weightbar span { flex: var(--w) 1 0; display: flex; align-items: center; padding: 0 20px; font-weight: 600; font-size: var(--step-small); white-space: nowrap; overflow: hidden; }
.wb-data { background: var(--ember-fill); color: #fff; }
.wb-markup { background: var(--ink); color: #fff; }
.wb-reach { background: var(--surface-2); color: var(--ink); }

.groups { margin-top: clamp(48px, 6vw, 88px); }
.group { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); padding: clamp(36px, 4vw, 56px) 0; }
.group h3 { font: 700 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; }
.group dl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(24px, 3vw, 48px); }
.group dt { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.group dt span { color: var(--ember-text); font: 600 var(--step-small)/1 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.group dd { margin-top: 6px; max-width: 40em; }

/* Sample report */
.sample { padding: var(--section) 0; }
.sample-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sample-head p { font-size: 1.25rem; max-width: 30em; }
.report { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 4vw, 56px); }
.report-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.report-store { margin-top: 6px; color: var(--ink-2); font-size: var(--step-small); }
.report-head { font: 700 clamp(2rem, 3.2vw, 2.75rem)/1.05 var(--display); letter-spacing: -.03em; }
.report-sub { margin-top: 10px; max-width: 38em; }
.report-score { font: 700 clamp(3.5rem, 7vw, 6rem)/1 var(--display); letter-spacing: -.045em; color: var(--ember-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-score small { font-size: .3em; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }

.report-table { width: 100%; border-collapse: collapse; margin-top: 32px; background: #fff; border-radius: 14px; overflow: hidden; }
.report-table th { text-align: left; font-size: var(--step-small); font-weight: 600; color: var(--ink-2); padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--surface-2); }
.report-table td { padding: 12px 18px; border-bottom: 1px solid var(--surface); vertical-align: middle; }
.report-table tr:last-child td { border-bottom: 0; }
.rt-group { color: var(--ink-2); font-size: var(--step-small); width: 16%; }
.rt-name { font-weight: 500; width: 34%; }
.rt-result { display: flex; align-items: center; gap: 14px; }
.bar { flex: 1; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; max-width: 320px; }
.bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width .6s var(--ease); }
.rt-val { font-variant-numeric: tabular-nums; font-size: var(--step-small); min-width: 4ch; }
tr.is-fixed .bar span { background: var(--ember); }
tr.is-fixed .rt-val { color: var(--ember-text); font-weight: 600; }

.report-fixes { margin-top: 32px; }
.report-fixes-title { font: 700 1.5rem/1.1 var(--display); letter-spacing: -.02em; }
.report-worst { margin-top: 24px; font-size: var(--step-small); color: var(--ink-2); }
.report-worst strong { color: var(--ink); }

/* Waitlist */
.waitlist { background: var(--ink); color: var(--on-ink); padding: var(--section) 0; }
.waitlist-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.waitlist p { color: #d5d8dd; max-width: 36em; margin-top: 20px; }
.waitlist .section-title { color: #fff; }
.waitlist .btn { margin-top: 32px; }
.tiers { background: #22252b; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.tiers .tiers-title { margin: 0; color: #fff; font-weight: 600; }
.tier { margin-top: 28px; }
.tier p { margin-top: 2px; }
.tier .tier-price { margin: 0; color: #fff; font: 700 clamp(2.75rem, 5vw, 4.25rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tier-price small { font-size: .35em; letter-spacing: 0; color: #d5d8dd; margin-left: 4px; }
.tiers .tiers-foot { margin-top: 28px; font-size: var(--step-small); }

/* FAQ */
.faq { padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq .section-title { position: sticky; top: 104px; }
.faq-list details { background: var(--surface); border-radius: var(--radius); margin-bottom: 10px; transition: background-color .2s var(--ease); }
.faq-list details:hover { background: var(--surface-2); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font: 600 1.25rem/1.3 var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font: 500 1.75rem/1 var(--display); color: var(--ember-text); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; max-width: 42em; }

/* Closer */
.closer { background: var(--ember-fill); color: #fff; padding: var(--section) 0; }
.closer-title { font: 700 var(--step-hero)/.98 var(--display); letter-spacing: -.035em; max-width: 16ch; }
.notify-closer { margin-top: 40px; }
.notify-closer .notify-note { color: #fff; opacity: .9; }
.notify-closer input[type="email"] { border-color: #fff; }
.notify-closer input[type="email"]:focus { border-color: var(--ink); }
.closer :focus-visible { outline-color: #fff; }

/* Footer */
.footer { padding: clamp(48px, 6vw, 88px) 0 40px; }
.footer-mark { font: 700 clamp(2.5rem, 10vw, 10rem)/.85 var(--display); letter-spacing: -.05em; color: var(--ink); }
.footer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; color: var(--ink-2); font-size: var(--step-small); }
.footer-row p { max-width: 36em; }

/* Entrances (only when script runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation: none !important; }
}

/* Tablet */
@media (max-width: 1000px) {
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { min-height: 0; display: block; padding: 40px 0 var(--section); }
  .hero-grid, .problem-grid, .checks-head, .sample-head, .waitlist-grid, .faq-grid, .how-grid, .readout { grid-template-columns: 1fr; }
  .group { grid-template-columns: 1fr; gap: 20px; }
  .faq .section-title { position: static; }
  .group dl { grid-template-columns: 1fr; gap: 24px; }
}

/* Phone */
@media (max-width: 600px) {
  .nav-inner { height: 60px; gap: 12px; }
  .nav .btn-small { min-height: 36px; padding: 0 14px; font-size: .875rem; white-space: nowrap; }
  .nav .label-long { display: none; }
  .nav .label-short { display: inline; }
  .hero-title { font-size: 2.25rem; letter-spacing: -.03em; }
  .hero-report { grid-template-columns: 1fr; justify-items: center; }
  .fixes { width: 100%; }
  .notify-row { flex-direction: column; }
  .notify .btn { width: 100%; }
  .weightbar { height: auto; flex-direction: column; border-radius: 14px; }
  .weightbar span { flex: none; padding: 12px 18px; }
  .group dt { flex-direction: column; gap: 2px; }
  .report-top { flex-direction: column-reverse; gap: 8px; }
  .report-table thead { display: none; }
  .report-table, .report-table tbody, .report-table tr, .report-table td { display: block; width: 100%; }
  .report-table tr { padding: 12px 16px; border-bottom: 1px solid var(--surface); }
  .report-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
  .report-table td { padding: 0; border: 0; width: auto; }
  .report-table td.rt-group { display: none; }
  .report-table td.rt-result { display: contents; }
  .bar { grid-column: 1 / -1; grid-row: 2; max-width: none; height: 8px; }
  .rt-val { grid-column: 2; grid-row: 1; text-align: right; }
  .footer-row { grid-template-columns: 1fr; }
  .pp { grid-template-columns: 1fr; }
  .pp-img { aspect-ratio: 16 / 10; }
  .wp-body { grid-template-columns: 1fr; min-height: 0; }
  .wp-menu { display: none; }
}

/* Small phone: keep the wordmark on one line next to the button */
@media (max-width: 380px) {
  .wordmark { font-size: 1.25rem; }
}
