:root {
    --ink: #102a2b;
    --muted: #667879;
    --brand: #0c8d91;
    --brand-dark: #087176;
    --coral: #f0755b;
    --soft: #edf7f7;
    --line: #dce8e8;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #f7fafa;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}
a { color: inherit; }
.page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
}
.intro, .interest { padding: clamp(48px, 7vw, 112px); }
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}
.intro::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -190px;
    bottom: -170px;
    border-radius: 50%;
    border: 72px solid rgba(115, 212, 214, .09);
}
.logo { width: min(220px, 55%); height: auto; margin-bottom: clamp(64px, 9vh, 120px); }
.eyebrow {
    margin: 0 0 16px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(42px, 5.5vw, 78px); line-height: 1.02; letter-spacing: -.045em; }
h1 em { color: #73d4d6; font-style: normal; }
.lead { max-width: 680px; margin-bottom: 38px; color: #c9d5d5; font-size: clamp(17px, 1.5vw, 21px); }
.contact-details { display: grid; justify-items: start; gap: 16px; position: relative; z-index: 1; color: #e5eeee; }
.contact-details a { text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.contact-details address { display: flex; flex-wrap: wrap; gap: 4px 9px; color: #9eb0b1; font-size: 14px; font-style: normal; }
.contact-details address span + span::before { content: "•"; margin-right: 9px; color: #657f80; }
.interest { display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.form-heading { margin-bottom: 28px; }
.form-heading h2 { margin-bottom: 8px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.025em; }
.form-heading > p:last-child { color: var(--muted); }
form, label { display: grid; gap: 8px; }
form { gap: 18px; }
.fields { display: grid; gap: 16px; }
.fields.two { grid-template-columns: 1fr 1fr; }
label { color: #526364; font-size: 14px; font-weight: 500; }
input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfdfd;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    outline: none;
}
textarea { min-height: 138px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12, 141, 145, .1); }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink);
    -webkit-box-shadow: 0 0 0 1000px #fbfdfd inset;
    box-shadow: 0 0 0 1000px #fbfdfd inset;
    caret-color: var(--ink);
    font-weight: 400;
}
button, .modal-card a {
    justify-self: start;
    border: 0;
    border-radius: 3px;
    padding: 11px 18px;
    color: var(--white);
    background: var(--brand);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}
button:hover, .modal-card a:hover { background: var(--brand-dark); }
button:focus-visible, .modal-card a:focus-visible { box-shadow: 0 0 0 3px rgba(12, 141, 145, .22); }
.notice { margin-bottom: 20px; border-left: 4px solid #b00020; padding: 12px 16px; background: #fff0f2; color: #7b0016; }
.notice p { margin: 0; }
.trap { position: absolute; left: -9999px; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgba(16, 42, 43, .74); }
.modal-card { width: min(460px, 100%); padding: 40px; background: var(--white); box-shadow: 0 24px 70px rgba(0,0,0,.24); text-align: center; }
.modal-card .check { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%; color: white; background: var(--brand); font-size: 25px; }
.modal-card h2 { margin-bottom: 10px; font-size: 28px; }
.modal-card p { margin-bottom: 26px; color: var(--muted); }
.modal-card a { display: inline-block; }

.intro-footer {
    position: absolute;
    z-index: 1;
    right: clamp(24px, 7vw, 112px);
    bottom: 24px;
    left: clamp(24px, 7vw, 112px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #9eb0b1;
    font-size: 13px;
}
.intro-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.intro-footer a { color: #d5e0e0; text-decoration: none; }
.intro-footer a:hover, .intro-footer a:focus { color: var(--white); text-decoration: underline; }

.legal-page { min-height: 100vh; background: #f7fafa; }
.legal-header {
    display: flex;
    align-items: center;
    padding: 22px clamp(24px, 7vw, 112px);
    color: var(--white);
    background: var(--ink);
}
.legal-header .logo { width: 146px; margin: 0; }
.legal-main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 64px; }
.legal-title { margin-bottom: 32px; }
.legal-title h1 { margin-bottom: 10px; font-size: clamp(34px, 4vw, 52px); }
.legal-title > p:last-child { color: var(--muted); font-size: 16px; }
.legal-document { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 55px rgba(16, 42, 43, .1); font-size: 14px; line-height: 1.62; }
.legal-document h2 { margin: 34px 0 11px; font-size: 18px; line-height: 1.35; }
.legal-document h2:first-of-type { margin-top: 30px; }
.legal-document p { margin-bottom: 15px; color: #425657; }
.legal-document ul { margin: 0 0 18px; padding-left: 23px; color: #425657; }
.legal-document li + li { margin-top: 5px; }
.legal-document a { color: var(--brand); font-weight: 600; overflow-wrap: anywhere; }
.legal-updated { margin-bottom: 28px !important; border-left: 3px solid var(--brand); padding: 11px 14px; color: var(--ink) !important; background: var(--soft); }
@media (max-width: 900px) {
    .page { grid-template-columns: 1fr; }
    .intro, .interest { padding: 52px clamp(24px, 7vw, 64px); }
    .logo { width: 176px; margin-bottom: 58px; }
    .intro::after { width: 260px; height: 260px; }
    .intro-footer { position: static; margin-top: 48px; }
}
@media (max-width: 560px) {
    .fields.two { grid-template-columns: 1fr; }
    h1 { font-size: 43px; }
    .interest { padding-top: 62px; padding-bottom: 62px; }
    button { width: 100%; justify-self: stretch; }
    .intro-footer { align-items: flex-start; flex-direction: column; }
    .legal-main { width: min(100% - 28px, 1180px); padding: 38px 0 52px; }
    .legal-title h1 { font-size: 36px; }
    .legal-title > p:last-child { font-size: 16px; }
    .legal-document { padding: 27px 20px 34px; }
    .legal-document h2 { font-size: 17px; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
