/* myteam11 — Light-modular editorial fantasy cricket */
:root {
    --primary: #07111F;
    --primary-soft: #0E1B30;
    --accent: #00D084;
    --accent-dark: #00A86A;
    --accent-ink: #00694A;
    --accent-soft: #D6F5E6;
    --bg: #FAFBF7;
    --bg-soft: #F2F4EE;
    --bg-warm: #F5F2E8;
    --text: #1A1F2A;
    --text-soft: #4A5260;
    --muted: #6B7280;
    --surface: #FFFFFF;
    --surface-2: #F8FAF4;
    --border: #E5E7EB;
    --border-soft: rgba(15, 23, 42, 0.06);
    --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 36px rgba(7, 17, 31, 0.12);
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --header-h: 76px;
    --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 250;
    background: rgba(250, 251, 247, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
}
.brand-name { font-weight: 800; }
.brand-tag { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
}
.main-nav a {
    color: var(--text-soft);
    text-decoration: none;
    padding: 8px 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--primary); }
.main-nav a.active { color: var(--accent-dark); }

.header-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
    line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--primary); box-shadow: 0 4px 14px rgba(0, 208, 132, 0.25); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 208, 132, 0.35); }
.btn-secondary { background: var(--surface); color: var(--primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-soft); padding: 10px 14px; }
.btn-ghost:hover { color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; max-width: 100%; }

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    z-index: 300;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    z-index: 200;
    box-shadow: var(--shadow-lg);
    display: none;
}
.mobile-drawer[aria-hidden="false"] { display: block; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer nav a {
    padding: 14px 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}
.mobile-drawer nav a:hover { background: var(--bg-soft); }
.mobile-drawer .btn-primary { width: 100%; margin-top: 12px; padding: 14px; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--border-soft);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.2); }
#hero-h {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    color: var(--primary);
}
.hero-lede {
    font-size: 19px;
    color: var(--text-soft);
    margin: 0 0 28px;
    max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-disclosure {
    font-size: 13px;
    color: var(--muted);
    max-width: 540px;
}
.hero-disclosure a { color: var(--accent-dark); text-decoration: underline; }

.hero-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .score-strip {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(7,17,31,0) 0%, rgba(7,17,31,0.92) 100%);
    color: #fff;
    padding: 20px 24px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}
.score-strip .team { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.score-strip .meta { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.score-strip .vs {
    background: var(--accent);
    color: var(--primary);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 14px;
}

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.section-head {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--primary);
}
.section-head .lede { color: var(--text-soft); font-size: 17px; margin: 0; }
.eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

/* trust strip */
.trust-strip {
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 28px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.trust-item .icon {
    width: 38px;
    height: 38px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
}
.trust-item h3 { font-size: 14px; margin: 0 0 4px; color: var(--primary); font-weight: 700; }
.trust-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* match ticker */
.match-ticker {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
}
.match-ticker .when { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.match-ticker .teams { font-weight: 800; font-size: 18px; }
.match-ticker .where { font-size: 12px; opacity: 0.7; margin-top: 4px; }
.match-ticker .cta { padding: 10px 16px; background: var(--accent); color: var(--primary); border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 13px; }
.match-ticker .cta:hover { background: var(--accent-dark); }

/* bento media-led lobby */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 20px;
}
.bento-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.bento-card .bento-media {
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    overflow: hidden;
}
.bento-card .bento-media img { width: 100%; height: 100%; object-fit: cover; }
.bento-card .bento-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.bento-card h3 { font-size: 20px; margin: 0 0 8px; color: var(--primary); font-weight: 800; letter-spacing: -0.01em; }
.bento-card p { margin: 0 0 16px; color: var(--text-soft); font-size: 15px; }
.bento-card .pill-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.bento-card .pill {
    background: var(--bg-soft);
    color: var(--text-soft);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.bento-card .pill.accent { background: var(--accent-soft); color: var(--accent-dark); }
.bento-card .meta-link { color: var(--accent-dark); text-decoration: none; font-weight: 700; font-size: 14px; }

.bento-1 { grid-column: span 6; }
.bento-2 { grid-column: span 6; }
.bento-3 { grid-column: span 4; }
.bento-4 { grid-column: span 4; }
.bento-5 { grid-column: span 4; }

/* modular score strip signature device */
.modular-score-strip {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.modular-score-strip h3 { margin: 0 0 4px; font-size: 14px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.modular-score-strip h2 { margin: 0 0 22px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.modular-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.modular-tile {
    background: var(--primary-soft);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .15s ease, border-color .15s ease;
}
.modular-tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.modular-tile .tile-label { font-size: 12px; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.modular-tile .tile-value { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.modular-tile .tile-note { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.modular-tile a { color: var(--accent); text-decoration: none; font-weight: 700; font-size: 13px; margin-top: auto; }

/* stat board */
.stat-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.stat-tile {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: left;
    box-shadow: var(--shadow);
}
.stat-tile .stat-num { font-size: 36px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; line-height: 1; }
.stat-tile .stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.stat-tile .stat-meta { font-size: 12px; color: var(--accent-dark); margin-top: 8px; font-weight: 600; }

/* captain pick ledger */
.ledger-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-soft);
}
.ledger-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    background: var(--surface);
}
.ledger-table th, .ledger-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.ledger-table th {
    background: var(--bg-soft);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 700;
}
.ledger-table td { font-size: 15px; color: var(--text); }
.ledger-table tr:last-child td { border-bottom: 0; }
.ledger-table .role-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.role-pill.captain { background: var(--accent-soft); color: var(--accent-dark); }
.role-pill.vc { background: rgba(15,23,42,0.08); color: var(--text-soft); }
.role-pill.bowl { background: rgba(220,38,38,0.1); color: #b91c1c; }
.role-pill.bat { background: rgba(245,158,11,0.12); color: #b45309; }
.role-pill.wk { background: rgba(168,85,247,0.12); color: #6b21a8; }
.role-pill.all { background: rgba(14,165,233,0.12); color: #075985; }

/* card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card h3 { margin: 0; font-size: 18px; color: var(--primary); font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.card .card-meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.card-link { color: var(--accent-dark); text-decoration: none; font-weight: 700; font-size: 14px; margin-top: 8px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.faq-item summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--accent-dark);
    font-size: 22px;
    font-weight: 300;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer {
    padding: 0 24px 22px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.65;
}

/* news strip */
.news-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card .news-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}
.news-card .news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .news-cat {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 700;
}
.news-card h3 { font-size: 17px; margin: 0; color: var(--primary); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.news-card .deck { color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.news-card time { font-size: 12px; color: var(--muted); margin-top: auto; }

/* loose card */
.loose-card {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.07) 0%, rgba(0, 208, 132, 0.02) 100%);
    border: 1.5px solid rgba(0, 208, 132, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin: 16px 0;
}
.loose-card h3 { margin: 0 0 10px; font-size: 18px; color: var(--primary); font-weight: 700; }
.loose-card p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.6; }

/* inline image row */
.inline-image-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 28px 0;
}
.inline-image-row .ii-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
}
.inline-image-row .ii-image img { width: 100%; height: 100%; object-fit: cover; }
.inline-image-row .ii-text h3 { margin: 0 0 10px; color: var(--primary); font-weight: 800; font-size: 20px; }
.inline-image-row .ii-text p { margin: 0; color: var(--text-soft); }

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-banner h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.cta-banner p { margin: 0 0 24px; opacity: 0.85; max-width: 580px; margin-left: auto; margin-right: auto; }

/* footer */
footer.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 56px 0 24px;
    margin-top: 64px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 36px;
}
.footer-col h4 {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 16px;
    font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0 0 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.footer-disclosure {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.footer-disclosure a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-disclosure a:hover { color: #fff; }

/* mobile sticky CTA */
.mobile-sticky {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 250;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(250,251,247,0) 0%, var(--bg) 60%);
}
.mobile-sticky .btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(7, 17, 31, 0.18);
}

/* page banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
    color: #fff;
    padding: 56px 0 48px;
}
.page-banner h1 {
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    color: #fff;
    font-weight: 800;
}
.page-banner .lede { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 680px; margin: 0; }
.page-banner .banner-meta { color: var(--accent); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; display: block; }

/* Hero figure (route-specific main image) */
.hero-figure {
    margin: 0 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
}
.hero-figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.hero-figure figcaption {
    font-size: 13px;
    color: var(--text-soft);
    padding: 10px 16px;
    border-top: 1px solid var(--border-soft);
    background: var(--surface);
}

/* TOC */
.toc {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 24px 0;
    box-shadow: var(--shadow);
}
.toc h3 { margin: 0 0 14px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 8px; }
.toc li { counter-increment: toc; padding-left: 36px; position: relative; font-size: 15px; }
.toc li::before { content: counter(toc); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); color: var(--text-soft); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.toc a { color: var(--primary); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--accent-dark); }

/* breadcrumb */
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent); }

/* article body */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 36px 0 14px; color: var(--primary); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.prose h3 { font-size: 19px; margin: 24px 0 10px; color: var(--primary); font-weight: 700; }
.prose p { margin: 0 0 16px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; color: var(--text); }
.prose blockquote { border-left: 4px solid var(--accent); margin: 24px 0; padding: 8px 0 8px 20px; color: var(--text-soft); font-style: italic; }

/* page hero image */
.page-hero {
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 32px 0;
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; }

/* step list */
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step-list li { counter-increment: step; padding: 24px 24px 24px 80px; position: relative; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); margin-bottom: 16px; box-shadow: var(--shadow); }
.step-list li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step-list li h3 { margin: 0 0 6px; font-size: 18px; color: var(--primary); }
.step-list li p { margin: 0; color: var(--text-soft); }

/* comparison table */
.compare-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    background: var(--surface);
    font-size: 14px;
}
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.compare-table th { background: var(--bg-soft); font-weight: 700; font-size: 13px; letter-spacing: 0.05em; color: var(--text-soft); }
.compare-table td { color: var(--text); }
.compare-table tr:last-child td { border-bottom: 0; }

/* utility */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.spacer { height: 24px; }
.divider { height: 1px; background: var(--border-soft); margin: 32px 0; }

/* editorial footer block */
.colophon {
    background: var(--bg-warm);
    padding: 56px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.colophon-inner { max-width: 720px; margin: 0 auto; }
.colophon p { font-size: 14px; color: var(--text-soft); margin: 0 0 12px; line-height: 1.7; }
.colophon h3 { font-size: 18px; color: var(--primary); margin: 16px 0 8px; font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-col:first-child { grid-column: span 2; }
    .bento-1, .bento-2 { grid-column: span 6; }
    .bento-3, .bento-4, .bento-5 { grid-column: span 6; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 899px) {
    :root { --header-h: 64px; }
    body { padding-bottom: 80px; }
    .main-nav { display: none; }
    .header-cta { display: none; }
    .hamburger { display: flex; }
    .mobile-sticky { display: block; }
    .hero { padding: 32px 0; }
    #hero-h { font-size: 32px !important; }
    .hero-lede { font-size: 16px; }
    .hero-cta .btn { flex: 1 1 auto; min-width: 140px; }
    section { padding: 40px 0; }
    .section-head { text-align: left; }
    .section-head h2 { font-size: 26px; }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modular-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .match-ticker { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
    .match-ticker .cta { justify-self: start; }
    .news-strip { grid-template-columns: minmax(0, 1fr); }
    .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: minmax(0, 1fr); }
    .stat-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .inline-image-row { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .footer-col:first-child { grid-column: span 1; }
    .cta-banner { padding: 32px 24px; }
    .compare-table { font-size: 12px; }
    .compare-table th, .compare-table td { padding: 10px 8px; }
    .page-banner { padding: 36px 0 28px; }
    .page-banner h1 { font-size: 30px; }
    .ledger-table { font-size: 13px; }
    .ledger-table th, .ledger-table td { padding: 10px 8px; }
}

@media (max-width: 430px) {
    .container { padding: 0 16px; }
    .hero { padding: 24px 0; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .stat-board { grid-template-columns: minmax(0, 1fr); }
    .modular-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .trust-grid { grid-template-columns: minmax(0, 1fr); }
}

/* anchor offset */
section[id] { scroll-margin-top: 80px; }

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 999;
}
.skip-link:focus { left: 0; }

/* Cookie consent */
.cookie-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 400;
    display: none;
}
.cookie-panel[aria-hidden="false"] { display: block; }
.cookie-panel h3 { margin: 0 0 8px; font-size: 16px; color: var(--primary); font-weight: 800; }
.cookie-panel p { margin: 0 0 16px; font-size: 13px; color: var(--text-soft); }
.cookie-panel .row { gap: 8px; }
.cookie-panel .btn-sm { padding: 8px 14px; }

/* Editorial colophon block */
.colophon-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
@media (max-width: 899px) { .colophon-grid { grid-template-columns: minmax(0, 1fr); } }

/* hub navigation row */
.hub-nav-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}
.hub-nav-row .hub-ball {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    text-decoration: none;
    color: var(--primary);
    box-shadow: var(--shadow);
    transition: transform .15s ease, border-color .15s ease;
}
.hub-nav-row .hub-ball:hover { transform: translateY(-2px); border-color: var(--accent); }
.hub-nav-row .hub-ball .ball-icon { font-size: 28px; margin-bottom: 6px; display: block; }
.hub-nav-row .hub-ball .ball-label { font-weight: 700; font-size: 14px; }
.hub-nav-row .hub-ball .ball-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 899px) {
    .hub-nav-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* support hub band */
.support-band {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.support-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.support-tile {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
}
.support-tile .num {
    width: 32px; height: 32px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 8px;
    display: grid; place-items: center;
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 14px;
}
.support-tile h4 { margin: 0 0 6px; font-size: 15px; color: var(--primary); font-weight: 700; }
.support-tile p { margin: 0; font-size: 13px; color: var(--text-soft); line-height: 1.5; }
@media (max-width: 899px) { .support-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ==========================================================================
   Consent categories, drawer close, catalogue lobby
   ========================================================================== */
.cookie-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-soft); cursor: pointer; }
.cookie-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-ink, #00694a); flex: 0 0 auto; }
.cookie-row strong { display: block; color: var(--text); font-size: 13px; }
.cookie-panel .row { display: flex; flex-wrap: wrap; }
button.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: none; }
button.linklike:hover { text-decoration: underline; }

.drawer-close {
    position: absolute; top: 10px; right: 12px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-soft); border: 1px solid var(--border-soft);
    border-radius: 10px; font-size: 24px; line-height: 1; color: var(--text);
    cursor: pointer; z-index: 2;
}
.mobile-drawer { position: relative; }
.mobile-drawer nav { padding-top: 46px; }
body.nav-open { overflow: hidden; }

/* Contest catalogue lobby */
.lobby-controls { display: grid; gap: 14px; margin: 24px 0 20px; }
.lobby-search-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lobby-search {
    flex: 1 1 260px; min-width: 0;
    padding: 13px 16px; font: inherit; font-size: 15px;
    border: 1px solid var(--border); border-radius: 12px;
    background: var(--surface); color: var(--text);
}
.lobby-search:focus-visible { outline: 3px solid var(--accent-ink, #00694a); outline-offset: 1px; }
.lobby-count { font-size: 13px; color: var(--text-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lobby-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lobby-chip {
    padding: 9px 15px; font: inherit; font-size: 13px; font-weight: 700;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--surface); color: var(--text-soft);
    cursor: pointer; white-space: nowrap;
}
.lobby-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.lobby-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .lobby-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .lobby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .lobby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.lobby-card {
    display: flex; flex-direction: column; min-width: 0;
    background: var(--surface); border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}
.lobby-card:hover, .lobby-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lobby-card img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.lobby-card-body { padding: 12px 13px 14px; display: grid; gap: 4px; min-width: 0; }
.lobby-card-name { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--text); }
.lobby-card-meta { font-size: 12px; color: var(--text-soft); }
.lobby-empty { padding: 28px; text-align: center; color: var(--text-soft); border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.lobby-more-row { display: flex; justify-content: center; margin-top: 22px; }

/* Detail-route fact sheet */
.fact-sheet { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.fact-sheet th, .fact-sheet td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.fact-sheet th { width: 42%; font-weight: 700; color: var(--text); background: var(--bg-soft); }
.fact-sheet td { color: var(--text-soft); }
.breadcrumbs { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs a { color: var(--text-soft); }

/* grid safety: media must never expand a track */
.hero-grid, .lobby-grid, .card-grid, .inline-image-row { min-width: 0; }
.hero-grid > *, .card-grid > *, .inline-image-row > * { min-width: 0; }
main img, article img { max-width: 100%; height: auto; }

/* sitemap: multi-column link directory */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 8px 0 24px;
}
.sitemap-col {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    min-width: 0;
}
.sitemap-col h3 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.sitemap-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sitemap-col li { margin: 0; padding: 0; }
.sitemap-col a {
    display: inline-block;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    padding: 2px 0;
    word-break: break-all;
}
.sitemap-col a:hover { color: var(--accent-dark); text-decoration: underline; }
@media (max-width: 960px) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sitemap-grid { grid-template-columns: minmax(0, 1fr); } }

/* faq: stacked <details> grid for APK / app / bonus / captain routes */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 18px 0 4px;
}
.faq-grid > details {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    min-width: 0;
    box-shadow: var(--shadow);
}
.faq-grid > details summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-grid > details summary::-webkit-details-marker { display: none; }
.faq-grid > details summary::after {
    content: '+';
    font-size: 22px;
    line-height: 1;
    color: var(--accent-dark);
    flex-shrink: 0;
}
.faq-grid > details[open] summary::after { content: '−'; }
.faq-grid > details > p {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}
