:root {
    --page-bg: #f4f8fb;
    --panel: #ffffff;
    --panel-soft: #edf6f5;
    --text: #13212e;
    --muted: #5a6977;
    --line: #d7e2ea;
    --accent: #253d8a;
    --accent-dark: #1c2f70;
    --navy: #253d8a;
    --gold: #acd990;
    --error-bg: #fff0f0;
    --error-text: #8f1e1e;
    --success-bg: #edf9f2;
    --success-text: #17633a;
    --container: min(1120px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--page-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner,
.brand,
.footer-bottom {
    display: flex;
    align-items: center;
}

.header-inner {
    min-height: 92px;
    justify-content: center;
}

.brand {
    gap: 12px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand strong,
.brand em {
    display: block;
}

.brand strong {
    font-size: 1.45rem;
    letter-spacing: 0.08em;
}

.brand em {
    max-width: 360px;
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.45;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.12;
}

h3 {
    font-size: 1rem;
}

p,
li,
input,
select,
button {
    line-height: 1.7;
}

p {
    color: var(--muted);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 8px;
    font-weight: 800;
}

.submission-section {
    padding: 56px 0 64px;
}

.submission-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: 24px;
    align-items: start;
}

.guidelines-panel,
.submission-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(16, 43, 70, 0.08);
}

.guidelines-panel {
    padding: 28px;
}

.guidelines-panel ul {
    display: grid;
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.guidelines-panel li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
}

.guidelines-panel li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.support-note {
    margin-bottom: 0;
    padding: 16px;
    border-radius: 8px;
    background: var(--panel-soft);
}

.support-note a,
.site-footer a:hover {
    color: var(--accent-dark);
}

.submission-card {
    padding: 34px;
}

.submission-intro {
    margin-bottom: 28px;
}

.notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 8px;
    line-height: 1.6;
}

.notice ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.notice-success {
    color: var(--success-text);
    background: var(--success-bg);
    border: 1px solid rgba(23, 99, 58, 0.18);
}

.notice-error {
    color: var(--error-text);
    background: var(--error-bg);
    border: 1px solid rgba(143, 30, 30, 0.18);
}

.submission-form {
    display: grid;
    gap: 18px;
}

.field-group {
    display: grid;
    gap: 8px;
}

label {
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input[type="file"] {
    padding: 12px;
}

input:focus,
select:focus {
    outline: 3px solid rgba(13, 111, 131, 0.18);
    border-color: var(--accent);
}

.field-help {
    margin: 0;
    font-size: 0.9rem;
}

.is-over-limit {
    color: var(--error-text);
    font-weight: 800;
}

.submit-button {
    margin-top: 6px;
    border: 0;
    background: var(--accent);
    color: #ffffff;
    font: inherit;
    cursor: pointer;
}

.submit-button:hover,
.submit-button:focus {
    background: var(--accent-dark);
}

.site-footer {
    padding: 22px 0;
    color: rgba(255, 255, 255, 0.78);
    background: var(--navy);
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-bottom {
    justify-content: space-between;
    gap: 18px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .header-inner {
        padding: 16px 0;
    }

    .submission-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .submission-card,
    .guidelines-panel {
        padding: 24px;
    }

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