/* ByteMaple — hand-written, no build step */
:root {
    --bg: #0B0D12;
    --bg-2: #11141B;
    --panel: #151923;
    --panel-2: #1B2030;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #ECEEF3;
    --muted: #9AA2B4;
    --gold: #FFC857;
    --ember: #F0592A;
    --ok: #3DD68C;
    --err: #FF6B6B;
    --grad: linear-gradient(120deg, var(--gold), var(--ember));
    --radius: 18px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display: 'Sora', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--panel-2); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.eyebrow { font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--center { justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
    background: var(--grad); color: #17110A; font: 600 1rem/1 var(--font);
    cursor: pointer; box-shadow: 0 10px 30px rgba(240, 89, 42, .25);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 34px rgba(240, 89, 42, .35); }
.btn--sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); box-shadow: none; }
.btn--soon { background: var(--panel-2); color: var(--muted); box-shadow: none; cursor: default; border: 1px dashed var(--line-2); }
.btn--soon:hover { transform: none; filter: none; box-shadow: none; }
.btn--play { background: #000; color: #fff; border: 1px solid #555; box-shadow: none; padding: 0 20px 0 16px; min-height: 56px; }
.btn--play svg { width: 26px; height: 26px; fill: #fff; }
.btn--play span { display: flex; flex-direction: column; align-items: flex-start; font-size: 1.15rem; line-height: 1.05; }
.btn--play small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.btn--danger { background: #3A1D22; color: #FFB3B3; box-shadow: none; border: 1px solid #6B2C33; }
.link { font-weight: 600; white-space: nowrap; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 800 1.2rem/1 var(--display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo { width: 34px; height: 34px; flex: none; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.nav__links a:not(.btn):hover, .nav__links a.on { color: var(--text); background: rgba(255, 255, 255, .05); text-decoration: none; }
.nav__links .btn { margin-left: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav--open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav--open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 760px) {
    .nav__toggle { display: flex; }
    .nav__links { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
    .nav--open .nav__links { display: flex; }
    .nav__links a:not(.btn) { padding: 12px; }
    .nav__links .btn { margin: 8px 0 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero__bg {
    position: absolute; inset: -20% -10% auto; height: 140%; pointer-events: none;
    background:
        radial-gradient(600px 400px at 78% 30%, rgba(240, 89, 42, .22), transparent 70%),
        radial-gradient(520px 380px at 62% 70%, rgba(255, 200, 87, .14), transparent 70%),
        radial-gradient(700px 500px at 0% 0%, rgba(80, 110, 255, .10), transparent 70%);
}
.hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .row { margin: 28px 0 22px; }
.hero__stack { position: relative; height: 380px; }
.hero__stack img {
    position: absolute; width: clamp(110px, 13vw, 160px); border-radius: 28%;
    box-shadow: var(--shadow), 0 0 0 1px var(--line-2);
    animation: float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s);
}
.hero__stack img:nth-child(1) { left: 8%; top: 6%; transform: rotate(-8deg); }
.hero__stack img:nth-child(2) { right: 6%; top: 0; transform: rotate(7deg); }
.hero__stack img:nth-child(3) { left: 22%; bottom: 2%; transform: rotate(5deg); }
.hero__stack img:nth-child(4) { right: 14%; bottom: 10%; transform: rotate(-6deg); }
@keyframes float { 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .hero__stack img { animation: none; } html { scroll-behavior: auto; } }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.ticks li { display: flex; gap: 8px; align-items: baseline; }
.ticks li::before { content: ''; width: 14px; height: 8px; flex: none; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-3px); }
.ticks--col { flex-direction: column; gap: 10px; color: var(--text); }

@media (max-width: 900px) {
    .hero__in { grid-template-columns: 1fr; }
    .hero__stack { height: 220px; order: -1; max-width: 420px; }
    .hero__stack img { width: 96px; }
}

/* sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section__head h2 { margin: 0; }

.pagehead { padding: clamp(40px, 6vw, 72px) 0 8px; background: radial-gradient(700px 260px at 20% 0%, rgba(240, 89, 42, .12), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { opacity: .5; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.card {
    --accent: var(--gold);
    display: flex; flex-direction: column; color: var(--text); background: var(--panel);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { text-decoration: none; transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: var(--shadow); }
.card__art { aspect-ratio: 1024 / 500; background: var(--panel-2); overflow: hidden; position: relative; }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__art img { transform: scale(1.04); }
.card__glow { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%), radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 55%), var(--panel-2); }
.card__fallback {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 92px; height: 92px; border-radius: 24%; display: grid; place-items: center;
    color: #fff; font: 800 2rem/1 var(--display); box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
    background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 100%, #fff 15%), color-mix(in srgb, var(--accent) 60%, #000));
}
.card__body { display: flex; gap: 14px; padding: 0 18px 20px; margin-top: -26px; position: relative; }
.card__text { padding-top: 32px; min-width: 0; flex: 1; }
.card h3 { margin: 0 0 4px; overflow-wrap: break-word; min-height: calc(1.15rem * 1.15 * 2); }
.card p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }

.appicon { width: var(--s); height: var(--s); border-radius: 24%; flex: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 1px var(--line-2); object-fit: cover; }
.appicon--blank {
    display: inline-grid; place-items: center; color: #fff; font: 800 calc(var(--s) * .36)/1 var(--display);
    background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 100%, #fff 15%), color-mix(in srgb, var(--accent) 60%, #000));
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid var(--line); }
.chip--live { color: var(--ok); border-color: rgba(61, 214, 140, .35); background: rgba(61, 214, 140, .08); }
.chip--soon { color: var(--gold); border-color: rgba(255, 200, 87, .3); background: rgba(255, 200, 87, .07); }

/* shelves & values */
.shelves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shelf { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.shelf:hover { text-decoration: none; border-color: var(--line-2); transform: translateY(-3px); }
.shelf p { color: var(--muted); flex: 1; }
.shelf__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255, 200, 87, .1); }
.shelf__icon svg { width: 26px; height: 26px; fill: var(--gold); }
.shelf--apps .shelf__icon { background: rgba(80, 140, 255, .12); }
.shelf--apps .shelf__icon svg { fill: #7FA8FF; }
.shelf--software .shelf__icon { background: rgba(61, 214, 140, .1); }
.shelf--software .shelf__icon svg { fill: var(--ok); }
.shelf__count { font-weight: 600; font-size: .9rem; color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 22px; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(255, 200, 87, .05), transparent); border-radius: 0 14px 14px 0; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .shelves, .values { grid-template-columns: 1fr; } }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(500px 220px at 90% 50%, rgba(240, 89, 42, .2), transparent 70%), var(--panel); }
.cta h2 { margin-bottom: .3em; }
.cta p { color: var(--muted); margin: 0; }

.empty { text-align: center; padding: 56px 20px; }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* product page */
.product { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.product__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; filter: blur(28px) saturate(1.3); transform: scale(1.15); background-color: color-mix(in srgb, var(--accent) 30%, var(--bg)); }
.product::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 18, .35), var(--bg)); }
.product__head { position: relative; z-index: 1; }
.product__id { display: flex; gap: 24px; align-items: center; margin-bottom: 26px; }
.product__id h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .2em; }
.product__id .lead { margin-bottom: 12px; }
.product__id--sm { gap: 18px; margin: 0; }
.product__id--sm h1 { margin: 0; }
.product__id--sm p { margin: 4px 0 0; }
@media (max-width: 600px) { .product__id { flex-direction: column; align-items: flex-start; } .product__id .appicon { --s: 88px !important; } }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
/* screenshots keep their own shape: portrait games show tall frames, landscape games wide ones */
.shot { flex: none; scroll-snap-align: start; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot img { height: clamp(280px, 36vw, 440px); width: auto; max-width: min(84vw, 780px); object-fit: cover; transition: transform .3s; }
.shot:hover img { transform: scale(1.03); }

.product__body { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: 92px; }
@media (max-width: 900px) { .product__body { grid-template-columns: 1fr; } .side { position: static; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }

.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose h3.eyebrow { margin: 1.8em 0 .7em; }
.prose p, .prose li { color: #C9CEDA; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose .panel { margin-bottom: 2em; }

.policy-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0 !important; }
.policy-list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; color: var(--text); }
.policy-list a:hover { background: rgba(255, 255, 255, .05); text-decoration: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 36px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.stat:hover { text-decoration: none; border-color: var(--line-2); }
.stat strong { display: block; font: 800 2rem/1.1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }

/* forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form textarea, .form select {
    width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--bg-2);
    border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px;
    transition: border-color .15s, box-shadow .15s;
}
.form .check, .check { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.form .check input, .check input { width: 18px; height: 18px; flex: none; accent-color: var(--gold, #ffc857); }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 87, .18); }
.err { color: var(--err); font-size: .85rem; font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; border: 1px solid; }
.alert--ok { background: rgba(61, 214, 140, .08); border-color: rgba(61, 214, 140, .35); color: #BFF3DA; }
.alert--err { background: rgba(255, 107, 107, .08); border-color: rgba(255, 107, 107, .35); color: #FFD0D0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 14px; }
.lightbox button { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .5); color: #fff; font-size: 1.8rem; cursor: pointer; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; margin-top: 40px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 600 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot__grid a:not(.brand) { display: block; color: var(--text); opacity: .85; padding: 4px 0; }
.foot__grid .muted { margin-top: 12px; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div:first-child { grid-column: 1 / -1; } }

/* nav — logout (shown when signed in) */
.nav__logout { display: flex; align-items: center; margin: 0; }
.nav__logout button {
    appearance: none; background: none; border: 0; cursor: pointer;
    font: inherit; font-weight: 500; color: var(--muted);
    padding: 8px 12px; border-radius: 10px;
}
.nav__logout button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
@media (max-width: 760px) {
    .nav__logout { display: block; }
    .nav__logout button { width: 100%; text-align: left; padding: 12px; }
}

/* Google sign-in button (Google branding: white button, multicolor G, dark text) */
.btn--google {
    width: 100%; background: #fff; color: #1f1f1f; border: 1px solid #dadce0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35); font-weight: 600;
}
.btn--google:hover { background: #f8f9fa; filter: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.btn--google svg { width: 20px; height: 20px; flex: none; }

/* packages — pricing */
.billtoggle-row { display: flex; justify-content: center; margin-bottom: 30px; }
.billtoggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.billtoggle__btn {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    font: 600 .95rem/1 var(--font); color: var(--muted);
    padding: 10px 22px; border-radius: 999px; transition: background .15s, color .15s;
}
.billtoggle__btn:hover { color: var(--text); }
.billtoggle__btn.is-on { background: var(--grad); color: #17110A; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 22px; align-items: stretch; }
.pricing__empty { grid-column: 1 / -1; }
.pkg {
    position: relative; display: flex; flex-direction: column;
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px 24px;
}
.pkg--best {
    border-color: rgba(255, 200, 87, .55);
    background: linear-gradient(180deg, rgba(255, 200, 87, .07), transparent 55%), var(--panel);
    box-shadow: 0 0 0 1px rgba(255, 200, 87, .35), 0 18px 50px rgba(240, 89, 42, .16);
}
.pkg__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: var(--grad); color: #17110A; border-radius: 999px; padding: 6px 14px;
    font: 700 .72rem/1 var(--font); letter-spacing: .09em; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(240, 89, 42, .35);
}
.pkg__name { font-size: 1.3rem; margin: 0 0 6px; }
.pkg__desc { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }
.pkg__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 4px; }
.pkg__amount { font: 800 2.35rem/1 var(--display); letter-spacing: -.02em; }
.pkg__per { color: var(--muted); font-weight: 600; }
.pkg__note { font-size: .88rem; margin: 0 0 20px; }
.pkg__ticks { margin: 0 0 20px; font-size: .95rem; }
.pkg__covers { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 22px; font-size: .92rem; }
.pkg__covers-head { font-weight: 600; margin: 0 0 4px; }
.pkg__covers-first { color: var(--muted); margin: 0 0 8px; }
.pkg__more summary { color: var(--gold); font-weight: 600; font-size: .9rem; cursor: pointer; width: fit-content; }
.pkg__more summary:hover { text-decoration: underline; }
.pkg__more .chips { margin-top: 10px; }
.pkg__cta { margin-top: auto; }
.pkg__btn { width: 100%; }
.pkg__period { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; margin-bottom: 12px; }
.pkg__period select {
    width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--bg-2);
    border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; min-height: 44px;
}
.pkg__period select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 87, .18); }
[data-pricing].has-toggle .pkg__period { display: none; }

/* account dashboard */
.acct-profile { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.acct-avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.acct-avatar--initials { display: grid; place-items: center; background: var(--grad); color: #17110A; font: 800 1.5rem/1 var(--display); }
.acct-profile__main { min-width: 0; }
.acct-profile__main h1 { margin-bottom: 2px; overflow-wrap: anywhere; }
.acct-profile__main .muted { margin: 0 0 10px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .acct-profile { align-items: flex-start; } }
.acct-h { margin: 38px 0 16px; font-size: 1.45rem; }
.lic { margin-bottom: 16px; }
.lic__top { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.lic__top h3 { margin: 0; }
.lic__keyrow { display: flex; gap: 10px; margin-bottom: 12px; }
.lic__key { flex: 1; display: flex; align-items: center; font-size: 1rem; letter-spacing: .03em; padding: 10px 14px; overflow-wrap: anywhere; }
.lic__keyrow .btn { flex: none; align-self: center; }
@media (max-width: 560px) { .lic__keyrow { flex-direction: column; } .lic__keyrow .btn { align-self: flex-start; } }
.lic__meta { margin: 0 0 8px; font-size: .93rem; }
.lic__hint { margin: 0; font-size: .9rem; }
.chip--bad { color: #FFB3B3; border-color: rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .08); }
.acct .table-wrap { overflow-x: auto; }
.acct .table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acct .table th, .acct .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.acct .table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-2); }
.acct .table tr:last-child td { border-bottom: 0; }
.ferr { display: block; color: #FFB3B3; font-size: .85rem; font-weight: 500; margin-top: 4px; }
