/* Legal / policy page — deliberately quiet and professional.
   A small title band (no image hero, no dune divider) over a single,
   easy-to-read prose column. */

.nc-legal {
    background: var(--nc-surface);
    color: var(--nc-ink);
    font-family: var(--font-sans);
}

.nc-legal__container {
    box-sizing: border-box;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Compact header band */
.nc-legal__header {
    background: var(--nc-warm-cream);
    border-bottom: 1px solid var(--nc-border);
    padding: 48px 0 40px;
}

.nc-legal__title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--nc-charcoal-blue);
}

.nc-legal__tagline {
    margin: 12px 0 0;
    font-size: 1.05rem;
    color: var(--nc-muted);
    max-width: 60ch;
}

.nc-legal__updated {
    margin: 16px 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--nc-muted);
}

/* Prose column */
.nc-legal__body {
    padding: 48px 0 72px;
}

.nc-legal__prose {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--nc-ink);
}

.nc-legal__prose h2 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--nc-charcoal-blue);
    margin: 2.4em 0 0.6em;
    padding-top: 0.4em;
    border-top: 1px solid var(--nc-border);
}

.nc-legal__prose h2:first-child,
.nc-legal__prose > *:first-child {
    margin-top: 0;
}

.nc-legal__prose h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--nc-charcoal-blue);
    margin: 1.8em 0 0.5em;
}

.nc-legal__prose p {
    margin: 0 0 1.1em;
}

.nc-legal__prose ul,
.nc-legal__prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.nc-legal__prose li {
    margin: 0 0 0.4em;
    padding-left: 0.2em;
}

.nc-legal__prose a {
    color: var(--nc-clay);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nc-legal__prose a:hover,
.nc-legal__prose a:focus {
    color: var(--nc-charcoal-blue);
}

.nc-legal__prose strong {
    font-weight: 600;
    color: var(--nc-charcoal-blue);
}

/* Privacy and policy pages */
.nc-policy-page {
    background: #f4f7f7;
}

.nc-policy-page .nc-legal__header {
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 6vw, 78px) 0 clamp(70px, 7vw, 92px);
    color: #fff;
    background:
        radial-gradient(circle at 86% 8%, rgba(240, 160, 140, 0.16) 0 85px, transparent 86px),
        linear-gradient(118deg, #102f46 0%, #18455e 68%, #246176 100%);
    border: 0;
}

.nc-policy-page .nc-legal__header::after {
    position: absolute;
    right: -110px;
    bottom: -240px;
    width: 430px;
    height: 430px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 54px rgba(255, 255, 255, 0.025),
        0 0 0 108px rgba(255, 255, 255, 0.018);
}

.nc-policy-page .nc-legal__container {
    max-width: 920px;
}

.nc-policy-header {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.nc-policy-header__copy {
    max-width: 680px;
}

.nc-policy-header__eyebrow {
    display: block;
    margin-bottom: 15px;
    color: #f0a08c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nc-policy-page .nc-legal__title {
    color: #fff;
    font-size: clamp(2.35rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.nc-policy-page .nc-legal__tagline {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.65;
}

.nc-policy-page .nc-legal__updated {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.nc-policy-header__mark {
    display: grid;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    place-items: center;
    color: #f0a08c;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 28px;
    transform: rotate(3deg);
}

.nc-policy-header__mark svg {
    width: 58px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.nc-policy-page .nc-legal__body {
    padding: 0 0 clamp(64px, 8vw, 100px);
}

.nc-policy-card {
    position: relative;
    margin-top: -38px;
    padding: clamp(32px, 5vw, 58px) clamp(28px, 6vw, 70px);
    background: #fff;
    border: 1px solid rgba(20, 52, 77, 0.1);
    border-radius: 20px;
    box-shadow: 0 24px 65px rgba(20, 52, 77, 0.12);
}

.nc-policy-card > p:first-child {
    padding: 0 0 24px;
    color: #405b6c;
    font-size: 1.05rem;
    line-height: 1.75;
    border-bottom: 1px solid rgba(20, 52, 77, 0.1);
}

.nc-policy-card h2 {
    position: relative;
    margin-top: 2.5em;
    padding: 0 0 0 20px;
    font-size: clamp(1.28rem, 2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    border-top: 0;
}

.nc-policy-card h2::before {
    position: absolute;
    top: 0.1em;
    bottom: 0.1em;
    left: 0;
    width: 4px;
    content: "";
    background: var(--nc-clay);
    border-radius: 4px;
}

.nc-policy-card ul,
.nc-policy-card ol {
    padding: 18px 22px 14px 42px;
    background: #f6f8f7;
    border: 1px solid rgba(20, 52, 77, 0.07);
    border-radius: 12px;
}

.nc-policy-card li {
    margin-bottom: 0.55em;
}

.nc-policy-card li::marker {
    color: var(--nc-clay);
}

.nc-policy-card a {
    font-weight: 600;
    text-decoration-thickness: 1px;
}

.nc-policy-card > p:nth-last-of-type(2) {
    padding: 20px 22px;
    background: #eef4f4;
    border-left: 4px solid var(--nc-sage);
    border-radius: 0 10px 10px 0;
}

@media (max-width: 600px) {
    .nc-policy-page .nc-legal__header {
        padding: 42px 0 68px;
    }

    .nc-policy-header {
        gap: 22px;
        align-items: flex-start;
    }

    .nc-policy-header__mark {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 18px;
    }

    .nc-policy-header__mark svg {
        width: 38px;
    }

    .nc-policy-card {
        width: calc(100% - 28px);
        margin-top: -30px;
        padding: 28px 20px;
        border-radius: 15px;
    }

    .nc-policy-card h2 {
        padding-left: 16px;
    }

    .nc-policy-card ul,
    .nc-policy-card ol {
        padding: 16px 18px 12px 34px;
    }
}

/* Newsletter completion page */
.nc-newsletter-page .nc-legal__container {
    max-width: 1120px;
}

.nc-newsletter-page .nc-legal__header {
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 7vw, 92px) 0 clamp(82px, 9vw, 120px);
    color: #fff;
    background:
        radial-gradient(circle at 9% 12%, rgba(240, 160, 140, 0.2) 0 92px, transparent 93px),
        linear-gradient(120deg, #0d2d43 0%, #163f59 60%, #246176 100%);
    border-bottom: 0;
}

.nc-newsletter-page .nc-legal__header::after {
    position: absolute;
    right: -80px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 54px rgba(255, 255, 255, 0.025),
        0 0 0 108px rgba(255, 255, 255, 0.02);
}

.nc-newsletter-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(48px, 8vw, 108px);
    align-items: center;
}

.nc-newsletter-hero__copy {
    max-width: 650px;
}

.nc-newsletter-hero__eyebrow,
.nc-newsletter-form-heading > span {
    display: block;
    margin-bottom: 14px;
    color: #f0a08c;
    font: 800 0.72rem/1 var(--font-sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nc-newsletter-page .nc-legal__title {
    max-width: 14ch;
    color: #fff;
    font-size: clamp(2.8rem, 5.4vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.nc-newsletter-page .nc-legal__tagline {
    max-width: 55ch;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
}

.nc-newsletter-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.nc-newsletter-hero__highlights li {
    position: relative;
    padding-left: 17px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
}

.nc-newsletter-hero__highlights li::before {
    position: absolute;
    top: 0.42em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: #f0a08c;
    border-radius: 50%;
}

.nc-newsletter-hero__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    border: 8px solid rgba(255, 255, 255, 0.96);
    border-radius: 24px 24px 70px 24px;
    box-shadow: 0 28px 70px rgba(3, 19, 30, 0.38);
    transform: rotate(1.25deg);
}

.nc-newsletter-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    border-radius: 16px 16px 60px 16px;
}

.nc-newsletter-hero__image figcaption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    padding: 9px 13px;
    color: #fff;
    font: 700 0.64rem/1 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(8, 35, 52, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.nc-newsletter-page .nc-legal__body {
    padding: 0 0 clamp(64px, 8vw, 104px);
    background:
        radial-gradient(circle at 90% 15%, rgba(212, 103, 76, 0.07) 0 110px, transparent 111px),
        #f5f8f8;
}

.nc-newsletter-page .nc-legal__body > .nc-legal__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: start;
    margin-top: -46px;
    padding: clamp(32px, 4vw, 48px);
    background: #fff;
    border: 1px solid rgba(20, 52, 77, 0.1);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(20, 52, 77, 0.14);
}

.nc-newsletter-form-heading {
    position: sticky;
    top: 28px;
    padding: 4px 0 0;
}

.nc-newsletter-form-heading h2 {
    margin: 0;
    color: var(--nc-charcoal-blue);
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.nc-newsletter-form-heading p {
    margin: 16px 0 0;
    color: #657985;
    font-size: 0.88rem;
    line-height: 1.65;
}

.nc-newsletter-form-heading > span {
    margin-bottom: 12px;
    color: var(--nc-clay);
}

.nc-newsletter-page .nc-footer__signup-action {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.nc-newsletter-page .nc-footer__signup-action::before {
    display: none;
}

.nc-newsletter-page .nc-mc-form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.nc-newsletter-page .nc-mc-form__grid {
    gap: 19px 18px;
}

.nc-newsletter-page .nc-mc-field input,
.nc-newsletter-page .nc-mc-field select {
    min-height: 52px;
    background: #f8faf9;
    border-color: rgba(20, 52, 77, 0.16);
}

.nc-newsletter-page .nc-mc-form__submit {
    min-width: 190px;
    min-height: 50px;
    margin-top: 22px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(212, 103, 76, 0.22);
}

.nc-newsletter-page .nc-footer__signup-note {
    margin: 16px 0 0;
    text-align: center;
    color: #657985;
    font: 600 0.75rem/1.5 var(--font-sans);
}

.nc-mc-form__privacy {
    margin-top: 18px;
    padding-top: 18px;
    color: var(--nc-muted);
    font: 400 0.78rem/1.6 var(--font-sans);
    border-top: 1px solid rgba(20, 52, 77, 0.18);
}

.nc-mc-form__privacy p {
    margin: 0;
}

.nc-mc-form__privacy a {
    color: var(--nc-charcoal-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(20, 52, 77, 0.35);
    text-underline-offset: 2px;
}

.nc-mc-form__privacy a:hover,
.nc-mc-form__privacy a:focus {
    color: var(--nc-clay);
}

@media (max-width: 600px) {
    .nc-legal__header {
        padding: 36px 0 28px;
    }
    .nc-legal__body {
        padding: 36px 0 56px;
    }

    .nc-newsletter-page .nc-legal__header {
        padding: 42px 0 74px;
    }

    .nc-newsletter-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .nc-newsletter-hero__image {
        width: min(100%, 440px);
        border-width: 5px;
        border-radius: 18px 18px 48px 18px;
        transform: none;
    }

    .nc-newsletter-page .nc-legal__body > .nc-legal__container {
        grid-template-columns: 1fr;
        gap: 26px;
        width: calc(100% - 28px);
        margin-top: -34px;
        padding: 26px 20px;
        border-radius: 16px;
    }

    .nc-newsletter-form-heading {
        position: static;
    }

    .nc-newsletter-page .nc-mc-form__grid {
        grid-template-columns: 1fr;
    }

    .nc-newsletter-page .nc-mc-field--wide {
        grid-column: auto;
    }

    .nc-newsletter-page .nc-mc-form__submit {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .nc-newsletter-page .nc-legal__title {
        font-size: 2.55rem;
    }
}
