/* ==========================================================================
   page.css — page composition (scoped to :is(.lp-standard, .lp-commercial))
   ========================================================================== */

/* ---------- Optional reveal (JS adds .has-reveal; content is visible without it) ---------- */

@media (prefers-reduced-motion: no-preference) {
    .has-js :is(.lp-standard, .lp-commercial) [data-reveal].is-pending {
        opacity: 0;
        transform: translateY(18px);
    }

    .has-js :is(.lp-standard, .lp-commercial) [data-reveal] {
        transition: opacity var(--t-max) var(--ease-out), transform var(--t-max) var(--ease-out);
    }
}

/* ---------- 01 · Intro ---------- */

:is(.lp-standard, .lp-commercial) .lp-intro {
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
}

:is(.lp-standard, .lp-commercial) .lp-intro__grid {
    display: grid;
    gap: var(--s-12);
}

:is(.lp-standard, .lp-commercial) .lp-intro__lead {
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-intro__lead .lp-lede {
    margin-bottom: var(--s-8);
}

:is(.lp-standard, .lp-commercial) .lp-disclosure {
    padding: var(--s-5) 0 0;
    border-top: 2px solid var(--c-forest);
    max-width: 34rem;
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-disclosure__title {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-3);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--c-forest);
}

:is(.lp-standard, .lp-commercial) .lp-disclosure__list li {
    position: relative;
    padding: var(--s-2) 0 var(--s-2) var(--s-6);
    font-size: 0.9375rem;
    color: var(--c-text-secondary);
    border-bottom: 1px solid var(--c-border);
}

:is(.lp-standard, .lp-commercial) .lp-disclosure__list li::before {
    content: "";
    position: absolute;
    left: var(--s-1);
    top: 1.1em;
    width: 0.5rem;
    height: 1px;
    background: var(--c-forest-muted);
}

:is(.lp-standard, .lp-commercial) .lp-disclosure__list strong {
    color: var(--c-forest);
}

:is(.lp-standard, .lp-commercial) .lp-topics {
    border-top: 1px solid var(--c-border-strong);
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-topic {
    display: flex;
    gap: var(--s-5);
    padding: var(--s-6) 0;
    border-bottom: 1px solid var(--c-border);
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-topic__title {
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: var(--s-1);
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-topic__title a {
    color: var(--c-forest);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size var(--t-base) var(--ease);
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-topic__title a:hover {
    background-size: 100% 1px;
}

:is(.lp-standard, .lp-commercial) .lp-topic p {
    color: var(--c-text-secondary);
    font-size: 0.9375rem;
}

:is(.lp-standard, .lp-commercial) .lp-intro__band {
    margin-top: var(--s-16);
}

:is(.lp-standard, .lp-commercial) .lp-media--band img {
    object-position: 50% 60%;
}

@media (max-width: 639.98px) {
    :is(.lp-standard, .lp-commercial) .lp-media--band {
        aspect-ratio: 16 / 9;
    }

    :is(.lp-standard, .lp-commercial) .lp-intro__band {
        margin-top: var(--s-10);
    }
}

@media (min-width: 1024px) {
    :is(.lp-standard, .lp-commercial) .lp-intro__grid {
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
        gap: var(--s-16);
        align-items: start;
    }

    :is(.lp-standard, .lp-commercial) .lp-topics {
        margin-top: var(--s-10);
    }
}

/* ---------- 02 · Requirements ---------- */

:is(.lp-standard, .lp-commercial) .lp-requirements {
    background: var(--c-ivory);
}

:is(.lp-standard, .lp-commercial) .lp-requirements__grid {
    display: grid;
    gap: var(--s-10);
}

:is(.lp-standard, .lp-commercial) .lp-requirements__aside,
:is(.lp-standard, .lp-commercial) .lp-requirements__content {
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-requirements__aside .lp-lede {
    margin-bottom: var(--s-8);
}

:is(.lp-standard, .lp-commercial) .lp-requirements__figure .lp-caption {
    margin-top: var(--s-3);
}

:is(.lp-standard, .lp-commercial) .lp-requirements__figure img {
    object-position: 30% 50%;
}

:is(.lp-standard, .lp-commercial) .lp-chips {
    margin-bottom: var(--s-6);
}

:is(.lp-standard, .lp-commercial) .lp-checklist {
    padding: var(--s-8) 0;
    border-top: 1px solid var(--c-border-strong);
}

:is(.lp-standard, .lp-commercial) .lp-checklist:last-of-type {
    border-bottom: 1px solid var(--c-border-strong);
    margin-bottom: var(--s-8);
}

:is(.lp-standard, .lp-commercial) .lp-checklist__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-1) var(--s-4);
    margin-bottom: var(--s-5);
}

:is(.lp-standard, .lp-commercial) .lp-checklist__sub {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}

:is(.lp-standard, .lp-commercial) .lp-checklist__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--s-3);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--c-text-secondary);
}

:is(.lp-standard, .lp-commercial) .lp-checklist__list li + li {
    margin-top: var(--s-4);
}

:is(.lp-standard, .lp-commercial) .lp-checklist__mark {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.05rem;
    border-radius: 50%;
    background: var(--c-sage);
    color: var(--c-forest);
}

:is(.lp-standard, .lp-commercial) .lp-checklist__mark .lp-icon {
    width: 0.9375rem;
    height: 0.9375rem;
    stroke-width: 2;
}

@media (max-width: 639.98px) {
    :is(.lp-standard, .lp-commercial) .lp-checklist__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
    :is(.lp-standard, .lp-commercial) .lp-requirements__figure {
        max-width: 36rem;
    }
}

@media (min-width: 1024px) {
    :is(.lp-standard, .lp-commercial) .lp-requirements__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: var(--s-20);
        align-items: start;
    }

    :is(.lp-standard, .lp-commercial) .lp-requirements__aside {
        position: sticky;
        top: calc(var(--header-h) + var(--s-8));
    }

    :is(.lp-standard, .lp-commercial) .lp-checklist__list {
        padding-left: var(--s-1);
    }
}

/* ---------- 03 · Fees ---------- */

:is(.lp-standard, .lp-commercial) .lp-fees {
    background: var(--c-sand);
}

:is(.lp-standard, .lp-commercial) .lp-fees__header {
    display: grid;
    gap: var(--s-2);
    margin-bottom: var(--s-10);
}

:is(.lp-standard, .lp-commercial) .lp-fees__header .lp-h2 {
    margin-bottom: 0;
}

:is(.lp-standard, .lp-commercial) .lp-cost-kinds {
    display: grid;
    gap: 0;
    margin-bottom: var(--s-8);
    border-top: 1px solid var(--c-border-strong);
}

:is(.lp-standard, .lp-commercial) .lp-cost-kind {
    padding: var(--s-6) 0;
    border-bottom: 1px solid var(--c-border-strong);
    color: var(--c-text-secondary);
    font-size: 0.9375rem;
}

:is(.lp-standard, .lp-commercial) .lp-cost-kind__label {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--c-text-muted);
}

:is(.lp-standard, .lp-commercial) .lp-cost-kind__label .lp-icon {
    width: 1rem;
    height: 1rem;
}

:is(.lp-standard, .lp-commercial) .lp-cost-kind__value {
    margin: var(--s-2) 0 var(--s-1);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.25rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--c-forest);
}

:is(.lp-standard, .lp-commercial) .lp-cost-kind--free .lp-cost-kind__value {
    color: var(--c-success);
}

:is(.lp-standard, .lp-commercial) .lp-table-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--s-6) var(--s-5);
    box-shadow: var(--shadow-sm);
}

:is(.lp-standard, .lp-commercial) .lp-table__caption-title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--c-forest);
}

:is(.lp-standard, .lp-commercial) .lp-table__caption-meta {
    display: block;
    margin-top: var(--s-1);
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}

:is(.lp-standard, .lp-commercial) .lp-fee-table tbody th {
    font-weight: 400;
}

:is(.lp-standard, .lp-commercial) .lp-fee-table__validity {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--c-forest);
    white-space: nowrap;
}

:is(.lp-standard, .lp-commercial) .lp-fee-table__note {
    display: block;
    max-width: 16rem;
    margin-top: var(--s-1);
    font-size: var(--fs-xs);
    line-height: 1.45;
    color: var(--c-text-muted);
}

:is(.lp-standard, .lp-commercial) .lp-price {
    display: inline-block;
    font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--c-text);
    white-space: nowrap;
}

:is(.lp-standard, .lp-commercial) .lp-price--secondary {
    font-weight: 600;
    color: var(--c-text-secondary);
}

:is(.lp-standard, .lp-commercial) .lp-currency {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--c-text-muted);
}

:is(.lp-standard, .lp-commercial) .lp-table-notes {
    margin-top: var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--c-border-strong);
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--c-text-secondary);
}

:is(.lp-standard, .lp-commercial) .lp-table-notes p + p {
    margin-top: var(--s-3);
}

:is(.lp-standard, .lp-commercial) .lp-source {
    display: flex;
    gap: var(--s-2);
    align-items: flex-start;
    color: var(--c-text-muted);
}

:is(.lp-standard, .lp-commercial) .lp-source .lp-icon {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    color: var(--c-forest-muted);
}

@media (max-width: 379.98px) {
    :is(.lp-standard, .lp-commercial) .lp-table th,
    :is(.lp-standard, .lp-commercial) .lp-table td {
        padding-inline: var(--s-2);
    }

    :is(.lp-standard, .lp-commercial) .lp-table-card {
        padding-inline: var(--s-4);
    }
}

@media (min-width: 640px) {
    :is(.lp-standard, .lp-commercial) .lp-cost-kinds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 1px solid var(--c-border-strong);
    }

    :is(.lp-standard, .lp-commercial) .lp-cost-kind {
        padding: var(--s-6) var(--s-6) var(--s-6) 0;
        border-bottom: 0;
    }

    :is(.lp-standard, .lp-commercial) .lp-cost-kind + .lp-cost-kind {
        padding-left: var(--s-6);
        border-left: 1px solid var(--c-border-strong);
    }

    :is(.lp-standard, .lp-commercial) .lp-table-card {
        padding: var(--s-8);
    }

    :is(.lp-standard, .lp-commercial) .lp-currency {
        display: inline;
        margin-left: 0.25em;
    }
}

@media (min-width: 1024px) {
    :is(.lp-standard, .lp-commercial) .lp-fees__header {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: end;
        gap: var(--s-16);
        margin-bottom: var(--s-12);
    }

    :is(.lp-standard, .lp-commercial) .lp-table-card {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
        gap: var(--s-12);
        padding: var(--s-10) var(--s-12);
    }

    :is(.lp-standard, .lp-commercial) .lp-table-notes {
        margin-top: 0;
        padding-top: 0;
        padding-left: var(--s-10);
        border-top: 0;
        border-left: 1px solid var(--c-border);
        align-self: stretch;
    }

    :is(.lp-standard, .lp-commercial) .lp-table th,
    :is(.lp-standard, .lp-commercial) .lp-table td {
        padding-block: var(--s-6);
    }
}

/* ---------- 03b · Assist + form (commercial only) ---------- */

.lp-commercial .lp-intro__wa {
    margin-top: var(--s-6);
}

.lp-commercial .lp-assist {
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
}

.lp-commercial .lp-assist__grid {
    display: grid;
    gap: var(--s-10);
}

.lp-commercial .lp-assist__intro {
    min-width: 0;
}

.lp-commercial .lp-assist__alt {
    margin-top: var(--s-5);
    font-size: 0.9375rem;
    color: var(--c-text-secondary);
}

.lp-commercial .lp-assist__form {
    min-width: 0;
    max-width: 30rem;
}

.lp-commercial .lp-assist__smallprint {
    margin-top: var(--s-4);
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: var(--c-text-muted);
}

.lp-commercial .lp-field__opt {
    font-weight: 400;
    color: var(--c-text-muted);
}

@media (min-width: 1024px) {
    .lp-commercial .lp-assist__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: var(--s-20);
        align-items: start;
    }
}

/* ---------- 04 · Process (the one dark editorial band) ---------- */

:is(.lp-standard, .lp-commercial) .lp-process {
    background: var(--c-forest);
    color: var(--c-on-forest);
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-process .lp-h2 {
    color: var(--c-on-forest);
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-process .lp-h2 em {
    color: var(--c-sage);
}

:is(.lp-standard, .lp-commercial) .lp-process .lp-lede {
    color: var(--c-on-forest-secondary);
}

:is(.lp-standard, .lp-commercial) .lp-process__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-6);
    align-items: end;
    margin-bottom: var(--s-10);
}

/* The calendar photo is supporting content: omitted on small screens to keep the sequence compact. */
@media (max-width: 639.98px) {
    :is(.lp-standard, .lp-commercial) .lp-process__figure {
        display: none;
    }
}

:is(.lp-standard, .lp-commercial) .lp-process__heading {
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-process__figure {
    align-self: start;
}

:is(.lp-standard, .lp-commercial) .lp-process__figure .lp-media {
    background-color: var(--c-forest-dark);
}

:is(.lp-standard, .lp-commercial) .lp-steps {
    display: grid;
    border-top: 1px solid var(--c-on-forest-rule);
}

:is(.lp-standard, .lp-commercial) .lp-step {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    column-gap: var(--s-4);
    padding: var(--s-8) 0;
    border-bottom: 1px solid var(--c-on-forest-rule);
}

:is(.lp-standard, .lp-commercial) .lp-step__num {
    grid-row: span 3;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 3.25rem;
    font-weight: 400;
    line-height: 0.9;
    color: var(--c-sage);
    font-variant-numeric: lining-nums;
}

.lp-site :is(.lp-standard, .lp-commercial) .lp-step__title {
    font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
    line-height: 1.15;
    color: var(--c-on-forest);
    margin-bottom: var(--s-3);
}

:is(.lp-standard, .lp-commercial) .lp-step__text {
    max-width: 26rem;
    font-size: 0.9375rem;
    color: var(--c-on-forest-secondary);
}

:is(.lp-standard, .lp-commercial) .lp-step .lp-text-link {
    margin-top: var(--s-3);
    justify-self: start;
}

@media (min-width: 640px) {
    :is(.lp-standard, .lp-commercial) .lp-process__header {
        grid-template-columns: minmax(0, 1fr) minmax(0, 13rem);
        gap: var(--s-10);
    }
}

@media (min-width: 1024px) {
    :is(.lp-standard, .lp-commercial) .lp-process__header {
        grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
        gap: var(--s-16);
        margin-bottom: var(--s-16);
    }

    :is(.lp-standard, .lp-commercial) .lp-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 1px solid var(--c-on-forest-rule);
    }

    :is(.lp-standard, .lp-commercial) .lp-step {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        padding: var(--s-10) var(--s-10) var(--s-12) 0;
        border-bottom: 0;
    }

    :is(.lp-standard, .lp-commercial) .lp-step + .lp-step {
        padding-left: var(--s-10);
        border-left: 1px solid var(--c-on-forest-rule);
    }

    :is(.lp-standard, .lp-commercial) .lp-step__num {
        grid-row: auto;
        font-size: clamp(4.5rem, 2rem + 4vw, 6.5rem);
        margin-bottom: var(--s-8);
    }
}

/* ---------- 05 · FAQ ---------- */

:is(.lp-standard, .lp-commercial) .lp-faq {
    background: var(--c-ivory);
}

:is(.lp-standard, .lp-commercial) .lp-faq__grid {
    display: grid;
    gap: var(--s-10);
}

:is(.lp-standard, .lp-commercial) .lp-faq__intro {
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-faq__intro .lp-lede {
    margin-bottom: var(--s-8);
}

:is(.lp-standard, .lp-commercial) .lp-accordion {
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-accordion__panel a {
    color: var(--c-forest);
    font-weight: 600;
}

@media (min-width: 1024px) {
    :is(.lp-standard, .lp-commercial) .lp-faq__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: var(--s-20);
        align-items: start;
    }

    :is(.lp-standard, .lp-commercial) .lp-faq__intro {
        position: sticky;
        top: calc(var(--header-h) + var(--s-8));
    }
}

/* ---------- Development-only component preview ---------- */

:is(.lp-standard, .lp-commercial) .lp-dev-preview {
    background: var(--c-white);
    border-top: 1px dashed var(--c-border-strong);
}

:is(.lp-standard, .lp-commercial) .lp-dev-preview__ribbon {
    display: flex;
    gap: var(--s-3);
    align-items: flex-start;
    margin-bottom: var(--s-10);
    padding: var(--s-4) var(--s-5);
    border: 1px solid #EBD3A5;
    border-radius: var(--r-md);
    background: var(--c-warning-bg);
    color: var(--c-warning);
    font-size: 0.9375rem;
}

:is(.lp-standard, .lp-commercial) .lp-dev-preview__grid {
    display: grid;
    gap: var(--s-10);
}

:is(.lp-standard, .lp-commercial) .lp-dev-preview__intro {
    min-width: 0;
}

:is(.lp-standard, .lp-commercial) .lp-dev-preview__intro .lp-lede {
    margin-bottom: var(--s-6);
}

:is(.lp-standard, .lp-commercial) .lp-state-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-bottom: var(--s-8);
}

:is(.lp-standard, .lp-commercial) .lp-skeleton-demo {
    max-width: 22rem;
    padding: var(--s-5);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
}

:is(.lp-standard, .lp-commercial) [data-demo-form][data-state="loading"] .lp-input,
:is(.lp-standard, .lp-commercial) [data-demo-form][data-state="loading"] .lp-choice {
    opacity: 0.6;
}

@media (min-width: 1024px) {
    :is(.lp-standard, .lp-commercial) .lp-dev-preview__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: var(--s-20);
    }
}

/* ---------- 404 ---------- */

:is(.lp-standard, .lp-commercial) .lp-not-found__inner {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

:is(.lp-standard, .lp-commercial) .lp-not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-8);
}