:root {
    --black: #0b0b0b;
    --ink: #171717;
    --muted: #66666c;
    --paper: #f6f4ef;
    --white: #ffffff;
    --line: #d9d8d3;
    --red: #ff2033;
    --gold: #f6bd3f;
    --blue: #3fb4d7;
    --green: #54b87b;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, .12);
    --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input[type="button"], input[type="submit"], input[type="file"] { touch-action: manipulation; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--red);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.preview-bar {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 9px max(20px, env(safe-area-inset-right)) 9px max(20px, env(safe-area-inset-left));
    color: var(--black);
    background: var(--gold);
    font-size: 13px;
    letter-spacing: .02em;
}
.preview-bar a { font-weight: 800; }

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 14px max(24px, calc((100vw - var(--max)) / 2));
    color: var(--white);
    background: rgba(11, 11, 11, .96);
    backdrop-filter: blur(14px);
}
.brand { display: inline-flex; width: 270px; }
.brand img { display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 750; }
.main-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { padding: 10px 17px; color: var(--white); background: var(--red); border-radius: 999px; }
.menu-toggle { display: none; color: var(--white); background: transparent; border: 1px solid #555; border-radius: 999px; padding: 8px 14px; }

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: var(--white);
    background: var(--black);
    border-bottom: 1px solid #333;
}
.hero-grid {
    position: absolute;
    inset: 0 0 auto auto;
    display: grid;
    grid-template-columns: repeat(4, 112px);
    height: 100%;
    opacity: .82;
    transform: skewX(-8deg) translateX(80px);
}
.hero-grid i:nth-child(1) { background: var(--gold); }
.hero-grid i:nth-child(2) { background: var(--red); }
.hero-grid i:nth-child(3) { background: var(--blue); }
.hero-grid i:nth-child(4) { background: var(--green); }
.hero-word {
    position: absolute;
    left: -20px;
    bottom: -95px;
    color: rgba(255, 255, 255, .035);
    font-size: clamp(180px, 26vw, 430px);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -.08em;
    white-space: nowrap;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 120px 500px 100px 0;
}
.hero-kicker, .eyebrow {
    margin: 0 0 18px;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(58px, 8vw, 112px);
    font-weight: 950;
    line-height: .84;
    letter-spacing: -.065em;
}
.hero h1 span { color: var(--white); }
.hero-name {
    margin: 30px 0 16px;
    color: var(--red);
    font-size: clamp(23px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: .03em;
}
.hero-copy { max-width: 650px; margin: 0; color: #d1d1d1; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: #db1022; }
.button-ghost { color: var(--white); background: transparent; box-shadow: inset 0 0 0 1px #555; }
.button-dark { color: var(--white); background: var(--black); }
.button-full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.hero-meta {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    border-top: 1px solid #3a3a3a;
}
.hero-meta div { display: flex; align-items: baseline; gap: 9px; padding: 23px 20px 23px 0; }
.hero-meta strong { font-size: 30px; line-height: 1; }
.hero-meta span { color: #aaa; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.section-label { margin-bottom: 52px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.section h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.045em; }
.lead { font-size: 25px; font-weight: 750; line-height: 1.35; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.manifesto-copy p:first-child { margin-top: 0; }
.format-strip { margin: 55px 0 0; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }
.format-strip strong { color: var(--ink); }

.steps-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 55px; }
.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps-list li { display: grid; grid-template-columns: 120px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps-list > li > span { color: var(--red); font-weight: 900; }
.steps-list h3 { margin: 0 0 4px; font-size: 30px; }
.steps-list p { max-width: 700px; margin: 0; color: var(--muted); }

.facts-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; max-width: none; padding: 0; }
.facts-card { min-height: 420px; padding: 60px max(32px, calc((100vw - var(--max)) / 6)); color: var(--black); }
.facts-card-red { background: var(--red); }
.facts-card-blue { background: var(--blue); }
.facts-card-green { background: var(--green); }
.facts-card h2 { font-size: clamp(38px, 4vw, 62px); }
.facts-card p:last-child { max-width: 420px; font-weight: 650; }
.card-index { margin: 0 0 90px; font-weight: 950; }

.rules-section { padding-bottom: 120px; }
.rules-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.rules-heading > div { max-width: 760px; }
.rules-details { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.rules-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 22px; font-weight: 850; }
.rules-details summary small { color: var(--muted); font-size: 13px; font-weight: 650; }
.rules-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 55px; padding: 10px 0 45px; }
.rules-body article { padding: 20px 0; border-top: 1px solid var(--line); }
.rules-body h3 { margin: 0 0 8px; font-size: 18px; }
.rules-body p { margin: 0; color: #48484b; font-size: 15px; }

.application-section { width: 100%; max-width: none; margin: 0; padding: 110px max(24px, calc((100vw - var(--max)) / 2)); background: var(--white); }
.application-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.preview-notice { max-width: 330px; padding: 18px 20px; color: #4d3800; background: #fff1bd; border-left: 4px solid var(--gold); }
.preview-notice strong, .preview-notice span { display: block; }
.preview-notice span { margin-top: 4px; font-size: 13px; }
.application-form { display: grid; gap: 28px; }
.application-form fieldset { min-width: 0; margin: 0; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.application-form legend { padding: 0 12px; font-size: 25px; font-weight: 900; }
.application-form legend span { margin-right: 8px; color: var(--red); }
.form-grid { display: grid; gap: 22px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.field { margin-top: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 850; }
.field input, .field textarea, .field select {
    min-width: 0;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #b9b9b9;
    border-radius: 10px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(63, 180, 215, .35); border-color: #1287a8; }
.field input[readonly] { color: #555; background: #eee; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card span { display: block; min-height: 110px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; }
.choice-card strong, .choice-card small { display: block; }
.choice-card small { margin-top: 5px; color: var(--muted); }
.choice-card input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.choice-card input:focus-visible + span { outline: 3px solid rgba(63, 180, 215, .5); }
.group-fields, .minor-fields { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.minor-banner { margin-top: 10px; padding: 14px 16px; background: #fff1bd; border-radius: 10px; font-weight: 750; }
.upload-choice { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; gap: 20px; }
.upload-field { position: relative; min-height: 150px; padding: 24px; background: #f2f2f2; border: 1px dashed #888; border-radius: 14px; }
.upload-field input[type="file"] {
    min-height: 54px;
    padding: 7px;
    background: var(--white);
    cursor: pointer;
}
.upload-field input[type="file"]::file-selector-button {
    min-height: 40px;
    margin-right: 10px;
    padding: 8px 13px;
    color: var(--white);
    background: var(--black);
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}
.file-label { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--muted); font-size: 13px; font-weight: 750; }
.upload-divider { position: relative; text-align: center; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.upload-progress { margin-top: 22px; padding: 18px 20px; background: #f2f2f2; border-radius: 12px; }
.progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 10px; font-size: 14px; }
.progress-meta span { flex: 0 0 auto; font-weight: 900; }
.upload-progress progress { display: block; width: 100%; height: 14px; overflow: hidden; accent-color: var(--red); border: 0; border-radius: 999px; }
.upload-progress progress::-webkit-progress-bar { background: #d8d8d8; border-radius: 999px; }
.upload-progress progress::-webkit-progress-value { background: var(--red); border-radius: 999px; }
.upload-progress progress::-moz-progress-bar { background: var(--red); border-radius: 999px; }
.declarations { display: grid; gap: 13px; }
.declarations label { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; padding: 15px; background: #f7f7f7; border-radius: 10px; }
.declarations input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.declarations a { color: #bb0d1c; font-weight: 800; }
.optional-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 30px; color: var(--white); background: var(--black); border-radius: var(--radius); }
.form-submit p { margin: 0; }
.submit-copy { display: grid; gap: 6px; max-width: 650px; }
.submit-copy code, .technical-preview-note code { font: inherit; font-weight: 900; }
.submit-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.form-message { padding: 15px 17px; border-radius: 10px; font-weight: 750; }
.form-message-error { color: #751019; background: #ffe3e5; border: 1px solid #f3a7ad; }
.form-message-success { color: #174f2e; background: #def6e6; border: 1px solid #87c99e; }
.application-form[aria-busy="true"] { cursor: progress; }

.privacy-section { padding-top: 80px; }
.privacy-card { padding: 45px; background: #ece9df; border-radius: var(--radius); }
.privacy-card h2 { max-width: 800px; }
.privacy-lead { max-width: 920px; font-size: 18px; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; margin-top: 35px; }
.privacy-grid article { padding: 24px 0; border-top: 1px solid #c8c4b9; }
.privacy-grid h3 { margin: 0 0 9px; font-size: 18px; }
.privacy-grid p, .privacy-grid li { color: #48484b; font-size: 15px; }
.privacy-grid p { margin: 0; }
.privacy-grid ul { margin: 0; padding-left: 20px; }
.privacy-grid li + li { margin-top: 7px; }
.privacy-grid a { color: #a80f1d; font-weight: 800; overflow-wrap: anywhere; }
.technical-preview-note { display: grid; gap: 5px; margin-top: 30px; padding: 19px 21px; color: #4d3800; background: #fff1bd; border-left: 4px solid var(--gold); }
.technical-preview-note span { font-size: 13px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 70px max(24px, calc((100vw - var(--max)) / 2)); color: #ccc; background: var(--black); }
.site-footer img { width: 310px; }
.site-footer div:last-child { text-align: right; }
.site-footer a { color: var(--white); font-weight: 800; }

.preview-dialog { width: min(600px, calc(100% - 30px)); max-height: calc(100vh - 30px); max-height: min(860px, calc(100dvh - 30px)); overflow: auto; padding: 40px; border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.preview-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.preview-dialog h2 { margin: 0; font-size: 44px; line-height: 1; }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.test-code-label { margin: 28px 0 4px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.test-code { display: block; overflow-wrap: anywhere; color: var(--red); font-size: clamp(26px, 7vw, 38px); font-weight: 950; letter-spacing: -.025em; }
.receipt-list { margin: 28px 0; border-top: 1px solid var(--line); }
.receipt-list div { display: grid; grid-template-columns: 105px 1fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.receipt-list dt { color: var(--muted); font-size: 13px; font-weight: 850; }
.receipt-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-weight: 750; }
.dialog-note { color: var(--muted); font-size: 13px; }

.login-page { min-height: 100vh; color: var(--white); background: var(--black); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px 20px; background: radial-gradient(circle at 75% 20%, rgba(255, 32, 51, .2), transparent 35%), var(--black); }
.login-card { width: min(520px, 100%); background: #171717; border: 1px solid #303030; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 100px rgba(0, 0, 0, .55); }
.login-brand { padding: 35px 42px 25px; text-align: center; background: #0e0e0e; }
.login-brand img { width: 360px; }
.color-line { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.color-line i:nth-child(1) { background: var(--gold); }
.color-line i:nth-child(2) { background: var(--red); }
.color-line i:nth-child(3) { background: var(--blue); }
.color-line i:nth-child(4) { background: var(--green); }
.login-content { padding: 38px 42px 42px; }
.login-content h1 { margin: 0; font-size: clamp(40px, 10vw, 64px); line-height: .95; letter-spacing: -.05em; }
.login-lead { color: #bcbcbc; }
.login-form { margin-top: 28px; }
.login-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.password-field { display: grid; grid-template-columns: 1fr auto; margin-bottom: 14px; border: 1px solid #555; border-radius: 10px; overflow: hidden; }
.password-field input { min-width: 0; height: 52px; padding: 10px 14px; color: var(--white); background: #101010; border: 0; outline: 0; }
.password-toggle { padding: 0 14px; color: var(--white); background: #2b2b2b; border: 0; cursor: pointer; }
.login-note { margin: 20px 0 0; color: #888; font-size: 12px; text-align: center; }
.alert { margin: 18px 0; padding: 12px 14px; border-radius: 9px; font-size: 14px; }
.alert-error { color: #ffd7da; background: rgba(255, 32, 51, .18); border: 1px solid rgba(255, 32, 51, .45); }

@media (max-width: 1000px) {
    .hero-content { padding-right: 330px; }
    .hero-grid { grid-template-columns: repeat(4, 75px); }
    .manifesto-grid { gap: 45px; }
    .facts-card { padding: 45px 28px; }
}

@media (max-width: 780px) {
    body { font-size: 16px; }
    .preview-bar { align-items: center; justify-content: space-between; gap: 12px; }
    .preview-bar span { line-height: 1.35; }
    .preview-bar a { flex: 0 0 auto; padding: 7px 0; }
    .site-header { min-height: 70px; padding: 12px 20px; }
    .brand { width: 220px; }
    .menu-toggle { display: inline-flex; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: var(--black); border-top: 1px solid #333; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 13px 5px; }
    .nav-cta { margin-top: 8px; text-align: center; }
    .hero { min-height: auto; }
    .hero-grid { inset: auto 0 0; grid-template-columns: repeat(4, 1fr); width: 100%; height: 25px; transform: none; }
    .hero-content { width: min(100% - 36px, var(--max)); padding: 78px 0 65px; }
    .hero h1 { font-size: clamp(56px, 18vw, 86px); }
    .hero-copy { font-size: 18px; }
    .hero-meta { width: calc(100% - 36px); grid-template-columns: 1fr 1fr; padding-bottom: 35px; }
    .hero-meta div { padding: 18px 0; }
    .section { width: calc(100% - 36px); padding: 78px 0; }
    .section-label { margin-bottom: 35px; }
    .manifesto-grid, .rules-body, .form-grid-2, .privacy-grid, .site-footer { grid-template-columns: 1fr; }
    .manifesto-grid { gap: 32px; }
    .facts-section { grid-template-columns: 1fr; width: 100%; }
    .facts-card { min-height: 320px; padding: 42px 24px; }
    .card-index { margin-bottom: 50px; }
    .rules-heading, .application-heading { align-items: stretch; flex-direction: column; }
    .rules-heading .button { align-self: flex-start; }
    .application-section { width: 100%; max-width: none; margin: 0; padding: 78px 18px; }
    .application-form fieldset { padding: 24px 18px; }
    .application-form legend { max-width: calc(100vw - 72px); font-size: 22px; }
    .choice-grid { grid-template-columns: 1fr; }
    .upload-choice { grid-template-columns: 1fr; }
    .upload-divider { padding: 4px 0; }
    .upload-field { min-height: 0; padding: 20px 16px; }
    .field input, .field textarea, .field select { min-height: 54px; font-size: 16px; }
    .declarations label { grid-template-columns: 26px minmax(0, 1fr); padding: 16px 13px; }
    .declarations input { width: 22px; height: 22px; }
    .form-submit { align-items: stretch; flex-direction: column; }
    .submit-actions { display: grid; grid-template-columns: 1fr; }
    .form-submit .button { width: 100%; }
    .privacy-card { padding: 28px 22px; }
    .site-footer div:last-child { text-align: left; }
}

@media (max-width: 480px) {
    .preview-bar span { max-width: 260px; font-size: 12px; }
    .brand { width: 180px; }
    .hero-actions .button { width: 100%; }
    .steps-list li { grid-template-columns: 52px 1fr; }
    .steps-list h3 { font-size: 25px; }
    .rules-details summary { align-items: flex-start; flex-direction: column; }
    .preview-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 32px 20px 24px; border-radius: 15px; }
    .preview-dialog h2 { font-size: 36px; }
    .receipt-list div { grid-template-columns: 82px minmax(0, 1fr); }
    .login-brand, .login-content { padding-left: 24px; padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
