html, body {
    font-family: Inter, 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #102a43;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f4f7fb;
}

main {
    flex: 1;
    min-width: 0;
}

.sidebar {
    background:
        radial-gradient(circle at 20% 0%, rgba(247, 201, 72, .22), transparent 28%),
        linear-gradient(180deg, #102a43 0%, #0b1f33 50%, #071727 100%);
    box-shadow: 14px 0 35px rgba(15, 23, 42, .08);
}

.top-row {
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid #e7edf5;
    backdrop-filter: blur(14px);
    justify-content: flex-end;
    min-height: 4rem;
    display: flex;
    align-items: center;
}

.top-row a,
.top-row .btn-link {
    white-space: nowrap;
    text-decoration: none;
}

.top-row a:hover,
.top-row .btn-link:hover {
    text-decoration: underline;
}

.content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.brand-panel {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1rem 1rem;
    color: #fff;
}

.brand-panel img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    padding: .25rem;
}

.brand-panel strong,
.brand-panel span {
    display: block;
}

.brand-panel span {
    color: rgba(255,255,255,.68);
    font-size: .78rem;
}

.navbar-toggler {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.72%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked {
    background-color: rgba(255, 255, 255, 0.22);
}

.nav-section {
    color: rgba(255,255,255,.48);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 1rem 1.5rem .45rem;
    text-transform: uppercase;
}

.nav-item {
    font-size: .95rem;
    padding-bottom: .35rem;
}

.nav-item .nav-link {
    color: rgba(255,255,255,.78);
    border-radius: 14px;
    height: 2.8rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: 0 .85rem;
}

.nav-icon {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    font-weight: 700;
}

.nav-item a.active {
    background: rgba(255,255,255,.16);
    color: #fff;
    box-shadow: inset 3px 0 0 #f7c948;
}

.nav-item .nav-link:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.nav-scrollable {
    display: none;
    padding-bottom: 1rem;
}

.navbar-toggler:checked ~ .nav-scrollable {
    display: block;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.14);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

a, .btn-link {
    color: #0f62a8;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0f62a8, #164b7d);
    border-color: #164b7d;
}

.btn-outline-primary {
    color: #164b7d;
    border-color: #9cc4e4;
}

.btn-outline-primary:hover {
    background: #164b7d;
    border-color: #164b7d;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #6aa6d8;
}

h1, h2, h3 {
    color: #102a43;
}

h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

h3 {
    font-size: 1rem;
    font-weight: 800;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.hero-card,
.content-card,
.plan-card,
.stat-card {
    background: rgba(255,255,255,.94);
    border: 1px solid #e4edf6;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.07);
    padding: 1.5rem;
}

.signin-bg {
    min-height: 100vh;
    background: linear-gradient(rgba(10, 22, 38, .28), rgba(10, 22, 38, .28)), url('/images/highcourt.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.signin-card {
    width: 460px;
    max-width: 95vw;
    border: 0;
    border-radius: 22px;
}

.signin-logo {
    height: 80px;
    width: auto;
}

.eyebrow {
    color: #0f62a8;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.app-hero {
    background:
        radial-gradient(circle at 85% 25%, rgba(247, 201, 72, .24), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border: 1px solid #e2edf7;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(16, 42, 67, .07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.75rem;
}

.hero-date {
    background: #102a43;
    color: #fff;
    border-radius: 18px;
    font-weight: 700;
    padding: .8rem 1rem;
    white-space: nowrap;
}

.dashboard-grid,
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.stat-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card span {
    color: #627d98;
    font-size: .88rem;
    font-weight: 700;
}

.stat-card strong {
    font-size: 2rem;
    line-height: 1;
}

.stat-card small {
    color: #829ab1;
}

.stat-card.primary {
    background: linear-gradient(135deg, #102a43, #164b7d);
    color: #fff;
}

.stat-card.primary span,
.stat-card.primary small,
.stat-card.primary strong {
    color: #fff;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.quick-actions a {
    background: #eef6ff;
    border-radius: 999px;
    color: #174a7c;
    font-weight: 700;
    padding: .45rem .85rem;
    text-decoration: none;
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.case-list,
.device-list,
.side-stack,
.billing-options,
.settings-list {
    display: grid;
    gap: .85rem;
}

.case-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    align-items: start;
    border: 1px solid #edf3f9;
    border-radius: 18px;
    padding: 1rem;
    background: #fbfdff;
}

.case-serial {
    align-items: center;
    background: #eef6ff;
    border-radius: 16px;
    color: #164b7d;
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 52px;
}

.case-row h3,
.case-row p {
    margin: 0;
}

.case-row p {
    color: #526d82;
    margin-top: .2rem;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .65rem;
}

.case-meta span,
.feature-list span,
.savings {
    background: #eef6ff;
    color: #174a7c;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .85rem;
    font-weight: 700;
}

.empty-state {
    border: 1px dashed #c7d9eb;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.preserve-lines {
    white-space: pre-wrap;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1rem;
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

/* Wrapper provides the stacking context for the "Coming Soon" overlay. */
.plan-card-wrapper {
    position: relative;
    /* Inherit the same visual appearance as the card it wraps. */
    border-radius: inherit;
    min-width: 0;
}

/* Semi-transparent frost overlay — readable but non-interactive. */
.plan-coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all; /* absorb all clicks so buttons underneath are unreachable */
    z-index: 10;
}

/* Ribbon badge — matches the yellow/slate two-tone style in the brief. */
.plan-coming-soon-ribbon {
    background: #f7c948;
    color: #1e293b;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .45rem 1.4rem;
    border-radius: 2rem;
    box-shadow: 0 4px 16px rgba(247, 201, 72, .45), 0 1px 4px rgba(0, 0, 0, .15);
    user-select: none;
    white-space: nowrap;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.feature-bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: #475569;
}

.plan-variants {
    display: grid;
    gap: .9rem;
}

.plan-variant-row {
    display: grid;
    gap: .55rem;
    border-top: 1px solid #edf3f9;
    padding-top: .9rem;
}

.variant-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    background: #eef6ff;
    color: #174a7c;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .9rem;
    font-weight: 700;
}

.variant-label::before {
    content: "📱";
    font-size: .85rem;
}

.billing-options .btn {
    white-space: normal;
}

.profile-card {
    text-align: center;
}

.avatar {
    width: 76px;
    height: 76px;
    border-radius: 28px;
    background: linear-gradient(135deg, #102a43, #f7c948);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.settings-list > div,
.device-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #edf3f9;
    padding-bottom: .75rem;
}

.settings-list > div:last-child,
.device-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.settings-list span,
.device-row p {
    color: #627d98;
    margin: 0;
}

.usage-value {
    display: grid;
    gap: .1rem;
    text-align: right;
}

.usage-value span {
    color: inherit;
}

.usage-value small {
    color: #627d98;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
}

.devices-card {
    grid-column: span 2;
}

.device-row {
    justify-content: flex-start;
    align-items: center;
}

.device-icon {
    align-items: center;
    background: #eef6ff;
    border-radius: 16px;
    display: flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

@media (max-width: 1100px) {
    .home-layout {
        grid-template-columns: 1fr;
    }

    .devices-card {
        grid-column: auto;
    }
}

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 280px;
        min-width: 280px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row,
    article {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .nav-scrollable {
        display: block;
        height: calc(100vh - 5.2rem);
        overflow-y: auto;
    }
}

@media (max-width: 640px) {
    .app-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-date {
        white-space: normal;
    }
}

.page-header {
    background: rgba(255,255,255,.94);
    border: 1px solid #e2edf7;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(16, 42, 67, .07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.5rem;
}

.page-header h1 {
    margin: 0;
}

.action-card {
    align-items: flex-start;
}

.action-card .btn {
    align-self: flex-start;
}

.day-note-card {
    width: 100%;
}

.day-note-card h2 {
    width: 100%;
}

.device-list-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding-right: .35rem;
}

.subscription-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.account-confirmation-card {
    background: #f4f8fb;
    border: 1px solid #cbd9e6;
    border-left: 4px solid #1f6f8b;
    border-radius: 8px;
    padding: .9rem 1rem;
}

.account-confirmation-card h3,
.account-confirmation-card p {
    margin: 0;
}

.account-confirmation-card h3 {
    font-size: 1rem;
    line-height: 1.3;
}

.account-confirmation-details {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .75rem;
}

.account-confirmation-field {
    min-width: 230px;
}

.account-confirmation-field span,
.account-confirmation-field label {
    color: #536579;
    display: block;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.account-confirmation-field strong {
    background: #fff;
    border: 1px solid #cbd9e6;
    border-radius: 6px;
    color: #1d2f42;
    display: block;
    min-height: 38px;
    overflow-wrap: anywhere;
    padding: .5rem .65rem;
}

.customer-state-control {
    width: 260px;
}

.customer-state-control .form-select {
    width: 100%;
}

.account-confirmation-note {
    color: #536579;
    font-size: .84rem;
    line-height: 1.4;
    margin-top: .65rem;
}

.confirmation-backdrop {
    align-items: center;
    background: rgba(7, 23, 39, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 1050;
}

.confirmation-dialog {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(7, 23, 39, .28);
    max-width: 520px;
    padding: 1.5rem;
    width: min(100%, 520px);
}

.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.settings-grid-compact {
    grid-template-columns: 320px minmax(0, 1fr);
}

.devices-card-wide {
    grid-column: 1 / -1;
}

@media (max-width: 860px) {
    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-grid-compact {
        grid-template-columns: 1fr;
    }

    .account-confirmation-field,
    .customer-state-control {
        width: 100%;
    }
}

.case-download-page {
    align-items: center;
    background:
        radial-gradient(circle at 15% 14%, rgba(247, 201, 72, .22), transparent 28%),
        radial-gradient(circle at 84% 0%, rgba(16, 42, 67, .16), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 54%, #f9fbff 100%);
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    place-items: center;
    position: relative;
}

.case-download-page::before {
    background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,255,255,.18));
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    content: "";
    height: 540px;
    position: absolute;
    right: min(-220px, -20vw);
    top: -250px;
    width: 540px;
}

.case-shell {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(226, 237, 247, .95);
    border-radius: 34px;
    box-shadow: 0 30px 90px rgba(16, 42, 67, .16);
    display: grid;
    gap: 1.5rem;
    max-width: 840px;
    padding: clamp(1.35rem, 4vw, 2.4rem);
    position: relative;
    text-align: center;
    width: min(100%, 840px);
}

.case-hero-panel {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.case-app-icon-wrap {
    background: linear-gradient(145deg, #ffffff, #eaf3ff);
    border: 1px solid #dce9f7;
    border-radius: 32px;
    box-shadow: 0 20px 48px rgba(16, 42, 67, .14);
    display: grid;
    margin-bottom: 1.2rem;
    padding: .7rem;
    place-items: center;
}

.case-app-icon {
    border-radius: 24px;
    height: 118px;
    object-fit: contain;
    width: 118px;
}

.case-eyebrow {
    background: #edf6ff;
    border: 1px solid #d7e9fb;
    border-radius: 999px;
    color: #1f5f8b !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin: 0 0 .85rem !important;
    padding: .38rem .78rem;
    text-transform: uppercase;
}

.case-shell h1 {
    color: #102a43;
    font-size: clamp(2rem, 6vw, 3.1rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: 1;
    margin: 0 auto .95rem;
    max-width: 620px;
}

.case-lead {
    color: #526b84;
    font-size: clamp(1rem, 2.4vw, 1.16rem);
    line-height: 1.65;
    margin: 0 auto 1.25rem;
    max-width: 620px;
}

.case-download-panel {
    background: #f8fbff;
    border: 1px solid #e2edf7;
    border-radius: 26px;
    padding: 1.25rem;
}

.case-panel-title {
    color: #102a43;
    font-weight: 800;
    margin: 0 0 .95rem;
}

.download-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
}

.download-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #dce9f7;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(16, 42, 67, .08);
    display: inline-flex;
    justify-content: center;
    min-height: 64px;
    padding: .45rem .8rem;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.download-btn:hover,
.download-btn:focus-visible {
    border-color: #9fbfe0;
    box-shadow: 0 16px 32px rgba(16, 42, 67, .14);
    transform: translateY(-2px);
}

.download-buttons img {
    object-fit: contain;
    width: auto;
}

.app-store img { height: 42px; }
.google-play img { height: 54px; }
.microsoft-store img { height: 38px; }

.case-help-text {
    color: #6b7f94;
    font-size: .92rem;
    margin: .95rem 0 0;
}

.case-footer {
    color: #829ab1 !important;
    font-size: .9rem;
    margin: .1rem 0 0 !important;
}

@media (min-width: 760px) {
    .case-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .case-shell { border-radius: 28px; }
    .case-download-panel { padding: 1rem; }
    .download-buttons { flex-direction: column; }
    .download-btn { width: 100%; }
}

/* ── Landing page (unauthenticated) ───────────────────────── */
.ca-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.ca-landing-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(247, 201, 72, .22), transparent 28%),
        linear-gradient(135deg, #0d1f33 0%, #102a43 55%, #0b3a6e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54vh;
    padding: clamp(3rem, 8vw, 6rem) 1.5rem;
    text-align: center;
}

.ca-hero-inner {
    max-width: 740px;
}

.ca-hero-logo {
    height: 72px;
    width: auto;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    padding: .4rem;
    margin-bottom: 1.5rem;
}

.ca-landing-hero h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3.8vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin-bottom: .9rem;
}

.ca-hero-sub {
    color: rgba(255,255,255,.78);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.ca-plans-section {
    background: #f4f7fb;
    flex: 1;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}

.ca-plans-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 2.5rem;
}

.ca-plans-header h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.ca-plans-header p {
    color: #627d98;
    margin: 0;
}

.ca-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ca-plan-card {
    background: rgba(255,255,255,.94);
    border: 1px solid #e4edf6;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, .07);
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1.5rem;
    position: relative;
}

.ca-plan-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #102a43;
}

.ca-plan-desc {
    color: #627d98;
    font-size: .88rem;
    font-weight: 600;
}

.ca-plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #102a43;
    margin-top: .25rem;
}

.ca-plan-price span {
    font-size: .88rem;
    font-weight: 600;
    color: #627d98;
    letter-spacing: 0;
}

.ca-plan-annual {
    color: #627d98;
    font-size: .82rem;
    font-weight: 600;
    margin-top: -.35rem;
}

.ca-plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}

.ca-plan-features li {
    color: #475569;
    font-size: .9rem;
    padding-left: 1.1rem;
    position: relative;
}

.ca-plan-features li::before {
    content: "✓";
    color: #0f62a8;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.ca-pricing-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.ca-pricing-desktop {
    display: block;
}

.ca-pricing-mobile {
    display: none;
}

.ca-pricing-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    color: #627d98;
    font-size: .92rem;
    margin-bottom: 1rem;
}

.ca-pricing-table-wrap {
    overflow-x: auto;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(16, 42, 67, .08);
}

.ca-pricing-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    background: rgba(255,255,255,.96);
}

.ca-pricing-table th,
.ca-pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid #e4edf6;
}

.ca-pricing-feature-head,
.ca-pricing-feature-label {
    text-align: left;
    width: 23%;
    color: #102a43;
    font-weight: 700;
    background: #f8fbff;
    position: sticky;
    left: 0;
    z-index: 1;
}

.ca-pricing-feature-head {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    color: #627d98;
}

.ca-pricing-plan-head {
    min-width: 160px;
    text-align: center;
    background: #fffaf3;
    color: #102a43;
    vertical-align: bottom;
}

.ca-pricing-plan-name,
.ca-pricing-price,
.ca-pricing-subprice {
    display: block;
}

.ca-pricing-plan-name {
    font-size: 1.05rem;
    font-weight: 800;
}

.ca-pricing-price {
    margin-top: .45rem;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.ca-pricing-subprice {
    margin-top: .3rem;
    font-size: .82rem;
    opacity: .8;
}

.ca-pricing-cell {
    text-align: center;
    color: #334e68;
    font-weight: 600;
}

.ca-pricing-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #edf6ff;
    color: #0f62a8;
    font-size: .92rem;
    font-weight: 700;
}

.ca-pricing-action-row td {
    border-bottom: none;
}

.ca-pricing-button {
    width: 100%;
    border-radius: 999px;
}

.ca-plan-mobile-card {
    background: rgba(255,255,255,.96);
    border: 1px solid #d9e2ec;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(16, 42, 67, .08);
    padding: 1.2rem;
}

.ca-plan-mobile-card + .ca-plan-mobile-card {
    margin-top: 1rem;
}

.ca-plan-mobile-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.ca-plan-mobile-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #102a43;
}

.ca-plan-mobile-header p {
    margin: .25rem 0 0;
    color: #627d98;
    font-size: .85rem;
}

.ca-plan-mobile-price {
    font-size: 1.55rem;
    font-weight: 800;
    color: #102a43;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.ca-plan-mobile-rate {
    display: grid;
    justify-items: end;
    gap: .15rem;
}

.ca-plan-mobile-subprice {
    color: #627d98;
    font-size: .85rem;
    font-weight: 700;
}

.ca-plan-mobile-features {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.ca-plan-mobile-features li {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #334e68;
    font-size: .92rem;
}

.ca-plan-mobile-detail {
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: .7rem;
    border-top: 1px solid #e4edf6;
}

.ca-plan-mobile-detail strong {
    color: #102a43;
    font-weight: 700;
    text-align: right;
}

.ca-landing-footer {
    background: #f4f7fb;
    border-top: 1px solid #e4edf6;
    color: #829ab1;
    display: flex;
    gap: .75rem;
    justify-content: center;
    align-items: center;
    font-size: .88rem;
    padding: 1.25rem;
}

.ca-landing-footer a {
    color: #627d98;
    text-decoration: none;
    font-weight: 600;
}

.ca-landing-footer a:hover {
    color: #0f62a8;
}

@media (max-width: 640px) {
    .ca-plan-grid {
        grid-template-columns: 1fr;
    }

    .ca-pricing-legend {
        justify-content: flex-start;
        font-size: .88rem;
    }

    .ca-pricing-desktop {
        display: none;
    }

    .ca-pricing-mobile {
        display: block;
    }

    .ca-plans-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ca-plan-mobile-header {
        flex-direction: column;
    }

    .ca-plan-mobile-rate {
        justify-items: start;
    }

    .ca-plan-mobile-price {
        white-space: normal;
    }
}
