:root {
    --mm-blue: #144893;
    --mm-cream: #FCE1C6;
    --mm-peach: #F9C9A2;
    --white: #ffffff;
    --text: #1f2933;
    --muted: #5f6b7a;

    --heading-font: 'Montserrat', sans-serif;
    --subheading-font: 'Source Sans 3', sans-serif;
    --body-font: 'Open Sans', sans-serif;

    --shadow: 0 20px 50px rgba(20, 72, 147, 0.16);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    color: var(--text);
    background: #fff8f2;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.narrow {
    max-width: 880px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 248, 242, 0.94);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    border-bottom: 1px solid rgba(20, 72, 147, 0.08);
}

.site-logo {
    width: 92px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 28px;
    font-family: var(--subheading-font);
    font-weight: 600;
}

.main-nav a,
.footer-nav a {
    text-decoration: none;
}

.main-nav a:hover,
.footer-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Typography */

.eyebrow {
    font-family: var(--subheading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mm-blue);
    margin-bottom: 12px;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--mm-peach);
}

h1,
h2 {
    font-family: var(--heading-font);
    line-height: 1.08;
    margin: 0 0 24px;
    color: var(--mm-blue);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    color: var(--white);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.03em;
}

h3 {
    font-family: var(--subheading-font);
    font-size: 1.45rem;
    margin: 0 0 10px;
    color: var(--mm-blue);
}

.center {
    text-align: center;
}

/* Homepage Hero */

.hero {
    min-height: 780px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(20, 72, 147, 0.88) 0%,
            rgba(20, 72, 147, 0.72) 36%,
            rgba(20, 72, 147, 0.10) 100%
        ),
        url("../images/overseas-couple-map.jpg")
        100% 12% / cover no-repeat;
}

.hero-content {
    width: min(640px, 90%);
    margin-left: 5%;
    color: var(--white);
}

.hero-text {
    font-size: 1.25rem;
    max-width: 560px;
    margin-bottom: 34px;
}

/* Page Hero */

.page-hero {
    padding: 170px 0;
    color: var(--white);
}

.how-hero {
    background:
        linear-gradient(
            90deg,
            rgba(20, 72, 147, 0.90) 0%,
            rgba(20, 72, 147, 0.76) 45%,
            rgba(20, 72, 147, 0.28) 100%
        ),
        url("../images/travelling-couple-luggage.jpg") center 20% / cover no-repeat;
}

.page-hero h1,
.page-hero .hero-text {
    color: var(--white);
}

/* Buttons */

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.button-primary,
.button-secondary,
.lookup-form button {
    border-radius: 999px;
    padding: 15px 26px;
    font-family: var(--heading-font);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.button-primary,
.lookup-form button {
    background: var(--mm-peach);
    color: var(--mm-blue);
}

.button-primary:hover,
.lookup-form button:hover {
    background: var(--mm-cream);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Sections */

.intro-section,
.help-section {
    padding: 110px 0;
}

.content-section {
    padding: 90px 0;
    background: #fff8f2;
}

.steps-section {
    padding: 110px 0;
    background: var(--mm-cream);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.rounded-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Cards */

.notice-card,
.info-card {
    background: var(--white);
    border-radius: 24px;
    padding: 34px;
    margin-bottom: 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(20, 72, 147, 0.08);
}

.notice-card {
    border-left: 8px solid var(--mm-blue);
}

.success-card {
    background: linear-gradient(
        135deg,
        #f8fbff 0%,
        #ffffff 100%
    );
    border-left: 8px solid var(--mm-blue);
    position: relative;
}

.success-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-card h2::before {
    content: "✓";
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mm-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.info-card a {
    color: var(--mm-blue);
    font-weight: 700;
}

/* Homepage Steps */

.steps-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(20, 72, 147, 0.08);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--mm-blue);
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 22px;
}

/* How It Works Instructions */

.simple-list {
    padding-left: 22px;
}

.simple-list li {
    margin-bottom: 12px;
}

.instruction-list {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.instruction-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: start;
    background: #fff8f2;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(20, 72, 147, 0.08);
}

.instruction-step span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mm-blue);
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: var(--heading-font);
    font-weight: 700;
}

.instruction-step p {
    margin: 0;
}

/* Start Form */

.start-section {
    padding: 110px 0;
    background:
        linear-gradient(rgba(20, 72, 147, 0.85), rgba(20, 72, 147, 0.85)),
        url("../images/travelling-couple-luggage.jpg") center / cover no-repeat;
}

.start-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 54px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.lookup-form {
    background: #fff8f2;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(20, 72, 147, 0.12);
}

.lookup-form label {
    display: block;
    font-weight: 700;
    color: var(--mm-blue);
    margin-bottom: 8px;
}

.lookup-form input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 12px;
    border: 1px solid rgba(20, 72, 147, 0.24);
    margin-bottom: 18px;
    font: inherit;
    background: var(--white);
}

.lookup-form input:focus {
    outline: 3px solid rgba(249, 201, 162, 0.8);
    border-color: var(--mm-blue);
}

.lookup-form button {
    width: 100%;
    margin-top: 6px;
    font-size: 1rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* Contact */

.contact-box {
    background: var(--mm-cream);
    border-left: 6px solid var(--mm-blue);
    border-radius: 18px;
    padding: 24px;
    margin-top: 26px;
}

/* Footer */

.site-footer {
    background: var(--mm-blue);
    color: var(--white);
    padding: 56px 5%;
}

.footer-content {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.footer-logo {
    width: 90px;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        gap: 18px;
        flex-direction: column;
    }

    .main-nav {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 640px;
        background:
            linear-gradient(
                rgba(20, 72, 147, 0.86),
                rgba(20, 72, 147, 0.72)
            ),
            url("../images/overseas-couple-map.jpg") center / cover no-repeat;
    }

    .two-column,
    .steps-grid,
    .start-card {
        grid-template-columns: 1fr;
    }

    .intro-section,
    .steps-section,
    .start-section,
    .help-section {
        padding: 72px 0;
    }

    .start-card {
        padding: 30px;
    }
}

@media (max-width: 700px) {
    .page-hero {
        padding: 90px 0;
    }

    .notice-card,
    .info-card {
        padding: 24px;
    }

    .instruction-step {
        grid-template-columns: 1fr;
    }
}
.privacy-hero {
    background:
        linear-gradient(
            90deg,
            rgba(20, 72, 147, 0.90) 0%,
            rgba(20, 72, 147, 0.76) 45%,
            rgba(20, 72, 147, 0.28) 100%
        ),
        url("../images/retired-couple-lake.jpg")
        center 30% / cover no-repeat;
}
.success-page {
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(255, 248, 242, 0.88),
            rgba(255, 248, 242, 0.88)
        ),
        url("../images/retired-couple-lake.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
}
.success-wrapper {
    width: min(760px, 100%);
}

.success-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 52px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(20, 72, 147, 0.22);
    border: 1px solid rgba(20, 72, 147, 0.10);
}

.success-logo {
    width: 96px;
    margin: 0 auto 30px;
}

.success-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--mm-blue);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.success-eyebrow {
    color: var(--mm-blue);
}

.success-panel h1 {
    color: var(--mm-blue);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.success-panel p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.success-intro {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mm-blue);
}

.success-note {
    margin-top: 32px;
    padding: 18px 22px;
    border-radius: 18px;
    background: var(--mm-cream);
    color: var(--mm-blue);
    font-weight: 700;
}

@media (max-width: 700px) {
    .success-panel {
        padding: 34px 24px;
    }
}