@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --black-primary: #313131;
    --bg-primary: #f0eeed;
    --sauter-point: #BAEF26;

    /* site palette — dark purple aligned with the video */
    --site-bg:       #07050f;
    --site-surface:  #110d21;
    --site-border:   rgba(139, 92, 246, 0.18);
    --site-accent:   #9b6df5;
    --site-accent2:  #c084fc;
    --site-pink:     #e879a0;
    --site-text:     #ede9f8;
    --site-muted:    #8b80aa;
    --site-label:    rgba(155, 109, 245, 0.15);
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--site-bg);
}

/* scroll-pin wrapper — sets the scroll travel distance */
.hero-pin {
    height: calc(100vh + 800px);
}

.main-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.75rem, 5vw, 3rem) 1.25rem 2rem;
    text-align: center;
    background-color: #07050f;
}

/* canvas covers entire main, frames drawn here */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.main-logo,
.hero-content {
    position: relative;
    z-index: 1;
}

.main-logo {
    flex-shrink: 0;
    width: min(180px, 38vw);
    height: auto;
    display: block;
}

.hero-content {
    margin-top: -1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.main-container h1 {
    font-size: 14rem;
    color: var(--bg-primary);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 0.65rem;
    padding: 0;
    letter-spacing: -0.05em;
    text-align: center;
}

.main-container .sauter-point {
    color: var(--sauter-point);
    animation: cursor-blink 1.1s step-end infinite;
}

@keyframes cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.main-container p {
    font-size: 3rem;
    color: var(--bg-primary);
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    padding: 0;
    letter-spacing: 0.04em;
    text-align: center;
    max-width: 40ch;
}

/* ─── Sticky bar ─────────────────────────────────────────── */
.sticky-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem clamp(1.25rem, 6vw, 4rem);
    background: rgba(7, 5, 15, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--site-border);
}

.sticky-bar__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--site-text);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sticky-bar__date {
    font-size: 0.8rem;
    color: var(--site-muted);
    white-space: nowrap;
    flex: 1;
}

.sticky-bar__nav {
    display: flex;
    gap: 1.5rem;
}

.sticky-bar__nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--site-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.sticky-bar__nav a:hover {
    color: var(--site-accent);
}

/* ─── Shared section base ────────────────────────────────── */
.section {
    padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 6vw, 4rem);
}

.section__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--site-accent);
    background: var(--site-label);
    border: 1px solid var(--site-border);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
}

.section__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--site-text);
    margin: 0 0 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* ─── Sobre ──────────────────────────────────────────────── */
.section--sobre {
    background: var(--site-bg);
    border-bottom: 1px solid var(--site-border);
}

.section__lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--site-muted);
    line-height: 1.75;
    max-width: 68ch;
    margin: 0 0 3.5rem;
}

.section__lead strong {
    color: var(--site-text);
    font-weight: 600;
}

.sobre-cards {
    display: flex;
    gap: 0.75rem;
    height: 380px;
}

/* ── each card ── */
.sobre-card {
    position: relative;
    flex: 0 0 72px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--site-surface);
}

.sobre-card.is-active {
    flex: 1;
}

/* frame image as background */
.sobre-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-frame);
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    transition: opacity 0.55s;
    z-index: 0;
}

.sobre-card.is-active::after {
    opacity: 0.6;
}

/* dark gradient overlay so text stays readable */
.sobre-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7, 5, 15, 0.88) 0%,
        rgba(7, 5, 15, 0.3) 60%,
        transparent 100%
    );
    z-index: 1;
}

/* ── collapsed label (rotated) ── */
.sobre-card__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--site-text);
    opacity: 1;
    transition: opacity 0.25s 0.1s;
    z-index: 2;
}

.sobre-card.is-active .sobre-card__label {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

/* ── expanded content ── */
.sobre-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.75rem;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s;
    pointer-events: none;
}

.sobre-card.is-active .sobre-card__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.35s 0.2s, transform 0.35s 0.2s, visibility 0s 0.2s;
    pointer-events: auto;
}

.sobre-card__icon {
    display: flex;
    margin-bottom: 0.75rem;
}

.sobre-card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--site-text);
    stroke-width: 1.5;
}

.sobre-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--site-text);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.sobre-card p {
    font-size: 0.88rem;
    color: rgba(237, 233, 248, 0.72);
    margin: 0;
    line-height: 1.6;
}

/* ─── Equipes accordion ──────────────────────────────────── */
.section--equipes {
    background: linear-gradient(180deg, var(--site-bg) 0%, #0d0920 100%);
}

/* ─── Regras ─────────────────────────────────────────────── */
.section--regras {
    background: var(--site-bg);
    border-top: 1px solid var(--site-border);
}

/* ── Materiais de Estudo ─────────────────────────────── */
.section--materiais {
    background: var(--site-bg);
    border-top: 1px solid var(--site-border);
}

.materiais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.materiais-group {
    background: rgba(155, 109, 245, 0.04);
    border: 1px solid var(--site-border);
    border-radius: 14px;
    padding: 1.75rem 1.75rem 1.5rem;
}

.materiais-group__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--site-accent);
    margin: 0 0 1.25rem;
}

.materiais-group__title svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--site-accent);
    stroke-width: 1.75;
    flex-shrink: 0;
}

.materiais-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.materiais-list li a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: rgba(237, 233, 248, 0.65);
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
}

.materiais-list li a:hover {
    background: rgba(155, 109, 245, 0.1);
    color: var(--site-text);
}

.materiais-list li a svg {
    width: 0.9rem;
    height: 0.9rem;
    stroke: var(--site-accent);
    stroke-width: 2;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .materiais-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    counter-reset: rules;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--site-border);
    counter-increment: rules;
    position: relative;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(155, 109, 245, 0.08);
    border: 1px solid var(--site-border);
    border-radius: 10px;
}

.rules-list__icon svg {
    width: 1.05rem;
    height: 1.05rem;
    stroke: var(--site-accent);
    stroke-width: 1.75;
}

.rules-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.rules-list li strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--site-text);
    line-height: 1.3;
}

.rules-list li p {
    font-size: 0.875rem;
    color: var(--site-muted);
    margin: 0;
    line-height: 1.65;
}

.rules-list li::before {
    content: counter(rules, decimal-leading-zero);
    position: absolute;
    right: 0;
    top: 1.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(155, 109, 245, 0.3);
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.teams-accordion {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    overflow: hidden;
}

.team-item {
    border-bottom: 1px solid var(--site-border);
}

.team-item:last-child {
    border-bottom: none;
}

/* ── row trigger ── */
.team-item__trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 3rem 1fr auto 1.5rem;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.team-item__trigger:hover {
    background: rgba(155, 109, 245, 0.06);
}

.team-item[data-open] .team-item__trigger {
    background: rgba(155, 109, 245, 0.08);
}

.team-item__number {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--site-accent), var(--site-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
}

.team-item__name {
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--site-text);
    line-height: 1.35;
}

.team-item__tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--site-accent2);
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.22);
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    white-space: nowrap;
}

/* chevron icon */
.team-item__chevron {
    display: block;
    width: 1rem;
    height: 1rem;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-item__chevron::before,
.team-item__chevron::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 1.5px;
    background: var(--site-muted);
    border-radius: 2px;
    transition: transform 0.3s, background 0.2s;
}

.team-item__chevron::before { left: 1px;  transform: translateY(-50%) rotate(45deg);  }
.team-item__chevron::after  { right: 1px; transform: translateY(-50%) rotate(-45deg); }

.team-item[data-open] .team-item__chevron::before { transform: translateY(-50%) rotate(-45deg); background: var(--site-accent); }
.team-item[data-open] .team-item__chevron::after  { transform: translateY(-50%) rotate(45deg);  background: var(--site-accent); }

/* ── collapsible body ── */
.team-item__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-item[data-open] .team-item__body {
    grid-template-rows: 1fr;
}

.team-item__body-inner {
    overflow: hidden;
    padding: 0 1.75rem;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-item[data-open] .team-item__body-inner {
    padding: 0.25rem 1.75rem 1.5rem;
}

.team-item__desc {
    font-size: 0.9rem;
    color: var(--site-muted);
    line-height: 1.7;
    margin: 0 0 1rem;
    max-width: 80ch;
}

.team-item__members {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.team-item__members li {
    font-size: 0.72rem;
    color: var(--site-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--site-border);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.team-item__members li:first-child {
    color: var(--sauter-point);
    background: rgba(186, 239, 38, 0.12);
    border-color: rgba(186, 239, 38, 0.35);
    font-weight: 600;
}

/* ── Case technical context panel ── */
.team-item__case {
    margin-top: 1.5rem;
}

.team-item__materiais {
    margin-top: 1.25rem;
    border-top: 1px solid var(--site-border);
    padding-top: 1.25rem;
}

.team-item__materiais-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--site-accent);
    margin: 0 0 0.85rem;
}

.team-item__materiais-title svg {
    width: 0.9rem;
    height: 0.9rem;
    stroke: var(--site-accent);
    stroke-width: 1.75;
    flex-shrink: 0;
}

.team-item__materiais-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.team-item__materiais-list li a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: rgba(237, 233, 248, 0.65);
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.team-item__materiais-list li a:hover {
    background: rgba(155, 109, 245, 0.1);
    color: var(--site-text);
}

.team-item__materiais-list li a svg {
    width: 0.8rem;
    height: 0.8rem;
    stroke: var(--site-accent);
    stroke-width: 2;
    flex-shrink: 0;
    opacity: 0.7;
}

.case-panel {
    background: rgba(155, 109, 245, 0.05);
    border: 1px solid var(--site-border);
    border-left: 3px solid var(--site-accent);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
}

.case-panel__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--site-accent);
    margin-bottom: 1rem;
}

.case-panel__label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--site-accent);
    flex-shrink: 0;
}

.case-panel__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--site-text);
    margin: 0 0 0.85rem;
    line-height: 1.3;
}

.case-panel__body p {
    font-size: 0.875rem;
    color: var(--site-muted);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.case-panel__body p:last-child {
    margin-bottom: 0;
}

.case-panel__criteria-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--site-text);
    margin: 1.1rem 0 0.6rem;
    letter-spacing: 0.02em;
}

.case-panel__criteria {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-panel__criteria li {
    font-size: 0.855rem;
    color: var(--site-muted);
    line-height: 1.55;
    padding-left: 1.1rem;
    position: relative;
}

.case-panel__criteria li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--site-accent);
    font-weight: 700;
}

.case-panel--loading {
    color: var(--site-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: #04030a;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--site-border);
}

/* hover-cell grid background */
.footer-boxes-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    grid-auto-rows: 44px;
    pointer-events: none;
    z-index: 0;
}

.footer-box-cell {
    border: 1px solid rgba(255,255,255,0.03);
    transition: background-color 0.4s ease;
    pointer-events: auto;
    cursor: default;
}

/* content layer */
.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 6vw, 4rem) clamp(1.25rem, 3vw, 2rem);
}

/* 2-column: brand | bottom */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

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

/* brand block */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-logo-img {
    width: clamp(90px, 14vw, 130px);
    height: auto;
    display: block;
    opacity: 0.92;
}

.footer-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 0;
    max-width: 26ch;
}

.footer-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    width: fit-content;
}

.footer-partner svg { flex-shrink: 0; color: #bef264; }

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a svg { width: 15px; height: 15px; }

.footer-social a:hover {
    color: #fff;
    border-color: rgba(155,109,245,0.6);
    background: rgba(155,109,245,0.12);
}

/* cols */
.footer-col h5 {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin: 0 0 0.9rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-col ul a {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: #fff; }

/* bottom bar */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.32);
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.32);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — mobile first adjustments
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 640px) {

    /* ── Hero ── */
    .hero-pin {
        height: calc(100vh + 400px);
    }

    .main-container h1 {
        font-size: clamp(3.5rem, 18vw, 7rem);
        letter-spacing: -0.04em;
    }

    .main-container p {
        font-size: clamp(0.8rem, 3.8vw, 1.6rem);
        white-space: nowrap;
    }

    .hero-content {
        margin-top: -0.5rem;
    }

    /* ── Sticky bar ── */
    .sticky-bar {
        gap: 0.75rem;
        padding: 0.7rem 1rem;
    }

    .sticky-bar__date {
        display: none;
    }

    .sticky-bar__nav {
        gap: 1rem;
    }

    .sticky-bar__nav a {
        font-size: 0.78rem;
    }

    /* ── Sobre accordion → stacked vertical ── */
    .sobre-cards {
        flex-direction: column;
        height: auto;
        gap: 0.5rem;
    }

    .sobre-card {
        flex: none !important;
        height: 72px;
        border-radius: 14px;
    }

    .sobre-card.is-active {
        height: 260px;
    }

    .sobre-card__label {
        transform: translate(-50%, -50%) rotate(0deg);
        font-size: 0.75rem;
    }

    /* ── Teams trigger ── */
    .team-item__trigger {
        grid-template-columns: 2.5rem 1fr 1.5rem;
        gap: 0.75rem;
        padding: 1rem 1.1rem;
    }

    .team-item__tag {
        display: none;
    }

    .team-item__name {
        font-size: 0.875rem;
    }

    .team-item__body-inner {
        padding: 0 1.1rem;
    }

    .team-item[data-open] .team-item__body-inner {
        padding: 0.25rem 1.1rem 1.25rem;
    }

    /* hide counter number on mobile to avoid overlap */
    .rules-list li::before {
        display: none;
    }

    .rules-list li {
        gap: 1rem;
    }

    /* ── Section spacing ── */
    .section {
        padding: clamp(2.5rem, 8vw, 4rem) 1.1rem;
    }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        align-items: flex-start;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}