:root {
    --ink: #132018;
    --muted: #5f6f65;
    --line: #dde7df;
    --surface: #ffffff;
    --soft: #f6f8f4;
    --green: #1d7f4f;
    --green-dark: #0d4f33;
    --lime: #c8e86f;
    --blue: #1f6f8b;
    --orange: #e98b36;
}

.site-body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand,
.brand:hover,
.brand:focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: var(--green-dark);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.site-nav a,
.login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active,
.login-link:hover {
    color: var(--green-dark);
    background: #edf5ec;
    text-decoration: none;
}

.user-nav {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    white-space: nowrap;
}

.logout-link:hover {
    color: #b91c1c;
    background: #fee2e2;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.account-icon {
    position: relative;
    display: inline-block;
    width: 19px;
    height: 19px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.account-icon:before,
.account-icon:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: currentColor;
}

.account-icon:before {
    top: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.account-icon:after {
    bottom: 3px;
    width: 10px;
    height: 5px;
    border-radius: 8px 8px 3px 3px;
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px) 56px;
    background: linear-gradient(120deg, #f8fbf6 0%, #edf5ec 58%, #f9f3e8 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-family: "Space Grotesk", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero h1,
.page-hero h1 {
    max-width: 880px;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(2.45rem, 6vw, 5.3rem);
    line-height: .96;
    font-weight: 900;
    letter-spacing: 0;
}

.lead,
.page-hero p {
    max-width: 710px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(13, 79, 51, .16);
    border-radius: 999px;
    color: var(--green-dark);
    background: rgba(255,255,255,.7);
    font-size: .86rem;
    font-weight: 800;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background: var(--green-dark);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background: #083b27;
    text-decoration: none;
}

.btn-secondary {
    color: var(--green-dark);
    background: #fff;
    border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--green-dark);
    border-color: var(--green);
    text-decoration: none;
}

.btn-danger {
    color: #fff;
    background: #b91c1c;
}

.btn-danger:hover,
.btn-danger:focus {
    color: #fff;
    background: #7f1d1d;
    text-decoration: none;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.court {
    position: absolute;
    inset: 34px 10px 50px;
    overflow: hidden;
    border: 12px solid #f9fbf7;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent calc(50% - 2px), rgba(255,255,255,.9) calc(50% - 2px), rgba(255,255,255,.9) calc(50% + 2px), transparent calc(50% + 2px)),
        linear-gradient(0deg, transparent calc(50% - 2px), rgba(255,255,255,.9) calc(50% - 2px), rgba(255,255,255,.9) calc(50% + 2px), transparent calc(50% + 2px)),
        linear-gradient(135deg, #1f8c63, #0f6e82);
    box-shadow: 0 28px 70px rgba(31, 60, 45, .2);
}

.court:before,
.court:after {
    content: "";
    position: absolute;
    top: 22%;
    bottom: 22%;
    width: 2px;
    background: rgba(255,255,255,.8);
}

.court:before { left: 25%; }
.court:after { right: 25%; }

.net {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 5px);
    height: 10px;
    background: repeating-linear-gradient(90deg, rgba(19,32,24,.85) 0 7px, rgba(255,255,255,.9) 7px 10px);
}

.player,
.ball {
    position: absolute;
    border-radius: 50%;
}

.player {
    width: 42px;
    height: 42px;
    background: var(--orange);
    box-shadow: 0 0 0 10px rgba(255,255,255,.25);
}

.p1 { left: 22%; top: 24%; }
.p2 { right: 22%; bottom: 22%; background: var(--lime); }

.ball {
    width: 18px;
    height: 18px;
    left: 57%;
    top: 43%;
    background: #f7f37a;
    box-shadow: 0 0 0 6px rgba(247,243,122,.28);
}

.score-card {
    position: absolute;
    right: 0;
    bottom: 4px;
    display: grid;
    gap: 3px;
    width: min(260px, 70%);
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 18px 45px rgba(19, 32, 24, .24);
}

.score-card span,
.score-card small {
    color: rgba(255,255,255,.72);
}

.score-card strong {
    font-size: 2.25rem;
    line-height: 1;
}

.feature-band,
.workflow,
.seo-panel,
.content-grid,
.news-list,
.contact-layout,
.contact-help-section,
.legal-page,
.info-block.wide {
    padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.product-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-strip article {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 18px clamp(18px, 3vw, 34px);
    background: #fff;
}

.product-strip strong {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--green-dark);
}

.product-strip span {
    color: var(--ink);
    font-weight: 900;
    line-height: 1.25;
}

.section-heading,
.seo-panel,
.legal-page {
    max-width: 980px;
}

.section-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.section-heading h2,
.workflow h2,
.seo-panel h2,
.cta-row h2,
.info-block h2,
.news-list h2,
.contact-card h2,
.legal-page h1,
.dashboard-copy h2,
.public-copy h2,
.audience-section h2,
.club-benefits h2 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading h2,
.workflow h2,
.seo-panel h2,
.dashboard-copy h2,
.public-copy h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.feature-grid article,
.info-block,
.news-list article,
.contact-form,
.contact-card,
.contact-info-grid article,
.contact-paths article,
.auth-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(19, 32, 24, .06);
}

.feature-grid article {
    padding: 24px;
}

.feature-grid i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--green-dark);
    background: #e8f4df;
    font-size: 1.2rem;
}

.feature-grid h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 900;
}

.feature-grid p,
.contact-info-grid p,
.contact-paths p,
.workflow p,
.seo-panel p,
.info-block p,
.news-list p,
.contact-card p,
.legal-page p,
.site-footer p,
.dashboard-copy p,
.audience-section p,
.club-benefits p,
.club-timeline p,
.faq-section p,
.public-grid p,
.public-copy p {
    color: var(--muted);
    line-height: 1.65;
}

.dashboard-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
    background: #fff;
}

.dashboard-copy p {
    max-width: 680px;
    margin: 18px 0 0;
    font-size: 1.08rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.metric-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.metric-grid strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: var(--green-dark);
}

.metric-grid span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-weight: 700;
}

.dashboard-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #132018;
    color: #fff;
    box-shadow: 0 24px 60px rgba(19, 32, 24, .22);
}

.dash-top,
.dash-row,
.dash-row div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.dash-top {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.dash-top span {
    color: rgba(255,255,255,.72);
    font-weight: 800;
}

.dash-top strong {
    padding: 6px 10px;
    border-radius: 999px;
    color: #143419;
    background: var(--lime);
}

.dash-row {
    margin-top: 14px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
}

.dash-row span,
.dash-row em {
    color: rgba(255,255,255,.72);
    font-style: normal;
    font-weight: 800;
}

.dash-progress {
    height: 10px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
}

.dash-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--lime);
}

.workflow {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: clamp(26px, 5vw, 70px);
    background: #fff;
}

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

.steps li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    font-weight: 800;
}

.steps span {
    display: inline-grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
}

.seo-panel {
    margin: 0 auto;
    text-align: center;
}

.seo-panel p {
    margin: 18px auto 0;
    max-width: 760px;
    font-size: 1.08rem;
}

.seo-panel .btn-primary {
    margin-top: 26px;
}

.public-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: clamp(26px, 5vw, 70px);
    padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
    background: #f8fbf6;
}

.public-copy p {
    max-width: 620px;
    margin: 18px 0 0;
    font-size: 1.08rem;
}

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

.public-grid article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 32, 24, .05);
}

.public-grid h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 900;
}

.formats-section,
.audience-section,
.faq-section,
.club-stack,
.club-benefits,
.club-modules {
    padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.format-grid,
.audience-section,
.club-timeline,
.club-benefits,
.module-grid {
    display: grid;
    gap: 16px;
}

.format-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 30px;
}

.format-grid article,
.audience-section article,
.club-timeline article,
.club-benefits article,
.module-grid article,
.faq-section details {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(19, 32, 24, .05);
}

.format-grid h3,
.club-timeline h3,
.module-grid h3 {
    margin: 0 0 10px;
    font-weight: 900;
}

.format-grid p,
.module-grid p {
    color: var(--muted);
    line-height: 1.6;
}

.module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.audience-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #fff;
}

.audience-section ul {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--ink);
    font-weight: 800;
}

.faq-section {
    background: #fff;
}

.faq-section .section-heading {
    margin-bottom: 26px;
}

.faq-section details {
    max-width: 980px;
    margin-bottom: 12px;
}

.faq-section summary {
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 900;
}

.faq-section p {
    margin: 12px 0 0;
}

.page-hero.compact {
    padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
    background: linear-gradient(120deg, #f8fbf6 0%, #edf5ec 100%);
}

.page-hero.compact h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.page-hero.compact .hero-proof {
    margin-top: 24px;
}

.content-grid.two,
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 28px;
    align-items: start;
}

.info-block,
.news-list article,
.contact-card {
    padding: 28px;
}

.club-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
}

.club-timeline span {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--green);
    font-family: "Space Grotesk", sans-serif;
    font-size: .9rem;
    font-weight: 900;
}

.club-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
}

.cta-row {
    justify-content: space-between;
    padding: 30px clamp(18px, 5vw, 72px);
    color: #fff;
    background: var(--green-dark);
}

.cta-row h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-row .btn-primary {
    color: var(--green-dark);
    background: #fff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.news-list time {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-weight: 800;
}

.news-hero {
    border-bottom: 1px solid var(--line);
}

.news-article-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.news-card-image {
    display: block;
    margin: -28px -28px 22px;
    color: inherit;
    text-decoration: none;
}

.news-card-image img,
.news-article-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.news-article-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    line-height: 1.16;
}

.news-article-card h2 a,
.news-article-card h2 a:hover,
.news-article-card h2 a:focus {
    color: var(--ink);
    text-decoration: none;
}

.news-article-card p {
    margin: 14px 0 22px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 42px;
    margin-top: auto;
    padding: 0 15px;
    border-radius: 8px;
    color: #fff;
    background: var(--green-dark);
    font-weight: 900;
    text-decoration: none;
}

.news-read-more:hover,
.news-read-more:focus {
    color: #fff;
    background: var(--green);
    text-decoration: none;
}

.news-empty {
    grid-column: 1 / -1;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 clamp(18px, 5vw, 72px) clamp(42px, 7vw, 84px);
}

.news-pagination a,
.news-pagination span,
.news-pagination strong {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 900;
    text-decoration: none;
}

.news-pagination strong {
    color: #fff;
    border-color: var(--green-dark);
    background: var(--green-dark);
}

.news-pagination span {
    opacity: .48;
}

.news-detail-page {
    padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.news-detail {
    width: min(100%, 1060px);
    margin: 0 auto;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 32, 24, .06);
}

.news-back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--green-dark);
    font-weight: 900;
    text-decoration: none;
}

.news-detail header {
    max-width: 900px;
}

.news-detail h1 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .98;
}

.news-detail-excerpt {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.18rem;
    line-height: 1.65;
}

.news-detail-image {
    width: 100%;
    max-height: 520px;
    margin: 32px 0;
    object-fit: cover;
    border-radius: 8px;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(19, 32, 24, .06);
}

.form-intro h2 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 900;
    letter-spacing: 0;
}

.form-intro p:not(.eyebrow) {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.form-alert i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.05rem;
}

.form-alert.success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.form-alert.error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field-optional {
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 127, 79, .12);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.btn-send {
    gap: 8px;
}

.form-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--muted);
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cdd9d1;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-weight: 500;
}

textarea {
    resize: vertical;
}

.contact-sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
}

.contact-card.primary {
    background: #132018;
    color: #fff;
    border: none;
    border-top: 4px solid var(--lime);
    border-radius: 14px;
}

.contact-card.primary .eyebrow {
    color: var(--lime);
}

.contact-card.primary p {
    color: rgba(255,255,255,.72);
}

.contact-card:not(.primary) {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(19, 32, 24, .04);
}

.contact-mail {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: var(--lime);
    font-weight: 900;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-mail:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-mail i {
    flex-shrink: 0;
    font-size: .9rem;
    opacity: .8;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.5;
}

.contact-help-section {
    background: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.contact-info-grid article {
    padding: 24px;
}

.contact-info-grid i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--green-dark);
    background: #e8f4df;
    font-size: 1.2rem;
}

.contact-info-grid h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    font-weight: 900;
}

.contact-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.contact-paths article {
    padding: 28px;
}

.contact-paths span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-weight: 900;
}

.contact-paths h2 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 0;
}

.contact-paths p {
    margin: 14px 0 0;
}

.contact-paths .btn-primary,
.contact-paths .btn-secondary {
    margin-top: 22px;
}

.contact-faq {
    padding-top: 0;
}

.auth-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 72px);
    padding: 36px 18px;
    background: linear-gradient(120deg, #f8fbf6, #eef5ee);
}

.auth-card {
    width: min(440px, 100%);
    padding: 30px;
}

.auth-card h1 {
    margin: 0 0 22px;
    font-family: "Raleway", sans-serif;
    font-weight: 900;
}

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

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.separator {
    position: relative;
    margin: 22px 0;
    text-align: center;
}

.separator:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--line);
}

.separator span {
    position: relative;
    padding: 0 10px;
    color: var(--muted);
    background: #fff;
}

.legal-hero,
.about-hero {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(120deg, rgba(248,251,246,.96) 0%, rgba(237,245,236,.94) 54%, rgba(249,243,232,.94) 100%),
        url("/img/tableau.webp") center / cover;
}

.legal-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: clamp(28px, 5vw, 72px);
}

.legal-hero.commerce {
    background:
        linear-gradient(120deg, rgba(248,251,246,.96) 0%, rgba(237,245,236,.92) 52%, rgba(255,247,237,.96) 100%),
        url("/img/home2.webp") center / cover;
}

.legal-hero-copy h1,
.about-hero h1 {
    max-width: 920px;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(2.55rem, 6vw, 5.2rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: 0;
}

.legal-hero-copy p:not(.eyebrow),
.about-hero-copy p {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.16rem;
    line-height: 1.7;
}

.legal-hero-panel {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    color: #fff;
    background: rgba(19, 32, 24, .92);
    box-shadow: 0 24px 70px rgba(19, 32, 24, .26);
}

.legal-hero-panel strong {
    display: block;
    font-family: "Raleway", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1;
}

.legal-hero-panel span {
    display: block;
    margin-top: 12px;
    color: var(--lime);
    font-weight: 900;
}

.legal-hero-panel p {
    margin: 18px 0 0;
    color: rgba(255,255,255,.72);
    line-height: 1.6;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 54px);
    padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.legal-summary {
    align-self: start;
    position: sticky;
    top: 96px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 32, 24, .05);
}

.legal-summary h2,
.about-mission h2,
.about-grid h2,
.about-panel h2 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.legal-summary h2,
.about-mission h2 {
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    line-height: 1.05;
}

.legal-summary p:not(.eyebrow),
.about-mission p,
.about-grid p,
.about-panel p {
    color: var(--muted);
    line-height: 1.65;
}

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

.legal-card,
.about-grid article,
.about-panel,
.about-mission article,
.about-mission aside {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 32, 24, .05);
}

.legal-card.highlight {
    border-color: rgba(29, 127, 79, .28);
    background: #f3faef;
}

.legal-card h2,
.about-grid h2,
.about-panel h2 {
    margin: 0 0 10px;
    font-family: "Raleway", sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
}

.legal-card p,
.about-grid p,
.about-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(28px, 5vw, 72px);
    background:
        linear-gradient(120deg, rgba(248,251,246,.97) 0%, rgba(237,245,236,.93) 54%, rgba(249,243,232,.92) 100%),
        url("/img/home.webp") center / cover;
}

.about-hero-metrics {
    display: grid;
    gap: 14px;
}

.about-hero-metrics article {
    padding: 22px;
    border: 1px solid rgba(13, 79, 51, .16);
    border-radius: 8px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 16px 42px rgba(19, 32, 24, .08);
}

.about-hero-metrics strong {
    display: block;
    color: var(--green-dark);
    font-family: "Raleway", sans-serif;
    font-size: 2.6rem;
    line-height: 1;
}

.about-hero-metrics span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 900;
    line-height: 1.35;
}

.about-mission {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
    gap: 18px;
    padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
    background: #fff;
}

.about-mission p {
    margin: 16px 0 0;
}

.about-mission ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.45;
}

.about-stack {
    display: grid;
    gap: 18px;
    padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

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

.about-panel p + p {
    margin-top: 12px;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    min-height: 48vh;
    padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px);
    color: #fff;
    background: linear-gradient(135deg, #132018 0%, #0d4f33 58%, #1f6f8b 100%);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    min-height: 66px;
    padding: 0 clamp(18px, 4vw, 48px);
    color: #fff;
    background: #132018;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-brand,
.admin-brand:hover,
.admin-public-link,
.admin-public-link:hover {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.admin-brand {
    font-family: "Raleway", sans-serif;
    font-size: 1.15rem;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.admin-nav a,
.admin-public-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: rgba(255,255,255,.76);
    text-decoration: none;
    font-weight: 800;
}

.admin-nav a:hover,
.admin-public-link:hover {
    color: #132018;
    background: var(--lime);
}

.admin-hero h1 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 900;
}

.admin-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 1.16rem;
    line-height: 1.65;
}

.admin-hero .eyebrow {
    color: var(--lime);
}

.admin-access {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 20px 54px rgba(0,0,0,.22);
}

.admin-access strong,
.admin-access span,
.admin-access em {
    display: block;
}

.admin-access strong {
    font-family: "Raleway", sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
}

.admin-access span {
    margin-top: 10px;
    color: var(--lime);
    font-weight: 900;
}

.admin-access em {
    margin-top: 8px;
    color: rgba(255,255,255,.72);
    font-style: normal;
}

.admin-page {
    display: grid;
    gap: 18px;
    padding: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 72px) clamp(54px, 7vw, 90px);
}

.admin-page-nav,
.admin-section-actions,
.admin-news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-page-nav {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-page-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 900;
    text-decoration: none;
}

.admin-page-nav a:hover,
.admin-page-nav a.active {
    color: var(--green-dark);
    background: #edf5ec;
    text-decoration: none;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 5px;
    border-radius: 9px;
    background: var(--muted);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
}
.admin-page-nav a:hover .nav-badge,
.admin-page-nav a.active .nav-badge {
    background: var(--green-dark);
}

.admin-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 900;
}

.admin-alert.success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.admin-alert.error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-stats article,
.admin-section {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 32, 24, .05);
}

.admin-stats article {
    padding: 22px;
}

.admin-stats span,
.admin-stats em,
.admin-table span,
.admin-list span,
.admin-list em {
    color: var(--muted);
}

.admin-stats span {
    font-weight: 900;
}

.admin-stats strong {
    display: block;
    margin-top: 8px;
    color: var(--green-dark);
    font-family: "Raleway", sans-serif;
    font-size: 2.45rem;
    line-height: 1;
}

.admin-stats em {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-weight: 800;
}

.admin-section {
    overflow: hidden;
}

.admin-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--line);
}

.admin-section-head h2 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
}

.admin-news-list-head {
    padding: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f8fbf6;
}

.admin-news-list-head h2 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 900;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    background: #f8fbf6;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.admin-table td strong,
.admin-table td span {
    display: block;
}

.admin-table td span {
    margin-top: 4px;
    font-size: .92rem;
}

.admin-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #0d4f33;
    background: #e8f4df;
    font-size: .82rem;
    font-weight: 900;
    white-space: nowrap;
}

.admin-badge.status-cancelled {
    color: #7f1d1d;
    background: #fee2e2;
}

.admin-badge.status-closed,
.admin-badge.status-completed {
    color: #334155;
    background: #e2e8f0;
}

.admin-badge.status-confirmed {
    color: #0d4f33;
    background: #dcfce7;
}

.admin-badge.status-pending {
    color: #92400e;
    background: #fef3c7;
}

.admin-btn-sm {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-btn-success {
    color: #fff;
    background: var(--green-dark, #0d4f33);
}

.admin-btn-success:hover { background: #083b27; }

.admin-btn-danger {
    color: #fff;
    background: #b91c1c;
}

.admin-btn-danger:hover { background: #7f1d1d; }

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

.admin-list {
    display: grid;
    gap: 0;
}

.admin-list article,
.admin-list p {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
}

.admin-list article:last-child {
    border-bottom: 0;
}

.admin-list strong,
.admin-list span,
.admin-list em {
    display: block;
}

.admin-list span,
.admin-list em {
    margin-top: 4px;
    font-style: normal;
    line-height: 1.35;
}

.admin-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    padding: 24px;
}

.admin-editor-main,
.admin-editor-side {
    display: grid;
    gap: 14px;
    align-content: start;
}

.admin-editor select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cdd9d1;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-weight: 700;
}

.html-editor {
    min-height: 420px;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #cdd9d1;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    overflow: auto;
}

.tox.tox-tinymce {
    margin-top: 8px;
    border-color: #cdd9d1;
    border-radius: 8px;
}

.html-editor:focus {
    outline: 2px solid rgba(47, 111, 82, .22);
    border-color: var(--green);
}

.html-editor h2,
.html-editor h3,
.html-editor p,
.html-editor ul,
.html-editor ol,
.html-editor blockquote {
    margin-top: 0;
}

.html-editor p,
.html-editor li {
    line-height: 1.65;
}

.editor-word-count {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .92rem;
}

.editor-word-count strong {
    color: var(--ink);
}

.admin-news-preview {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.admin-news-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.admin-news-list article,
.admin-news-list p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
}

.admin-news-list strong,
.admin-news-list span {
    display: block;
}

.admin-news-list span {
    color: var(--muted);
}

.admin-news-list a {
    color: var(--green-dark);
    font-weight: 900;
}

.admin-news-actions {
    grid-column: 2;
    justify-content: flex-end;
}

.admin-news-actions form {
    margin: 0;
}

.admin-news-actions .btn-secondary,
.admin-news-actions .btn-danger {
    min-height: 36px;
    padding: 0 12px;
    font-size: .9rem;
}

.news-content {
    color: var(--muted);
    line-height: 1.65;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    color: var(--ink);
    font-family: "Raleway", sans-serif;
    font-weight: 900;
}

.news-content ul,
.news-content ol {
    padding-left: 22px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-brand {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.footer-links a {
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--green-dark);
}

@media (max-width: 980px) {
    .hero,
    .workflow,
    .dashboard-section,
    .public-section,
    .content-grid.two,
    .contact-layout,
    .contact-paths,
    .legal-hero,
    .legal-layout,
    .about-hero,
    .about-mission,
    .admin-hero,
    .admin-grid,
    .admin-topbar,
    .admin-editor {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .admin-public-link {
        justify-self: start;
    }

    .hero,
    .legal-hero,
    .about-hero {
        min-height: 0;
    }

    .legal-summary {
        position: static;
    }

    .hero-visual {
        min-height: 420px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .format-grid,
    .module-grid,
    .contact-info-grid,
    .club-timeline,
    .club-benefits,
    .product-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    /* hamburger goes to the far right */
    .nav-toggle {
        display: inline-grid;
        place-items: center;
        order: 3;
    }

    .login-link,
    .user-nav {
        order: 2;
        justify-self: end;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 71px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 18px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        z-index: 19;
    }

    .site-nav.open {
        display: flex;
    }

    .login-link {
        padding: 0 10px;
    }

    .login-link span {
        display: none;
    }

    .hero {
        padding-top: 42px;
    }

    .hero h1,
    .page-hero h1 {
        line-height: 1.03;
    }

    .hero-visual {
        min-height: 340px;
    }

    .court {
        inset: 18px 0 54px;
    }

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

    .metric-grid,
    .news-list,
    .admin-stats,
    .legal-content,
    .about-grid,
    .product-strip,
    .public-grid,
    .contact-info-grid,
    .format-grid,
    .module-grid,
    .audience-section,
    .club-timeline,
    .club-benefits {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
    }
}

/* Hero image */
.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 28px 70px rgba(31, 60, 45, .2);
    display: block;
}

.hero-visual {
    min-height: unset;
}

/* Screenshots section */
.screenshots-section {
    padding: clamp(48px, 8vw, 88px) clamp(18px, 5vw, 72px);
    background: var(--soft);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.screenshots-grid figure {
    margin: 0;
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(19, 32, 24, .1);
    display: block;
}

.screenshots-grid figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: .9rem;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-note {
        justify-content: center;
    }

    .contact-form {
        padding: 22px 18px;
    }
}

/* Auth links below forms */
.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    font-size: .9rem;
    color: var(--muted);
}

.auth-links a {
    color: var(--green-dark);
    font-weight: 700;
}

.label-hint {
    font-weight: 400;
    color: var(--muted);
    font-size: .85rem;
}

/* SMTP debug panel on contact page */
.smtp-debug-panel {
    margin-top: 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: .82rem;
    overflow: hidden;
}

.smtp-debug-panel.smtp-ok  { border-color: #86efac; background: #f0fdf4; }
.smtp-debug-panel.smtp-fail { border-color: #fca5a5; background: #fff5f5; }

.smtp-debug-title {
    margin: 0;
    padding: 10px 14px;
    font-weight: 800;
    font-size: .88rem;
    border-bottom: 1px solid var(--line);
}

.smtp-ok  .smtp-debug-title { color: #14532d; }
.smtp-fail .smtp-debug-title { color: #7f1d1d; }

.smtp-config-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.smtp-config-table th,
.smtp-config-table td {
    padding: 5px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-family: monospace;
}

.smtp-config-table th {
    width: 80px;
    color: var(--muted);
    font-weight: 700;
}

.smtp-error-msg {
    margin: 0;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    color: #7f1d1d;
    font-family: monospace;
    word-break: break-word;
}

.smtp-transcript {
    margin: 0;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
    color: #333;
    line-height: 1.5;
    background: rgba(0,0,0,.02);
}

.smtp-no-output {
    margin: 0;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-style: italic;
}

.compte-layout {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 48px) 80px;
    display: grid;
    gap: 20px;
}

.compte-form {
    display: grid;
    gap: 24px;
}

.compte-form fieldset {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(19,32,24,.05);
}

.compte-form legend {
    padding: 0 8px;
    color: var(--green-dark);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

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

.compte-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
    .user-nav { gap: 0; }
    .logout-link { padding: 0 8px; font-size: .82rem; }
}
