/* IgniteAI Expo — 2026 site styles */

:root {
    --paper: #faf7f1;
    --paper-alt: #f1ece2;
    --ink: #16181d;
    --muted: #5d6370;
    --dim: #8b909b;
    --line: rgba(22, 24, 29, 0.12);
    --accent: #e4472b;
    --accent-dark: #c53a20;
    --white: #fff;
    --radius: 6px;
    --wrap: 1180px;
    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h3, h4 { font-family: var(--body); font-weight: 600; margin: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em.hl { font-style: italic; color: var(--accent); font-weight: 500; }

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

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.nav.scrolled { background: rgba(250, 247, 241, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; line-height: 1.1; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand i { font-style: italic; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a:not(.btn) { transition: color .2s ease; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* ---------- Hero ---------- */

.hero { padding: 128px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d61; }
.pill.closed .dot { background: var(--accent); }

.hero h1 { font-size: clamp(42px, 5.8vw, 76px); margin: 22px 0 0; }
.hero h1 .line { display: block; }
.hero h1 .rot-wrap { display: inline-block; min-width: 4ch; }
.hero h1 #rot { display: inline-block; font-style: italic; color: var(--accent); transition: opacity .35s ease, transform .35s ease; }
.hero h1 #rot.out { opacity: 0; transform: translateY(12px); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 500px; margin: 24px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-facts li + li::before { content: '·'; margin-right: 22px; color: var(--dim); }

/* Photo collage */
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage img { position: absolute; object-fit: cover; border: 6px solid var(--white); border-radius: 3px; box-shadow: 0 18px 40px -18px rgba(22, 24, 29, .45); }
.collage .c1 { width: 70%; aspect-ratio: 1; top: 0; left: 0; transform: rotate(-2deg); }
.collage .c2 { width: 50%; aspect-ratio: 4 / 5; right: 0; top: 24%; transform: rotate(2.5deg); }
.collage .c3 { width: 52%; aspect-ratio: 16 / 10; left: 8%; bottom: 0; transform: rotate(1deg); }
.stamp {
    position: absolute; right: 4%; top: 2%; width: 112px; height: 112px; border-radius: 50%;
    background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center;
    font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; transform: rotate(10deg);
}
.stamp small { display: block; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .16em; margin-top: 5px; }

/* Countdown bar */
.deadline { margin-top: 64px; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 26px 32px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.deadline-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #a9adb8; font-weight: 600; }
.deadline-date { font-family: var(--display); font-size: 23px; font-weight: 600; margin-top: 4px; }
.deadline-local { font-size: 13px; color: #a9adb8; margin-top: 2px; min-height: 1em; }
.countdown { display: flex; gap: 28px; }
.countdown li { text-align: center; min-width: 58px; }
.countdown span { display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #a9adb8; }

/* ---------- Sections ---------- */

.section { padding: 100px 0; }
.section.alt { background: var(--paper-alt); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .split h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats li { padding: 28px 24px 28px 0; }
.stats li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-size: clamp(25px, 3vw, 38px); font-weight: 600; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }

/* Split (text + photo) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > .split-photo { order: -1; }
.split-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split .body { color: var(--muted); font-size: 17.5px; margin-top: 22px; }
.split .body strong { color: var(--ink); }
.renamed { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.renamed s { color: var(--dim); text-decoration-thickness: 2px; font-weight: 500; }
.renamed .to { color: var(--accent); font-family: var(--body); font-weight: 400; }

/* AI + X photo cards */
.x-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.x-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); transition: transform .4s ease; }
.x-card .ph { overflow: hidden; border-radius: var(--radius); }
.x-card:hover img { transform: scale(1.04); }
.x-card h3 { font-family: var(--display); font-size: 22px; font-weight: 600; margin-top: 14px; }
.x-card h3 span { color: var(--accent); font-style: italic; }
.x-card p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* Tracks */
.track-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 18px; }
.track .ph { position: relative; overflow: hidden; border-radius: var(--radius); }
.track img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.track:hover img { transform: scale(1.04); }
.track .tag { position: absolute; left: 10px; top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.track h3 { font-size: 16.5px; margin-top: 12px; }
.track p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; counter-reset: step; }
.timeline::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 1.5px; background: var(--ink); opacity: .25; }
.tl-step { position: relative; padding-right: 28px; counter-increment: step; }
.tl-step::before {
    content: counter(step); position: relative; z-index: 1; display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%; font-weight: 700;
    background: var(--paper-alt); border: 1.5px solid var(--ink); margin-bottom: 24px;
}
.tl-step.done { opacity: .5; }
.tl-step.current::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.tl-day { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tl-date { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.15; }
.tl-step h3 { font-size: 17px; margin-top: 12px; }
.tl-time { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.tl-local { display: block; font-size: 13px; color: var(--dim); margin-top: 4px; min-height: 1em; }

/* Judging */
.crit-list { margin-top: 28px; counter-reset: c; }
.crit-list li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.crit-list li::before { content: '0' counter(c); font-family: var(--display); font-style: italic; font-size: 22px; color: var(--accent); }
.crit-list h3 { font-size: 17px; }
.crit-list p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.ai-note { margin-top: 8px; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.ai-note strong { color: var(--ink); }

/* Divisions + awards */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.divisions { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-top: 28px; }
.division { padding: 20px 0; }
.division + .division { padding-left: 18px; border-left: 1px solid var(--line); }
.division b { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; white-space: nowrap; }
.division span { color: var(--muted); font-size: 13px; }
.award-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.award-list li:last-child { border-bottom: 1px solid var(--line); }
.award-list h3 { font-family: var(--display); font-size: 22px; font-weight: 600; }
.award-list p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Rules accordions */
.rules { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .2s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
.details-body { padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; }
.details-body h4 { font-size: 15px; color: var(--ink); margin: 18px 0 6px; }
.details-body h4:first-child { margin-top: 0; }
.details-body ol { counter-reset: r; }
.details-body ol li { counter-increment: r; position: relative; padding: 8px 0 8px 34px; }
.details-body ol li::before { content: counter(r) '.'; position: absolute; left: 4px; top: 8px; font-weight: 600; color: var(--ink); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.gallery a { border-radius: var(--radius); overflow: hidden; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 11, 14, .9); }
.lightbox img { max-height: 92vh; border-radius: 4px; }
.lightbox button { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; cursor: pointer; }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-logo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 32px; }
.about p { color: var(--muted); font-size: 17px; }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.sponsors li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px 12px; text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sponsors img { height: 70px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 10px; }
.sponsor-note { text-align: center; color: var(--muted); margin-top: 28px; }

/* Final CTA */
.cta { position: relative; text-align: center; padding: 130px 0; color: #fff; isolation: isolate; background: var(--ink) url('../images/2026/x-community.jpg') center 30% / cover no-repeat; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(16, 17, 21, .72); }
.cta .eyebrow { color: #ffb4a3; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); max-width: 860px; margin-inline: auto; }
.cta em.hl { color: #ff8468; }
.cta .hero-cta { justify-content: center; }
.cta .btn-ghost { border-color: #fff; color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); }
.apply-note { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.apply-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { padding: 48px 0 36px; color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a:hover { color: var(--ink); }
.footer a.mail { color: var(--accent); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .track-grid { grid-template-columns: repeat(4, 1fr); }
    .sponsors { grid-template-columns: repeat(4, 1fr); }
    .nav-links { gap: 20px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
        display: none; font-size: 16px;
    }
    .nav.open { background: var(--paper); }
    .nav.open .nav-links { display: flex; }
    .nav-links a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav-links .btn { margin-top: 18px; justify-content: center; }
    .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding-top: 108px; }
    .hero-grid, .split, .two-col, .about { grid-template-columns: 1fr; gap: 40px; }
    .split.flip > .split-photo { order: 0; }
    .collage { max-width: 460px; margin-inline: auto; width: 100%; }
    .deadline { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .countdown { justify-content: center; }
    .section { padding: 72px 0; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
    .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .x-grid { grid-template-columns: 1fr 1fr; }
    .track-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline { grid-template-columns: 1fr; gap: 36px; }
    .timeline::before { top: 0; bottom: 0; left: 20px; right: auto; width: 1.5px; height: auto; }
    .tl-step { padding: 0 0 0 66px; }
    .tl-step::before { position: absolute; left: 0; top: 0; margin: 0; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .about-logo { max-width: 340px; }
}

@media (max-width: 560px) {
    .wrap { padding-inline: 20px; }
    .track-grid { grid-template-columns: 1fr 1fr; }
    .x-grid { gap: 22px 14px; }
    .x-card h3 { font-size: 19px; }
    .divisions { grid-template-columns: 1fr 1fr; }
    .division:nth-child(3) { padding-left: 0; border-left: 0; }
    .division:nth-child(n+3) { border-top: 1px solid var(--line); }
    .countdown { gap: 18px; }
    .countdown span { font-size: 32px; }
    .sponsors { grid-template-columns: repeat(2, 1fr); }
    .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
    .hero-facts li + li::before { display: none; }
    .stamp { width: 88px; height: 88px; font-size: 20px; }
}

/* ---------- Registration form ---------- */

.nav-simple { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav-simple a:hover { color: var(--ink); }
@media (max-width: 560px) { .nav-simple .opt { display: none; } }

.reg-hero { padding: 120px 0 36px; }
.reg-hero h1 { font-size: clamp(38px, 5vw, 60px); margin-top: 14px; }
.reg-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 16px; }
.reg-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px 110px; }
.reg-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 34px 0 10px; }
.reg-form legend { float: left; width: 100%; font-family: var(--display); font-size: 26px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.reg-form legend span { font-style: italic; color: var(--accent); margin-right: 10px; }
.reg-form .hint { clear: both; color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.fields { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field label i, .field .label i { font-style: normal; font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
    font: inherit; color: var(--ink); background: var(--white);
    border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 24, 29, .08); }
.field .err { color: var(--accent-dark); font-size: 13px; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent); }
.field small { color: var(--dim); font-size: 13px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 14.5px; font-weight: 500; transition: all .15s ease; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(22, 24, 29, .15); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; padding: 8px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-actions { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.reg-actions .btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.form-msg { font-size: 15px; color: var(--accent-dark); flex: 1 1 260px; }
.notice { padding: 18px 22px; border-radius: var(--radius); background: var(--paper-alt); border-left: 3px solid var(--accent); margin-bottom: 30px; font-size: 15.5px; }
.reg-done { text-align: center; padding: 60px 0 20px; }
.reg-done .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 26px; }
.reg-done h2 { font-size: clamp(32px, 4vw, 46px); }
.reg-done p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 16px auto 0; }
.reg-done code { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: var(--radius); background: var(--paper-alt); font-size: 15px; color: var(--ink); }

@media (max-width: 640px) {
    .fields { grid-template-columns: 1fr; }
    .reg-hero { padding-top: 104px; }
}

/* Team roster (registration) */
.roster-title { font-family: var(--display); font-size: 21px; font-weight: 600; margin: 30px 0 4px; }
.mate { display: grid; grid-template-columns: 1fr 1fr 130px 40px; gap: 12px; align-items: end; margin-bottom: 12px; }
.mate .field label { font-size: 13px; }
.mate .rm { height: 47px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); }
.mate .rm:hover { border-color: var(--accent); color: var(--accent-dark); }
@media (max-width: 640px) { .mate { grid-template-columns: 1fr 1fr; } .mate .rm { grid-column: 2; } }
