:root {
    --ink: #17324d;
    --muted: #5d7183;
    --paper: #ffffff;
    --sky: #dff5fb;
    --blue: #176b87;
    --blue-dark: #0f4c62;
    --coral: #e94f87;
    --yellow: #f4c542;
    --green: #267a5c;
    --line: #cfe1e7;
    --focus: #ffca28;
    color-scheme: light;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
    line-height: 1.55;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 4px solid var(--focus);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    background: #fff;
    color: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: grid;
    width: 100%;
    height: 76px;
    padding: 0 5vw;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: #fff;
}

.site-header nav {
    display: flex;
    gap: 30px;
    font-size: 15px;
    font-weight: 700;
}

.site-header nav a {
    text-decoration: none;
}

.site-header nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.wordmark {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: inherit;
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
}

.wordmark-mark {
    display: grid;
    width: 37px;
    height: 37px;
    border: 2px solid currentColor;
    border-radius: 50%;
    place-items: center;
    font-size: 21px;
    line-height: 1;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    object-fit: cover;
}

.header-tools {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 9px;
}

.language-form label {
    display: flex;
    min-height: 42px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    align-items: center;
    gap: 5px;
    background: rgba(15, 44, 52, 0.28);
    backdrop-filter: blur(8px);
}

.language-form svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.language-form select {
    width: 78px;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 800;
}

.language-form option {
    background: #fff;
    color: var(--ink);
}

.header-action {
    justify-self: end;
    min-height: 42px;
    padding: 9px 17px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(15, 44, 52, 0.28);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.header-action:hover {
    background: #fff;
    color: var(--ink);
}

.hero {
    position: relative;
    display: flex;
    min-height: 88svh;
    overflow: hidden;
    align-items: flex-end;
    background: #559d3f;
    color: #fff;
}

.hero::before {
    position: absolute;
    inset: 0;
    background: url("../images/lumi-hero.png") center center / cover no-repeat;
    content: "";
    transform: scale(1.16);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 34, 36, 0.76) 0%, rgba(9, 34, 36, 0.34) 46%, rgba(9, 34, 36, 0.06) 78%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(620px, 90vw);
    margin: 0 0 8vh 7vw;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 12px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-kicker {
    color: #ffe083;
}

.hero h1 {
    margin: 0;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: 92px;
    line-height: 0.92;
}

.hero-copy {
    max-width: 600px;
    margin: 24px 0 30px;
    font-size: 20px;
    line-height: 1.5;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

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

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

.button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 9px 24px rgba(7, 54, 68, 0.2);
}

.button-primary:hover {
    background: var(--blue-dark);
}

.button-quiet {
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(15, 44, 52, 0.3);
    color: #fff;
}

.button-quiet:hover {
    background: #fff;
    color: var(--ink);
}

.button-full {
    width: 100%;
}

.section-inner {
    width: min(1160px, 88vw);
    margin: 0 auto;
}

.discovery-band,
.benefit-band,
.safety-band,
.closing-band {
    padding: 92px 0;
}

.discovery-band {
    background: #fff;
}

.section-heading {
    display: grid;
    margin-bottom: 54px;
    grid-template-columns: 1.25fr 0.75fr;
    column-gap: 70px;
    align-items: end;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
}

.section-heading h2,
.benefit-copy h2,
.safety-layout h2,
.closing-content h2 {
    margin: 0;
    font-size: 47px;
    line-height: 1.08;
}

.section-heading > p:last-child,
.benefit-copy > p,
.safety-layout > div > p:last-of-type {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.discovery-steps {
    display: grid;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.discovery-steps article {
    position: relative;
    min-height: 330px;
    padding: 36px 34px;
    border-right: 1px solid var(--line);
}

.discovery-steps article:last-child {
    border-right: 0;
}

.step-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #8ca0ae;
    font-size: 13px;
    font-weight: 900;
}

.step-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 54px;
    border-radius: 50%;
    place-items: center;
}

.step-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-icon-coral {
    background: #ffd7e5;
    color: #a82258;
}

.step-icon-blue {
    background: #cfeef7;
    color: #125d78;
}

.step-icon-yellow {
    background: #fff0a9;
    color: #775a00;
}

.discovery-steps h3 {
    margin: 0 0 10px;
    font-size: 27px;
}

.discovery-steps p {
    margin: 0;
    color: var(--muted);
}

.benefit-band {
    background: var(--sky);
}

.benefit-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8vw;
    align-items: center;
}

.benefit-copy h2 {
    margin-bottom: 22px;
}

.benefit-list {
    display: grid;
    margin: 30px 0 0;
    padding: 0;
    gap: 14px;
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 800;
}

.benefit-list span {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    place-items: center;
}

.benefit-figure {
    position: relative;
    min-height: 540px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #050607;
}

.benefit-figure img {
    display: block;
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center 25%;
}

.benefit-figure figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font-weight: 900;
}

.safety-band {
    background: #e6f4df;
}

.safety-layout {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 48px;
    align-items: center;
}

.safety-seal {
    display: grid;
    width: 138px;
    height: 138px;
    border: 2px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    place-items: center;
}

.safety-seal svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.safety-layout h2 {
    max-width: 800px;
    margin-bottom: 18px;
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--green);
    font-weight: 900;
    text-underline-offset: 5px;
}

.closing-band {
    background: var(--yellow);
    text-align: center;
}

.closing-content {
    width: min(760px, 88vw);
    margin: 0 auto;
}

.closing-content .eyebrow {
    color: #735800;
}

.closing-content h2 {
    margin-bottom: 30px;
}

.site-footer {
    display: grid;
    min-height: 140px;
    padding: 28px 6vw;
    background: #17324d;
    color: #fff;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 25px;
    align-items: center;
}

.site-footer p {
    margin: 0;
    color: #d6e6ec;
    text-align: center;
}

.site-footer > a:last-child {
    justify-self: end;
}

.auth-dialog {
    width: min(470px, calc(100vw - 28px));
    max-height: calc(100svh - 28px);
    padding: 30px;
    overflow: auto;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(5, 31, 43, 0.3);
}

.auth-dialog-wide {
    width: min(600px, calc(100vw - 28px));
}

.auth-dialog::backdrop {
    background: rgba(6, 28, 38, 0.7);
    backdrop-filter: blur(5px);
}

.dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    place-items: center;
}

.dialog-close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.auth-dialog-heading {
    padding-right: 46px;
}

.auth-dialog-heading h2 {
    margin: 0 0 8px;
    font-size: 34px;
}

.auth-dialog-heading > p:last-child {
    margin: 0 0 24px;
    color: var(--muted);
}

.auth-symbol {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    place-items: center;
}

.auth-symbol-coral {
    background: var(--coral);
}

.auth-brand-icon {
    display: block;
    width: 66px;
    height: 66px;
    margin-bottom: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 900;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="number"],
.auth-form select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #aebfc8;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.auth-form input:focus {
    border-color: var(--blue);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 104px;
    gap: 12px;
}

.field-hint {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.consent-row {
    display: grid !important;
    grid-template-columns: 22px 1fr;
    align-items: start;
}

.consent-row input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--blue);
}

.consent-row span {
    font-weight: 500;
}

.honeypot {
    position: fixed !important;
    left: -10000px;
}

.form-message {
    min-height: 22px;
    margin: 0;
    color: #a11d45;
    font-size: 14px;
    font-weight: 800;
}

.form-message.is-success {
    color: var(--green);
}

.text-button,
.dialog-switch button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dialog-switch {
    margin: 22px 0 0;
    color: var(--muted);
    text-align: center;
}

.page-notice {
    position: fixed;
    z-index: 50;
    right: 20px;
    bottom: 20px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 40px rgba(9, 41, 54, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.page-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header-solid {
    position: static;
    background: var(--ink);
}

.legal-page {
    background: #f7fbfc;
}

.legal-content {
    width: min(820px, 88vw);
    margin: 0 auto;
    padding: 80px 0 110px;
}

.legal-content h1 {
    max-width: 700px;
    margin: 0 0 22px;
    font-size: 52px;
    line-height: 1.05;
}

.legal-intro {
    margin: 0 0 60px;
    color: var(--muted);
    font-size: 20px;
}

.legal-content section {
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.legal-content h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.legal-content section p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.legal-updated {
    margin-top: 42px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 800px) {
    .site-header {
        height: 68px;
        padding: 0 18px;
        grid-template-columns: 1fr auto;
    }

    .site-header nav {
        display: none;
    }

    .header-tools {
        gap: 6px;
    }

    .language-form label {
        padding-inline: 7px;
    }

    .language-form select {
        width: 58px;
    }

    .hero {
        min-height: 88svh;
    }

    .hero::before {
        background-position: 58% center;
        transform: scale(1.08);
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(9, 34, 36, 0.84) 0%, rgba(9, 34, 36, 0.45) 48%, rgba(9, 34, 36, 0.05) 76%);
    }

    .hero-content {
        width: auto;
        margin: 0 22px 42px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-copy {
        margin: 16px 0 22px;
        font-size: 17px;
    }

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

    .discovery-band,
    .benefit-band,
    .safety-band,
    .closing-band {
        padding: 68px 0;
    }

    .section-inner {
        width: min(100% - 36px, 620px);
    }

    .section-heading,
    .benefit-layout,
    .safety-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2,
    .benefit-copy h2,
    .safety-layout h2,
    .closing-content h2 {
        font-size: 36px;
    }

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

    .discovery-steps article {
        min-height: 250px;
        padding: 28px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .discovery-steps article:last-child {
        border-bottom: 0;
    }

    .step-icon {
        margin-bottom: 30px;
    }

    .benefit-layout {
        display: flex;
        flex-direction: column;
    }

    .benefit-figure {
        width: 100%;
        min-height: 410px;
    }

    .benefit-figure img {
        height: 410px;
    }

    .safety-seal {
        width: 100px;
        height: 100px;
    }

    .safety-seal svg {
        width: 52px;
        height: 52px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer .wordmark,
    .site-footer > a:last-child {
        justify-self: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .auth-dialog {
        padding: 24px 20px;
    }

    .legal-content {
        padding-top: 56px;
    }

    .legal-content h1 {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
