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

:root {
    --navy: #1B2A4A;
    --red: #BC002D;
    --white: #ffffff;
    --light: #f5f6f8;
    --text: #2c2c2c;
    --muted: #6b7280;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

/* ── HEADER ── */

header {
    background: var(--navy);
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
}

.lang-switch {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.lang-switch a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.lang-switch a:hover {
    color: rgba(255,255,255,0.8);
}

header img.logo {
    width: 260px;
    max-width: 80%;
    display: block;
    margin: 0 auto 16px;
}

header p {
    text-align: center;
}

header .jp-name {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

header .tagline {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── SECTIONS ── */

section {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
}

section + section {
    border-top: 1px solid #e5e7eb;
}

h2 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 24px;
}

p {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 16px;
    text-align: justify;
}

p:last-child {
    margin-bottom: 0;
}

/* ── FOUNDER CREDENTIALS ── */

.credentials {
    margin-top: 24px;
    padding-left: 0;
    list-style: none;
}

.credentials li {
    padding: 10px 0 10px 20px;
    border-left: 2px solid var(--red);
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text);
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 28px;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 2px;
    text-decoration: none;
}

.btn:hover {
    background: var(--red);
    text-decoration: none;
}

/* ── FOOTER ── */

footer {
    background: var(--navy);
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 32px 24px;
    font-size: 12px;
    letter-spacing: 0.04em;
}

footer span {
    display: block;
    margin-top: 6px;
}

/* ── FORMS ── */

.form-wrap {
    max-width: 620px;
    margin: 0 auto;
    padding: 64px 24px;
}

.form-intro {
    background: var(--light);
    border-left: 3px solid var(--red);
    padding: 20px 24px;
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}

.form-intro strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
}

.field {
    margin-bottom: 28px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 10px;
}

.field-hint {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.field textarea {
    min-height: 100px;
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.radio-option:hover {
    border-color: var(--navy);
}

.radio-option input[type="radio"] {
    margin-top: 2px;
    accent-color: var(--navy);
    flex-shrink: 0;
}

.radio-label {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.radio-label span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px;
}

.other-text {
    margin-top: 8px;
    display: none;
}

.other-text input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    font-size: 14px;
    font-family: inherit;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.consent-row input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--navy);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.submit-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--navy);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

.submit-btn:hover {
    background: var(--red);
}

.back-link {
    display: inline-block;
    margin-left: 20px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.form-disclaimer {
    font-size: 12px;
    color: var(--muted);
    margin-top: 32px;
    line-height: 1.6;
}

/* ── PROGRESS BAR ── */

.progress-bar {
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 40px;
}

.progress-fill {
    height: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* ── VALIDATION ── */

.field--error input[type="text"],
.field--error input[type="email"],
.field--error input[type="number"],
.field--error select,
.field--error textarea {
    border-color: var(--red) !important;
}

.field--error .radio-option {
    border-color: #fca5a5;
}

.error-msg {
    display: none;
    font-size: 12px;
    color: var(--red);
    margin-top: 6px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.field--error .error-msg {
    display: block;
}

.consent-row--error {
    outline: 1px solid var(--red);
    border-radius: 2px;
    padding: 8px;
    margin-left: -8px;
}


/* ── FX HINT ── */

.fx-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    min-height: 16px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ── CHARACTER COUNT ── */

.char-count {
    font-size: 12px;
    color: var(--muted);
    text-align: right;
    margin-top: 4px;
}

/* ── SUBMIT WRAP ── */

.submit-wrap {
    margin-top: 8px;
    margin-bottom: 16px;
}

/* ── RESPONSIVE ── */

@media (max-width: 600px) {
    header {
        padding: 36px 16px 28px;
    }

    header .tagline {
        font-size: 15px;
    }

    section {
        padding: 48px 20px;
    }

    .submit-wrap {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 12px 0 4px;
        border-top: 1px solid #e5e7eb;
    }

    .submit-wrap .submit-btn {
        width: 100%;
        padding: 16px;
        text-align: center;
    }
}
