/* home */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.hero-top h1 { max-width: 26ch; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.02; font-stretch: 108%; }
.kicker { margin: 0 0 14px; font-size: 1.05rem; color: var(--ink-2); display: flex; align-items: baseline; gap: 10px; }
.kicker strong { font-stretch: 125%; font-weight: 800; color: var(--ink); background: var(--signal); padding: 2px 8px; border: 2px solid var(--ink); }
.hero-side .lede { margin-bottom: 20px; }
h2 + .lede, h2 + p { margin-top: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } .hero-top h1 { max-width: 22ch; } }
@media (max-width: 420px) { .cta-row .btn { white-space: normal; text-align: center; width: 100%; } }

.instrument { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .instrument { grid-template-columns: minmax(0, 1fr); } }
.film-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); background: var(--film); }
.film { width: 100%; aspect-ratio: 16 / 9.4; }
.film-btn { position: absolute; right: 10px; bottom: 10px; }
.instrument-side { display: flex; flex-direction: column; gap: 16px; }
.sliders { display: grid; gap: 12px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.slider label span { white-space: nowrap; }
.slider output { font-size: 1.25rem; }
.instrument-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.outs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; margin: 0; border-top: 2px solid var(--ink); }
@media (max-width: 640px) { .outs { grid-template-columns: 1fr 1fr; } }
.outs > div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.outs dt { font-size: 0.8rem; color: var(--ink-2); font-weight: 600; }
.outs dd { margin: 0; font-size: 0.95rem; }
.outs dd .num { font-size: 1.7rem; line-height: 1.1; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 28px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-stretch: 80%; font-size: 1.1rem; background: var(--paper); }
.steps li:first-child::before { background: var(--signal); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--rule); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); }
.sample-fig { margin: 0; }
.sample-card { width: min(100%, 380px); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 18px; overflow: hidden; border: 2px solid var(--ink); background: var(--film); }
.sample-canvas { width: 100%; height: 100%; }
.sample-fig figcaption { text-align: center; margin-top: 10px; }

.sports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 2px solid var(--ink); }
.sport { padding: 20px 20px 8px 0; }
.sport + .sport { padding-left: 20px; border-left: 1px solid var(--rule); }
.sport ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-2); }
.sport li { margin-bottom: 6px; }
@media (max-width: 900px) { .sports { grid-template-columns: 1fr 1fr; } .sport:nth-child(3) { padding-left: 0; border-left: 0; } .sport:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .sports { grid-template-columns: 1fr; } .sport + .sport { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

.labels { margin: 0; }
.labels > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.labels > div:first-child { border-top: 2px solid var(--ink); }
.labels dd { margin: 0; color: var(--ink-2); }
@media (max-width: 480px) { .labels > div { grid-template-columns: 1fr; gap: 6px; } }

.coach-cta { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.coach-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* method */
.page-head { padding-block: clamp(32px, 6vw, 72px) clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; }
.page-head .lede { margin-top: 16px; }
.method-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: 40px 80px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: 0.92rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.toc a { display: block; padding: 6px 12px; text-decoration: none; color: var(--ink-2); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--signal); }
@media (max-width: 860px) { .method-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }
.method-layout .prose h2:first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 88px; }

/* book */
.book-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr); gap: clamp(24px, 5vw, 64px); padding-block: 40px 80px; align-items: start; }
@media (max-width: 900px) { .book-layout { grid-template-columns: minmax(0, 1fr); } }
.form-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; padding: 0; }
.choices { display: grid; gap: 8px; }
.choices.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choices.two { grid-template-columns: 1fr; } }
#from-lab { margin-bottom: 20px; }
.analysis-box { background: var(--chalk); border-radius: var(--radius-s); padding: 12px 14px; font-size: 0.88rem; white-space: pre-wrap; max-height: 220px; overflow: auto; margin-top: 6px; border: 1px solid var(--rule); }
.aside-list { padding-left: 1.1em; color: var(--ink-2); }
.aside-list li { margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; background: #fffbe0; }

/* leads */
.leads-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 24px 0; }
.leads-bar .field { margin: 0; min-width: 240px; }
.lead { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.lead header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.lead h3 { font-size: 1.1rem; }
.lead dl { display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; margin: 0; font-size: 0.92rem; }
.lead dt { color: var(--ink-3); }
.lead dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .lead dl { grid-template-columns: 1fr; } .lead dt { margin-top: 6px; } }

/* pricing */
.price-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr); gap: clamp(24px, 5vw, 56px); padding-block: 40px 80px; align-items: start; }
@media (max-width: 900px) { .price-layout { grid-template-columns: minmax(0, 1fr); } .acct { order: -1; } }
.price-main > * + * { margin-top: 40px; }
.plan { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; background: var(--signal); border-bottom: 2px solid var(--ink); padding: 16px 20px; }
.plan-top h2 { font-size: 1.5rem; }
.plan-price { margin: 0; font-weight: 600; }
.plan-price .num { font-size: 2.6rem; line-height: 1; }
.plan-list { margin: 0; padding: 18px 20px 4px 40px; }
.plan-list li { margin-bottom: 10px; color: var(--ink-2); }
.plan-list strong { color: var(--ink); }
.plan-cta { padding: 8px 20px 20px; }
.plan-cta p { margin-bottom: 10px; }
.packs-sec h2, .faq h2 { font-size: 1.6rem; margin-bottom: 6px; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr; } }
.pack { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 16px; }
.pack h3 { font-size: 1.05rem; }
.pack-price { font-size: 2rem; margin: 6px 0 0; line-height: 1.1; }
.pack .small { margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; color: var(--ink-2); }
.acct { border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; position: sticky; top: 88px; }
@media (max-width: 900px) { .acct { position: static; } }
.acct h2 { font-size: 1.3rem; margin-bottom: 12px; }
.credit-big { margin: 6px 0 10px; font-weight: 600; }
.credit-big .num { font-size: 3rem; line-height: 1; margin-right: 6px; }
.credit-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; border-top: 1px solid var(--rule); padding-top: 10px; }
.credit-split dt { font-size: 0.75rem; color: var(--ink-3); }
.credit-split dd { margin: 0; font-size: 1.2rem; }
.hist { list-style: none; padding: 0; margin: 6px 0 0; font-size: 0.86rem; }
.hist li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.signin .btn { margin-top: 4px; }

/* lab gate */
.gate { text-align: left; max-width: 520px; }
.gate .btn-row { justify-content: flex-start; }
.price-main section { padding-block: 0; }

/* examples */
.ex-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 900px) {
  .ex-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .ex-strip .ex-card { flex: 0 0 62%; scroll-snap-align: start; }
}
.ex-card h3 { margin-top: 10px; font-size: 1.05rem; }
.ex-card p { margin: 2px 0 0; }
.ex-player { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); background: var(--film); }
.ex-player img, .ex-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-player video { object-fit: contain; background: var(--film); }
.ex-play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.ex-play span { width: 64px; height: 64px; border-radius: 50%; background: var(--signal); border: 2px solid var(--ink); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,0.35); }
.ex-play span::before { content: ''; margin-left: 5px; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.ex-play:hover span { background: var(--signal-press); }
.ex-play:focus-visible { box-shadow: inset 0 0 0 4px var(--signal); outline: none; }
.ex-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 20px; }
.ex-foot .small { margin: 0; }
.ex-disclaim { font-size: 0.8rem; color: var(--ink-3); }

.ex-list { display: grid; gap: clamp(32px, 5vw, 56px); padding-block: 40px 80px; }
.ex-full { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--rule); scroll-margin-top: 88px; }
.ex-full:last-child { border-bottom: 0; }
@media (max-width: 700px) { .ex-full { grid-template-columns: minmax(0, 1fr); } .ex-full .ex-player { max-width: 360px; } }
.ex-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ex-line { color: var(--ink-2); font-weight: 600; margin: 6px 0 14px; }
.ex-feats { list-style: none; padding: 0; margin: 16px 0; border-top: 2px solid var(--ink); }
.ex-feats li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ex-tag { font-size: 0.68rem; font-weight: 800; font-stretch: 90%; letter-spacing: 0.03em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; border: 1.5px solid var(--ink); background: var(--signal); justify-self: start; white-space: nowrap; }
.ex-feats li.dfy .ex-tag { background: var(--paper); border-style: dashed; }
.ex-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 0.9rem; color: var(--ink-2); }
.ex-legend span { display: inline-flex; gap: 8px; align-items: center; }
.ex-strip-tight { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ex-strip-tight .ex-card h3 { font-size: 0.9rem; }
.ex-strip-tight .ex-card p { display: none; }
.ex-strip-tight .ex-play span { width: 44px; height: 44px; }
.ex-strip-tight .ex-play span::before { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
@media (max-width: 900px) { .ex-strip-tight .ex-card { flex-basis: 44%; } }


/* athletes */
.ath { padding-block: clamp(24px, 5vw, 56px) 80px; }
.ath-loading { padding: 40px 0; }
.ath-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.ath-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.ath-head .lede { margin: 12px 0 0; }
.ath-actions, .ad-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ath-note { background: #fffbe0; border-left: 4px solid var(--signal); padding: 10px 14px; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 0.92rem; max-width: none; }
.ath-form, .ath-card-box { border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(16px, 3vw, 24px); margin-bottom: 28px; max-width: 760px; background: var(--paper); }
.ath-form h2, .ath-card-box h2 { font-size: 1.4rem; margin-bottom: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ath-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.ath-tools input[type=search] { flex: 1 1 260px; max-width: 420px; font: inherit; font-size: 1rem; border: 1.5px solid #9a9b96; border-radius: var(--radius-s); padding: 10px 12px; background: var(--paper); color: var(--ink); }
.ath-tools select { width: auto; margin-top: 0; }
.ath-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ath-card { display: block; height: 100%; text-decoration: none; border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; background: var(--paper); transition: border-color 120ms; }
.ath-card:hover { border-color: var(--ink); }
.ac-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ac-top h2 { font-size: 1.3rem; }
.ac-flag { flex: none; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--signal); border: 1.5px solid var(--ink); white-space: nowrap; }
.ac-meta { color: var(--ink-2); font-size: 0.9rem; margin: 6px 0 8px; }
.ac-last { font-size: 0.85rem; color: var(--ink-3); margin: 0 0 6px; }
.ac-nums { font-size: 0.95rem; margin: 0; font-weight: 500; font-stretch: 90%; }
.ath-empty { border: 1.5px dashed #9a9b96; border-radius: var(--radius); padding: 28px; margin: 12px 0 28px; max-width: 760px; }
.ath-empty h2 { font-size: 1.5rem; margin-bottom: 8px; }
.crumb { margin: 0 0 10px; font-size: 0.92rem; font-weight: 600; }
.ad-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.ad-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.ad-meta { color: var(--ink-2); margin: 10px 0 0; }
.ad-notes { font-size: 0.92rem; margin: 6px 0 0; color: var(--ink-2); }
.ad-sec { padding-block: 24px 28px; border-bottom: 1px solid var(--rule); }
.ad-sec > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.ad-sec > h2 .muted { font-size: 0.6em; font-weight: 600; }
.danger-zone { border-bottom: 0; }
.danger-zone h2 { font-size: 1.1rem !important; }
.fx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; margin-top: 12px; }
.fx { border: 1.5px solid var(--ink-3); border-radius: var(--radius-s); padding: 12px 14px; }
.fx.k-fix { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--signal); }
.fx header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.fx h3 { font-size: 1.05rem; }
.fx p { margin: 4px 0; }
.ptag { flex: none; font-size: 0.66rem; font-weight: 800; font-stretch: 90%; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; border: 1.5px solid var(--ink); }
.fx.k-fix .ptag { background: var(--signal); }
.fx.k-check .ptag { border-style: dashed; }
.rtag { font-size: 0.7rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.rtag.one { background: var(--chalk-2); color: var(--ink-2); }
.drills { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.drills li { padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 0.86rem; color: var(--ink-2); }
.drills li strong { color: var(--ink); }
.drills .dose { font-size: 0.78rem; color: var(--ink-3); }
.fx-fixed { margin-top: 16px; }
.fx-fixed h3 { font-size: 1rem; margin-bottom: 6px; }
.fx-fixed ul { margin: 0; padding-left: 18px; font-size: 0.92rem; }
.goal-list { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 8px; max-width: 760px; }
.goal-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; border: 1.5px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px; }
.goal-list li > div:nth-child(2) { grid-column: 1; }
.goal-list li .g-del { grid-row: 1 / span 2; grid-column: 2; }
.goal-list li.done { border-color: var(--ink); background: #fffbe0; }
.goal-form { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: flex-end; max-width: 760px; }
.goal-form .field { margin-bottom: 0; flex: 1 1 200px; }
.goal-form .btn { margin-bottom: 1px; }
.goal-form .err { flex-basis: 100%; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.tab { font: inherit; font-weight: 700; font-size: 0.9rem; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--paper); cursor: pointer; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab[aria-selected="true"] .muted { color: #c9c9c9; }
.best-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; margin: 0 0 18px; }
.best-tiles > div { border: 1.5px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px; }
.best-tiles dt { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.best-tiles dd { margin: 0; }
.best-tiles .big { font-size: 1.9rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; margin-bottom: 10px; }
.mchart { margin: 0; border: 1.5px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px 6px; }
.mchart:focus-visible { border-color: var(--ink); }
.mchart figcaption { font-size: 0.9rem; margin-bottom: 4px; }
.mchart figcaption .muted { font-size: 0.8rem; }
.mc-plot { position: relative; touch-action: pan-y; }
.mc-plot svg { width: 100%; height: auto; overflow: visible; }
.mc-plot .grid { stroke: var(--chalk-2); stroke-width: 1; }
.mc-plot .tick { font-size: 10.5px; fill: var(--ink-3); font-family: var(--sans); font-variant-numeric: tabular-nums; }
.mc-plot .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mc-plot .dot { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.mc-plot .dot.last { fill: var(--signal); stroke: var(--ink); stroke-width: 2; }
.mc-plot .end { font-size: 12px; font-weight: 700; fill: var(--ink); font-family: var(--sans); }
.mc-plot .goal { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 3; }
.mc-plot .goal-t { font-size: 10.5px; fill: var(--ink-2); font-weight: 700; font-family: var(--sans); }
.mc-plot .xhair { stroke: var(--ink-3); stroke-width: 1; }
.mc-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); font-size: 0.8rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.mc-table summary { cursor: pointer; color: var(--ink-3); margin-top: 2px; }
.mc-table table { margin: 6px 0; font-size: 0.85rem; }
.table-wrap { overflow-x: auto; }
.sess-table td { vertical-align: top; }
.sess-table .nowrap { white-space: nowrap; }
.fcount { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; border: 1.5px solid var(--ink-3); margin: 0 4px 4px 0; white-space: nowrap; }
.fcount.fix { background: var(--signal); border-color: var(--ink); }
.s-detail td { background: var(--chalk); }
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 24px; padding: 6px 0; }
.s-grid h4 { font-size: 0.9rem; margin-bottom: 6px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 6px; font-size: 0.88rem; }
.kind { font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 5px; border-radius: 4px; border: 1.5px solid var(--ink); margin-right: 4px; }
.kind.k-fix { background: var(--signal); }
.kind.k-good { background: var(--ink); color: var(--paper); }
@media (max-width: 560px) {
  .sess-table thead { display: none; }
  .sess-table tr[data-id] { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .sess-table tr[data-id] td { border: 0; padding: 4px 6px; }
  .sess-table tr[data-id] td:last-child { grid-column: 1 / -1; }
  .sess-table tr.s-detail td { display: block; }
}

/* method: rules and drill library */
.table-scroll { overflow-x: auto; margin: 12px 0 4px; }
table.rules { font-size: 0.86rem; }
@media (max-width: 700px) { table.rules { min-width: 640px; } }
table.rules td:first-child { min-width: 190px; }
.rkind { display: inline-block; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 5px; border-radius: 4px; border: 1.5px solid var(--ink); margin-right: 2px; vertical-align: 1px; }
.rkind.k-fix { background: var(--signal); }
.rkind.k-check { border-style: dashed; }
.drill-area { font-size: 1.1rem; margin: 22px 0 8px; }
.drill-lib { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.drill-lib li { border: 1.5px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px; }
.drill-lib .dose { font-size: 0.8rem; color: var(--ink-3); }
.drill-lib p { font-size: 0.9rem; margin: 4px 0 6px; color: var(--ink-2); }

/* pricing: join flow */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.cta-alt { margin-top: 10px; }
.cta-signin { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); max-width: 420px; }

/* tutorial */
.tut-head h1 { max-width: 22ch; }
.tut-video { margin: clamp(20px, 3vw, 32px) 0 0; max-width: 980px; }
.tut-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--film); }
.tut-video figcaption { margin-top: 8px; }
.tut-cta { margin: 18px 0 0; }
.tut h3 { scroll-margin-top: 88px; margin: 1.8em 0 0.5em; }
.tut-need { padding-left: 1.2em; }
.tut-need li { margin-bottom: 8px; }
.tut-shot { margin: 18px 0 22px; }
.tut-shot img { width: 100%; height: auto; border: 1.5px solid var(--ink); border-radius: var(--radius-s); background: var(--chalk); }
.tut-shot figcaption { margin-top: 6px; }
.tut-tip { background: var(--chalk); border-radius: var(--radius-s); padding: 12px 16px; font-size: 0.95rem; }
.tut kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 5px; font: 700 0.82rem/1.4 var(--sans); text-align: center; background: var(--paper); }
.tut-keys { border-collapse: collapse; width: 100%; max-width: 560px; margin: 8px 0; }
.tut-keys th, .tut-keys td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tut-keys th { font-size: 0.85rem; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.tut-keys td:first-child { white-space: nowrap; width: 1%; }
.tut-faq dt { font-weight: 700; margin-top: 16px; }
.tut-faq dd { margin: 4px 0 0; color: var(--ink-2); }
.tut-end { margin-top: 48px; }
.tut-end h2 { margin-top: 0; }
.tut-narrow { max-width: 460px; }

/* home tutorial */
.home-tut .tut-video { margin-top: clamp(20px, 3vw, 32px); }
.home-join { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 980px; }
.btn.big { font-size: 1.15rem; padding: 16px 26px; }
@media (max-width: 600px) { .home-join .btn.big { width: 100%; } }

/* grand opening */
.go-banner { margin: 0; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius-s); background: #fffbe0; font-weight: 600; font-size: 0.98rem; }
.plan-go { margin: 14px 20px 0; }
.plan-price .was { color: var(--ink-3); font-weight: 500; margin-right: 4px; }
.home-join .go-banner { max-width: 640px; }
