:root {
    --ath-bg: #f3f6ef;
    --ath-ink: #14231d;
    --ath-muted: #586a62;
    --ath-line: #dbe4da;
    --ath-panel: #fbfcf8;
    --ath-panel-soft: #eef5ee;
    --ath-primary: #176d58;
    --ath-primary-dark: #0f4f41;
    --ath-accent: #d9a441;
    --ath-blue: #1e6472;
    --ath-shadow: 0 22px 70px rgba(18, 35, 29, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.athleticore-body {
    margin: 0;
    min-width: 320px;
    background: var(--ath-bg);
    color: var(--ath-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.athleticore-body a,
.athleticore-body button {
    cursor: pointer;
}

.athleticore-site {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #f7f8f1 0%, #eef5f0 58%, #f2f5f0 100%);
}

.athleticore-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.athleticore-nav {
    position: fixed;
    z-index: 20;
    top: 18px;
    left: 50%;
    width: min(1160px, calc(100% - 32px));
    min-height: 68px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(219, 228, 218, 0.88);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 40px rgba(18, 35, 29, 0.08);
    backdrop-filter: blur(16px);
}

.athleticore-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ath-ink);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.athleticore-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    background: #e9f2ea;
    color: var(--ath-primary);
}

.athleticore-mark svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.athleticore-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.athleticore-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.athleticore-nav-links a {
    color: #405149;
    font-weight: 700;
    text-decoration: none;
}

.athleticore-nav-links a:hover,
.athleticore-nav-links a:focus-visible {
    color: var(--ath-primary);
}

.athleticore-button {
    border: 0;
    border-radius: 8px;
    background: var(--ath-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    font-weight: 800;
    text-decoration: none;
    transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    box-shadow: 0 12px 24px rgba(23, 109, 88, 0.18);
}

.athleticore-button:hover,
.athleticore-button:focus-visible {
    background: var(--ath-primary-dark);
    box-shadow: 0 16px 30px rgba(23, 109, 88, 0.24);
    outline: none;
}

.athleticore-button:disabled {
    cursor: wait;
    opacity: 0.68;
    box-shadow: none;
}

.athleticore-button.secondary {
    background: #e5eee7;
    color: var(--ath-ink);
    box-shadow: none;
}

.athleticore-button.secondary:hover,
.athleticore-button.secondary:focus-visible {
    background: #d8e5dc;
}

.athleticore-button.light {
    background: #ffffff;
    color: var(--ath-primary-dark);
    box-shadow: none;
}

.athleticore-button.ghost-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.athleticore-button.small {
    min-height: 44px;
    padding: 0 16px;
}

.athleticore-nav-actions .athleticore-button.secondary {
    border: 1px solid #d8e5dc;
    background: #f3f8f3;
}

.athleticore-nav-actions .athleticore-button {
    width: auto;
    white-space: nowrap;
}

.athleticore-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
}

.athleticore-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: 56px;
}

.athleticore-kicker {
    margin: 0 0 12px;
    color: var(--ath-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.athleticore-hero h1,
.athleticore-wizard-shell h1 {
    max-width: 840px;
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.athleticore-lead,
.athleticore-section-head p,
.athleticore-cta p,
.athleticore-flow p,
.athleticore-step p {
    color: var(--ath-muted);
    font-size: 18px;
    line-height: 1.7;
}

.athleticore-lead {
    max-width: 620px;
    margin: 22px 0 0;
}

.athleticore-actions,
.athleticore-wizard-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.athleticore-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin: 34px 0 0;
}

.athleticore-metrics div {
    padding: 16px;
    border: 1px solid rgba(219, 228, 218, 0.88);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
}

.athleticore-metrics dt {
    font-size: 24px;
    font-weight: 800;
}

.athleticore-metrics dd {
    margin: 4px 0 0;
    color: var(--ath-muted);
    font-weight: 700;
}

.athleticore-product-panel {
    padding: 24px;
    border: 1px solid rgba(219, 228, 218, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--ath-shadow);
}

.athleticore-mini-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 14px;
}

.athleticore-mini-board div {
    min-height: 118px;
    display: grid;
    align-content: space-between;
    padding: 14px;
    border: 1px solid #dfe8de;
    border-radius: 8px;
    background: #f8faf5;
}

.athleticore-mini-board span,
.athleticore-mini-board small,
.athleticore-schedule-head span {
    color: var(--ath-muted);
    font-size: 12px;
    font-weight: 700;
}

.athleticore-mini-board strong {
    color: var(--ath-ink);
    font-size: 28px;
    line-height: 1;
}

.athleticore-schedule-card {
    padding: 16px;
    border: 1px solid #dfe8de;
    border-radius: 8px;
    background: #ffffff;
}

.athleticore-schedule-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.athleticore-schedule-head strong {
    color: var(--ath-primary-dark);
    font-size: 12px;
}

.athleticore-schedule-grid {
    display: grid;
    grid-template-columns: 42px 1fr 1fr;
    gap: 8px;
}

.athleticore-schedule-grid span {
    height: 10px;
    border-radius: 999px;
    background: #d8e5dc;
}

.athleticore-schedule-grid i {
    min-height: 18px;
    border-radius: 5px;
    background: #d9a441;
}

.athleticore-schedule-grid i.soft {
    background: #c9ded2;
}

.athleticore-schedule-grid i.wide {
    grid-column: span 2;
}

.athleticore-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ath-line);
}

.athleticore-panel-header span,
.athleticore-panel-card p {
    color: var(--ath-muted);
    font-weight: 700;
}

.athleticore-panel-header strong {
    color: var(--ath-blue);
}

.athleticore-panel-card {
    padding: 18px;
    border-radius: 8px;
    background: #edf4ee;
}

.athleticore-panel-card p,
.athleticore-panel-card strong {
    display: block;
    margin: 0;
}

.athleticore-panel-card strong {
    margin-top: 6px;
}

.athleticore-track-panel {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid #d7e4dc;
    border-radius: 8px;
    background: #fbfcf8;
}

.athleticore-track-panel > strong {
    color: var(--ath-ink);
    font-size: 16px;
}

.athleticore-track-panel p {
    margin: 0;
    color: var(--ath-muted);
    font-size: 13px;
    line-height: 1.55;
}

.athleticore-track-panel form {
    display: grid;
    gap: 10px;
}

.athleticore-track-panel label {
    display: grid;
    gap: 5px;
    color: #405149;
    font-size: 12px;
    font-weight: 800;
}

.athleticore-track-panel input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd8cf;
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ath-ink);
    font: inherit;
    background: #ffffff;
}

.athleticore-track-panel input:focus-visible {
    outline: 3px solid rgba(217, 164, 65, 0.5);
    outline-offset: 2px;
}

.athleticore-track-panel .athleticore-button {
    width: 100%;
    min-height: 44px;
}

.athleticore-band,
.athleticore-flow,
.athleticore-cta {
    padding: 86px 0;
}

.athleticore-section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.athleticore-section-head h2,
.athleticore-flow h2,
.athleticore-cta h2,
.athleticore-step h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
    text-wrap: balance;
}

.athleticore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.athleticore-grid article {
    min-height: 240px;
    padding: 26px;
    border: 1px solid var(--ath-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 46px rgba(18, 35, 29, 0.06);
}

.athleticore-grid span {
    color: #819189;
    font-weight: 800;
}

.athleticore-grid h3 {
    margin: 58px 0 10px;
    font-size: 24px;
    letter-spacing: 0;
}

.athleticore-grid p {
    margin: 0;
    color: var(--ath-muted);
    line-height: 1.65;
}

.athleticore-flow {
    background: #ffffff;
}

.athleticore-flow-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.athleticore-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.athleticore-steps li {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--ath-line);
    border-radius: 8px;
    background: var(--ath-panel-soft);
}

.athleticore-steps strong {
    font-size: 18px;
}

.athleticore-steps span {
    color: var(--ath-muted);
}

.athleticore-cta {
    background: #17352d;
    color: #ffffff;
}

.athleticore-cta .athleticore-kicker,
.athleticore-cta p {
    color: #dcebe3;
}

.athleticore-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.athleticore-cta-inner div {
    max-width: 760px;
}

.athleticore-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.athleticore-onboarding-page {
    min-height: 100vh;
    padding: 118px 0 70px;
}

.athleticore-onboarding-stage {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 42px 24px;
    background: #e9edf2;
}

.athleticore-setup {
    width: min(1180px, 100%);
    min-height: calc(100vh - 84px);
    margin: 0 auto;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(19, 35, 45, 0.1);
    overflow: hidden;
}

.athleticore-setup[hidden],
.athleticore-completion-screen[hidden] {
    display: none;
}

.athleticore-setup-top {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 96px;
    border-bottom: 1px solid #e6ebef;
}

.athleticore-brand.compact {
    font-size: 14px;
}

.athleticore-brand.compact .athleticore-mark {
    width: 24px;
    height: 24px;
}

.athleticore-brand.compact .athleticore-mark svg {
    width: 16px;
    height: 16px;
}

.athleticore-language {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8e0e6;
    border-radius: 5px;
    padding: 0 12px;
    color: #42515d;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
}

.athleticore-setup-main {
    min-height: calc(100vh - 148px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
}

.athleticore-setup-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 60px 88px 58px;
    background: #f9fbfc;
}

.athleticore-setup-content .athleticore-step {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.athleticore-step-eyebrow {
    margin: 0 0 10px;
    color: #7c8b96;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.athleticore-setup-content .athleticore-step h1 {
    margin: 0;
    color: #17212b;
    font-size: 28px;
    line-height: 1.22;
    text-align: center;
    letter-spacing: 0;
    text-wrap: balance;
}

.athleticore-step-copy {
    max-width: 560px;
    margin: 10px auto 28px;
    color: #667582;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.athleticore-choice-grid {
    display: grid;
    gap: 16px;
}

.athleticore-choice-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.athleticore-choice-card,
.athleticore-choice-row {
    position: relative;
    border: 1px solid #dde5eb;
    border-radius: 5px;
    background: #ffffff;
    color: #25313b;
    font-family: inherit;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.athleticore-choice-card {
    min-height: 132px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 22px 14px;
    text-align: center;
}

.athleticore-focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 16px;
    align-items: stretch;
}

.athleticore-choice-panel {
    display: grid;
    align-content: start;
    gap: 12px;
}

.athleticore-choice-panel h2 {
    margin: 0;
    color: #405149;
    font-size: 13px;
    font-weight: 800;
}

.athleticore-choice-grid.compact-cards {
    gap: 10px;
}

.athleticore-choice-grid.compact-cards .athleticore-choice-card {
    min-height: 106px;
    padding: 20px 10px 16px;
}

.athleticore-choice-row {
    min-height: 54px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 10px 14px;
}

.athleticore-choice-list {
    width: min(520px, 100%);
    display: grid;
    gap: 12px;
    margin: 0 auto;
}

.athleticore-choice-list.compact {
    width: min(620px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.athleticore-choice-list.compact .athleticore-choice-row {
    min-height: 96px;
    align-items: start;
}

.athleticore-choice-card strong,
.athleticore-choice-row strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.athleticore-choice-row strong {
    grid-column: 2;
}

.athleticore-choice-card small,
.athleticore-choice-row small {
    display: block;
    margin-top: 4px;
    color: #7a8791;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.athleticore-choice-row small {
    grid-column: 2;
}

.choice-radio {
    width: 17px;
    height: 17px;
    border: 1px solid #c9d3dc;
    border-radius: 50%;
    background: #fff;
}

.athleticore-choice-card .choice-radio {
    position: absolute;
    top: 14px;
    left: 14px;
}

.athleticore-choice-card:hover,
.athleticore-choice-row:hover,
.athleticore-choice-card:focus-visible,
.athleticore-choice-row:focus-visible,
.athleticore-choice-card.selected,
.athleticore-choice-row.selected {
    border-color: #2588d8;
    box-shadow: 0 0 0 1px rgba(37, 136, 216, 0.2);
    outline: none;
}

.athleticore-choice-card.selected .choice-radio,
.athleticore-choice-row.selected .choice-radio {
    border: 5px solid #2588d8;
}

.athleticore-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.athleticore-profile-grid {
    grid-template-areas:
        "school city"
        "capacity district";
}

.field-school {
    grid-area: school;
}

.field-city {
    grid-area: city;
}

.field-capacity {
    grid-area: capacity;
}

.field-district {
    grid-area: district;
}

.athleticore-logo-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 16px;
}

.athleticore-review-box {
    width: min(460px, 100%);
    margin: 18px auto 0;
    padding: 22px;
    border: 1px solid #dce5eb;
    border-radius: 5px;
    background: #ffffff;
    text-align: center;
}

.athleticore-review-box strong,
.athleticore-review-box span {
    display: block;
}

.athleticore-review-box span {
    margin-top: 6px;
    color: #687783;
}

.athleticore-setup-content .athleticore-wizard-footer {
    justify-content: center;
    margin-top: 30px;
}

.athleticore-text-button {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #7c8b96;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.athleticore-text-button:focus-visible {
    border-radius: 6px;
    outline: 2px solid var(--ath-accent);
    outline-offset: 3px;
}

.athleticore-setup-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    border-left: 1px solid #e6ebef;
    padding: 58px 34px 44px;
    background: #ffffff;
}

.athleticore-progress {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.athleticore-progress::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 15px;
    width: 1px;
    background: #e0e7ec;
}

.athleticore-progress li {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 28px;
}

.athleticore-progress li:last-child {
    padding-bottom: 0;
}

.athleticore-progress span {
    z-index: 1;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d3dde4;
    border-radius: 50%;
    background: #ffffff;
    color: #9aa7b0;
    font-size: 12px;
    font-weight: 800;
}

.athleticore-progress strong,
.athleticore-progress small {
    display: block;
}

.athleticore-progress strong {
    color: #98a5ae;
    font-size: 12px;
    line-height: 1.2;
}

.athleticore-progress small {
    margin-top: 4px;
    color: #b4bec6;
    font-size: 11px;
    line-height: 1.35;
}

.athleticore-progress li.active span {
    border-color: #2588d8;
    color: #2588d8;
}

.athleticore-progress li.active strong {
    color: #25313b;
}

.athleticore-progress li.done span {
    border-color: #22b981;
    background: #22b981;
    color: #ffffff;
}

.athleticore-progress li.done strong {
    color: #25313b;
}

.athleticore-help-card {
    padding: 18px;
    border: 1px solid #e0e7ec;
    border-radius: 5px;
    background: #fbfcfd;
}

.athleticore-help-card strong {
    display: block;
    color: #25313b;
    font-size: 13px;
}

.athleticore-help-card p {
    margin: 8px 0 0;
    color: #7c8b96;
    font-size: 12px;
    line-height: 1.55;
}

.athleticore-wizard-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.athleticore-wizard {
    padding: 26px;
    border: 1px solid var(--ath-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--ath-shadow);
}

.athleticore-step {
    display: none;
}

.athleticore-step.active {
    display: grid;
    gap: 15px;
}

.athleticore-step label {
    display: grid;
    gap: 8px;
    color: #405149;
    font-weight: 800;
}

.athleticore-step input,
.athleticore-step select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd8cf;
    border-radius: 8px;
    padding: 0 13px;
    color: var(--ath-ink);
    font: inherit;
    background: #fbfcfa;
}

.athleticore-step input:focus-visible,
.athleticore-step select:focus-visible,
.athleticore-button:focus-visible,
.athleticore-logo-options button:focus-visible {
    outline: 3px solid rgba(217, 164, 65, 0.5);
    outline-offset: 2px;
}

.athleticore-logo-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.athleticore-logo-loading {
    grid-column: 1 / -1;
    margin: 0;
    padding: 16px;
    border: 1px dashed #cbd8cf;
    border-radius: 8px;
    color: #405149;
    background: #fbfcfa;
    text-align: center;
}

.athleticore-logo-loading.error {
    border-color: #e2b8b8;
    color: #8b2f2f;
    background: #fff8f7;
}

.athleticore-logo-options button {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px;
    background: #f3f7f2;
    transition: border-color 180ms ease, background 180ms ease;
}

.athleticore-logo-options button:hover {
    border-color: #aac6b9;
}

.athleticore-logo-options button.selected {
    border-color: var(--ath-primary);
    background: #e5eee7;
}

.athleticore-logo-options img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.athleticore-status {
    min-height: 24px;
    margin: 18px 0 0;
    color: var(--ath-primary-dark);
    font-weight: 700;
}

.athleticore-status a {
    color: var(--ath-primary-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.athleticore-status.error {
    color: #9c2f2f;
}

.athleticore-status.error a {
    color: #6f2424;
}

.athleticore-status.success {
    display: grid;
    gap: 14px;
    color: var(--ath-primary-dark);
}

.athleticore-completion-screen {
    width: min(100%, 760px);
    min-height: min(760px, calc(100vh - 40px));
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: clamp(32px, 7vw, 72px);
    border: 1px solid #dce7e1;
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 28%, rgba(217, 164, 65, 0.14), transparent 28%),
        linear-gradient(145deg, #fbfcf8 0%, #eef7f3 100%);
    box-shadow: 0 30px 80px rgba(19, 35, 45, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 280ms ease, transform 280ms ease;
}

.athleticore-completion-screen.active {
    opacity: 1;
    transform: translateY(0);
}

.athleticore-completion-screen .athleticore-brand {
    margin-bottom: 12px;
}

.athleticore-completion-screen h1 {
    max-width: 620px;
    margin: 0;
    color: var(--ath-ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.athleticore-completion-screen p:not(.athleticore-step-eyebrow) {
    max-width: 560px;
    margin: 0;
    color: var(--ath-muted);
    font-size: 18px;
    line-height: 1.65;
}

.athleticore-completion-mark {
    position: relative;
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    margin-top: 8px;
}

.athleticore-completion-mark span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(23, 109, 88, 0.18);
    animation: athleticore-completion-pulse 1400ms ease-in-out infinite;
}

.athleticore-completion-mark svg {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #f8fbf6;
    background: var(--ath-primary);
    box-shadow: 0 18px 38px rgba(23, 109, 88, 0.22);
    animation: athleticore-completion-pop 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.athleticore-completion-mark path {
    fill: currentColor;
}

.athleticore-completion-progress {
    width: min(320px, 100%);
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe9e2;
}

.athleticore-completion-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ath-primary), var(--ath-accent));
    transform-origin: left;
    animation: athleticore-completion-countdown 5s linear forwards;
}

@keyframes athleticore-completion-pulse {
    0% {
        transform: scale(0.82);
        opacity: 0.72;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@keyframes athleticore-completion-pop {
    from {
        transform: scale(0.76);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes athleticore-completion-countdown {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .athleticore-completion-screen,
    .athleticore-completion-mark span,
    .athleticore-completion-mark svg,
    .athleticore-completion-progress span {
        animation: none;
        transition: none;
    }
}

.athleticore-auth-shell,
.athleticore-status-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 136, 216, 0.1), transparent 28%),
        linear-gradient(135deg, #f7f4ee 0%, #eef7f5 100%);
}

.athleticore-auth-card,
.athleticore-status-card {
    width: min(100%, 560px);
    display: grid;
    gap: 18px;
    padding: clamp(26px, 5vw, 44px);
    border: 1px solid #dce7e1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 80px rgba(27, 56, 48, 0.12);
}

.athleticore-status-card {
    position: relative;
    width: min(100%, 680px);
    overflow: hidden;
    isolation: isolate;
}

.athleticore-status-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(23, 109, 88, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(217, 164, 65, 0.06), transparent 34%);
    background-size: 38px 38px, 100% 100%;
    opacity: 0.65;
}

.athleticore-auth-card h1,
.athleticore-status-card h1 {
    margin: 8px 0 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.athleticore-auth-card p,
.athleticore-status-card p {
    margin: 0;
    color: var(--ath-muted);
    font-size: 16px;
    line-height: 1.55;
}

.athleticore-auth-form {
    display: grid;
    gap: 14px;
}

.athleticore-auth-form label {
    display: grid;
    gap: 8px;
    color: #405149;
    font-weight: 800;
}

.athleticore-auth-form input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #cbd8cf;
    border-radius: 8px;
    padding: 0 13px;
    color: var(--ath-ink);
    font: inherit;
    background: #fbfcfa;
}

.athleticore-auth-form input:focus-visible {
    outline: 3px solid rgba(217, 164, 65, 0.5);
    outline-offset: 2px;
}

.athleticore-text-button.center {
    justify-self: center;
}

.athleticore-status-hero {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 8px;
}

.athleticore-status-emblem {
    position: relative;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
}

.athleticore-status-emblem .ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(23, 109, 88, 0.18);
    border-radius: 50%;
}

.athleticore-status-emblem .ring-one {
    animation: athleticore-status-ring 2400ms ease-out infinite;
}

.athleticore-status-emblem .ring-two {
    inset: 12px;
    border-color: rgba(217, 164, 65, 0.28);
    animation: athleticore-status-ring 2400ms ease-out 420ms infinite;
}

.athleticore-status-emblem strong {
    position: relative;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    color: #fbfcf8;
    background: var(--ath-primary);
    box-shadow: 0 18px 36px rgba(23, 109, 88, 0.2);
    font-size: 20px;
}

.athleticore-status-meter {
    height: 8px;
    overflow: hidden;
    border: 1px solid #dce7e1;
    border-radius: 999px;
    background: #edf5ef;
}

.athleticore-status-meter span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ath-primary), var(--ath-accent));
    transform: scaleX(var(--ath-status-ratio, 0.2));
    transform-origin: left;
    animation: athleticore-status-fill 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.athleticore-status-steps {
    display: grid;
    gap: 12px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.athleticore-status-steps li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px;
    border: 1px solid #dce7e1;
    border-radius: 10px;
    background: #fbfcfa;
    color: #7a8983;
    opacity: 0;
    transform: translateY(8px);
    animation: athleticore-status-step-in 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.athleticore-status-steps li:nth-child(2) {
    animation-delay: 90ms;
}

.athleticore-status-steps li:nth-child(3) {
    animation-delay: 180ms;
}

.athleticore-status-steps li span {
    width: 18px;
    height: 18px;
    border: 2px solid #b7c8c0;
    border-radius: 50%;
}

.athleticore-status-steps li div {
    display: grid;
    gap: 3px;
}

.athleticore-status-steps li small {
    color: var(--ath-muted);
    font-size: 12px;
    line-height: 1.35;
}

.athleticore-status-steps li.active,
.athleticore-status-steps li.done {
    color: var(--ath-ink);
    border-color: #abcdbf;
    background: #f0f7f4;
}

.athleticore-status-steps li.done span {
    border-color: var(--ath-primary);
    background: var(--ath-primary);
}

.athleticore-status-steps li.active span {
    border-color: var(--ath-primary);
    box-shadow: 0 0 0 7px rgba(23, 109, 88, 0.08);
}

.athleticore-status-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.athleticore-status-summary div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid #dce7e1;
    border-radius: 10px;
    background: rgba(251, 252, 250, 0.88);
}

.athleticore-status-summary span {
    color: var(--ath-muted);
    font-size: 13px;
    font-weight: 700;
}

.athleticore-status-summary strong {
    font-size: 15px;
    overflow-wrap: anywhere;
}

.athleticore-profile-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 18px;
    background:
        radial-gradient(circle at 18% 18%, rgba(217, 164, 65, 0.13), transparent 24%),
        linear-gradient(135deg, #f7f4ee 0%, #edf7f3 100%);
}

.athleticore-profile-card {
    width: min(100%, 980px);
    display: grid;
    gap: 22px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #dce7e1;
    border-radius: 14px;
    background: rgba(251, 252, 250, 0.94);
    box-shadow: 0 26px 80px rgba(27, 56, 48, 0.13);
}

.athleticore-profile-top,
.athleticore-profile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.athleticore-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: end;
    gap: 24px;
    padding: 14px 0 4px;
}

.athleticore-profile-hero h1,
.athleticore-profile-empty h1 {
    margin: 6px 0 10px;
    color: var(--ath-ink);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.03;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.athleticore-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.athleticore-profile-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid #dce7e1;
    border-radius: 12px;
    background: #fbfcfa;
}

.athleticore-profile-panel-head span,
.athleticore-profile-panel-head strong {
    color: var(--ath-ink);
    font-size: 16px;
    font-weight: 800;
}

.athleticore-profile-panel-head strong {
    color: var(--ath-primary);
}

.athleticore-profile-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.athleticore-profile-list div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    min-height: 38px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #e6eee8;
}

.athleticore-profile-list div:first-child {
    border-top: 0;
}

.athleticore-profile-list dt {
    color: var(--ath-muted);
    font-size: 13px;
    font-weight: 800;
}

.athleticore-profile-list dd {
    margin: 0;
    color: var(--ath-ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.athleticore-profile-progress {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid #dce7e1;
    border-radius: 12px;
    background: #f0f7f4;
}

.athleticore-profile-progress strong {
    color: var(--ath-primary);
    font-size: 34px;
    line-height: 1;
}

.athleticore-profile-progress span {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce9e2;
}

.athleticore-profile-progress i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ath-primary), var(--ath-accent));
    transform: scaleX(var(--ath-status-ratio, 0.2));
    transform-origin: left;
}

.athleticore-profile-status {
    background:
        linear-gradient(180deg, rgba(238, 245, 238, 0.72), rgba(251, 252, 250, 0.94));
}

.athleticore-status-steps.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.athleticore-status-steps.compact li {
    align-items: start;
    min-height: 92px;
}

.athleticore-profile-updated {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 2px;
}

.athleticore-profile-updated span {
    color: var(--ath-muted);
    font-size: 13px;
    font-weight: 800;
}

.athleticore-profile-updated strong {
    color: var(--ath-ink);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.athleticore-profile-empty {
    display: grid;
    gap: 12px;
    max-width: 680px;
    padding: 28px 0 10px;
}

@keyframes athleticore-status-ring {
    from {
        transform: scale(0.82);
        opacity: 0.78;
    }
    to {
        transform: scale(1.14);
        opacity: 0;
    }
}

@keyframes athleticore-status-fill {
    from {
        transform: scaleX(0);
    }
}

@keyframes athleticore-status-step-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .athleticore-button,
    .athleticore-logo-options button {
        transition: none;
    }

    .athleticore-status-emblem .ring,
    .athleticore-status-meter span,
    .athleticore-status-steps li {
        animation: none;
    }

    .athleticore-status-steps li {
        transform: none;
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .athleticore-nav-links {
        display: none;
    }

    .athleticore-hero-grid,
    .athleticore-flow-grid,
    .athleticore-wizard-shell,
    .athleticore-setup-main,
    .athleticore-focus-grid {
        grid-template-columns: 1fr;
    }

    .athleticore-setup-top {
        padding: 0 24px;
    }

    .athleticore-setup-content {
        padding: 52px 24px;
    }

    .athleticore-setup-sidebar {
        border-left: 0;
        border-top: 1px solid #e6ebef;
        padding: 28px 24px;
    }

    .athleticore-choice-grid.three,
    .athleticore-choice-list.compact,
    .athleticore-mini-board,
    .athleticore-field-grid,
    .athleticore-profile-grid {
        grid-template-columns: 1fr;
    }

    .athleticore-product-panel {
        max-width: 560px;
    }

    .athleticore-grid {
        grid-template-columns: 1fr;
    }

    .athleticore-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .athleticore-container {
        width: min(100% - 28px, 1160px);
    }

    .athleticore-nav {
        top: 10px;
        width: calc(100% - 20px);
        gap: 10px;
        padding: 10px;
    }

    .athleticore-brand {
        font-size: 16px;
    }

    .athleticore-nav-actions {
        gap: 6px;
    }

    .athleticore-nav-actions .athleticore-button {
        min-height: 40px;
        padding: 0 10px;
        font-size: 13px;
    }

    .athleticore-hero,
    .athleticore-onboarding-page {
        padding-top: 104px;
    }

    .athleticore-onboarding-stage {
        padding: 12px;
    }

    .athleticore-setup {
        min-height: calc(100vh - 24px);
    }

    .athleticore-setup-top {
        min-height: 58px;
        padding: 0 14px;
    }

    .athleticore-setup-content {
        padding: 42px 16px;
    }

    .athleticore-hero h1,
    .athleticore-wizard-shell h1,
    .athleticore-setup-content .athleticore-step h1 {
        font-size: 36px;
    }

    .athleticore-setup-content .athleticore-step h1 {
        font-size: 24px;
    }

    .athleticore-actions,
    .athleticore-wizard-footer {
        flex-direction: column;
    }

    .athleticore-button {
        width: 100%;
    }

    .athleticore-status-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .athleticore-profile-top,
    .athleticore-profile-hero,
    .athleticore-profile-updated {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .athleticore-profile-top,
    .athleticore-profile-updated {
        flex-direction: column;
    }

    .athleticore-profile-list div,
    .athleticore-status-steps.compact {
        grid-template-columns: 1fr;
    }

    .athleticore-metrics,
    .athleticore-logo-options,
    .athleticore-status-summary {
        grid-template-columns: 1fr;
    }
}
