/* Shared presentation layer for the landing page and the two public services. */

:root {
    --site-width: 1280px;
    --site-radius: 16px;
    --site-surface-muted: #f4f8fb;
    --site-shadow: 0 14px 34px rgba(20, 62, 105, 0.09);
}

/* Landing page */

.landingShell {
    width: min(var(--site-width), calc(100% - 32px));
    padding-top: 16px;
}

.landingHero {
    gap: 28px;
    border-radius: 18px;
    padding: clamp(22px, 3vw, 38px);
}

.landingNav {
    min-height: 54px;
}

.landingNav .brandMark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
}

.heroGrid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: clamp(38px, 5vw, 72px);
}

.heroCopy h1 {
    max-width: 700px;
    font-size: clamp(44px, 4.5vw, 62px);
    line-height: 1.01;
}

.heroLead {
    max-width: 660px;
    font-size: clamp(17px, 1.45vw, 19px);
}

.heroServicePrompt {
    display: grid;
    gap: 2px;
    padding-top: 2px;
}

.heroServicePrompt strong {
    color: var(--text);
    font-size: 16px;
    line-height: 1.3;
}

.heroServicePrompt span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.heroActions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    width: min(100%, 720px);
    padding-top: 0;
}

.heroChoiceLink {
    --hero-choice-accent: var(--accent);
    --hero-choice-border: #a9cbea;
    --hero-choice-background: linear-gradient(145deg, #f5faff 0%, #edf6ff 100%);
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 7px;
    min-width: 0;
    min-height: 112px;
    align-content: center;
    justify-items: start;
    border: 1px solid var(--hero-choice-border);
    border-radius: 12px;
    background: var(--hero-choice-background);
    color: var(--text);
    box-shadow: 0 9px 22px rgba(20, 62, 105, 0.08);
    padding: 16px 52px 16px 18px;
    text-align: left;
    text-decoration: none;
}

.heroChoiceReminder {
    --hero-choice-accent: var(--good);
    --hero-choice-border: #a8d4c2;
    --hero-choice-background: linear-gradient(145deg, #f5fcf8 0%, #eaf8f1 100%);
}

.heroChoiceLink::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 18px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--hero-choice-accent) 12%, transparent);
    color: var(--hero-choice-accent);
    font-size: 17px;
    font-weight: 900;
    transform: translateY(-50%);
}

.heroChoiceTitle {
    color: var(--hero-choice-accent);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    text-wrap: balance;
}

.heroChoiceDescription {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
    text-wrap: pretty;
}

.heroChoiceLink:hover {
    border-color: var(--hero-choice-accent);
    box-shadow: 0 13px 28px rgba(20, 62, 105, 0.14);
    text-decoration: none;
}

.heroChoiceLink:active {
    box-shadow: 0 6px 16px rgba(20, 62, 105, 0.12);
}

.heroVisual {
    justify-self: center;
    width: min(100%, 380px);
}

.phoneFrame {
    width: min(100%, 340px);
    margin-inline: auto;
}

.heroFlow {
    width: min(100%, 380px);
    margin-inline: auto;
}

.landingChoices {
    gap: 12px;
}

.landingChoice {
    border-radius: 12px;
    box-shadow: none;
}

/* Shared service shell and header */

.serviceBody {
    background:
        radial-gradient(circle at 12% 0%, rgba(9, 102, 210, 0.07), transparent 32rem),
        linear-gradient(180deg, #f7fbff 0%, #eef8f4 54%, var(--bg) 100%);
}

.serviceShell,
.reminderShell.serviceShell {
    display: grid;
    gap: 16px;
    width: min(var(--site-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 40px;
}

.serviceShell > * {
    width: 100%;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
}

.serviceHeader,
.topbar.serviceHeader,
.reminderHeader.serviceHeader {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid #b7d8f1;
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--site-shadow);
    padding: 0;
}

.serviceHeaderTop,
.reminderNav.serviceHeaderTop {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(340px, 420px) 46px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
    padding: 15px 20px;
}

.serviceBrand,
.reminderBrand.serviceBrand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.serviceBrand .brandMark,
.reminderBrand.serviceBrand .brandMark {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(20, 62, 105, 0.14);
}

.serviceBrand > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.serviceBrand strong,
.reminderBrand.serviceBrand strong {
    color: var(--text);
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.serviceHeader .serviceTabs,
.reminderHeader.serviceHeader > .serviceTabs {
    width: 100%;
    margin: 0;
    border-color: var(--line);
    border-radius: 11px;
    background: #edf2f4;
}

.serviceHeader .serviceTabLink {
    min-height: 44px;
    border-radius: 8px;
    font-size: 14px;
}

.serviceHeader .themeToggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-self: end;
}

.serviceHero,
.topbarCopy.serviceHero,
.reminderHero.serviceHero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfe 58%, #f1faf6 100%);
    padding: clamp(26px, 3.4vw, 42px);
}

.serviceHeroCopy,
.reminderHeroCopy.serviceHeroCopy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.serviceHeroCopy > * {
    margin: 0;
}

.serviceHero h1,
.reminderHero.serviceHero h1 {
    max-width: 650px;
    color: var(--text);
    font-size: clamp(38px, 4.2vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.serviceLead,
.reminderLead.serviceLead {
    max-width: 680px;
    margin: 0;
    color: #30485f;
    font-size: clamp(17px, 1.7vw, 19px);
    line-height: 1.5;
}

.reminderHeroContext {
    max-width: 680px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.reminderHeroNote {
    max-width: 680px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    padding-top: 10px;
}

.reminderHeroNote strong {
    color: var(--text);
}

.reminderHeroNote a {
    font-weight: 750;
}

.serviceHighlights,
.reminderBenefits.serviceHighlights {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.serviceHighlights li,
.reminderBenefits.serviceHighlights li {
    display: grid;
    gap: 3px;
    min-width: 0;
    border: 1px solid #cfdeea;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    background: rgba(247, 251, 255, 0.9);
    padding: 12px 14px;
}

.serviceHighlights li:nth-child(2),
.reminderBenefits.serviceHighlights li:nth-child(2) {
    border-left-color: var(--fresh);
}

.serviceHighlights li:nth-child(3),
.reminderBenefits.serviceHighlights li:nth-child(3) {
    border-left-color: #8b68c8;
}

.serviceHighlights strong,
.reminderBenefits.serviceHighlights strong {
    color: var(--text);
    font-size: 14px;
    line-height: 1.3;
}

.serviceHighlights span,
.reminderBenefits.serviceHighlights span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

/* Availability workflow */

.servicePanel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--site-radius);
    background: var(--panel);
    box-shadow: 0 8px 24px rgba(20, 62, 105, 0.06);
}

.alertShell .workspace {
    margin: 0;
}

.alertShell .stationsPanel.servicePanel {
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border-radius: var(--site-radius);
    background: var(--panel);
}

.alertShell .stationsPanel > .stationHeader {
    border: 0;
    border-radius: 0;
    background: var(--panel);
    padding: 22px 24px;
}

.alertShell .stationHeader h2,
.alertShell .flowIntro h2,
.alertShell .subscriptionCopy h2 {
    font-size: 19px;
    line-height: 1.25;
}

.alertShell .stationHeader .personCountTip {
    max-width: 720px;
    margin-top: 9px;
    border-left-color: #a9d2f0;
    color: var(--muted);
}

.alertShell .latestAppointmentPanel {
    border: 0;
    border-top: 1px solid var(--line);
    background: var(--panel);
}

.alertShell .latestAppointmentPanel > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    cursor: pointer;
    list-style: none;
    padding: 12px 24px;
}

.alertShell .latestAppointmentPanel > summary::-webkit-details-marker {
    display: none;
}

.alertShell .latestAppointmentPanel > summary::after {
    content: "+";
    color: var(--muted);
    font-size: 22px;
    font-weight: 750;
}

.alertShell .latestAppointmentPanel[open] > summary::after {
    content: "−";
}

.alertShell .latestAppointmentPanel > summary > span:first-child {
    display: grid;
    gap: 3px;
}

.alertShell .latestAppointmentPanel > summary strong {
    font-size: 15px;
}

.alertShell .latestAppointmentPanel > summary small,
.alertShell .latestAppointmentBody > small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.alertShell .latestAppointmentSummary {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--site-surface-muted);
    color: var(--muted);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.alertShell .latestAppointmentSummary.hasDate {
    border-color: #9cc8b8;
    background: #eef9f4;
    color: #176145;
}

.alertShell .latestAppointmentBody {
    display: grid;
    grid-template-columns: minmax(220px, 320px) auto;
    align-items: end;
    gap: 10px 14px;
    border-top: 1px solid var(--line);
    background: var(--site-surface-muted);
    padding: 16px 24px 18px;
}

.alertShell .latestAppointmentBody label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 750;
}

.alertShell .latestAppointmentBody input {
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    padding: 8px 10px;
    font: inherit;
}

.alertShell .latestAppointmentBody button {
    min-height: 44px;
}

.alertShell .latestAppointmentBody > small {
    grid-column: 1 / -1;
}

@media (max-width: 680px) {
    .alertShell .latestAppointmentPanel > summary {
        grid-template-columns: minmax(0, 1fr) auto;
        padding-inline: 18px;
    }

    .alertShell .latestAppointmentSummary {
        grid-column: 1;
        justify-self: start;
    }

    .alertShell .latestAppointmentPanel > summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .alertShell .latestAppointmentBody {
        grid-template-columns: 1fr;
        padding-inline: 18px;
    }

    .alertShell .latestAppointmentBody button {
        justify-self: start;
    }
}

.alertShell .stationsPanel > .mobileFlowPanel {
    gap: 16px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fbfdff;
    padding: 22px 24px 24px;
}

.alertShell .mobileModeToggle {
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #edf2f7;
    padding: 4px;
}

.alertShell .mobileModeToggle button {
    min-height: 62px;
    align-content: center;
    gap: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 9px 14px;
    text-align: center;
    box-shadow: none;
}

.alertShell .mobileModeToggle button[aria-pressed="true"] {
    background: var(--panel);
    box-shadow: 0 2px 7px rgba(22, 36, 51, 0.12);
}

.alertShell .modeTitle {
    font-size: 15px;
}

.alertShell .modeDescription {
    font-size: 12px;
    font-weight: 550;
}

.alertShell .mobileQuickStart {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 17px 0 0;
}

.alertShell .mobileQuickStart strong {
    font-size: 17px;
}

.alertShell .nearestButton {
    min-height: 48px;
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(14, 127, 88, 0.16);
}

.alertShell .stationsPanel > .listToolbar,
.alertShell .stationsPanel > .tableWrap,
.alertShell .stationsPanel > .desktopMoreNearestButton {
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
}

.alertShell .stationsPanel > .listToolbar {
    padding: 12px 16px;
}

.alertShell .stationsPanel > .tableWrap {
    border-color: var(--line);
}

.alertShell .stationsPanel > .desktopMoreNearestButton {
    margin: 0;
    padding: 10px 16px;
}

.alertShell .subscriptionPanel.servicePanel {
    grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
    gap: clamp(24px, 4vw, 48px);
    border-color: var(--line);
    border-radius: var(--site-radius);
    background: var(--panel);
    box-shadow: 0 8px 24px rgba(20, 62, 105, 0.06);
    padding: 24px;
}

.alertShell .subscriptionCopy {
    align-self: center;
}

.alertShell .subscriptionCopy p {
    font-size: 15px;
    line-height: 1.55;
}

.alertShell .subscriptionControls {
    border: 0;
    border-radius: 12px;
    background: var(--site-surface-muted);
    padding: 16px;
}

.alertShell .pushAlternative {
    border-color: var(--line);
}

.alertShell .varselFaq {
    padding-right: 4px;
    padding-left: 4px;
}

.serviceShell > noscript .servicePanel {
    display: block;
    padding: 16px 18px;
}

/* Expiry-reminder workflow */

.reminderPageStatus {
    padding-inline: 4px;
}

.reminderPanel.servicePanel,
.reminderWorkspace.servicePanel {
    border-radius: var(--site-radius);
    box-shadow: 0 8px 24px rgba(20, 62, 105, 0.06);
}

.reminderSignIn {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(24px, 3.5vw, 38px);
}

.reminderPanelIntro h2,
.reminderWorkspaceHeader h2 {
    font-size: clamp(27px, 3vw, 34px);
}

.reminderAuthCard {
    border-color: var(--line);
    background: var(--site-surface-muted);
}

.reminderWorkspaceHeader {
    background: var(--panel);
    padding: 24px 28px;
}

.reminderDocumentList {
    gap: 10px;
    padding: 18px 28px 24px;
}

.reminderDocumentCard {
    border-color: var(--line);
    border-radius: 11px;
    background: #fbfdff;
    padding: 16px;
}

.reminderDocumentFacts div {
    border: 1px solid #e1eaf2;
    background: var(--panel);
}

.reminderNextStep {
    margin-right: 28px;
    margin-left: 28px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 20px 0 0;
}

.reminderProfileOptions {
    margin-right: 28px;
    margin-left: 28px;
}

.reminderPrivacy {
    grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr);
    gap: 28px;
    border: 0;
    border-left: 3px solid var(--fresh);
    border-radius: 0;
    background: transparent;
    padding: 16px 20px;
}

.reminderPrivacy h2 {
    font-size: clamp(22px, 2.5vw, 28px);
}

.reminderStateProfile .reminderHero.serviceHero {
    display: none;
}

/* Shared footer */

.serviceFooter,
.disclaimer.serviceFooter,
.reminderFooter.serviceFooter {
    display: grid;
    gap: 10px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 18px 2px 0;
}

.serviceFooter p,
.reminderFooter.serviceFooter p {
    max-width: 980px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.serviceFooter nav,
.reminderFooter.serviceFooter nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.serviceFooter .footerMeta {
    border-top: 0;
    padding-top: 0;
}

.serviceFooter a,
.reminderFooter.serviceFooter a,
.serviceFooter .footerSettingsButton {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.serviceFooter a:hover,
.reminderFooter.serviceFooter a:hover,
.serviceFooter .footerSettingsButton:hover {
    text-decoration: underline;
}

/* Dark theme */

:root[data-theme="dark"] {
    --site-surface-muted: #101b27;
    --site-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

:root[data-theme="dark"] .serviceBody {
    background:
        radial-gradient(circle at 12% 0%, rgba(48, 134, 229, 0.12), transparent 32rem),
        linear-gradient(180deg, #101821 0%, var(--bg) 100%);
}

:root[data-theme="dark"] .serviceHeader,
:root[data-theme="dark"] .serviceHeaderTop,
:root[data-theme="dark"] .servicePanel,
:root[data-theme="dark"] .alertShell .stationsPanel > .stationHeader,
:root[data-theme="dark"] .alertShell .latestAppointmentPanel,
:root[data-theme="dark"] .reminderWorkspaceHeader {
    border-color: #31475c;
    background: #14202d;
}

:root[data-theme="dark"] .serviceHero {
    background: linear-gradient(135deg, #14202d 0%, #111c28 58%, #10251f 100%);
}

:root[data-theme="dark"] .serviceLead {
    color: #c0d0df;
}

:root[data-theme="dark"] .serviceHighlights li {
    border-color: #35526b;
    background: #192d3f;
}

:root[data-theme="dark"] .serviceHighlights li:first-child {
    border-left-color: var(--accent);
}

:root[data-theme="dark"] .serviceHighlights li:nth-child(2) {
    border-left-color: var(--fresh);
}

:root[data-theme="dark"] .serviceHighlights li:nth-child(3) {
    border-left-color: #a987e2;
}

:root[data-theme="dark"] .serviceHeader .serviceTabs,
:root[data-theme="dark"] .alertShell .mobileModeToggle {
    border-color: #34475a;
    background: #0f1d29;
}

:root[data-theme="dark"] .alertShell .mobileModeToggle button[aria-pressed="true"] {
    background: #1a3042;
}

:root[data-theme="dark"] .alertShell .stationsPanel > .mobileFlowPanel,
:root[data-theme="dark"] .alertShell .latestAppointmentBody,
:root[data-theme="dark"] .reminderDocumentCard {
    border-color: #31475c;
    background: #142433;
}

:root[data-theme="dark"] .alertShell .latestAppointmentSummary.hasDate {
    border-color: #376f5d;
    background: #15382d;
    color: #a8e4ce;
}

:root[data-theme="dark"] .reminderDocumentFacts div {
    border-color: #31475c;
    background: #1a3042;
}

:root[data-theme="dark"] .reminderNextStep,
:root[data-theme="dark"] .reminderPrivacy {
    background: transparent;
}

:root[data-theme="dark"] .reminderNextStep {
    border-color: #31475c;
}

:root[data-theme="dark"] .reminderPrivacy {
    border-color: var(--fresh);
}

:root[data-theme="dark"] .heroChoiceAlert {
    --hero-choice-accent: #75b9ff;
    --hero-choice-border: #355c7d;
    --hero-choice-background: linear-gradient(145deg, #13283a 0%, #102131 100%);
}

:root[data-theme="dark"] .heroChoiceReminder {
    --hero-choice-accent: #72d8b5;
    --hero-choice-border: #356957;
    --hero-choice-background: linear-gradient(145deg, #142d28 0%, #11251f 100%);
}

:root[data-theme="dark"] .heroChoiceLink:hover {
    border-color: var(--hero-choice-accent);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.24);
}

/* Responsive layout */

@media (max-width: 980px) {
    .serviceHeaderTop,
    .reminderNav.serviceHeaderTop {
        grid-template-columns: minmax(0, 1fr) 46px;
        gap: 12px;
    }

    .serviceHeader .serviceTabs {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .serviceHeader .themeToggle {
        grid-column: 2;
        grid-row: 1;
    }

    .serviceHero,
    .topbarCopy.serviceHero,
    .reminderHero.serviceHero {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
    }

    .alertShell .subscriptionPanel.servicePanel {
        grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1.2fr);
        gap: 24px;
    }
}

@media (max-width: 840px) {
    .landingShell,
    .serviceShell,
    .reminderShell.serviceShell {
        width: min(100% - 20px, var(--site-width));
    }

    .landingHero {
        padding: 16px;
    }

    .landingShell {
        padding-bottom: max(36px, env(safe-area-inset-bottom));
    }

    .heroGrid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .heroCopy h1 {
        font-size: clamp(34px, 8vw, 46px);
    }

    .heroVisual {
        width: 100%;
    }

    .serviceHero,
    .topbarCopy.serviceHero,
    .reminderHero.serviceHero,
    .alertShell .subscriptionPanel.servicePanel,
    .reminderSignIn,
    .reminderPrivacy {
        grid-template-columns: 1fr;
    }

    .serviceHero {
        gap: 20px;
        padding: 24px;
    }

    .serviceHero h1,
    .reminderHero.serviceHero h1 {
        font-size: clamp(34px, 7vw, 44px);
    }

    .serviceHighlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .serviceHighlights li,
    .reminderBenefits.serviceHighlights li {
        align-content: center;
        border-top: 3px solid var(--accent);
        border-left-width: 1px;
        padding: 10px;
        text-align: center;
    }

    .serviceHighlights li:nth-child(2),
    .reminderBenefits.serviceHighlights li:nth-child(2) {
        border-top-color: var(--fresh);
        border-left-color: var(--line);
    }

    .serviceHighlights li:nth-child(3),
    .reminderBenefits.serviceHighlights li:nth-child(3) {
        border-top-color: #8b68c8;
        border-left-color: var(--line);
    }

    .serviceHighlights li:first-child,
    .reminderBenefits.serviceHighlights li:first-child {
        border-left-color: var(--line);
    }

    :root[data-theme="dark"] .serviceHighlights li,
    :root[data-theme="dark"] .reminderBenefits.serviceHighlights li {
        border-left-color: #35526b;
    }

    .serviceHighlights span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .alertShell .stationsPanel > .stationHeader,
    .alertShell .stationsPanel > .mobileFlowPanel,
    .alertShell .subscriptionPanel.servicePanel,
    .reminderSignIn {
        padding: 18px;
    }

    .reminderPrivacy {
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .serviceShell,
    .reminderShell.serviceShell {
        gap: 12px;
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: max(36px, env(safe-area-inset-bottom));
    }

    .serviceHeader,
    .topbar.serviceHeader,
    .reminderHeader.serviceHeader,
    .servicePanel {
        border-radius: 14px;
    }

    .serviceHeaderTop,
    .reminderNav.serviceHeaderTop {
        padding: 12px;
    }

    .serviceBrand .brandMark,
    .reminderBrand.serviceBrand .brandMark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .serviceBrand strong,
    .reminderBrand.serviceBrand strong {
        font-size: 14px;
    }

    .serviceHeader .serviceTabLink {
        min-height: 44px;
    }

    .serviceHero,
    .topbarCopy.serviceHero,
    .reminderHero.serviceHero {
        gap: 16px;
        padding: 18px 14px;
    }

    .serviceHero h1,
    .reminderHero.serviceHero h1 {
        font-size: clamp(30px, 9vw, 36px);
    }

    .serviceLead,
    .reminderLead.serviceLead {
        font-size: 16px;
        line-height: 1.42;
    }

    .serviceHighlights,
    .reminderBenefits.serviceHighlights {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .serviceHighlights li,
    .reminderBenefits.serviceHighlights li {
        border-top: 1px solid var(--line);
        border-left: 4px solid var(--accent);
        padding: 10px 12px;
        text-align: left;
    }

    .serviceHighlights li:nth-child(2),
    .reminderBenefits.serviceHighlights li:nth-child(2) {
        border-top-color: var(--line);
        border-left-color: var(--fresh);
    }

    .serviceHighlights li:nth-child(3),
    .reminderBenefits.serviceHighlights li:nth-child(3) {
        border-top-color: var(--line);
        border-left-color: #8b68c8;
    }

    .serviceHighlights strong {
        font-size: 13px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .serviceHighlights span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        clip-path: none;
        white-space: normal;
    }

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

    .heroChoiceLink {
        min-height: 104px;
    }

    .landingHero .phoneFrame,
    .landingHero .heroFlow {
        display: none;
    }

    .landingHero .heroAppSection {
        border-top: 1px solid var(--line);
        padding-top: 14px;
    }

    .alertShell .stationsPanel > .stationHeader,
    .alertShell .stationsPanel > .mobileFlowPanel,
    .alertShell .subscriptionPanel.servicePanel,
    .reminderSignIn {
        padding: 15px;
    }

    .alertShell .mobileModeToggle button {
        min-height: 44px;
        padding: 6px 8px;
    }

    .alertShell .modeDescription {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .alertShell .mobileQuickStart {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 14px;
    }

    .alertShell .personCountControlField {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .alertShell .personStepper {
        min-height: 44px;
        gap: 12px;
    }

    .alertShell .personStepper button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        border-radius: 11px;
    }

    .alertShell .personStepper strong {
        min-width: 34px;
        min-height: 44px;
        font-size: 26px;
    }

    .alertShell .subscriptionControls {
        border-top: 1px solid var(--line);
        border-radius: 0;
        background: transparent;
        padding: 13px 0 0;
    }

    .reminderWorkspaceHeader {
        padding: 18px;
    }

    .reminderDocumentList {
        padding: 14px 18px 20px;
    }

    .reminderDocumentFacts {
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    }

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

    .reminderDocumentActions button {
        min-height: 48px;
    }

    .reminderNextStep,
    .reminderProfileOptions {
        margin-right: 18px;
        margin-left: 18px;
    }

    .reminderPrivacy {
        padding: 14px 12px 14px 16px;
    }

    .serviceFooter,
    .disclaimer.serviceFooter,
    .reminderFooter.serviceFooter {
        padding-right: 2px;
        padding-left: 2px;
    }
}

@media (max-width: 360px) {
    .reminderDocumentFacts,
    .reminderDocumentActions {
        grid-template-columns: 1fr;
    }
}
