:root {
    --store-blue: #245BFF;
    --store-blue-soft: #EAF0FF;
    --store-green: #0D8A58;
}
.top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 0 16px;
    background: rgba(255,255,255,.9);
    border-bottom: var(--border);
    backdrop-filter: blur(14px) saturate(1.5);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
}

.top h1 {
    min-width: 0;
    flex: 1;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top .brand-mark {
    width: 37px;
    height: 37px;
    box-shadow: var(--shadow-sm);
}

.wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 16px 56px;
    display: grid;
    gap: 16px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.row .btn {
    width: 100%;
}

.center {
    text-align: center;
}

.center h2 {
    justify-content: center;
}

.product-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
}

.topbar-inner {
    width: min(1120px,100%);
    min-height: 72px;
    margin: 0 auto;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.back {
    flex: none;
    text-decoration: none;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.product-brand .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 19px;
    box-shadow: var(--shadow-sm);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
    gap: 4px;
}

.brand-copy strong {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.065em;
}

.brand-copy strong span {
    color: var(--blue);
}

.brand-copy small {
    font: 700 8px 'JetBrains Mono',monospace;
    letter-spacing: .16em;
    color: var(--muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.secure-badge,
.account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 37px;
    padding: 0 11px;
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.secure-badge {
    color: var(--muted-2);
    background: #fff;
}

.secure-badge .icon {
    width: 15px;
    height: 15px;
    color: var(--ok);
}

.account-link {
    border: 1px solid var(--line);
    background: var(--blue);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease),box-shadow var(--t) var(--ease);
}

.account-link:hover {
    transform: translate(-1px,-1px);
    box-shadow: var(--shadow-sm);
}

.account-link .icon {
    width: 15px;
    height: 15px;
}

.product-shell {
    width: min(1120px,100%);
    max-width: none;
    margin: 0 auto;
    padding: 30px 22px 28px;
    display: grid;
    gap: 22px;
}

.product-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(220px,280px);
    align-items: center;
    gap: 22px;
    padding: clamp(22px,4vw,42px);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    animation: storeIntro .48s var(--ease) both;
}

.product-intro::after {
    content: "X";
    position: absolute;
    z-index: -1;
    right: -6px;
    bottom: -105px;
    font-size: clamp(160px,25vw,300px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.1em;
    color: rgba(36,91,255,.055);
    pointer-events: none;
}

@keyframes storeIntro {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 700 10px/1.3 'JetBrains Mono',monospace;
    letter-spacing: .14em;
    color: var(--muted-2);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #31CC82;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.eyebrow-divider {
    width: 20px;
    height: 1px;
    background: var(--line-strong);
}

.intro-copy h1 {
    max-width: 18ch;
    margin-top: 15px;
    font-size: clamp(32px,5.1vw,54px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.075em;
}

.intro-copy h1 span {
    color: var(--blue);
}

.intro-lead {
    max-width: 64ch;
    margin-top: 15px;
    color: var(--muted-2);
    font-size: 14px;
    line-height: 1.8;
}

.intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
}

.intro-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 750;
}

.intro-points .icon {
    width: 14px;
    height: 14px;
    color: var(--ok);
    stroke-width: 2.5;
}

.intro-status {
    position: relative;
    display: grid;
    grid-template-columns: 43px 1fr;
    align-items: center;
    gap: 12px;
    padding: 17px;
    background: #F7F9FF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.status-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: var(--blue);
    color: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.status-icon .icon {
    width: 20px;
    height: 20px;
}

.intro-status strong {
    display: block;
    font-size: 12px;
    font-weight: 850;
}

.intro-status small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.status-live {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font: 700 9px 'JetBrains Mono',monospace;
    letter-spacing: .1em;
    color: var(--ok);
}

.status-live span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #23C477;
    box-shadow: 0 0 0 4px rgba(35,196,119,.12);
    animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
    50% {
        box-shadow: 0 0 0 7px rgba(35,196,119,0);
    }
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    align-items: start;
    gap: 18px;
    animation: contentIn .4s var(--ease) both;
}

.order-primary {
    display: grid;
    gap: 18px;
    min-width: 0;
}

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.card {
    min-width: 0;
    padding: clamp(18px,3vw,27px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-md);
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 21px;
}

.card-heading h2,
.summary-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 7px 0 0;
    font-size: clamp(20px,2.4vw,26px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.055em;
}

.section-kicker {
    font: 700 9px/1.4 'JetBrains Mono',monospace;
    letter-spacing: .13em;
    color: var(--muted);
}

.section-kicker span {
    color: var(--blue);
}

.heading-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--blue-soft);
    border: 1px solid var(--line);
    flex: none;
}

.heading-icon .icon {
    width: 18px;
    height: 18px;
}

.card-description {
    margin-top: 9px;
    color: var(--muted-2);
    font-size: 12px;
    line-height: 1.7;
}

.mini-label {
    flex: none;
    padding: 6px 8px;
    background: var(--blue-soft);
    border: 1px solid var(--blue);
    color: var(--blue-deep);
    font: 700 9px 'JetBrains Mono',monospace;
    letter-spacing: .08em;
}

.plans {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 11px;
}

.plan {
    position: relative;
    isolation: isolate;
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    transition: transform var(--t) var(--ease),background var(--t) var(--ease),color var(--t) var(--ease),border-color var(--t) var(--ease),box-shadow var(--t) var(--ease);
    animation: planIn .3s var(--ease) both;
}

.plan:nth-child(2) {
    animation-delay: 35ms;
}

.plan:nth-child(3) {
    animation-delay: 70ms;
}

.plan:nth-child(4) {
    animation-delay: 105ms;
}

.plan:nth-child(5) {
    animation-delay: 140ms;
}

.plan:nth-child(6) {
    animation-delay: 175ms;
}

.plan:hover {
    z-index: 1;
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36,91,255,.18);
}

.plan:active {
    transform: translateY(1px);
}

.plan:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.plan[aria-pressed="true"] {
    background: var(--blue);
    color: #fff;
    border-color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.plan-top,
.plan-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.plan b {
    font-size: clamp(20px,2vw,25px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
}

.plan-marker {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue);
    flex: none;
}

.plan-marker .icon {
    width: 13px;
    height: 13px;
    opacity: 0;
}

.plan[aria-pressed="true"] .plan-marker {
    border-color: #fff;
}

.plan[aria-pressed="true"] .plan-marker .icon {
    opacity: 1;
}

.plan-detail {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.plan[aria-pressed="true"] .plan-detail {
    color: rgba(255,255,255,.82);
}

.plan-bottom {
    padding-top: 11px;
    border-top: 1px solid var(--line);
}

.plan[aria-pressed="true"] .plan-bottom {
    border-color: rgba(255,255,255,.35);
}

.plan-price {
    font: 700 13px 'JetBrains Mono',monospace;
    color: var(--ink);
}

.plan[aria-pressed="true"] .plan-price {
    color: #fff;
}

.plan-select {
    font: 700 8px 'JetBrains Mono',monospace;
    letter-spacing: .06em;
    color: var(--muted);
}

.plan[aria-pressed="true"] .plan-select {
    color: #fff;
}

.plan-select .icon {
    display: none;
    width: 12px;
    height: 12px;
}

.package-footnote {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.package-footnote .icon {
    width: 14px;
    height: 14px;
    color: var(--blue);
    margin-top: 1px;
}

.optional-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 7px;
    border: 1px solid var(--line);
    background: var(--soft);
    font: 700 9px 'JetBrains Mono',monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compact-heading {
    margin-bottom: 18px;
}

.custom-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
}

.field-label {
    display: grid;
    gap: 7px;
    min-width: 0;
    font-size: 11px;
    font-weight: 800;
    color: var(--ink-2);
}

.field-label>span:not(.field-control) {
    margin-top: -5px;
    color: var(--muted);
    font: 600 9px 'JetBrains Mono',monospace;
}

.field-label input {
    width: 100%;
    min-width: 0;
    height: 45px;
    padding: 0 12px;
    background: #FBFCFF;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 12px;
    outline: none;
    transition: border-color var(--t) var(--ease),box-shadow var(--t) var(--ease),background var(--t) var(--ease);
}

.field-label input:focus {
    background: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36,91,255,.13);
}

.field-label input::placeholder {
    color: #87909F;
}

.field-control {
    position: relative;
    display: block;
    margin-top: -5px;
}

.field-control input {
    padding-right: 45px;
}

.field-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.field-toggle:hover {
    background: var(--blue-soft);
    border-color: var(--line);
}

.field-toggle .icon {
    width: 16px;
    height: 16px;
}

.hint {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.hint:empty {
    display: none;
}

.summary-card {
    position: sticky;
    top: 91px;
    display: grid;
    gap: 17px;
    animation: summaryIn .45s .08s var(--ease) both;
}

@keyframes summaryIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.summary-card h2 {
    margin-top: -10px;
    font-size: 23px;
}

.summary-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #F7F9FF;
    border: 1px solid var(--line);
}

.summary-product-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    background: #fff;
    border: 1px solid var(--line);
}

.summary-product-icon .icon {
    width: 18px;
    height: 18px;
}

.summary-product strong,
.summary-product small {
    display: block;
}

.summary-product strong {
    font-size: 11px;
    font-weight: 850;
}

.summary-product small {
    margin-top: 4px;
    font-size: 9px;
    color: var(--muted);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted-2);
    font-size: 11px;
}

.summary-line strong {
    max-width: 54%;
    text-align: right;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
}

.total-line {
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.total-line span {
    font-weight: 800;
    color: var(--ink);
}

.total-line strong {
    font: 900 clamp(19px,2.2vw,24px) 'JetBrains Mono',monospace;
    letter-spacing: -.07em;
    color: var(--blue);
}

.summary-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.summary-note .icon {
    width: 13px;
    height: 13px;
    color: var(--ok);
    flex: none;
}

.buy-button {
    width: 100%;
    min-height: 49px;
    justify-content: flex-start;
    gap: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease),box-shadow var(--t) var(--ease),opacity var(--t) var(--ease);
}

.buy-button .btn-tail {
    margin-left: auto;
}

.buy-button:hover:not(:disabled) {
    transform: translate(-1px,-1px);
    box-shadow: var(--shadow-md);
}

.buy-button:disabled {
    cursor: not-allowed;
    opacity: .52;
    box-shadow: none;
}

.summary-trust {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
}

.summary-trust .icon {
    width: 13px;
    height: 13px;
    color: var(--blue);
    flex: none;
}

.err {
    min-height: 0;
    margin: 0;
    color: var(--err);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.err:empty {
    display: none;
}

@keyframes planIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .product-intro {
        grid-template-columns: minmax(0,1fr) 220px;
        gap: 16px;
    }
    .order-layout {
        grid-template-columns: minmax(0,1fr) 275px;
        gap: 14px;
    }
    .summary-card {
        top: 84px;
    }
    .intro-copy h1 {
        font-size: clamp(30px,5.2vw,44px);
    }
}

@media (max-width: 700px) {
    .topbar-inner {
        min-height: 63px;
        padding: 9px 14px;
        gap: 11px;
    }
    .secure-badge {
        display: none;
    }
    .product-brand {
        gap: 8px;
    }
    .product-brand .brand-mark {
        width: 35px;
        height: 35px;
    }
    .brand-copy strong {
        font-size: 17px;
    }
    .account-link {
        min-height: 35px;
        padding: 0 9px;
    }
    .product-shell {
        padding: 20px 14px 22px;
        gap: 18px;
    }
    .product-intro {
        grid-template-columns: 1fr;
        padding: 22px 19px;
        gap: 18px;
        box-shadow: var(--shadow-md);
    }
    .intro-copy h1 {
        max-width: 15ch;
        font-size: clamp(34px,8vw,46px);
    }
    .intro-lead {
        font-size: 12px;
        line-height: 1.75;
    }
    .intro-points {
        gap: 8px 12px;
    }
    .intro-points span {
        font-size: 10px;
    }
    .intro-status {
        grid-template-columns: 39px 1fr;
        padding: 12px;
    }
    .status-icon {
        width: 39px;
        height: 39px;
    }
    .order-layout {
        grid-template-columns: 1fr;
    }
    .order-primary {
        gap: 14px;
    }
    .summary-card {
        position: static;
        grid-row: auto;
    }
    .summary-card h2 {
        margin-top: -10px;
    }
    .card {
        padding: 20px 17px;
    }
    .product-footer {
        font-size: 7px;
    }
}

@media (max-width: 420px) {
    .topbar-inner {
        gap: 8px;
    }
    .back {
        min-height: 36px;
        padding: 0 8px;
    }
    .back .icon {
        width: 14px;
        height: 14px;
    }
    .brand-copy small {
        font-size: 7px;
    }
    .account-link span {
        display: none;
    }
    .account-link {
        width: 36px;
        padding: 0;
    }
    .account-link .icon {
        width: 16px;
        height: 16px;
    }
    .product-shell {
        padding-inline: 12px;
    }
    .plans {
        gap: 8px;
    }
    .plan {
        padding: 12px 10px;
        gap: 10px;
    }
    .plan b {
        font-size: 21px;
    }
    .plan-detail {
        font-size: 9px;
    }
    .plan-price {
        font-size: 11px;
    }
    .plan-select {
        font-size: 7px;
    }
    .custom-fields {
        gap: 12px;
    }
    .field-label {
        font-size: 10px;
    }
    .field-label input {
        height: 43px;
        padding-inline: 10px;
    }
    .card-heading h2 {
        font-size: 20px;
    }
    .intro-points {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .product-footer span:last-child {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto!important;
        animation: none!important;
        transition: none!important;
    }
}
