:root {
    --brand: #E60000;
    --brand-deep: #a80000;
    --brand-hover: #c90000;
    --brand-soft: #fde7e7;
    --brand-ink: #fff;
    --acc: var(--brand);
    --ink: #12201a;
    --mut: #5b6b63;
    --bg: #f4f7f5;
    --card: #fff;
    --line: #dbe6e0;
    --err: #c0392b;
}

html[data-network="yas"] {
    --brand: #FFC20E;
    --brand-deep: #795b00;
    --brand-hover: #9c7400;
    --acc: var(--brand);
    --brand-soft: #fff4c2;
    --brand-ink: #172018;
}

html[data-network="airtel"] {
    --brand: #C2185B;
    --brand-deep: #8d1040;
    --brand-hover: #a5164c;
    --brand-soft: #f9e5ee;
    --brand-ink: #fff;
}

html[data-network="halotel"] {
    --brand: #F37021;
    --brand-deep: #a64100;
    --brand-hover: #c9550b;
    --brand-soft: #ffeadb;
    --brand-ink: #fff;
}

* {
    box-sizing: border-box
}

html {
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif
}

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px
}

button {
    font: inherit;
    cursor: pointer
}

/* header */

.top {
    background: var(--brand);
    color: var(--brand-ink);
    position: sticky;
    top: 0;
    z-index: 20
}

.top-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: .2px
}

.lang a {
    color: var(--brand-ink);
    opacity: .78;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 99px
}

.lang a.on {
    background: rgba(0, 0, 0, .08);
    color: var(--brand-ink);
    opacity: 1
}

/* hero */

.hero {
    background: linear-gradient(180deg, var(--brand), var(--brand-hover));
    color: var(--brand-ink);
    padding: 40px 0 70px
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    line-height: 1.15;
    max-width: 18ch
}

.hero p {
    margin: 0;
    max-width: 52ch;
    color: var(--brand-ink);
    opacity: .84
}

main {
    margin-top: -38px;
    padding-bottom: 30px
}

.sec {
    font-size: 1.05rem;
    margin: 0 0 12px;
    color: var(--ink)
}

.how-t {
    color: var(--ink);
    margin-top: 34px
}

/* tabs */

.tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 14px;
    scrollbar-width: none
}

.tabs::-webkit-scrollbar {
    display: none
}

.tab {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 9px 16px;
    border-radius: 99px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.tab i,
.net i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c)
}

.tab.on {
    background: var(--brand);
    color: var(--brand-ink);
    border-color: var(--brand)
}

.tab:focus-visible,
.buy:focus-visible,
.prov:focus-visible,
button:focus-visible {
    outline: 3px solid var(--brand-hover);
    outline-offset: 2px
}

/* cards */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px
}

.grid[hidden] {
    display: none
}

.card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(10, 64, 48, .05)
}

.card.pop {
    border-color: var(--acc);
    box-shadow: 0 6px 22px rgba(255, 197, 49, .25)
}

.badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: var(--acc);
    color: var(--brand-deep);
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px
}

.net {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--mut);
    text-transform: uppercase;
    letter-spacing: .5px
}

.data {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 6px
}

.meta {
    color: var(--mut);
    font-size: .88rem
}

.price {
    margin: 12px 0 14px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand)
}

.price small {
    font-size: .72rem;
    color: var(--mut);
    font-weight: 700
}

.buy {
    margin-top: auto;
    border: 0;
    background: var(--brand);
    color: var(--brand-ink);
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    transition: background .15s
}

.buy:hover {
    background: var(--brand-hover)
}

.card.pop .buy {
    background: var(--acc);
    color: var(--brand-deep)
}

/* how */

.how {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr))
}

.how li {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px
}

.how b {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center
}

.how strong {
    display: block
}

.how span {
    color: var(--mut);
    font-size: .9rem
}

.foot {
    background: var(--brand-deep);
    color: #9db8ac;
    font-size: .85rem;
    padding: 20px 0;
    text-align: center
}

/* modal */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 41, 31, .62);
    display: grid;
    place-items: end center;
    z-index: 50;
    padding: 0
}

.overlay[hidden] {
    display: none
}

.modal {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 22px 22px 0 0;
    padding: 24px 20px calc(22px + env(safe-area-inset-bottom));
    animation: up .22s ease-out
}

@media(min-width:560px) {
    .overlay {
        place-items: center;
        padding: 16px
    }
    .modal {
        border-radius: 22px
    }
}

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

.modal h3 {
    margin: 0 0 12px;
    font-size: 1.2rem
}

.x {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--mut)
}

.sum {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brand-soft);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px
}

.sum strong {
    color: var(--brand);
    font-size: 1.15rem
}

label {
    display: block;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 6px
}

.phone {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.phone:focus-within {
    border-color: var(--brand-hover)
}

.phone span {
    display: grid;
    place-items: center;
    padding: 0 12px;
    background: var(--bg);
    color: var(--mut);
    font-weight: 700;
    border-right: 1px solid var(--line)
}

.phone input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 12px;
    font: inherit;
    font-size: 1.05rem;
    letter-spacing: .4px
}

.hint {
    color: var(--mut);
    font-size: .85rem;
    margin: 8px 0 0
}

.err {
    color: var(--err);
    font-size: .88rem;
    margin: 10px 0 0;
    font-weight: 600
}

.row {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.row button {
    flex: 1;
    padding: 13px;
    border-radius: 12px;
    font-weight: 800;
    border: 0
}

.ghost {
    background: var(--bg);
    color: var(--ink)
}

.go {
    background: var(--brand);
    color: var(--brand-ink)
}

.go[disabled] {
    opacity: .6;
    cursor: wait
}

/* states */

#step-state {
    text-align: center;
    padding-top: 6px
}

#step-state p {
    color: var(--mut);
    margin: 6px 0 0
}

.state {
    width: 64px;
    height: 64px;
    margin: 4px auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%
}

.state.wait {
    border: 5px solid var(--brand-soft);
    border-top-color: var(--brand);
    animation: spin .9s linear infinite
}

.state.ok {
    background: #dff5e8;
    color: #1a8f4c
}

.state.bad {
    background: #fbe3df;
    color: var(--err)
}

.state svg {
    width: 30px;
    height: 30px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* ---------- mobile: show every package of a network without scrolling ---------- */

@media (max-width:600px) {
    .top-in {
        height: 48px
    }
    .brand {
        font-size: 1.1rem
    }
    .hero {
        padding: 12px 0 40px
    }
    .hero h1 {
        font-size: 1.2rem;
        max-width: none;
        margin: 0
    }
    .hero p {
        display: none
    }
    main {
        margin-top: -30px;
        padding-bottom: 20px
    }
    .sec:not(.how-t) {
        display: none
    }
    .tabs {
        padding: 0 0 10px
    }
    .tab {
        padding: 8px 16px;
        flex: 1;
        justify-content: center
    }
    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }
    .grid .card:last-child:nth-child(odd) {
        grid-column: 1 / -1
    }
    .card {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 8px;
        padding: 10px 12px;
        border-radius: 14px
    }
    .card .net {
        display: none
    }
    .data {
        grid-column: 1 / -1;
        font-size: 1.4rem;
        margin: 0
    }
    .meta {
        grid-column: 1 / -1;
        font-size: .75rem
    }
    .price {
        grid-column: 1;
        margin: 6px 0 0;
        font-size: 1.05rem;
        white-space: nowrap
    }
    .price small {
        font-size: .6rem;
        margin-right: 1px
    }
    .buy {
        grid-column: 2;
        margin: 6px 0 0;
        padding: 8px 14px;
        border-radius: 10px;
        font-size: .9rem
    }
    .badge {
        top: -8px;
        right: 8px;
        font-size: .62rem;
        padding: 2px 8px
    }
    .how-t {
        margin-top: 24px
    }
}

/* ---------- very small phones (Infinix Smart 7, 320-380px wide): keep the same 2-column layout ---------- */

@media (max-width:380px) {
    .wrap {
        padding: 0 12px
    }
    .hero h1 {
        font-size: 1.1rem
    }
    .tab {
        padding: 7px 8px;
        font-size: .9rem;
        gap: 6px
    }
    .grid {
        gap: 6px
    }
    .card {
        padding: 8px 10px;
        column-gap: 6px
    }
    .data {
        font-size: 1.25rem
    }
    .meta {
        font-size: .7rem
    }
    .price {
        font-size: .98rem
    }
    .buy {
        padding: 7px 10px;
        font-size: .82rem
    }
    .badge {
        right: 6px;
        font-size: .58rem;
        padding: 2px 6px
    }
}

@media (max-width:330px) {
    .data {
        font-size: 1.15rem
    }
    .price {
        font-size: .9rem
    }
    .buy {
        padding: 7px 8px;
        font-size: .78rem
    }
}

/* ---------- 4 networks on small phones ---------- */

@media (max-width:600px) {
    .tab {
        padding: 8px 6px
    }
}

@media (max-width:380px) {
    .tab {
        padding: 7px 3px;
        font-size: .78rem;
        gap: 4px
    }
    .tab i,
    .net i {
        width: 8px;
        height: 8px
    }
}

/* ---------- payment network chooser (modal) ---------- */

.provs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px
}

.prov {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 9px 10px;
    border-radius: 12px;
    font-weight: 700
}

.prov i {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c)
}

.prov[aria-checked="true"] {
    border-color: var(--brand-hover);
    background: var(--brand-soft)
}

@media (max-width:380px) {
    .prov {
        padding: 8px;
        font-size: .9rem
    }
    .provs {
        margin-bottom: 10px
    }
}

/* ---------- premium landing hero ---------- */

html {
    scroll-behavior: smooth
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    min-height: 600px;
    padding: 56px 0 64px;
    color: #fff;
    background: linear-gradient(112deg, #071126 0%, #0a2453 48%, #24175e 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.hero::before {
    inset: 0;
    opacity: .22;
    background-image: radial-gradient(circle, rgba(78, 218, 255, .85) 1px, transparent 1.7px), linear-gradient(115deg, transparent 0 58%, rgba(83, 129, 255, .12) 58.1%, transparent 58.35% 67%, rgba(83, 129, 255, .1) 67.1%, transparent 67.35%);
    background-size: 46px 46px, 100% 100%;
    mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
    animation: network-drift 24s linear infinite;
}

.hero::after {
    width: 420px;
    height: 420px;
    right: 14%;
    top: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 130, 255, .24), rgba(91, 52, 211, .12) 46%, transparent 72%);
    filter: blur(20px);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(20px, 3.5vw, 52px);
    position: relative;
    width: 100%;
    max-width: 1440px;
    padding-inline: clamp(20px, 4vw, 64px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    animation: hero-enter .7s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #a9eaff;
    background: rgba(88, 190, 255, .1);
    border: 1px solid rgba(125, 209, 255, .22);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.hero-eyebrow span {
    font-size: 1rem;
}

.hero h1 {
    max-width: none;
    margin: 26px 0 18px;
    color: #fff;
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.hero h1 span {
    color: #75d9ff;
    background: linear-gradient(95deg, #83e5ff 5%, #569dff 54%, #b490ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 48ch;
    margin: 0;
    color: #d1def8;
    font-size: 1.08rem;
    line-height: 1.65;
    opacity: 1;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid rgba(175, 235, 255, .72);
    border-radius: 14px;
    background: linear-gradient(105deg, #168ef5, #6554e8);
    box-shadow: 0 12px 34px rgba(27, 122, 244, .26), inset 0 1px rgba(255, 255, 255, .24);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 38px rgba(27, 122, 244, .4), inset 0 1px rgba(255, 255, 255, .3);
}

.hero-cta:focus-visible,
.hero-link:focus-visible {
    outline: 3px solid #8ceaff;
    outline-offset: 4px;
}

.hero-cta span {
    font-size: 1.2rem;
    transition: transform .2s ease;
}

.hero-cta:hover span {
    transform: translateX(3px);
}

.hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(224, 234, 255, .34);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #e0eaff;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.hero-link:hover {
    border-color: rgba(140, 234, 255, .7);
    background: rgba(255, 255, 255, .08);
    color: #8ceaff;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    color: #c1d0eb;
    font-size: .82rem;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-trust li span {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid rgba(94, 226, 255, .34);
    border-radius: 50%;
    color: #73e6dc;
    font-size: .72rem;
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 500px;
    filter: drop-shadow(0 18px 46px rgba(18, 103, 255, .2));
    animation: hero-enter .85s .12s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-image-frame {
    position: absolute;
    inset: -28px -34px -38px -24px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 92%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 92%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.hero-image-frame .hero-art {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    clip-path: inset(0 0 0 58%);
    object-fit: contain;
}

.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92%, 390px);
    aspect-ratio: 1;
    border: 1px solid rgba(104, 213, 255, .15);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg) scaleY(.66);
    box-shadow: 0 0 24px rgba(35, 154, 255, .08);
    animation: orbit-drift 14s ease-in-out infinite alternate;
}

.hero-orbit-two {
    width: min(76%, 320px);
    border-color: rgba(179, 144, 255, .2);
    transform: translate(-50%, -50%) rotate(38deg) scaleY(.72);
    animation-delay: -5s;
}

.hero-signal {
    position: absolute;
    top: 22%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 5px;
    transform: rotate(90deg);
}

.hero-signal i {
    width: 5px;
    height: 9px;
    border-radius: 5px;
    background: #91edff;
    box-shadow: 0 0 12px #46c8ff;
    animation: signal-pulse 1.6s ease-in-out infinite alternate;
}

.hero-signal i:nth-child(2) {
    height: 15px;
    animation-delay: .25s;
}

.hero-signal i:nth-child(3) {
    height: 21px;
    animation-delay: .5s;
}

@keyframes hero-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes orbit-drift {
    from { opacity: .55; rotate: -8deg; }
    to { opacity: 1; rotate: 8deg; }
}

@keyframes network-drift {
    to { background-position: 92px 46px, 0 0; }
}

@keyframes signal-pulse {
    from { opacity: .45; }
    to { opacity: 1; }
}

#bundle-selection {
    margin-top: 0;
    scroll-margin-top: 74px;
}

#how-it-works {
    scroll-margin-top: 74px;
}

@media (max-width: 760px) {
    .hero {
        min-height: 0;
        padding: 42px 0 24px;
    }
    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding-inline: 20px;
    }
    .hero-copy {
        order: 0;
    }
    .hero-visual {
        order: 1;
        min-height: 0;
        margin: 8px -20px -12px;
        filter: none;
    }
    .hero-image-frame {
        position: relative;
        inset: auto;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hero-image-frame .hero-art {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        clip-path: none;
        object-fit: contain;
    }
    .hero-orbit,
    .hero-signal {
        display: none;
    }
    .hero h1 {
        max-width: none;
        margin: 16px 0 10px;
        font-size: clamp(2.1rem, 7.4vw, 3rem);
    }
    .hero p {
        display: block;
        max-width: 44ch;
        font-size: .97rem;
    }
    .hero-actions {
        align-items: stretch;
        gap: 10px;
        margin-top: 18px;
    }
    .hero-cta,
    .hero-link {
        width: 100%;
        min-height: 48px;
    }
    .hero-trust {
        gap: 10px 16px;
        margin-top: 16px;
        font-size: .76rem;
    }
    #bundle-selection {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 380px) {
    .hero {
        padding-top: 34px;
    }
    .hero-visual {
        min-height: 230px;
    }
    .hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.35rem);
    }
    .hero-actions {
        gap: 10px;
    }
    .hero-link {
        font-size: .84rem;
    }
    .hero-trust {
        gap: 8px 12px;
        font-size: .71rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero::before,
    .hero-copy,
    .hero-visual,
    .hero-orbit,
    .hero-signal i {
        animation: none !important;
    }
    .hero-cta,
    .hero-cta span,
    .hero-link {
        transition: none;
    }
}

/* ---------- full-width hero banner with functional image controls ---------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #061b66;
}

.hero-banner-art {
    display: block;
    width: 100%;
    height: auto;
}

.hero-banner-action {
    position: absolute;
    top: 56.05%;
    height: 16.5%;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    background: rgba(0, 118, 255, .1);
    box-shadow: 0 0 0 2px rgba(0, 221, 255, .55), inset 0 0 14px rgba(255, 255, 255, .16);
    outline-offset: 3px;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hero-banner-action:hover,
.hero-banner-action:focus-visible {
    background: rgba(0, 166, 255, .28);
    box-shadow: 0 0 0 3px rgba(0, 221, 255, .86), 0 0 18px rgba(0, 221, 255, .62), inset 0 0 16px rgba(255, 255, 255, .24);
}

.hero-banner-action:active {
    transform: scale(.97);
}

.hero-banner-action:focus-visible {
    outline: 3px solid #fff;
}

.hero-banner-buy {
    left: 3.4%;
    width: 22.3%;
}

.hero-banner-how {
    left: 26.9%;
    width: 22%;
}

@media (max-width: 600px) {
    .hero-banner {
        width: 106%;
        margin-left: -3%;
    }
}

/* ---------- network bundle posters and purchase choices ---------- */

.grid[data-panel] {
    visibility: hidden;
}

.grid[data-panel].menu-ready {
    visibility: visible;
}

.grid.network-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.grid.network-menu[hidden] {
    display: none;
}

.network-poster {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    box-shadow: 0 10px 28px rgba(10, 64, 48, .08);
}

.network-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.offer-disclosure {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 4px 18px rgba(10, 64, 48, .05);
}

.offer-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 14px 18px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.offer-disclosure summary::-webkit-details-marker {
    display: none;
}

.offer-disclosure summary::after {
    content: "+";
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 1.25rem;
    line-height: 1;
}

.offer-disclosure[open] summary::after {
    content: "−";
}

.offer-groups {
    display: grid;
    gap: 20px;
    padding: 0 16px 18px;
}

.offer-group h3 {
    margin: 0 0 10px;
    color: var(--brand-deep);
    font-size: 1rem;
}

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

.offer-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
}

.offer-info {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.offer-info strong {
    overflow-wrap: anywhere;
    color: var(--ink);
}

.offer-info span {
    color: var(--mut);
    font-size: .78rem;
}

.offer-price {
    color: var(--brand-deep);
    font-weight: 800;
    white-space: nowrap;
}

.offer-buy {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
}

.sum span {
    min-width: 0;
    max-width: 64%;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .grid.network-menu {
        grid-template-columns: minmax(0, 1fr);
    }
    .offer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .offer-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px;
    }
    .offer-buy {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-disclosure summary::after {
        transition: none;
    }
}

/* ---------- card structure: size + price on one line (wraps if tight), Buy underneath ---------- */

.cardtop {
    display: contents
}

/* desktop: children behave as before */

.price {
    order: 1
}

.buy {
    order: 2
}

@media (max-width:600px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
    .card {
        min-width: 0;
        grid-template-columns: minmax(0, 1fr)
    }
    .cardtop {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: baseline;
        gap: 0 6px
    }
    .price {
        order: 0;
        margin: 0;
        white-space: nowrap
    }
    .meta {
        grid-column: 1 / -1;
        margin-top: 2px
    }
    .buy {
        grid-column: 1 / -1;
        width: 100%;
        margin: 8px 0 0;
        padding: 8px
    }
}

/* ---------- modal must never be wider than the screen ---------- */

.overlay {
    grid-template-columns: minmax(0, 1fr)
}

.modal {
    min-width: 0
}
