:root {
    --navy: #1b2d73;
    --navy-deep: #152260;
    --gold: #c5a44e;
    --gold-light: #e8d5a3;
    --cream: #f8f4ed;
    --cream-dark: #f0ead9;
    --white: #fff;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-muted: #6b6b6b;
    --border: rgba(27, 45, 115, 0.11);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Nunito Sans", sans-serif;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased
}

.inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px
}

.label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 18px
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy)
}

h1 {
    font-size: clamp(42px, 5.4vw, 62px);
    letter-spacing: -0.01em;
    margin-bottom: 22px
}

h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 600
}

h2 {
    font-size: 42px;
    margin-bottom: 18px
}

h2 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 600
}

h3 {
    font-size: 24px;
    margin-bottom: 10px
}

p {
    font-size: 17px;
    color: var(--text-mid);
    margin-bottom: 18px
}

.lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-mid)
}

/* Buttons */
.btn,
#gform_submit_button_5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease
}

.btn-primary,
#gform_submit_button_5 {
    background: var(--navy);
    color: var(--white)
}

.btn-primary:hover,
#gform_submit_button_5:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(21, 34, 96, 0.18)
}

/* Placeholder notes for Tommy */
.dev-note {
    background: rgba(27, 45, 115, 0.04);
    border: 1px dashed rgba(27, 45, 115, 0.30);
    padding: 14px 20px;
    text-align: center;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy)
}

.dev-note em {
    font-style: normal;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 12px
}

/* Hero (white, centred) */
.hero {
    background: var(--white);
    padding: 96px 0 88px;
    text-align: center
}

.hero .inner {
    max-width: 780px
}

.hero .lede {
    margin: 0 auto 8px;
    max-width: 640px
}

/* How it works (cream) */
.how {
    background: var(--cream);
    padding: 88px 0
}

.how .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px
}

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

.step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 36px 30px;
    text-align: left;
    position: relative
}

.step .n {
    font-family: var(--serif);
    font-size: 54px;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 18px;
    font-style: italic
}

.step h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 10px
}

.step p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.55;
    margin: 0
}

/* Form section (white outer, cream form card inside) */
.form-block {
    background: var(--white);
    padding: 88px 0
}

.form-block .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px
}

.form-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 48px 56px 44px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 18px 50px rgba(21, 34, 96, 0.06)
}

.form-card h3 {
    font-size: 26px;
    margin-bottom: 6px;
    text-align: center
}

.form-card .sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    text-align: center
}

.field {
    margin-bottom: 20px
}

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

.field .req {
    color: var(--gold);
    margin-left: 4px
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: border .15s ease, box-shadow .15s ease
}

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

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27, 45, 115, 0.10)
}

.field .hint,
.gfield_description {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

/* File upload */
.upload {
    position: relative;
    background: var(--white);
    border: 1.5px dashed rgba(27, 45, 115, 0.25);
    border-radius: 3px;
    padding: 84px 20px 28px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease
}

.upload:hover {
    border-color: var(--navy);
    background: rgba(248, 244, 237, 0.5)
}

.upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer
}

.upload-icon {
    margin-bottom: 10px;
    color: var(--gold)
}

.upload strong {
    display: block;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px
}

.upload small {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--text-muted)
}

/* Paste fallback toggle */
.paste-toggle {
    margin-top: 14px;
    text-align: center
}

.paste-toggle button {
    background: none;
    border: none;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
    cursor: pointer;
    letter-spacing: 0.02em
}

.paste-area {
    margin-top: 14px;
    display: none
}

.paste-area.show {
    display: block
}

/* Consent checkbox */
.consent,
fieldset#field_5_7 {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 24px 0 8px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px
}

.consent input,
.ginput_container.ginput_container_consent input {
    margin-top: 3px;
    accent-color: var(--navy);
    flex-shrink: 0;
    width: 16px;
    height: 16px
}

.consent label,
.ginput_container.ginput_container_consent label {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
    cursor: pointer;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    margin: 0
}

.ginput_container.ginput_container_consent {
    display: flex;
    align-items: start;
    gap: 12px;
    ;
}

.consent label a,
.ginput_container.ginput_container_consent label a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px
}

.form-card .btn-primary,
#gform_submit_button_5 {
    width: 100%;
    margin-top: 16px
}

.form-card .timeline {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted)
}

/* FAQ (navy) */
.faq {
    background: var(--navy);
    color: var(--white);
    padding: 96px 0
}

.faq .label {
    color: var(--gold)
}

.faq h2 {
    color: var(--white)
}

.faq h2 em {
    color: var(--gold)
}

.faq .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px
}

.faq .section-head p {
    color: rgba(255, 255, 255, 0.78)
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 780px;
    margin: 0 auto
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: background .15s ease
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05)
}

.faq-item summary {
    padding: 22px 28px;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary::after {
    content: "+";
    font-family: var(--sans);
    font-size: 24px;
    font-weight: 300;
    color: var(--gold);
    transition: transform .2s ease;
    line-height: 1
}

.faq-item[open] summary::after {
    transform: rotate(45deg)
}

.faq-item .a {
    padding: 0 28px 26px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65
}

footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 40px;
    text-align: center
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap
}

.footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: color .2s
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.5)
}

.gform-theme--foundation .gform_fields {
    grid-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    inline-size: 100%;
    grid-column-gap: 14px;
    column-gap: 14px;
}

.gform-theme--foundation .gfield--width-full {
    grid-column: span 12;
}

.gform-theme--foundation .gfield--width-half {
    grid-column: span 6;
}

#field_5_7 legend {
    display: none;
}

#field_5_5 {
    position: relative;
    text-align: center;
}

#field_5_5:before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('../images/upload.webp');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%)
}

.gform_heading {
    display: none;
}

.gfield_description.validation_message,
.gform_submission_error {
    color: red;
}

.gform_submission_error {
    color: red;
    font-size: 13px;
    font-family: inherit;
    font-weight: normal;
    padding: 10px;
    border: 1px solid red;
    border-radius: 5px;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        padding: 64px 0 56px
    }

    .how,
    .form-block,
    .faq {
        padding: 64px 0
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .form-card {
        padding: 36px 28px
    }

    .field-row {
        grid-template-columns: 1fr
    }

    h2 {
        font-size: 34px
    }

    .inner {
        padding: 0 24px
    }
}