:root {
  --paper: #f4f4ef;
  --white: #ffffff;
  --ink: #111312;
  --graphite: #242725;
  --muted: #666b67;
  --line: #d8dad4;
  --lime: #c7f43d;
  --lime-dark: #9ecb16;
  --red: #e94b35;
  --blue: #345dff;
  --soft-blue: #e8edff;
  --soft-red: #ffe9e5;
  --shadow: 0 18px 50px rgba(17, 19, 18, 0.1);
  --shadow-soft: 0 8px 24px rgba(17, 19, 18, 0.07);
  --radius: 6px;
  --max: 1480px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { min-height: 100vh; }
.icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 68px; padding: 10px clamp(18px, 3vw, 48px); border-bottom: 1px solid rgba(17, 19, 18, 0.12); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 900; }
.brand small { color: var(--muted); font-size: .56rem; font-weight: 700; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 4px; background: var(--ink); color: var(--lime); font-weight: 950; transform: skew(-7deg); }
.nav { display: flex; justify-content: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 10px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .84rem; font-weight: 700; transition: color .18s ease, border-color .18s ease; }
.nav a:hover, .nav a.active { border-color: var(--ink); color: var(--ink); }
.role-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.role-switch button { min-height: 32px; padding: 6px 9px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 750; }
.role-switch button.active { background: var(--ink); color: var(--white); }
main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 3vw, 44px) 70px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 6vw, 5.8rem); line-height: .94; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; }
h3 { margin-bottom: 8px; font-size: 1.05rem; line-height: 1.2; }
p { line-height: 1.65; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.muted { color: var(--muted); }
.eyebrow { margin-bottom: 15px; color: #4f554f; font-size: .69rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.inverse { color: rgba(255,255,255,.75); }
.eyebrow.inverse span { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); }
.hero { position: relative; min-height: min(790px, calc(100vh - 86px)); margin: 18px 0 0; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.hero-media { position: absolute; inset: 0; background: url('./assets/pairkart-fit-hero.png') center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,12,.93) 0%, rgba(11,13,12,.78) 35%, rgba(11,13,12,.16) 68%, rgba(11,13,12,.05) 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 740px; padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 74px) 170px; }
.hero-copy h1 { max-width: 720px; }
.hero-copy .lead { max-width: 620px; color: rgba(255,255,255,.77); }
.hero-actions, .actions, .row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.hero-actions { margin-top: 28px; }
.btn, .icon-btn { min-height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 15px; }
.btn.primary { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.glass { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: var(--white); backdrop-filter: blur(10px); }
.btn.light { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn.warn { border-color: var(--red); background: var(--red); color: var(--white); }
.btn:hover, .icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.icon-btn { display: grid; width: 42px; padding: 0; place-items: center; }
.icon-btn.dark { border-color: var(--ink); background: var(--ink); color: var(--white); }
.fit-console { position: absolute; z-index: 3; right: clamp(20px, 4vw, 58px); bottom: 104px; width: min(330px, calc(100% - 40px)); padding: 18px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(17,19,18,.9); box-shadow: 0 22px 60px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.console-head { display: flex; align-items: center; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: .65rem; letter-spacing: .1em; }
.console-head span:last-child { margin-left: auto; color: var(--lime); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(199,244,61,.14); animation: pulse 2s infinite; }
.fit-score { display: flex; align-items: end; gap: 4px; margin: 18px 0 12px; }
.fit-score strong { font-size: 4.8rem; line-height: .8; }
.fit-score > span { color: var(--lime); font-size: 1.4rem; }
.fit-score small { display: block; margin-top: 5px; color: rgba(255,255,255,.58); font-size: .62rem; }
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.console-grid div { padding: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.console-grid small, .stock-alert small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.55); font-size: .58rem; letter-spacing: .1em; }
.fit-line { height: 4px; margin: 14px 0; background: rgba(255,255,255,.12); }
.fit-line span { display: block; height: 100%; background: var(--lime); }
.fit-console p { display: flex; align-items: center; gap: 8px; margin: 0; color: rgba(255,255,255,.7); font-size: .76rem; }
.hero-proof { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); background: rgba(17,19,18,.82); backdrop-filter: blur(12px); }
.hero-proof div { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px clamp(18px, 4vw, 54px); border-right: 1px solid rgba(255,255,255,.14); }
.hero-proof strong { color: var(--lime); font-size: 1.8rem; }
.hero-proof span { max-width: 150px; color: rgba(255,255,255,.68); font-size: .75rem; line-height: 1.35; }
.problem-band { padding: clamp(72px, 9vw, 130px) clamp(4px, 3vw, 36px); }
.statement-grid { display: grid; grid-template-columns: 1.05fr .65fr; gap: clamp(35px, 8vw, 130px); align-items: end; }
.statement-grid h2 { max-width: 850px; margin: 0; }
.statement-grid p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.section { padding: clamp(62px, 8vw, 110px) 0; }
.section-head { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 30px; }
.section-head > div { max-width: 820px; }
.section-head > p { max-width: 440px; margin-bottom: 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-section { border-top: 1px solid var(--line); }
.feature-card { position: relative; min-height: 300px; padding: 20px; border-top: 2px solid var(--ink); background: var(--white); box-shadow: var(--shadow-soft); }
.feature-card:nth-child(2) { border-color: var(--blue); }
.feature-card:nth-child(3) { border-color: var(--red); }
.feature-card:nth-child(4) { border-color: var(--lime-dark); }
.feature-card h3 { max-width: 220px; margin-top: 56px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.feature-index { position: absolute; top: 18px; right: 18px; color: #9b9f9b; font-size: .7rem; font-weight: 800; }
.mini-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 4px; background: var(--ink); color: var(--lime); }
.journey-section { display: grid; grid-template-columns: .6fr 1.4fr; gap: 48px; margin-inline: calc(clamp(16px, 3vw, 44px) * -1); padding-inline: clamp(24px, 5vw, 70px); background: var(--ink); color: var(--white); }
.journey-copy { align-self: center; }
.journey-copy p:not(.eyebrow) { color: rgba(255,255,255,.63); }
.journey-flow { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.flow-step { position: relative; min-height: 280px; padding: 28px 16px; border-left: 1px solid rgba(255,255,255,.14); }
.flow-step > span { display: block; margin: 48px 0 10px; color: var(--lime); font-size: .67rem; font-weight: 900; }
.flow-step h3 { letter-spacing: .08em; }
.flow-step p { color: rgba(255,255,255,.58); font-size: .8rem; line-height: 1.5; }
.flow-step i { position: absolute; top: 40px; right: -12px; z-index: 2; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); }
.flow-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.catalog-section { border-bottom: 1px solid var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image { min-height: 230px; background-color: #f1f1ef; }
.catalog-art { background-image: url('./assets/footwear-catalog-grid.png'); background-repeat: no-repeat; background-size: 300% 200%; }
.catalog-art-2 { background-image: url('./assets/footwear-catalog-grid-2.png'); background-repeat: no-repeat; background-size: 300% 200%; }
.art-0-0 { background-position: 0% 0%; }
.art-1-0 { background-position: 50% 0%; }
.art-2-0 { background-position: 100% 0%; }
.art-0-1 { background-position: 0% 100%; }
.art-1-1 { background-position: 50% 100%; }
.art-2-1 { background-position: 100% 100%; }
.product-body { padding: 18px; }
.product-meta, .product-footer, .fit-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-meta { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-body h3 { margin-top: 12px; font-size: 1.14rem; }
.product-use { margin-bottom: 13px; font-size: .82rem; }
.fit-chip { padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #404541; font-size: .71rem; font-weight: 800; }
.fit-chip span { display: inline-flex; align-items: center; gap: 5px; }
.product-footer { margin-top: 15px; }
.price { margin: 0; font-size: 1.25rem; font-weight: 900; }
.product-footer .actions { gap: 6px; }
.retailer-band { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 120px); margin-top: 85px; padding: clamp(40px, 6vw, 84px); background: var(--blue); color: var(--white); }
.retailer-copy { align-self: center; }
.retailer-copy p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.retailer-preview { padding: 28px; border: 1px solid rgba(255,255,255,.25); background: #173dcc; box-shadow: 18px 18px 0 rgba(17,19,18,.18); }
.preview-head, .demand-row { display: flex; justify-content: space-between; gap: 16px; }
.preview-head { margin-bottom: 30px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.2); }
.preview-head span, .demand-row { color: rgba(255,255,255,.7); font-size: .77rem; }
.demand-row b { color: var(--lime); }
.meter { height: 7px; margin: 8px 0 22px; background: rgba(255,255,255,.13); }
.meter i { display: block; height: 100%; background: var(--lime); }
.stock-alert { display: flex; gap: 12px; align-items: center; margin-top: 30px; padding: 14px; background: var(--white); color: var(--ink); }
.stock-alert > span { display: grid; width: 38px; height: 38px; place-items: center; background: var(--soft-red); color: var(--red); }
.stock-alert small { color: var(--muted); }
.closing-cta { max-width: 850px; margin: 0 auto; padding: clamp(90px, 12vw, 160px) 20px; text-align: center; }
.closing-cta p:not(.eyebrow) { max-width: 600px; margin-inline: auto; color: var(--muted); }
.closing-cta .hero-actions { justify-content: center; }
.page-title { padding: 58px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.page-title h1 { max-width: 980px; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
.filters { position: sticky; top: 86px; align-self: start; }
.result-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.card, .panel, .metric, .table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.card, .panel { padding: 20px; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.metric { padding: 20px; border-top: 3px solid var(--blue); }
.metric:nth-child(2n) { border-top-color: var(--red); }
.metric:nth-child(3n) { border-top-color: var(--lime-dark); }
.metric b { display: block; margin-bottom: 6px; font-size: 1.55rem; }
.metric span { color: var(--muted); font-size: .82rem; }
.field { display: grid; gap: 7px; margin-bottom: 13px; }
.field label { color: #4f544f; font-size: .77rem; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 4px; outline: none; background: var(--white); color: var(--ink); }
textarea { min-height: 94px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52,93,255,.12); }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 4px 8px; border-radius: 3px; background: var(--soft-blue); color: #2342b8; font-size: .72rem; font-weight: 850; }
.badge.alert { background: var(--soft-red); color: #b32c1e; }
.detail { display: grid; grid-template-columns: minmax(0,.95fr) minmax(380px,1.05fr); gap: clamp(30px, 5vw, 70px); }
.gallery { position: sticky; top: 88px; align-self: start; }
.gallery .product-image { min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.size { display: grid; min-width: 50px; min-height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: .8rem; font-weight: 850; }
.list { display: grid; gap: 0; padding: 0; list-style: none; }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li span { color: var(--muted); }
.summary { display: grid; gap: 11px; padding: 15px; background: var(--paper); }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.table-wrap { overflow: auto; }
table { width: 100%; min-width: 720px; border-collapse: collapse; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f0f1ec; color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.chart { display: flex; align-items: end; gap: 10px; height: 190px; padding: 18px; background: #f0f1ec; }
.bar { flex: 1; min-width: 24px; border-radius: 3px 3px 0 0; background: var(--blue); }
.tryon-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.65fr); gap: 22px; }
.foot-preview { min-height: 500px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e8e9e4; background-position: center; background-size: cover; }
.foot { position: relative; width: 72%; aspect-ratio: 1.3; }
.foot .shoe { display: none; }
.camera-guide { display: grid; max-width: 310px; gap: 8px; padding: 28px; place-items: center; border: 1px dashed #9ca19b; background: rgba(255,255,255,.74); text-align: center; backdrop-filter: blur(10px); }
.camera-guide > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); }
.camera-guide small { color: var(--muted); line-height: 1.5; }
.foot-preview.has-photo .camera-guide { align-self: end; width: calc(100% - 32px); max-width: none; margin: 16px; border: 0; }
.capture-panel { margin-bottom: 24px; padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.capture-panel ol { padding-left: 20px; color: var(--muted); font-size: .85rem; line-height: 1.75; }
.capture-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.privacy-note { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: var(--muted); font-size: .72rem; }
.difference-section { border-top: 1px solid var(--line); }
.difference-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.difference-grid article { min-height: 250px; padding: 24px; border-right: 1px solid var(--line); }
.difference-grid article:last-child { border-right: 0; }
.difference-grid strong { color: var(--blue); font-size: .75rem; }
.difference-grid h3 { margin-top: 70px; font-size: 1.25rem; }
.difference-grid p { color: var(--muted); font-size: .9rem; }
.about-band { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px,7vw,110px); margin-inline: calc(clamp(16px, 3vw, 44px) * -1); padding-inline: clamp(24px,6vw,90px); background: var(--ink); color: var(--white); }
.about-story { align-self: center; }
.about-story p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.67); }
.founder-card { align-self: center; padding: 30px; background: var(--white); color: var(--ink); box-shadow: 16px 16px 0 var(--lime); }
.founder-card p { color: var(--muted); }
.founder-monogram { display: grid; width: 72px; height: 72px; margin-bottom: 40px; place-items: center; background: var(--blue); color: var(--white); font-size: 1.5rem; font-weight: 900; }
.founder-card h3 { font-size: 1.65rem; }
.founder-role { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--blue) !important; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.journal-section { border-bottom: 1px solid var(--line); }
.story-card { display: flex; min-height: 330px; padding: 24px; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.story-card:nth-child(2) { background: var(--soft-red); }
.story-card:nth-child(3) { background: var(--soft-blue); }
.story-card > span { color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.story-card h3 { margin-top: 52px; font-size: 1.35rem; }
.story-card p { color: var(--muted); font-size: .87rem; }
.story-card .text-link { margin-top: auto; }
.auth-shell { display: grid; grid-template-columns: minmax(0,.9fr) minmax(430px,.75fr); min-height: calc(100vh - 150px); margin: 24px 0; background: var(--ink); }
.auth-story { display: flex; padding: clamp(42px,7vw,100px); flex-direction: column; justify-content: center; color: var(--white); }
.auth-story h1 { max-width: 650px; font-size: clamp(3rem,6vw,5.6rem); }
.auth-story > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.65); }
.auth-points { display: grid; gap: 12px; margin-top: 30px; }
.auth-points span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.8); font-size: .82rem; }
.auth-points .icon { color: var(--lime); }
.auth-panel { margin: 18px; padding: clamp(24px,4vw,48px); background: var(--white); }
.auth-panel h2 { font-size: clamp(2rem,4vw,3.2rem); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 36px; padding: 3px; background: var(--paper); }
.auth-tabs button { min-height: 40px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.auth-tabs button.active { background: var(--ink); color: var(--white); }
.social-auth { display: grid; gap: 8px; }
.social-auth button { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 800; }
.social-auth button:hover { border-color: var(--ink); }
.social-auth span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .75rem; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: .7rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.consent { display: flex; gap: 8px; align-items: start; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.consent input { width: 16px; min-height: 16px; margin-top: 2px; }
.forgot-link { display: block; margin: -4px 0 14px; color: var(--blue); font-size: .78rem; font-weight: 800; text-align: right; }
.auth-submit { width: 100%; margin-top: 18px; }
.auth-note { margin: 18px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }
.account-welcome { display: grid; min-height: calc(100vh - 150px); place-items: center; text-align: center; }
.account-welcome > div { max-width: 850px; }
.account-welcome .hero-actions { justify-content: center; }
.success-mark { display: grid; width: 76px; height: 76px; margin: 0 auto 24px; place-items: center; border-radius: 50%; background: var(--lime); font-size: 1.8rem; }
.story-page { max-width: 1000px; margin: 0 auto; padding: 70px 0; }
.story-page header { padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.story-page header .text-link { margin-bottom: 60px; }
.story-page header .text-link .icon { transform: rotate(180deg); }
.story-page header h1 { font-size: clamp(3rem,7vw,6.7rem); }
.story-body section { display: grid; grid-template-columns: 70px .7fr 1fr; gap: 30px; padding: 70px 0; border-bottom: 1px solid var(--line); }
.story-body section > span { color: var(--blue); font-size: .72rem; font-weight: 900; }
.story-body section h2 { font-size: clamp(1.8rem,3vw,3rem); }
.story-body section p { color: var(--muted); font-size: 1.05rem; }
.story-page aside { margin-top: 70px; padding: 34px; background: var(--ink); color: var(--white); }
.story-page aside p { max-width: 680px; color: rgba(255,255,255,.68); }
.confirmation { display: grid; min-height: 350px; place-items: center; text-align: center; }
.empty { padding: 30px; border: 1px dashed #afb3ad; background: rgba(255,255,255,.55); color: var(--muted); }
.reveal { animation: rise .65s ease both; animation-delay: var(--delay, 0ms); }
.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; max-width: var(--max); margin: 0 auto; padding: 34px clamp(18px,3vw,48px); border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer p { margin: 0; text-align: center; }
.footer-brand { color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 1120px) {
  .topbar { grid-template-columns: auto 1fr; }
  .nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; border-top: 1px solid var(--line); }
  .role-switch { justify-self: end; }
  .hero { min-height: 760px; }
  .hero-copy { max-width: 640px; }
  .feature-grid, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .journey-section { grid-template-columns: 1fr; }
  .journey-copy { max-width: 700px; }
  .retailer-band { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { min-height: 580px; }
}
@media (max-width: 780px) {
  .brand small { display: none; }
  .nav a { flex: 0 0 auto; }
  main { padding-inline: 12px; }
  .hero { min-height: 800px; margin-top: 10px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(11,13,12,.87) 0%, rgba(11,13,12,.72) 56%, rgba(11,13,12,.45) 100%); }
  .hero-copy { padding: 52px 22px 250px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .fit-console { right: 18px; bottom: 112px; left: 18px; width: auto; }
  .hero-proof div { min-height: 78px; padding: 10px; flex-direction: column; align-items: flex-start; gap: 3px; }
  .hero-proof strong { font-size: 1.3rem; }
  .hero-proof span { font-size: .63rem; }
  .statement-grid, .layout, .detail, .tryon-stage { grid-template-columns: 1fr; }
  .section-head { display: grid; align-items: start; }
  .section-head > p { max-width: 680px; }
  .journey-section { margin-inline: -12px; }
  .journey-flow { grid-template-columns: repeat(2,1fr); }
  .flow-step:nth-child(3), .flow-step:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .flow-step i { display: none; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .catalog-section .grid.cols-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters, .gallery { position: static; }
  .gallery .product-image { min-height: 410px; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer .brand { justify-content: center; }
  .difference-grid, .about-band { grid-template-columns: 1fr; }
  .difference-grid article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .difference-grid h3 { margin-top: 45px; }
  .about-band { margin-inline: -12px; }
  .auth-shell { margin-inline: -12px; }
  .auth-story { min-height: 520px; padding: 46px 24px; }
  .auth-panel { margin: 10px; }
  .story-body section { grid-template-columns: 45px 1fr; }
  .story-body section p { grid-column: 2; }
}
@media (max-width: 520px) {
  .topbar { gap: 8px; padding: 8px 12px; }
  .role-switch button { padding-inline: 7px; font-size: .68rem; }
  .nav { margin-inline: -12px; padding: 4px 12px 0; }
  .nav a { min-height: 34px; padding: 6px 8px; font-size: .72rem; }
  .nav a .icon { display: none; }
  .hero { min-height: 840px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof span { display: none; }
  .hero-proof div { justify-content: center; align-items: center; }
  .problem-band { padding-inline: 4px; }
  .feature-grid, .grid.cols-4, .catalog-section .grid.cols-3 { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .journey-flow { grid-template-columns: 1fr; }
  .flow-step { min-height: 210px; border-top: 1px solid rgba(255,255,255,.14); }
  .flow-step > span { margin-top: 28px; }
  .retailer-band { margin-top: 40px; padding: 28px 18px; }
  .retailer-preview { padding: 18px; box-shadow: 9px 9px 0 rgba(17,19,18,.18); }
  .product-image { min-height: 240px; }
  .fit-score strong { font-size: 3.9rem; }
  .capture-actions .btn { width: 100%; }
  .founder-card { box-shadow: 8px 8px 0 var(--lime); }
  .auth-story { min-height: 480px; }
  .auth-story h1 { font-size: 3.1rem; }
  .auth-panel { padding: 24px 18px; }
  .story-page { padding-top: 38px; }
  .story-page header .text-link { margin-bottom: 38px; }
  .story-body section { grid-template-columns: 1fr; gap: 12px; padding: 44px 0; }
  .story-body section p { grid-column: 1; }
}
