@font-face { font-family: 'Archivo'; src: url('fonts/Archivo.ttf') format('truetype'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/SchibstedGrotesk.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #0b0c0f;
  --bg-2: #101116;
  --panel: #15161b;
  --panel-2: #1b1d23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --fg: #f2f3f5;
  --fg-2: #c9ccd2;
  --mut: #9a9fa8;
  --dim: #6b717b;
  --acc: #ef4444;
  --acc-2: #f45b5b;
  --acc-soft: rgba(239, 68, 68, 0.14);
  --ok: #4ade80;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body { overflow-x: clip; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(239, 68, 68, 0.35); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 15, 0.78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand .mk { width: 46px; height: 46px; border-radius: 50%; display: block; flex: none; box-shadow: 0 0 22px rgba(239, 68, 68, .35); }
.brand b { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.brand b span { color: var(--acc); }
.nav nav { display: flex; gap: 4px; margin-right: auto; }
.nav nav a { text-decoration: none; color: var(--mut); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav nav a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.nav nav a[aria-current="page"] { color: var(--fg); }
.nav .end { display: flex; gap: 8px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 13px; border: 0; font: inherit; font-weight: 600; font-size: 15px; color: var(--fg); text-decoration: none; cursor: pointer; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, 0.09); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.pri { color: #fff; background: linear-gradient(180deg, var(--acc-2), var(--acc)); box-shadow: 0 10px 28px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn.pri:hover { background: linear-gradient(180deg, #f76b6b, #f04848); box-shadow: 0 12px 34px rgba(239, 68, 68, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.sm { height: 38px; padding: 0 15px; border-radius: 11px; font-size: 14px; }
.btn.discord svg { color: #8b93ff; }

/* tags */
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); background: rgba(255,255,255,.06); white-space: nowrap; }
.tag.free { color: #9ef0b9; background: rgba(74, 222, 128, .12); }
.tag.paid { color: #ffb4b4; background: var(--acc-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* type */
h1, h2, h3 { margin: 0; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.005em; text-wrap: balance; }
h2.display { font-stretch: 76%; font-size: clamp(36px, 5vw, 54px); line-height: .98; }
.sub { margin: 12px 0 0; color: var(--mut); font-size: 17px; max-width: 620px; text-wrap: pretty; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 30px; margin-bottom: 34px; }

/* home hero */
.hero { position: relative; padding: 70px 0 56px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -68px 0 0; z-index: -1; pointer-events: none; background: radial-gradient(700px 420px at 12% 20%, rgba(239, 68, 68, .17), transparent 70%), radial-gradient(800px 500px at 85% 60%, rgba(239, 68, 68, .07), transparent 70%); }
.hero::after { content: ''; position: absolute; inset: -68px 0 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(900px 500px at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(900px 500px at 30% 20%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: clamp(56px, 7.4vw, 104px); line-height: .9; letter-spacing: -0.01em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lede { margin: 22px 0 0; max-width: 540px; color: var(--fg-2); font-size: 19px; text-wrap: pretty; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; margin-bottom: 22px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--fg-2); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.eyebrow b { height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; color: #fff; background: var(--acc); }

.stack { position: relative; aspect-ratio: 16 / 11.5; }
.stack .shot { position: absolute; width: 78%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px var(--line-2); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.stack .shot img { width: 100%; height: 100%; object-fit: cover; }
.stack .s1 { left: 0; top: 0; transform: rotate(-3deg); opacity: .75; }
.stack .s2 { right: 0; top: 14%; transform: rotate(2.5deg); opacity: .9; }
.stack .s3 { left: 9%; bottom: 0; z-index: 2; box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px var(--line-2), 0 0 80px rgba(239, 68, 68, .14); }
.stack:hover .s1 { transform: rotate(-4.5deg) translate(-8px, -6px); }
.stack:hover .s2 { transform: rotate(4deg) translate(8px, -4px); }

/* stack strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 26px; padding-top: 20px; padding-bottom: 20px; }
.strip span { color: var(--dim); font-size: 14px; }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.strip li { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 18px; color: var(--mut); }

/* sections */
.sec { padding: 96px 0; }
.sec + .sec { padding-top: 0; }
.band { border-top: 1px solid var(--line); }

/* filters */
.filters { display: inline-flex; padding: 4px; gap: 2px; border-radius: 13px; background: rgba(255, 255, 255, 0.05); }
.filters button, .tabs button { font: inherit; font-size: 14px; font-weight: 500; color: var(--mut); background: none; border: 0; height: 36px; padding: 0 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.filters button:hover, .tabs button:hover { color: var(--fg); }
.filters button[aria-pressed="true"], .tabs button[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px rgba(0,0,0,.45); }
.card .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #121318; border-bottom: 1px solid var(--line); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .pic img { transform: scale(1.04); }
.card .pic .tag { position: absolute; left: 14px; top: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card .tag.free { background: rgba(20, 60, 36, .7); }
.card .tag.paid { background: rgba(80, 20, 20, .7); }
.card .body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card h3 { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 28px; line-height: 1; }
.card p { margin: 0; color: var(--mut); font-size: 15px; text-wrap: pretty; }
.card .more { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.card .more i { font-style: normal; color: var(--acc); transition: transform .2s; }
.card:hover .more i { transform: translateX(4px); }
.card[hidden] { display: none; }

/* why */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why div { padding: 24px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.why svg { width: 26px; height: 26px; color: var(--acc); margin-bottom: 18px; }
.why b { display: block; font-size: 17px; margin-bottom: 6px; }
.why p { margin: 0; color: var(--mut); font-size: 15px; }

/* join */
.join { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 48px; border-radius: 24px; background: radial-gradient(600px 300px at 0% 0%, rgba(239, 68, 68, .22), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.join h2 { max-width: 560px; }
.join .cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* script page */
.page-hero { position: relative; padding: 56px 0 30px; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: -68px 0 -200px; z-index: -1; pointer-events: none; background: radial-gradient(600px 340px at 15% 25%, rgba(239, 68, 68, .16), transparent 70%); }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; font-size: 14px; color: var(--dim); }
.crumbs a { text-decoration: none; color: var(--mut); }
.crumbs a:hover { color: var(--fg); }
.page-hero .top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.page-hero h1 { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: clamp(64px, 10vw, 124px); line-height: .88; letter-spacing: -0.01em; margin: 16px 0 0; }
.page-hero .lede { max-width: 640px; margin: 18px 0 0; font-size: 19px; color: var(--fg-2); text-wrap: pretty; }
.page-hero .cta { display: flex; flex-wrap: wrap; gap: 10px; }

.demo { padding: 26px 0 80px; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 14px; }
.tabs { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 2px; border-radius: 13px; background: rgba(255, 255, 255, 0.05); }
.hint { margin: 0; font-size: 14.5px; color: var(--mut); }
.hint b { color: var(--fg); font-weight: 600; }
.frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #121318; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line-2); }
.frame iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; }
.phone-note { display: none; margin: 12px 0 0; font-size: 13.5px; color: var(--dim); }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 24px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.feat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 17px; font-weight: 700; }
.feat h3::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 10px rgba(239, 68, 68, 0.6); flex: none; }
.feat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--fg-2); font-size: 15px; }
.feat li { padding-left: 16px; position: relative; }
.feat li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--dim); }

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.row { padding: 20px 22px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.row b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.row p { margin: 0; color: var(--mut); font-size: 14.5px; }
code { font-family: var(--mono); font-size: .86em; color: #e2e4e8; background: rgba(255, 255, 255, 0.07); padding: 1px 6px; border-radius: 6px; }
.notes { margin: 18px 0 0; color: var(--dim); font-size: 14.5px; }

.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.install > div { padding: 30px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.install h2 { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 34px; line-height: 1; margin-bottom: 20px; }
.install ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--fg-2); }
.install ol li::marker { color: var(--acc); font-weight: 700; }
pre { margin: 18px 0 0; overflow-x: auto; padding: 16px 18px; border-radius: 12px; background: #0e0f13; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #d4d7dc; }
.req { display: grid; }
.req div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); }
.req div:first-child { padding-top: 0; }
.req div:last-child { border-bottom: 0; padding-bottom: 0; }
.req span { color: var(--mut); text-align: right; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 54px 0 40px; color: var(--mut); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot p { margin: 14px 0 0; max-width: 320px; color: var(--dim); }
.foot h4 { margin: 4px 0 14px; font-size: 14px; color: var(--fg); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--mut); }
.foot a:hover { color: var(--fg); }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .stack { max-width: 620px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
  .page-hero .top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .nav nav { display: none; }
  .nav .end { margin-left: auto; }
  .nav .end .btn:not(.pri) { display: none; }
  .hero { padding-top: 44px; }
  .hero .lede, .page-hero .lede { font-size: 17px; }
  .cards, .why, .feats, .rows { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding: 72px 0; }
  .join { padding: 30px 24px; }
  .install > div { padding: 24px 20px; }
  .phone-note { display: block; }
  .strip .wrap { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}
.card.soon { background: radial-gradient(420px 260px at 0% 0%, rgba(239, 68, 68, .12), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.card.soon .body { justify-content: flex-start; padding: 28px; gap: 12px; }
.card.soon .tag { align-self: flex-start; margin-bottom: 8px; }
.card.soon h3 { font-size: 34px; }

/* store: nav */
.who { display: flex; align-items: center; gap: 8px; }
.who .btn svg { width: 17px; height: 17px; }
.who.in { height: 38px; padding: 0 6px 0 14px; border-radius: 11px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.who-name { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-out { border: 0; background: none; color: var(--mut); font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.who-out:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.cartbtn { position: relative; display: grid; place-items: center; width: 40px; height: 38px; border-radius: 11px; color: var(--fg); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.cartbtn:hover { background: rgba(255,255,255,.09); }
.cartbtn svg { width: 19px; height: 19px; }
.cartbtn b { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--acc); box-shadow: 0 0 0 2px var(--bg); }
.cartbtn b[hidden] { display: none; }

/* prices */
.price { font-style: normal; font-weight: 700; color: var(--fg); white-space: nowrap; }
.price s { color: var(--dim); font-weight: 500; margin-right: 4px; }
.price.big { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 34px; line-height: 1; align-self: center; margin-right: 6px; }
.price[hidden] { display: none; }
.card .more .price { margin-left: auto; margin-right: 12px; color: var(--fg); }
button.btn.added { color: var(--ok); background: rgba(74, 222, 128, .1); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .25); }
button.btn:disabled { opacity: .55; cursor: default; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--fg); background: #1b1d23; box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px var(--line-2); transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(74, 222, 128, .35); }
.toast.bad { box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(239, 68, 68, .5); }

/* store grid */
.down-note { display: none; margin: 24px 0 0; color: var(--mut); }
.down-note a { color: var(--fg); }
.store-down .down-note { display: block; }
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; min-width: 0; }
.pcard.skel { height: 380px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.pcard .pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: #121318; border-bottom: 1px solid var(--line); }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pic img { transform: scale(1.04); }
.pcard .pic .tag { position: absolute; left: 14px; top: 14px; background: rgba(80, 20, 20, .75); }
.pbody { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.ptop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ptop h3 { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 26px; line-height: 1.05; }
.pbody p { margin: 0; color: var(--mut); font-size: 14.5px; text-wrap: pretty; }
.pact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

/* package dialog */
dialog.pkg { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 20px; color: var(--fg); background: var(--panel); box-shadow: 0 40px 100px rgba(0,0,0,.7), inset 0 0 0 1px var(--line-2); }
dialog.pkg::backdrop { background: rgba(5, 6, 8, .72); }
.pkg-in { position: relative; padding: 0 0 26px; }
.pkg-in .x { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 11px; font-size: 22px; line-height: 1; color: #fff; background: rgba(0,0,0,.55); cursor: pointer; }
.pkg-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.pkg-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 22px 26px 0; }
.pkg-head h2 { font-family: var(--display); font-stretch: 76%; font-weight: 800; font-size: 40px; line-height: 1; }
.pkg-act { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 26px 4px; }
.pkg-desc { padding: 10px 26px 0; color: var(--fg-2); font-size: 15px; }
.pkg-desc img { max-width: 100%; height: auto; border-radius: 10px; }
.pkg-desc h1, .pkg-desc h2, .pkg-desc h3 { font-size: 18px; margin: 18px 0 8px; }
.pkg-desc a { color: var(--fg); }

/* cart */
.cart.busy { opacity: .6; pointer-events: none; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.citems { display: grid; gap: 12px; }
.citem { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.cimg { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #121318; }
.cimg img { width: 100%; height: 100%; object-fit: cover; }
.cinfo { min-width: 0; }
.cinfo b { display: block; font-size: 17px; }
.cmeta { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mut); }
.cmeta em { font-style: normal; color: var(--fg-2); }
.cmeta a { color: var(--fg-2); }
.cprice { font-weight: 700; font-size: 16px; }
.cdel { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 11px; color: #ffb4b4; background: var(--acc-soft); cursor: pointer; }
.cdel:hover { background: rgba(239, 68, 68, .25); }
.needlogin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 12px; padding: 18px 20px; border-radius: 16px; background: radial-gradient(400px 200px at 0 0, rgba(239,68,68,.16), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px rgba(239,68,68,.3); }
.needlogin p { margin: 4px 0 0; color: var(--mut); font-size: 14px; }
.cart-right { display: grid; gap: 14px; position: sticky; top: 88px; }
.box { padding: 20px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.box h3 { font-size: 16px; margin-bottom: 14px; }
.codeform { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 8px; }
.codeform select, .codeform input { height: 38px; min-width: 0; padding: 0 12px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; color: var(--fg); background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--line); }
.codeform select { appearance: none; cursor: pointer; }
.codeform input:focus, .codeform select:focus { outline: none; box-shadow: inset 0 0 0 1px var(--acc); }
.codes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.code { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px 0 11px; border-radius: 9px; font-size: 13px; color: var(--fg-2); background: rgba(74, 222, 128, .1); }
.code b { color: var(--ok); }
.code button { width: 22px; height: 22px; border: 0; border-radius: 6px; color: var(--mut); background: none; cursor: pointer; font-size: 16px; line-height: 1; }
.code button:hover { color: var(--fg); background: rgba(255,255,255,.08); }
.sum { display: flex; justify-content: space-between; padding: 6px 0; color: var(--fg-2); font-size: 15px; }
.sum.save span:last-child { color: var(--ok); }
.sum.total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--fg); font-weight: 700; font-size: 18px; }
.checkout { width: 100%; height: 52px; margin-top: 16px; font-size: 16px; }
.fine2 { margin: 12px 0 0; color: var(--dim); font-size: 12.5px; text-align: center; }
.empty-cart, .done { max-width: 560px; margin: 20px auto; text-align: center; }
.empty-cart p, .done p { color: var(--mut); margin: 12px 0 24px; }
.done a { color: var(--fg); }
.done .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.done .tick { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(180deg, var(--acc-2), var(--acc)); box-shadow: 0 12px 34px rgba(239,68,68,.4); }
.page-hero .cta .price.big { margin-right: 10px; }

@media (max-width: 1000px) {
  .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-right { position: static; }
}
@media (max-width: 680px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .who .btn { padding: 0 11px; font-size: 13px; }
  .who-out { display: none; }
  .who-name { max-width: 90px; }
  .citem { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; }
  .citem .cprice { grid-column: 2; grid-row: 2; }
  .citem .cdel { grid-column: 3; grid-row: 1 / span 2; }
  .codeform { grid-template-columns: minmax(0, 1fr) auto; }
  .codeform select { grid-column: 1 / -1; }
  .pkg-head h2 { font-size: 32px; }
}

@media (max-width: 680px) {
  .nav .end .who .btn { display: inline-flex; }
  .nav .end { gap: 6px; }
}
@media (max-width: 400px) {
  .brand b { font-size: 17px; }
  .who .btn svg { display: none; }
}
.lg-short { display: none; }
@media (max-width: 480px) { .lg-full { display: none; } .lg-short { display: inline; } }

/* store cards in the scripts grid */
.tcard .pic { display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.tcard .more { gap: 10px; }
.tcard .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.tcard .more .price { margin: 0 0 0 auto; }
.tcard:hover { transform: none; }
