/*
 * Base funnel styles. NO hard-coded brand colours — everything references the
 * per-brand CSS custom properties emitted by DesignTokens.ToCssVariables()
 * (--brand-color-*, --brand-type-*, --brand-layout-*). Fallbacks keep it usable
 * if a token is turned off for a brand.
 */
:root {
    --_accent: var(--brand-color-accent, #4338ca);
    --_accent-contrast: var(--brand-color-accent-contrast, #ffffff);
    --_bg: var(--brand-color-background, #f7f7fb);
    --_surface: var(--brand-color-surface, #ffffff);
    --_text: var(--brand-color-text, #1a1523);
    --_muted: var(--brand-color-muted, #6b6577);
    --_font: var(--brand-type-font-family-base, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);

    /* Borders and subtle fills. Defaults are black-alpha (fine on light backgrounds);
       DARK brands MUST set colors.border + colors.subtle or these vanish. */
    --_border: var(--brand-color-border, rgba(0, 0, 0, .12));
    --_subtle: var(--brand-color-subtle, rgba(0, 0, 0, .06));

    /* Buttons and inputs are styled independently: a brand may use full pill buttons
       (border-radius: 300px) while keeping inputs only slightly rounded. */
    --_btn-radius: var(--brand-layout-button-radius, 8px);
    --_input-radius: var(--brand-layout-input-radius, 8px);
}

* { box-sizing: border-box; }

/* The colour scheme is brand-driven (tokens.colorScheme), set on <html> by the layout.
   Pinning it stops mobile dark mode restyling form controls behind the brand's back. */

/* Inputs must take the brand surface, not the UA scheme's default field colour
   (which is grey in dark mode and ignores the brand palette entirely). */
button, input, select, textarea { color: var(--_text); }
input, select, textarea { background: var(--_surface); }
input::placeholder { color: var(--_muted); opacity: 1; }

body {
    margin: 0;
    font-family: var(--_font);
    color: var(--_text);
    background: var(--_bg);
    line-height: 1.5;
}

.retail-header {
    padding: 1rem 1.5rem;
    background: var(--_surface);
    border-bottom: 1px solid var(--_border);
}
.retail-logo { height: var(--brand-layout-logo-height, 40px); }
.retail-wordmark { font-weight: 700; font-size: 1.1rem; }

.retail-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.retail-footer {
    text-align: center;
    color: var(--_muted);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.retail-footer a { color: var(--_muted); }
.retail-footer__contact { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.retail-header__home { display: inline-block; line-height: 0; }

h1 {
    font-size: 1.6rem;
    margin: 0 0 .5rem;
    color: var(--brand-color-heading, inherit);
    font-family: var(--brand-type-font-family-heading, inherit);
}
h2 { color: var(--brand-color-heading, inherit); }
.lede { color: var(--_muted); margin-top: 0; }
.muted { color: var(--_muted); }

.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 1.5rem 0;
}
.product-card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: var(--brand-layout-radius, 12px);
    text-decoration: none;
    color: inherit;
}
.product-card__title { font-weight: 600; }
.product-card__cta { color: var(--_accent); font-weight: 600; }

/* Step content: centred column — headings/straplines centred, forms centred as blocks
   (labels stay left-aligned inside them). */
.retail-main h1,
.retail-main .lede,
.retail-main .notice { text-align: center; }
.step--confirmation { text-align: center; }

.availability-form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
}
.availability-form input {
    padding: .6rem .75rem;
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    font: inherit;
}

.btn {
    display: inline-block;
    padding: .6rem 1rem;
    border: none;
    border-radius: var(--_btn-radius);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: var(--_text);
    background: var(--_subtle);
}
.btn--primary { background: var(--_accent); color: var(--_accent-contrast); }

.notice {
    padding: .6rem .9rem;
    background: color-mix(in srgb, var(--_accent) 8%, var(--_surface));
    border: 1px solid color-mix(in srgb, var(--_accent) 25%, transparent);
    border-radius: 8px;
}

.availability-form select {
    padding: .6rem .75rem;
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    font: inherit;
    background: var(--_surface);
}

.address-list {
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    max-width: 480px;
}
.address-list h2 { font-size: 1.1rem; margin: 0 0 .25rem; text-align: center; }
.address-option {
    width: 100%;
    text-align: left;
    padding: .6rem .9rem;
    background: var(--_surface);
    color: var(--_text);
    border: 1px solid var(--_border);
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}
.address-option:hover { border-color: var(--_accent); }

.offer-list,
.offer-grid { display: flex; flex-direction: column; gap: .75rem; margin: 1.25rem 0; }

/* Streaming availability results */
.carrier-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .55rem .9rem;
    margin: 0 auto;
    max-width: 480px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--_accent) 8%, var(--_surface));
    border: 1px solid color-mix(in srgb, var(--_accent) 22%, transparent);
    font-size: .92rem;
}
.carrier-status--done {
    background: color-mix(in srgb, var(--brand-color-success, #16a34a) 10%, var(--_surface));
    border-color: color-mix(in srgb, var(--brand-color-success, #16a34a) 30%, transparent);
}
.carrier-status__spinner {
    width: 14px; height: 14px;
    border: 2px solid color-mix(in srgb, var(--_accent) 30%, transparent);
    border-top-color: var(--_accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* [hidden] must always win — several of these elements have display:flex. */
[hidden] { display: none !important; }

/* Busy state for submit buttons (postcode/address + number search) */
.btn--busy {
    opacity: .85;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.btn__spinner {
    width: 14px; height: 14px;
    border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    flex: none;
}

/* Dynamic result filters (appear only when >1 network or >1 term) */
.offer-filters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1rem auto 0;
    padding: .75rem 1rem;
    max-width: 560px;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: var(--brand-layout-radius, 12px);
}
.filter-group {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    border: none;
    margin: 0;
    padding: 0;
}
.filter-group__label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--_muted);
    padding: 0;
}
.filter-option {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .88rem;
    cursor: pointer;
    user-select: none;
}
.filter-option input { accent-color: var(--_accent); width: 15px; height: 15px; cursor: pointer; }

.carrier-group { display: flex; flex-direction: column; gap: .75rem; }
.carrier-group__head {
    text-align: left;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--_muted);
    margin-top: .5rem;
}
.offer-group--enter { animation: rise .35s ease-out; }
.offer-card--enter { animation: rise .35s ease-out; }
@keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.offer-card__chips { display: flex; gap: .4rem; flex-wrap: wrap; margin: .2rem 0; }
.chip {
    font-size: .72rem;
    font-weight: 600;
    padding: .15rem .55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.chip--carrier {
    background: color-mix(in srgb, var(--brand-color-heading, var(--_accent)) 10%, var(--_surface));
    color: var(--brand-color-heading, var(--_text));
    border: 1px solid color-mix(in srgb, var(--brand-color-heading, var(--_accent)) 25%, transparent);
}
.chip--term {
    background: var(--_subtle);
    color: var(--_muted);
    border: 1px solid var(--_border);
}

/* Skeleton placeholders while the first carrier responds */
.offer-card--skeleton { min-height: 84px; align-items: stretch; }
.offer-card--skeleton .skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin: .35rem 0;
    background: linear-gradient(90deg, var(--_subtle) 25%, var(--_border) 50%, var(--_subtle) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w30 { width: 30%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: var(--brand-layout-radius, 12px);
}
.offer-card__body { display: flex; flex-direction: column; gap: .15rem; }
.offer-card__title { font-weight: 600; }
.offer-card__subtitle { color: var(--_muted); font-size: .9rem; }
.offer-card__price { font-weight: 600; color: var(--_accent); }
.offer-card__price small { font-weight: 400; color: var(--_muted); }

.summary-card {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .9rem 1.1rem;
    max-width: 420px;
    margin: 0 auto 1.25rem;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 8px;
}
.summary-card__title { font-weight: 600; }

/* Profile "Sign-in & security" section (passkey management) */
.section-title {
    margin: 2.5rem auto .25rem;
    max-width: 420px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--_border);
}
.passkey-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.passkey-list .summary-card { margin-bottom: .75rem; }
.passkey-list .summary-card form { margin-top: .35rem; }
.passkey-list a.summary-card__title { color: inherit; }

/* Support ticket conversation */
.ticket-thread {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}
.ticket-msg {
    padding: .8rem 1rem;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 10px;
    text-align: left;
    margin-right: 2.5rem;
}
.ticket-msg--you {
    margin-right: 0;
    margin-left: 2.5rem;
    border-left: 3px solid var(--_accent);
}
.ticket-msg__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .3rem;
    font-size: .85rem;
}
.ticket-msg__author { font-weight: 600; }
.ticket-msg__body { white-space: pre-wrap; }

.details-form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}
.details-form label { margin-top: .4rem; }
.details-form input:not([type="checkbox"]):not([type="radio"]),
.details-form select,
.details-form textarea {
    padding: .6rem .75rem;
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    font: inherit;
    background: var(--_surface);
    color: inherit;
    width: 100%;
    box-sizing: border-box;
}
.details-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2.25rem;
}
.details-form textarea { resize: vertical; }
.details-form button { margin-top: 1rem; align-self: stretch; }

/* Back link aligned to the centred form rather than the page edge */
.step-back { max-width: 420px; margin: 1rem auto 0; }

/* Order type (new install vs migration) + addon options on the details step */
.order-type {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    border: none;
    margin: 0 0 1.25rem;
    padding: 0;
}
.order-type .addon-section__title { margin-bottom: .35rem; padding: 0; }

.addon-section { display: flex; flex-direction: column; gap: 1rem; margin-bottom: .75rem; }
.addon-section__title { font-size: 1.05rem; margin: 0; text-align: left; }
.addon-group { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.addon-group__name {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--_muted);
    padding: 0;
}
.addon-group__desc { margin: 0; font-size: .85rem; }
.addon-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .8rem;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 10px;
    cursor: pointer;
}
.addon-option:has(input:checked) {
    border-color: var(--_accent);
    box-shadow: 0 0 0 1px var(--_accent);
}
.addon-option input { accent-color: var(--_accent); flex: none; }
.addon-option__body { display: flex; flex-direction: column; flex: 1; }
.addon-option__name { font-weight: 600; font-size: .92rem; }
.addon-option__desc { font-size: .8rem; }
.addon-option__price { font-weight: 600; font-size: .9rem; text-align: right; color: var(--_accent); }
.addon-option__price small { color: var(--_muted); font-weight: 400; }
.addon-option__setup { display: block; font-size: .75rem; font-weight: 400; }

.order-summary__row { display: flex; justify-content: space-between; gap: 1rem; }
.order-summary__total { font-weight: 700; border-top: 1px solid var(--_border); padding-top: .4rem; margin-top: .2rem; }

/* ── In-life portal ─────────────────────────────────────────────────────── */
.portal-lines { display: flex; flex-direction: column; gap: 1rem; }
.portal-lines .summary-card { text-decoration: none; color: inherit; }
.summary-card--unread { border-left: 4px solid var(--_accent); }
.portal-lines__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.portal-footer-links { margin-top: 1.5rem; }
.portal-table { width: 100%; border-collapse: collapse; }
.portal-table th, .portal-table td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--_muted-border, #e5e5ef); }
.portal-table__row--missed td { color: var(--_muted); }
.checkbox-label { display: flex; align-items: center; gap: .5rem; margin: .25rem 0; }
.checkbox-label--inline { display: inline-flex; margin-right: .5rem; }
.closed-hours-slot { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .5rem 0; border-bottom: 1px dashed var(--_muted-border, #e5e5ef); }
.closed-hours-slot__days { display: flex; flex-wrap: wrap; gap: .25rem; }


/* ── Portal navigation (signed-in customers) ────────────────────────────── */
.portal-nav {
    background: var(--_surface);
    border-bottom: 1px solid var(--_border);
}
.portal-nav__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-wrap: wrap;
}
.portal-nav__link {
    display: inline-block;
    padding: .65rem .6rem;
    color: var(--_muted);
    text-decoration: none;
    font-size: .95rem;
    border-bottom: 2px solid transparent;
}
.portal-nav__link:hover { color: var(--_text); }
.portal-nav__link--active {
    color: var(--_accent);
    font-weight: 600;
    border-bottom-color: var(--_accent);
}
.portal-nav__signout { margin-left: auto; }
.portal-nav__link--button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font: inherit;
    font-size: .95rem;
}

/* ── DN-style funnel: hero, number finder, number grid, checkout ─────────── */
/* Full-bleed marketing hero — geometry measured from digitalnumbers.com:
   full viewport band, padding 48px 0, 1320px inner container, 56px left-aligned
   headline in a half-width column, light CTA (8px 48px, 20px), phone glyph right. */
.brand-hero {
    background: var(--_accent);
    color: var(--_accent-contrast);
    padding: 48px 0;
    width: 100%;
}
.brand-hero__inner {
    max-width: var(--brand-layout-header-max-width, 1320px);
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand-hero__copy { max-width: 640px; text-align: left; }
.brand-hero__pill {
    display: inline-block;
    background: var(--_accent-contrast);
    color: var(--_accent);
    font-weight: 700;
    font-size: .85rem;
    padding: .35rem .9rem;
    border-radius: 300px;
    margin-bottom: 1rem;
}
.brand-hero__headline {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 .5rem;
    line-height: 1.15;
}
.brand-hero__subline { margin: 0 0 1.25rem; opacity: .92; max-width: 420px; }
.brand-hero__cta {
    display: inline-block;
    background: #f8f9fa;
    color: #000;
    font-size: 1.25rem;
    padding: 8px 48px;
    border-radius: var(--_btn-radius);
    text-decoration: none;
    font-weight: 500;
}
.brand-hero__cta:hover { background: #e9ecef; }
.brand-hero__ticks {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 1rem 0 0;
    font-size: .9rem;
    opacity: .95;
}
.brand-hero__ticks li::before { content: "✓ "; }
.brand-hero__art { opacity: .25; flex: 0 0 auto; transform: rotate(-8deg); }
@media (max-width: 800px) {
    .brand-hero__art { display: none; }
    .brand-hero__copy { max-width: none; }
}
html { scroll-behavior: smooth; }

.finder__title { text-align: center; font-size: 1.6rem; margin: 2rem 0 .25rem; }
.finder-card {
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--_subtle);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    text-align: left;
    margin-top: 1rem;
}
.finder-card__hint { text-align: center; margin: 0; font-size: .85rem; }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--large { padding: .9rem 1rem; font-size: 1.05rem; }
.btn--outline {
    background: transparent;
    border: 1px solid var(--_accent);
    color: var(--_accent);
}
.btn--outline:hover { background: var(--_subtle); }

/* Searchable area-code combo */
.combo { position: relative; }
.combo__input {
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    font: inherit;
    background: var(--_surface);
    box-sizing: border-box;
}
.combo__list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    list-style: none;
    margin: 0;
    padding: .25rem;
}
.combo__option {
    padding: .5rem .6rem;
    border-radius: 6px;
    cursor: pointer;
}
.combo__option:hover { background: var(--_subtle); }
.combo__option-title { font-weight: 500; }

/* Number selection grid (DN style) */
.numbers__count { text-align: center; }
.numbers__banner { max-width: 640px; margin: .75rem auto 1.25rem; }
.notice--info {
    background: var(--_subtle);
    border: 1px solid var(--_border);
    color: var(--_text);
}
.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .9rem;
    margin: 0 0 1.25rem;
}
.number-card {
    position: relative;
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 10px;
    padding: 1rem .9rem .9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
}
.number-card__flag { position: absolute; top: .5rem; right: .6rem; font-size: .9rem; }
.number-card__icon { color: var(--_accent); }
.number-card__number { font-weight: 700; font-size: 1.05rem; }
.number-card__area { font-size: .8rem; }
.number-card__select { margin-top: .4rem; width: 100%; font-size: .85rem; padding: .45rem .5rem; }

/* Checkout (DN "Complete Your Order") */
.number-showcase {
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 12px;
    padding: 1.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    margin: 1rem 0 1.25rem;
}
.number-showcase__icon { color: var(--_accent); }
.number-showcase__label { font-weight: 600; font-size: 1.05rem; }
.number-showcase__number {
    color: var(--_accent);
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: .5px;
    line-height: 1.1;
}
.checkout-panel {
    background: var(--_surface);
    border: 1px solid var(--_border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    text-align: left;
}
.checkout-panel__heading { font-size: 1.05rem; margin: .25rem 0 0; }
.checkout-account { display: flex; flex-direction: column; gap: .4rem; }
.checkout-account input[type="email"] {
    padding: .6rem .75rem;
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    font: inherit;
}
.checkout-account--signedin {
    background: rgba(25, 135, 84, .12);
    border: 1px solid rgba(25, 135, 84, .25);
    border-radius: 8px;
    padding: .7rem .9rem;
}
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .9rem;
}
.plan-card {
    position: relative;
    border: 1px solid var(--_border);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.plan-card:has(input:checked) {
    border-color: var(--_accent);
    box-shadow: 0 0 0 1px var(--_accent);
}
.plan-card input[type="radio"] { position: absolute; top: 1rem; left: 1rem; }
.plan-card__name { font-weight: 600; margin-left: 1.6rem; }
.plan-card__price { font-size: 1.5rem; font-weight: 800; }
.plan-card__price small { font-size: .85rem; font-weight: 400; color: var(--_muted); }
.plan-card__badge {
    position: absolute;
    top: -.6rem;
    right: .75rem;
    background: #198754;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 300px;
}
.plan-card__features {
    list-style: none;
    padding: 0;
    margin: .25rem 0 0;
    font-size: .85rem;
    color: var(--_muted);
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.plan-card__features li::before { content: "✓ "; color: #198754; }

/* Trial toggle switch */
.trial-toggle {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid var(--_border);
    background: var(--_subtle);
    border-radius: 10px;
    padding: .8rem .9rem;
    cursor: pointer;
}
.trial-toggle__input { position: absolute; opacity: 0; }
.trial-toggle__switch {
    flex: 0 0 auto;
    width: 40px;
    height: 22px;
    border-radius: 300px;
    background: var(--_border);
    position: relative;
    transition: background .15s;
    margin-top: .15rem;
}
.trial-toggle__switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--_surface);
    transition: left .15s;
}
.trial-toggle:has(input:checked) .trial-toggle__switch { background: var(--_accent); }
.trial-toggle:has(input:checked) .trial-toggle__switch::after { left: 20px; }
.trial-toggle__body { display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.trial-toggle__title { font-weight: 600; }

.promo-expander summary {
    cursor: pointer;
    color: var(--_accent);
    font-size: .9rem;
    text-align: center;
    list-style: none;
}
.promo-expander summary::-webkit-details-marker { display: none; }
.promo-expander input {
    margin-top: .6rem;
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--_border);
    border-radius: var(--_input-radius);
    font: inherit;
    box-sizing: border-box;
}
.checkout-trust, .checkout-methods { text-align: center; margin: 0; font-size: .85rem; }
.whats-next {
    background: var(--_subtle);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    text-align: left;
}
.whats-next ol { margin: .5rem 0 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .35rem; }

/* ── Full brand chrome (header nav + marketing-site footer) ─────────────── */
.retail-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.retail-header--full { padding: .75rem 1.5rem; } /* 67px tall like DN's navbar */
.retail-header--full .retail-header__inner {
    /* Matches a Bootstrap .container (DN's marketing site): 1320px + 12px gutters */
    max-width: var(--brand-layout-header-max-width, 1320px);
    margin: 0 auto;
    padding: 0 12px;
}
.site-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.site-nav__link {
    padding: 8px;
    color: var(--brand-color-nav-link, rgba(0, 0, 0, .65));
    text-decoration: none;
    font-size: 1rem;
    border-radius: 6px;
}
.site-nav__link:hover { background: var(--_subtle); }
.site-nav__link--account { color: var(--_accent); font-weight: 600; }

.site-footer {
    background: var(--brand-color-footer-background, #212529);
    color: var(--brand-color-footer-text, #ffffff);
    padding: 2.5rem 1.5rem;
    margin-top: 2rem;
}
.site-footer__inner {
    max-width: var(--brand-layout-header-max-width, 1320px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.site-footer__brand { flex: 2 1 260px; }
.site-footer__col { flex: 1 1 140px; }
.site-footer__logo { height: 40px; margin-bottom: .75rem; }
.site-footer__tagline {
    color: var(--brand-color-footer-muted, rgba(255, 255, 255, .65));
    font-size: .9rem;
    margin: 0;
    max-width: 280px;
}
.site-footer__col { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__col-title { font-weight: 700; margin-bottom: .25rem; }
.site-footer__col a {
    color: var(--brand-color-footer-muted, rgba(255, 255, 255, .75));
    text-decoration: none;
    font-size: .92rem;
}
.site-footer__col a:hover { color: var(--brand-color-footer-text, #ffffff); text-decoration: underline; }
@media (max-width: 640px) {
    .site-footer__inner { flex-direction: column; gap: 1.25rem; }
    .site-nav { display: none; } /* full nav collapses on small screens; logo remains */
}
