[hidden] { display: none !important; }

button { font: inherit; }
button:enabled { cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: .22em;
}

.text-link:hover { color: var(--ink); }

.pricing {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(1.6rem, 5vw, 5.4rem);
    padding-block: clamp(3.2rem, 7vw, 6.4rem);
}

.section-heading h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.036em;
}

.section-heading p, .page-heading p {
    max-width: 34ch;
    margin-top: .9rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.58;
}

.plan-grid { border-top: 1px solid var(--stroke); }

.plan-card {
    display: grid;
    grid-template-columns: minmax(5rem, 1fr) minmax(6.5rem, 1fr) auto;
    align-items: center;
    gap: .55rem 1.2rem;
    min-height: 6.45rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--stroke);
}

.plan-featured { background: #ffe4cc; }
.plan-card h3 { font-size: 1.35rem; font-weight: 680; }
.plan-card p { margin-top: .25rem; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.plan-cost strong { font-size: 1.65rem; font-weight: 740; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-card .button { min-height: 2.75rem; }

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.1rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .92rem; }
.footer-nav a:hover { color: var(--link); }

.product-page { padding-block: clamp(2.8rem, 5.5vw, 5rem); }
.page-heading { margin-bottom: 2rem; }
.page-heading h1 {
    font-size: 3.4rem;
    font-weight: 730;
    line-height: 1.07;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}

.page-heading p { max-width: 56ch; }
.back-link { margin: -.6rem 0 .55rem; }

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.4rem, 5vw, 4.5rem);
}

.checkout-inputs { display: grid; gap: 1.35rem; }
.product-panel { min-width: 0; padding: 1.35rem; border: 1px solid var(--stroke); border-radius: .65rem; background: var(--surface); }

.product-panel h2, .product-panel legend {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 730;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.product-panel p { margin-top: .55rem; color: var(--muted); line-height: 1.55; }

fieldset.product-panel {
    margin: 0;
    padding: .85rem 0 1.15rem;
    border: 0;
    border-bottom: 1px solid var(--stroke);
    border-radius: 0;
    background: transparent;
}

.product-panel legend { padding: 0; }
.checkout-options, .faq-section { display: grid; gap: .5rem; }

.choice-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 4rem;
    padding: .6rem .85rem;
    border: 1px solid var(--control-stroke);
    border-radius: .45rem;
    background: var(--surface);
    cursor: pointer;
}

.choice-row:has(:checked) { border-color: var(--link); background: #fff1e3; }
.choice-row input { width: 1.12rem; height: 1.12rem; flex: 0 0 auto; margin: 0; }
.choice-row span { display: grid; gap: .15rem; }
.choice-row small { color: var(--muted); font-size: .86rem; }
.choice-row b { margin-inline-start: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }

.field-label { display: block; margin-bottom: .4rem; font-weight: 650; }

.text-input {
    display: block;
    width: 100%;
    min-height: 3.1rem;
    padding: .55rem .7rem;
    border: 1px solid var(--control-stroke);
    border-radius: .45rem;
    color: var(--ink);
    background: var(--surface);
    caret-color: var(--link);
    font: inherit;
}

.text-input::placeholder { color: var(--muted); }
.field-hint { color: var(--muted); font-size: .92rem; line-height: 1.55; }

.order-panel {
    position: sticky;
    top: 1.2rem;
    padding: clamp(1.2rem, 3vw, 1.9rem);
    background: var(--surface-tint);
}

.order-details { display: grid; gap: .68rem; margin: 1.05rem 0; }
.order-details div { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; }
.order-details dt { color: var(--muted); }
.order-details dd { margin: 0; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.order-details .order-total { padding-top: .8rem; margin-top: .2rem; border-top: 1px solid var(--control-stroke); }
.order-total dd { font-size: 1.9rem; }

.product-panel .preview-note, .preview-note {
    margin-block: .9rem;
    padding: .65rem .75rem;
    border: 1px solid var(--stroke);
    border-radius: .45rem;
    color: var(--muted);
    background: var(--paper);
    font-size: .92rem;
    line-height: 1.55;
}

.order-panel .button { width: 100%; }
.product-panel .form-feedback { color: var(--link); font-weight: 650; font-size: .94rem; }
.form-feedback:empty { display: none; }

.login-layout { width: min(100%, 33rem); margin-inline: auto; }
.login-panel form { display: grid; gap: .65rem; margin: 1.15rem 0 .5rem; }
.login-panel .field-label, .login-panel .field-hint { margin: 0; }
.code-input { font-variant-numeric: tabular-nums; letter-spacing: .18em; }

.dashboard-heading, .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem 1.15rem;
    flex-wrap: wrap;
}

.dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.1rem;
    margin-bottom: 1.3rem;
    border-bottom: 1px solid var(--stroke);
}

.dashboard-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--muted);
    font-weight: 550;
}

.dashboard-nav a:hover { color: var(--link); text-decoration: underline; text-underline-offset: .24em; }

.dashboard-grid, .download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.85rem, 2vw, 1.4rem);
}

.download-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.subscription-panel { background: #fbe7d5; }

.status-label {
    padding: .25rem .48rem;
    border: 1px solid #ae8161;
    border-radius: .3rem;
    color: #6d321c;
    font-size: .88rem;
    font-weight: 650;
}

.access-key {
    display: block;
    width: 100%;
    margin: .85rem 0;
    padding: .75rem;
    border: 1px solid var(--stroke);
    border-radius: .4rem;
    background: var(--paper);
    color: var(--ink);
    overflow-wrap: anywhere;
}

.account-list { display: grid; gap: .35rem; margin: .7rem 0 .35rem; padding: 0; list-style: none; }

.account-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    min-height: 3rem;
    padding-block: .45rem;
    border-bottom: 1px solid var(--stroke);
}

.account-list li > span, .account-list small { color: var(--muted); }
.account-list small { display: block; margin-top: .18rem; }
.account-list strong { color: var(--ink); }
.device-action { min-height: 2.75rem; padding-inline: .7rem; font-size: .9rem; }

.download-panel {
    padding: 1.35rem 1.25rem;
    border: 0;
    border-top: 1px solid var(--control-stroke);
    border-radius: 0;
    background: transparent;
}

.download-panel .platform-icon { display: block; margin-bottom: .55rem; color: var(--link); }
.download-panel .button { margin-top: .85rem; }
.download-panel h3 { margin-top: 1.3rem; font-size: 1.06rem; }
.download-panel .steps { margin-top: .55rem; }

.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.faq-page { max-width: 48rem; }
.faq-section { gap: 0; }
.faq-search { margin-bottom: 1.05rem; }
.faq-section .faq-empty { margin-block: 0 .65rem; }

.faq-item { border-top: 1px solid var(--stroke); }
.faq-item:last-child { border-bottom: 1px solid var(--stroke); }

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3.65rem;
    padding: .6rem 2rem .6rem .15rem;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--link); }

.faq-item summary::after {
    position: absolute;
    right: .5rem;
    width: .48rem;
    height: .48rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    transform: rotate(45deg);
}

.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item > div { max-width: 70ch; padding: .2rem 1rem .95rem .15rem; color: var(--muted); line-height: 1.6; }
.faq-item .text-link { margin-top: .15rem; }
.faq-links { display: flex; flex-wrap: wrap; column-gap: 1.1rem; }

.support-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: clamp(2rem, 5vw, 3.4rem);
    padding: clamp(1.25rem, 3.5vw, 2rem);
    background: var(--surface-tint);
}

.support-panel p { max-width: 43ch; }

.offer-page { max-width: 68rem; }
.offer-page .page-heading { margin-bottom: clamp(2.2rem, 5.4vw, 4.6rem); }
.offer-section + .offer-section { margin-top: clamp(2.5rem, 5.4vw, 4.6rem); }

.offer-section h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 730;
    line-height: 1.13;
    letter-spacing: -.03em;
}

.offer-section > p { max-width: 60ch; margin-top: .85rem; color: var(--muted); line-height: 1.55; }

.offer-benefit-list, .offer-location-list, .offer-support-list {
    display: grid;
    gap: .75rem;
    margin: clamp(1.1rem, 2.7vw, 2rem) 0 0;
    padding: 0;
    list-style: none;
}

.offer-benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-location-list, .offer-support-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.offer-benefit-list li, .offer-location-list li, .offer-support-list li {
    padding: clamp(.9rem, 2vw, 1.35rem);
    border: 1px solid var(--stroke);
    border-radius: .75rem;
}

.offer-benefit-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    min-height: 8rem;
    background: var(--surface-tint);
}

.offer-benefit-list h3 { font-size: 1.13rem; font-weight: 700; line-height: 1.3; }
.offer-benefit-list p { max-width: 34ch; margin-top: .4rem; color: var(--muted); line-height: 1.45; }

.offer-benefit-icon {
    display: block;
    width: clamp(4rem, 8vw, 5.75rem);
    height: auto;
    aspect-ratio: 1;
    flex: none;
    object-fit: contain;
}

.offer-location-list li {
    display: grid;
    align-content: start;
    gap: .72rem;
    min-height: 7.25rem;
    background: var(--surface);
    font-weight: 650;
}

.offer-location-list img { display: block; border: 1px solid #231d181a; border-radius: 50%; }

.offer-devices, .offer-subscription { padding: clamp(1.25rem, 3.2vw, 2.3rem); border-radius: .9rem; }
.offer-devices { border: 1px solid var(--stroke); background: var(--surface-tint); }
.offer-devices .platforms { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.offer-devices .platforms .line-icon { width: 1.2rem; height: 1.2rem; }

.offer-subscription { background: var(--orange); text-align: center; }
.offer-subscription .button { margin-top: 1.1rem; }
.offer-support > p .text-link { display: inline; }
.offer-support-list li { background: var(--surface-tint); font-weight: 600; }

@media (max-width: 55rem) {
    .pricing { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 46rem) {
    .checkout-layout { grid-template-columns: minmax(0, 1fr); }
    .order-panel { position: static; }
    .offer-location-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
    .page-heading h1 { font-size: 2.35rem; }
    .dashboard-grid, .download-grid { grid-template-columns: minmax(0, 1fr); }
    .offer-benefit-list, .offer-location-list, .offer-support-list { grid-template-columns: minmax(0, 1fr); }
    .offer-benefit-list li { min-height: auto; }
    .offer-benefit-icon { width: 3.65rem; }
    .offer-location-list li { min-height: 6.3rem; }
    .offer-location-list img { width: 2.3rem; height: 2.3rem; }
    .offer-subscription .button { width: 100%; }
    .plan-card { grid-template-columns: 1fr auto; min-height: 0; padding: .9rem .65rem; }
    .plan-card .button { grid-column: 1 / -1; justify-self: start; }
    .plan-cost { text-align: right; }
    .dashboard-nav { gap: 0 .75rem; }
}

@media (max-width: 22rem) {
    .page-heading h1 { font-size: 2.05rem; }
    .plan-cost strong { font-size: 1.45rem; }
}
