@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b0b0d; --ink-2: #141318; --paper: #f4f2fb; --card: #ffffff; --line: #e4e0d7; --muted: #5d5a63;
  --brand: #b3a4f0; --brand-ink: #0b0b0d; --accent: #b3a4f0; --ok: #1f7a4d; --warn: #9a5b00; --bad: #b3261e;
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(20,19,24,.45);
  --head: 'Big Shoulders Display', 'Arial Narrow', sans-serif; --body: 'Figtree', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* pages with a fixed bottom save bar: keep focused fields above it */
html:has(.savebar) { scroll-padding-bottom: 120px; }
html:has(.savebar) body { padding-bottom: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: .95; letter-spacing: .005em; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 7vw, 92px); } h2 { font-size: clamp(32px, 4.4vw, 54px); } h3 { font-size: 26px; }
p { margin: 0 0 1em; } a { color: inherit; }
img, canvas { max-width: 100%; display: block; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons: clearly rounded */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: none; }
.btn.alt { background: transparent; color: var(--ink); }
.btn.brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
:focus-visible { outline: 3px solid #2f6fed; outline-offset: 3px; border-radius: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(244,242,251,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.mark { font: 900 24px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }

/* depth */
.pattern-dots { background-image: radial-gradient(rgba(11,11,13,.08) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.pattern-stripes { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card.lift { box-shadow: var(--shadow); }

/* forms: designed, never default */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: 500 17px var(--body); padding: 14px 16px; border-radius: var(--r-sm); border: 2px solid #8a8794; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(179,164,240,.45); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.drop { position: relative; display: grid; place-items: center; gap: 8px; text-align: center; min-height: 190px; padding: 22px; border: 2.5px dashed #c9c3b6; border-radius: var(--r); background: #fbfaf7; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:focus-within { outline: 3px solid #2f6fed; outline-offset: 3px; border-color: var(--ink); background: #fff; }
.drop:hover, .drop.over { border-color: var(--ink); background: #fff; }
.drop strong { font-size: 19px; }

/* chips + swatches */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(0,0,0,.18); cursor: pointer; padding: 0; position: relative; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }

/* product tiles */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tile { display: flex; flex-direction: column; overflow: hidden; }
.tile .shot { background: #eceae4; aspect-ratio: 1; }
.tile .shot canvas { width: 100%; height: 100%; }
.tile .body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.tile .body .push { margin-top: auto; }
.tile .name { font-weight: 700; font-size: 18px; }
.tag { display: inline-block; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: #efece5; color: var(--ink); }
.tag.ok { background: #dff3e8; color: var(--ok); } .tag.warn { background: #fdf0d9; color: var(--warn); } .tag.bad { background: #fbe1df; color: var(--bad); }

.notice { padding: 14px 18px; border-radius: var(--r-sm); background: #fdf0d9; color: #4a2c00; font-size: 15px; }
.notice.ok { background: #dff3e8; color: #0f3d27; } .notice.bad { background: #fbe1df; color: #5a1410; } .notice.info { background: #ece8fb; color: #2a2150; }

/* steps checklist */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 18px; }
.steps .dot { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); flex: none; display: grid; place-items: center; font-size: 15px; }
.steps li.run .dot { border-color: var(--brand); border-top-color: var(--ink); animation: spin 1s linear infinite; }
.steps li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps .t { margin-left: auto; font: 600 15px var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { animation: rise .6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
footer.foot { padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
[hidden] { display: none !important; }

@media (max-width: 560px) { .top .hide-sm { display: none; } }

.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: #0b0b0d; color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* coach app header (editor, marketing kit): Phantom dark with page tabs */
.top.app { background: #09090b; color: #fff; border-bottom: 1px solid #26252c; }
.top.app .mark { color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.top.app .mark::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: #b3a4f0; box-shadow: 0 0 0 4px rgba(179,164,240,.22); }
.top.app .tabs { display: flex; align-items: center; gap: 4px; }
.top.app .tabs a { position: relative; color: #c4c3cc; font-weight: 700; font-size: 15px; text-decoration: none; padding: 12px 14px; border-radius: 10px; white-space: nowrap; }
.top.app .tabs a:hover { color: #fff; background: #1a1920; }
.top.app .tabs a[aria-current="page"] { color: #fff; background: #1a1920; }
.top.app .tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 3px; background: #b3a4f0; }
.top.app .tabs a.out { margin-left: 8px; background: #b3a4f0; color: #0b0b0d; }
.top.app .tabs a.out:hover { background: #c9bef5; }
@media (max-width: 640px) { .top.app .mark span { display: none; } .top.app .tabs a { padding: 10px 9px; font-size: 14px; } }
@media (max-width: 1100px) { .top.app .mark span { display: none; } .top.app .tabs a { padding: 10px 10px; font-size: 14px; } }
@media (max-width: 860px) { .top.app .wrap { height: auto; min-height: 64px; padding: 8px 0; flex-wrap: wrap; justify-content: center; gap: 4px; } .top.app .tabs { flex-wrap: wrap; justify-content: center; row-gap: 2px; } }
@media (max-width: 400px) { .top.app .mark { display: none; } .top.app .wrap { justify-content: center; } .top.app .tabs { gap: 0; } .top.app .tabs a { padding: 10px 7px; font-size: 13px; } .top.app .tabs a.out { margin-left: 4px; } }
