@font-face {
    font-family: "M PLUS Rounded 1c";
    src: url("fonts/m-plus-rounded-1c-latin-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    src: url("fonts/m-plus-rounded-1c-latin-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    src: url("fonts/m-plus-rounded-1c-latin-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    src: url("fonts/m-plus-rounded-1c-latin-800.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "M PLUS Rounded 1c";
    src: url("fonts/m-plus-rounded-1c-latin-900.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --page: #fff8fb;
    --paper: #fffdfd;
    --paper-strong: #ffffff;
    --surface: var(--paper);
    --ink: #352a40;
    --ink-rich: #261d31;
    --muted: #71657a;
    --ink-muted: var(--muted);
    --muted-strong: #584b62;
    --line: #eadde8;
    --line-strong: #d9c8d7;
    --charcoal: #302039;
    --charcoal-soft: #3b2947;
    --signal: #ffabc7;
    --signal-light: #ffe0eb;
    --signal-deep: #9b3f68;
    --signal-soft: #fff0f5;
    --teal: #3d7180;
    --teal-dark: #2d5964;
    --teal-soft: #eaf7f7;
    --brand: var(--signal-deep);
    --purple: #907ae0;
    --purple-soft: #f1edff;
    --coral: #ec719b;
    --coral-soft: #ffe9f0;
    --periwinkle: #98aaf0;
    --lavender: #b9a7ef;
    --blossom: #f4c4d8;
    --shell: 76rem;
    --reading: 46rem;
    --font-rounded: "M PLUS Rounded 1c", ui-rounded, "Segoe UI", sans-serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-editorial: var(--font-rounded);
    --shadow-sm: 0 8px 22px rgba(84, 53, 92, .07);
    --shadow-md: 0 18px 46px rgba(84, 53, 92, .12);
    --shadow-dark: 0 22px 54px rgba(35, 22, 43, .28);
    --ease-out: cubic-bezier(.2, .8, .2, 1);
}

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

html {
    min-width: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 4% 8%, rgba(255, 171, 199, .18), transparent 26rem),
        radial-gradient(circle at 97% 30%, rgba(185, 167, 239, .15), transparent 31rem),
        radial-gradient(circle at 62% 88%, rgba(170, 226, 226, .1), transparent 28rem),
        var(--page);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button, input, textarea, select {
    font: inherit;
}

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

a {
    color: inherit;
}

img, picture, video {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-editorial);
}

.rounded-type,
.section-heading {
    font-family: var(--font-rounded);
}

h1, h2, h3, h4, p {
    overflow-wrap: anywhere;
}

::selection {
    color: var(--charcoal);
    background: var(--signal-light);
}

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

h1:focus {
    outline: none;
}

.site-shell {
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
}

.reading-shell {
    width: min(100% - 2rem, var(--reading));
    margin-inline: auto;
}

.section-heading {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.025em;
}

.section-intro {
    max-width: 42rem;
    margin: .85rem 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.text-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--signal-deep);
    font-family: var(--font-rounded);
    font-size: .92rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.text-link::after {
    content: "\2192";
    transition: transform 170ms ease;
}

.text-link:hover::after {
    transform: translateX(.22rem);
}

.button {
    min-height: 3.25rem;
    padding: .65rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-rounded);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 170ms var(--ease-out), background 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink-rich);
    background: var(--signal);
    box-shadow: 0 8px 20px rgba(204, 93, 137, .2);
}

.button-primary:hover {
    background: var(--signal-light);
    box-shadow: 0 11px 26px rgba(204, 93, 137, .25);
}

.button-dark {
    color: #fff;
    background: var(--charcoal);
}

.button-dark:hover {
    background: #50375d;
}

.button-quiet {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--line);
}

.button-quiet:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.pill {
    padding: .34rem .7rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(255, 253, 253, .9);
    font-family: var(--font-rounded);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
}

.surface {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.info-page {
    padding-bottom: clamp(5rem, 10vw, 9rem);
}

.info-hero {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.info-hero h1 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.7rem, 5.2vw, 4.5rem);
    font-weight: 800;
    line-height: .97;
    letter-spacing: -.035em;
}

.info-hero p {
    max-width: 44rem;
    margin: 0;
    color: var(--muted-strong);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.info-body {
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

.info-section {
    padding: clamp(2.2rem, 5vw, 4rem) 0;
}

.info-section + .info-section {
    border-top: 1px solid var(--line);
}

.info-section-lead {
    padding-top: 0;
    display: grid;
    grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 6vw, 6rem);
}

.info-section h2,
.contact-panel h2,
.operator-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.05em;
}

.info-copy p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 1.08rem;
    line-height: 1.85;
}

.info-copy p + p {
    margin-top: 1.35rem;
}

.coverage-grid,
.policy-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.coverage-grid article,
.policy-grid article {
    padding: clamp(1.35rem, 3vw, 2rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.coverage-grid h3,
.policy-grid h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.coverage-grid p,
.policy-grid p,
.contact-panel p,
.operator-card p {
    margin: .75rem 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.operator-card,
.contact-panel {
    margin-top: clamp(3rem, 7vw, 6rem);
    padding: clamp(1.6rem, 4vw, 3.2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, var(--signal-soft), var(--purple-soft));
    border: 1px solid color-mix(in srgb, var(--signal-deep) 18%, var(--line));
    border-radius: 1.35rem;
}

.operator-card > div,
.contact-panel > div {
    max-width: 48rem;
}

.operator-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.contact-panel {
    display: flex;
    background: var(--teal-soft);
    border-color: color-mix(in srgb, var(--teal) 24%, var(--line));
}

.contact-panel p a,
.legal-copy a {
    color: var(--teal);
    font-weight: 800;
    text-underline-offset: .2em;
}

.legal-page .info-hero {
    width: min(100% - 2rem, var(--reading));
    display: block;
    text-align: left;
}

.legal-page .info-hero p {
    margin-top: 1.25rem;
}

.legal-copy {
    padding-top: clamp(3.5rem, 7vw, 6rem);
}

.legal-copy h2 {
    margin: 2.5rem 0 .65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    font-weight: 900;
    letter-spacing: -.035em;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

.legal-copy p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 1.05rem;
    line-height: 1.85;
}

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

.valid.modified:not([type=checkbox]) {
    outline: 2px solid #138a62;
}

.invalid {
    outline: 2px solid #c42d5b;
}

.validation-message {
    color: #a61f49;
}

.blazor-error-boundary {
    padding: 1rem 1rem 1rem 3.5rem;
    color: #fff;
    background: #8d2347;
    border-radius: 1rem;
}

.blazor-error-boundary::after {
    content: "Something went wrong.";
}

@media (max-width: 720px) {
    .site-shell, .reading-shell {
        width: min(100% - 1.25rem, var(--shell));
    }

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }

    .info-hero {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.25rem;
    }

    .info-hero p {
        margin: 0;
    }

    .legal-page .info-hero p {
        margin-top: 1rem;
    }

    .info-section-lead,
    .coverage-grid,
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .operator-card,
    .contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .operator-actions,
    .operator-actions .button,
    .contact-panel > .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
