:root {
    --ink: #14213d;
    --ink-soft: #3b455f;
    --paper: #fffaf1;
    --surface: #ffffff;
    --line: #ded8cb;
    --gold: #c9932b;
    --green: #16845f;
    --yellow: #e1a72f;
    --red: #c8483a;
    --blue: #375f9f;
    --shadow: 0 24px 70px rgba(20, 33, 61, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #fffaf1 0%, #f7f4ed 45%, #ffffff 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    background: rgba(255, 250, 241, 0.94);
    border-bottom: 1px solid rgba(222, 216, 203, 0.8);
    backdrop-filter: blur(14px);
}

.site-header.compact {
    position: static;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: white;
    background: var(--ink);
    border-radius: 8px;
    font-weight: 800;
}

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

.brand strong {
    line-height: 1.15;
}

.brand small {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.main-nav a,
.footer-links a,
.site-footer a {
    text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover,
.site-footer a:hover {
    text-decoration: underline;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: clamp(26px, 5vw, 64px);
    align-items: center;
    padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px) 44px;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 740px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.55rem, 7vw, 5.2rem);
    line-height: 0.98;
    font-weight: 700;
}

h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    line-height: 1.08;
}

h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 2vw, 1.27rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #ffffff;
    background: var(--ink);
}

.button.primary:hover {
    background: #20325c;
}

.button.secondary {
    color: var(--ink);
    background: #ffffff;
    border-color: var(--line);
}

.button.full {
    width: 100%;
    margin-top: 18px;
    font-size: 1rem;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.trust-list li {
    padding: 8px 10px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.92rem;
}

.hero-panel {
    position: relative;
    padding: clamp(22px, 4vw, 34px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -22px -12px auto auto;
    width: 118px;
    height: 118px;
    background:
        linear-gradient(135deg, rgba(55, 95, 159, 0.18), rgba(201, 147, 43, 0.22)),
        url("hero-symbol.svg") center / contain no-repeat;
    border-radius: 50%;
}

.status-strip {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
}

.dot.green {
    background: var(--green);
}

.dot.yellow {
    background: var(--yellow);
}

.dot.red {
    background: var(--red);
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.quick-facts div {
    padding: 16px;
    background: #f7f4ed;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.quick-facts span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.83rem;
}

.quick-facts strong {
    display: block;
    margin-top: 4px;
    font-size: 1.08rem;
}

.panel-note,
.legal-note {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.section,
.form-section {
    padding: clamp(46px, 7vw, 78px) clamp(18px, 5vw, 72px);
}

.section-heading,
.form-intro {
    max-width: 780px;
    margin-bottom: 28px;
}

.form-intro {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.steps article,
.form-shell,
.notice,
.legal-page section,
.faq-list details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.steps article {
    padding: 22px;
}

.steps span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    color: white;
    background: var(--blue);
    border-radius: 8px;
    font-weight: 800;
}

.steps p,
.form-intro p,
.faq-list p {
    color: var(--ink-soft);
}

.form-section {
    background: #eef2f7;
}

.form-shell {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    padding: clamp(18px, 3vw, 32px);
    box-shadow: var(--shadow);
}

.notice {
    padding: 16px 18px;
    margin-bottom: 18px;
}

.notice.success {
    border-color: rgba(22, 132, 95, 0.42);
    background: #effaf5;
}

.notice.error {
    border-color: rgba(200, 72, 58, 0.42);
    background: #fff0ee;
}

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

form {
    display: grid;
    gap: 20px;
    min-width: 0;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    margin-bottom: 12px;
    font-size: 1.13rem;
    font-weight: 800;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 700;
    min-width: 0;
}

.field-label {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    max-width: 100%;
}

.field-label span[aria-hidden="true"] {
    color: var(--red);
    flex: 0 0 auto;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #c9c2b5;
    border-radius: 8px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(55, 95, 159, 0.22);
    border-color: var(--blue);
}

.grid {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.check-grid label,
.privacy-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f7f4ed;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}

.check-grid input,
.privacy-box input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.privacy-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    line-height: 1.55;
}

.privacy-text a {
    white-space: nowrap;
}

.privacy-box a {
    font-weight: 800;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.split {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 30px clamp(18px, 5vw, 72px);
    color: #ffffff;
    background: var(--ink);
}

.site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.site-footer {
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 14px;
}

.legal-page {
    max-width: 920px;
    padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.legal-page h1 {
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-page section {
    padding: 22px;
    margin-bottom: 14px;
}

.legal-page h2 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

@media (max-width: 920px) {
    .hero,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 620px;
    }

    .steps,
    .check-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .site-header {
        position: static;
        align-items: flex-start;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding-top: 38px;
    }

    .grid.two,
    .quick-facts {
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

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