html, body {
    min-height: 100%;
    height: auto;
    overflow: auto;
    background: #101820;
    color: #f5f7f8;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
}

body { min-width: 320px; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #ffd84c;
    outline-offset: 3px;
}
button, input { font: inherit; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { border-bottom: 1px solid #2a3640; background: #101820; }
.site-header-inner, .site-footer-inner {
    width: min(1200px, calc(100% - 64px));
    margin: auto;
    display: flex;
    align-items: center;
}
.site-header-inner { min-height: 82px; gap: 48px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-decoration: none;
    white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-light { font-weight: 400; }
.brand-mark, .visual-mini-mark {
    display: grid;
    place-items: center;
    color: #101820;
    background: #fdc400;
    font-weight: 900;
}
.brand-mark { width: 36px; height: 36px; border-radius: 9px; font-size: 1.2rem; }
.header-external { margin-left: auto; color: #c6cfd7; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.site-main { flex: 1; width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.site-footer { margin-top: 60px; border-top: 1px solid #2a3640; color: #a7b3bd; font-size: 0.875rem; }
.site-footer-inner { min-height: 76px; justify-content: space-between; gap: 20px; }
.footer-divider { padding: 0 8px; color: #53606b; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover, .header-external:hover { color: #fff; }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: 560px; padding: 76px 0 62px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #fdc400; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; }
.eyebrow-dot, .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #fdc400; flex: none; }
.hero h1, .upload-intro h1 {
    margin: 20px 0;
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.06;
}
.hero h1 span, .upload-intro h1 span { color: #fdc400; }
.hero-copy > p, .upload-intro > p { max-width: 540px; color: #b7c3ce; font-size: 1.13rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 32px; }
.action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 52px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.action:hover { text-decoration: none; }
.action-primary { background: #fdc400; color: #172028; }
.action-primary:hover { background: #ffda50; color: #172028; }
.action-secondary { color: #fff; border-color: #687784; background: transparent; }
.action-secondary:hover { background: #2a3640; }
.text-link { color: #d3dbe0; font-weight: 600; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 38px; color: #a7b3bd; font-size: 0.875rem; }
.status-dot { background: #80c6a5; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 390px; overflow: hidden; border: 1px solid #344049; border-radius: 24px; background: radial-gradient(circle at 50% 50%, #30404a, #19252e 60%, #162129); }
.visual-orbit { position: absolute; border: 1px solid #647461; border-radius: 50%; opacity: .38; }
.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 460px; height: 460px; }
.visual-card { position: relative; width: min(290px, 72%); padding: 20px; border: 1px solid #59666b; border-radius: 15px; background: #25333b; box-shadow: 0 20px 60px #080f1466; text-align: center; }
.visual-card-top { display: flex; align-items: center; gap: 9px; color: #b4c0c6; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-align: left; }
.visual-mini-mark { width: 25px; height: 25px; border-radius: 6px; font-size: .85rem; letter-spacing: 0; }
.visual-dots { margin-left: auto; font-size: 1rem; letter-spacing: .1em; }
.visual-cloud { display: grid; place-items: center; width: 90px; height: 90px; margin: 35px auto 16px; border-radius: 50%; background: #3c4635; color: #fdc400; }
.visual-cloud svg { width: 54px; }
.visual-title { font-size: 1.15rem; font-weight: 700; }
.visual-subtitle { margin-top: 4px; color: #a7b3bd; font-size: .82rem; }
.visual-line { height: 7px; margin: 28px 8px 8px; border-radius: 9px; background: #44535a; overflow: hidden; }
.visual-line span { display: block; width: 72%; height: 100%; background: #fdc400; }
.visual-badge { position: absolute; right: 7%; bottom: 17%; padding: 12px 16px; border: 1px solid #536069; border-radius: 10px; background: #26363d; box-shadow: 0 12px 30px #080f1455; font-size: .8rem; font-weight: 600; }
.visual-badge span { padding-right: 6px; color: #fdc400; }
.steps-section { padding: 42px 0 14px; border-top: 1px solid #34404a; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.section-heading > p { max-width: 300px; color: #aebac4; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { min-height: 175px; padding: 25px; border: 1px solid #34404a; border-radius: 12px; background: #18242d; }
.step-number { color: #fdc400; font-size: .85rem; font-weight: 800; }
.step-card h3 { margin: 15px 0 7px; font-size: 1.12rem; }
.step-card p { color: #afbbc5; font-size: .95rem; }

.upload-page { padding-top: 66px; }
.upload-intro h1 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; margin-top: 38px; }
.upload-content { display: grid; gap: 20px; min-width: 0; }
.form-card, .guide-card { padding: 32px; border: 1px solid #34404a; border-radius: 16px; background: #19252e; }
.card-heading { display: flex; gap: 16px; margin-bottom: 26px; }
.card-step { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border-radius: 10px; background: #3c4534; color: #fdc400; font-size: .85rem; font-weight: 800; }
.card-heading h2, .guide-card h2 { margin: 0 0 3px; font-size: 1.35rem; letter-spacing: -.02em; }
.card-heading p, .guide-card > p { color: #b2bec8; font-size: .95rem; }
.registration-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .file-picker label { color: #eff3f5; font-size: .95rem; font-weight: 700; }
.inputText {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #52616b;
    border-radius: 8px;
    background: #111c24;
    color: #fff;
}
.inputText::placeholder { color: #96a4ad; opacity: 1; }
.inputText:focus { border-color: #fdc400; }
.registration-form .action { justify-self: start; margin-top: 4px; }
.confirmation-field { padding-top: 10px; border-top: 1px solid #34404a; }
.confirmation-field p { color: #b2bec8; font-size: .92rem; }
.code-input { max-width: 260px; letter-spacing: .1em; text-transform: uppercase; }
.validation-errors, .validation-message { color: #ffb1a9; }
.validation-errors { padding-left: 20px; }
.status-message, .file-status { margin-top: 22px; color: #c3ced4; font-size: .92rem; overflow-wrap: anywhere; }
.status-message { padding: 12px 15px; border-left: 3px solid #fdc400; border-radius: 0 6px 6px 0; background: #26343a; }
.guide-card { background: #202e36; }
.guide-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 10px; background: #fdc400; color: #172028; font-size: 1.35rem; font-weight: 700; }
.guide-card ol { display: grid; gap: 22px; margin: 28px 0; list-style: none; }
.guide-card li { display: flex; gap: 13px; }
.guide-card li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid #788894; border-radius: 50%; color: #fdc400; font-size: .8rem; font-weight: 700; }
.guide-card li strong { color: #f5f7f8; font-size: .95rem; }
.guide-card li p { margin-top: 3px; color: #afbbc5; font-size: .88rem; }
.guide-tip { padding-top: 20px; border-top: 1px solid #46545d; color: #c5ced4; font-size: .88rem; }
.file-picker { padding: 28px 20px; border: 1px dashed #6d7f87; border-radius: 12px; background: #152129; text-align: center; }
.file-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 13px; border-radius: 50%; background: #3c4534; color: #fdc400; }
.file-icon svg { width: 38px; }
.file-picker label { display: block; }
.file-picker p { margin: 4px 0 16px; color: #b2bec8; font-size: .9rem; }
.file-input { display: block; width: 100%; max-width: 420px; margin: auto; color: #c5ced4; font-size: .9rem; }
.file-input::file-selector-button { margin-right: 12px; padding: 9px 14px; border: 1px solid #7c8b93; border-radius: 7px; background: #263740; color: #fff; cursor: pointer; font-weight: 700; }
.file-input::file-selector-button:hover { background: #344852; }
.file-input:disabled { opacity: .6; }
.file-list-wrap { overflow-x: auto; margin-top: 16px; }
.file-list { width: 100%; border-collapse: collapse; text-align: left; }
.file-list th, .file-list td { padding: 12px 8px; border-bottom: 1px solid #3a4850; overflow-wrap: anywhere; }
.file-list th { color: #aebac4; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.file-list th:last-child, .file-list td:last-child { white-space: nowrap; text-align: right; }
.upload-progress { margin-top: 24px; }
.progress-heading { display: flex; justify-content: space-between; gap: 10px; }
.progress-track { height: 10px; margin-top: 10px; overflow: hidden; border-radius: 10px; background: #45545d; }
.progress-fill { height: 100%; border-radius: inherit; background: #fdc400; transition: width .2s ease; }
.upload-progress p { margin-top: 8px; color: #b2bec8; font-size: .875rem; }
.upload-actions:not(:empty) { margin-top: 24px; }

@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 55px; }
    .hero-visual { min-height: 340px; }
    .upload-layout { grid-template-columns: 1fr; }
    .guide-card { order: 2; }
}
@media (max-width: 600px) {
    .site-header-inner, .site-footer-inner, .site-main { width: calc(100% - 32px); }
    .site-header-inner { flex-wrap: wrap; gap: 10px; padding: 16px 0 10px; }
    .header-external { font-size: .8rem; }
    .site-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 2.7rem; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .steps-grid, .field-row { grid-template-columns: 1fr; }
    .step-card { min-height: auto; }
    .upload-page { padding-top: 44px; }
    .form-card, .guide-card { padding: 22px; }
    .visual-badge { right: 5%; bottom: 10%; }
}
