/* ==========================================================================
   Biply Market — design system + page styles
   Tokens first, then base, components, sections. Edit tokens to re-theme.
   ========================================================================== */

:root {
  --ink: #1d1d1f;
  --ink-2: #515154;
  --muted: #6e6e73;
  --soft: #86868b;
  --bg: #fbfbfd;
  --panel: #f5f5f7;
  --panel-2: #f0f0f3;
  --line: rgba(0, 0, 0, .08);
  --white: #fff;

  --accent: #5546ff;
  --accent-ink: #4a3bd9;
  --accent-soft: #f0eefc;
  --accent-glow: #a8a2ff;
  --good: #12805c;
  --good-dark: #5ee0a0;

  --night: #0b0b10;
  --night-2: #101016;

  --radius-s: 14px;
  --radius-m: 24px;
  --radius-l: 32px;
  --radius-xl: 40px;

  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
svg { display: block; flex-shrink: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.eyebrow.on-dark { color: var(--accent-glow); }
.h-xl { font-size: clamp(46px, 7.4vw, 96px); line-height: 1.01; letter-spacing: -.048em; font-weight: 700; }
.h-l  { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.h-m  { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; }
.dim { color: var(--soft); }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 30px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 500; transition: background .2s, transform .2s var(--ease);
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(85, 70, 255, .7); }
.btn-accent:hover { background: #4638e8; }
.btn-ghost { border: 1px solid rgba(0, 0, 0, .14); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; font-size: 16px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- announcement + nav ---------- */
.announce {
  background: var(--ink); color: #f5f5f7; font-size: 13px; padding: 11px 24px;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; text-align: center;
}
.announce b { color: var(--accent-glow); font-weight: 600; }
.announce a { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); min-height: 68px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.logo small { font-size: inherit; font-weight: 500; color: var(--muted); margin-left: 0; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-spacer { flex-grow: 1; }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--panel-2); border-radius: 999px;
  padding: 0 16px; height: 40px; min-width: 210px; color: var(--muted); font-size: 14px;
}
.search input { border: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; outline: none; }
.nav-signin { font-size: 14px; font-weight: 500; }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 88px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(0, 0, 0, .09); background: #fff;
  border-radius: 999px; padding: 7px 16px 7px 8px; font-size: 13px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.badge b { background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.hero h1 { margin-top: 28px; }
.hero .lead { margin: 28px auto 0; max-width: 640px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* showcase */
.showcase {
  position: relative; height: 700px; margin-top: 72px; border-radius: var(--radius-xl); overflow: hidden;
  background: #09090d radial-gradient(70% 55% at 50% 0%, rgba(85, 70, 255, .42), rgba(9, 9, 13, 0) 70%);
  box-shadow: 0 60px 120px -40px rgba(40, 30, 120, .5);
}
.showcase::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to top, #09090d, rgba(9, 9, 13, 0)); pointer-events: none; }
.win {
  position: absolute; left: 50%; top: 76px; transform: translateX(-50%); width: 880px; max-width: calc(100% - 32px);
  border-radius: 18px; background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); overflow: hidden; color: #f5f5f7;
}
.win-bar { height: 44px; border-bottom: 1px solid rgba(255, 255, 255, .07); display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.win-url { margin: 0 auto; background: rgba(255, 255, 255, .06); border-radius: 8px; padding: 5px 60px; font-size: 12px; color: #9a9aa6; font-family: var(--mono); }
.win-body { display: flex; height: 520px; }
.win-side { width: 178px; border-right: 1px solid rgba(255, 255, 255, .07); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #9a9aa6; }
.win-side div { padding: 9px 10px; border-radius: 9px; }
.win-side .on { background: rgba(255, 255, 255, .08); color: #fff; }
.win-side .brand { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; padding: 0 8px 16px; font-size: 14px; }
.win-main { flex-grow: 1; padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.float-phone, .float-card { position: absolute; color: #fff; }
.float-phone {
  left: calc(50% - 640px); top: 210px; width: 236px; height: 470px; border-radius: 40px; background: #16161d;
  border: 6px solid #2a2a33; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); overflow: hidden;
}
.float-card {
  right: calc(50% - 650px); top: 150px; width: 290px; border-radius: 26px; background: rgba(24, 24, 32, .88);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .12);
  padding: 22px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); color: #f5f5f7;
}

/* trust */
.trust { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; font-size: 14px; font-weight: 500; color: var(--muted); }
.trust span { display: flex; align-items: center; gap: 8px; }

/* ---------- section scaffolding ---------- */
.section { margin-top: 140px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.section-head .h-l { margin-top: 10px; }

/* ---------- filter chips ---------- */
.chips { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(0, 0, 0, .12); background: #fff; border-radius: 999px; height: 40px; padding: 0 18px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: rgba(0, 0, 0, .3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { opacity: .55; margin-left: 6px; font-weight: 400; }

/* ---------- product grid + cards ---------- */
.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.s5 { grid-column: span 5; } .s7 { grid-column: span 7; } .s12 { grid-column: span 12; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; min-width: 0;
  transition: transform .35s var(--ease), box-shadow .35s;
  background: var(--c-bg); color: var(--c-ink);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(20, 20, 40, .22); }
.card-art { height: 300px; position: relative; overflow: hidden; }
.card-body { padding: 8px 44px 44px; }
.card-cat { font-size: 13px; font-weight: 600; color: var(--c-accent); }
.card-name { font-size: 32px; font-weight: 700; letter-spacing: -.035em; margin: 6px 0 10px; }
.card-blurb { font-size: 16px; line-height: 1.5; color: var(--c-sub); max-width: 480px; }
.card-foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.card-price { font-size: 15px; font-weight: 500; }
.card-price span { color: var(--c-sub); font-weight: 400; }
.card-go { background: var(--c-btn-bg); color: var(--c-btn-ink); border-radius: 999px; font-size: 14px; font-weight: 600; padding: 10px 20px; }

.t-dark   { --c-bg: var(--night);  --c-ink: #f5f5f7; --c-sub: #a1a1aa; --c-accent: var(--accent-glow); --c-btn-bg: #fff; --c-btn-ink: var(--night); }
.t-lilac  { --c-bg: #f0eefc;       --c-ink: var(--ink); --c-sub: var(--ink-2); --c-accent: var(--accent); --c-btn-bg: var(--ink); --c-btn-ink: #fff; }
.t-mint   { --c-bg: #eef6f2;       --c-ink: var(--ink); --c-sub: var(--ink-2); --c-accent: #0f7a55; --c-btn-bg: var(--ink); --c-btn-ink: #fff; }
.t-gray   { --c-bg: var(--panel);  --c-ink: var(--ink); --c-sub: var(--ink-2); --c-accent: var(--accent); --c-btn-bg: var(--ink); --c-btn-ink: #fff; }
.t-sand   { --c-bg: #f8f1e7;       --c-ink: var(--ink); --c-sub: var(--ink-2); --c-accent: #a65b0b; --c-btn-bg: var(--ink); --c-btn-ink: #fff; }
.t-sky    { --c-bg: #e9f2fb;       --c-ink: var(--ink); --c-sub: var(--ink-2); --c-accent: #0a5fb8; --c-btn-bg: var(--ink); --c-btn-ink: #fff; }
.t-rose   { --c-bg: #fbeef0;       --c-ink: var(--ink); --c-sub: var(--ink-2); --c-accent: #b4234a; --c-btn-bg: var(--ink); --c-btn-ink: #fff; }

.card-soon { background: transparent; border: 2px dashed rgba(0, 0, 0, .14); align-items: center; justify-content: center; text-align: center; padding: 56px 32px; min-height: 300px; color: var(--ink); }
.card-soon:hover { transform: none; box-shadow: none; }
.soon-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--panel); display: grid; place-items: center; margin-bottom: 20px; }
.soon-t { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.soon-d { font-size: 15px; color: var(--muted); max-width: 320px; margin-top: 8px; line-height: 1.5; }

/* generic art for products without bespoke art */
.art-generic { position: absolute; inset: 0; display: grid; place-items: center; }
.art-tile { width: 150px; height: 150px; border-radius: 40px; display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); transform: rotate(-6deg); }
.art-rings { position: absolute; inset: 0; opacity: .5; }

/* ---------- category tiles ---------- */
.cats { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s; font: inherit; color: inherit;
}
.cat:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(20, 20, 40, .22); }
.cat-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; }
.cat-t { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-top: 22px; }
.cat-d { font-size: 14px; color: var(--muted); margin-top: 4px; }
.cat-n { font-size: 13px; color: var(--accent-ink); font-weight: 600; margin-top: 14px; }

/* ---------- licensing ---------- */
.band { border-radius: var(--radius-xl); background: var(--panel); padding: clamp(36px, 6vw, 88px); }
.steps { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 48px 40px; }
.step { flex: 1 1 260px; }
.step-n { font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: #d2d2d7; }
.step-t { font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin-top: 18px; }
.step-d { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin-top: 8px; }

/* ---------- security ---------- */
.dark-band {
  border-radius: var(--radius-xl); background: var(--night) radial-gradient(60% 80% at 100% 0%, rgba(85, 70, 255, .35), rgba(11, 11, 16, 0) 70%);
  color: #f5f5f7; padding: clamp(36px, 6vw, 96px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.dark-band .col { flex: 1 1 400px; min-width: 0; }
.checks { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: #e4e4ea; }
.checks div { display: flex; gap: 12px; align-items: center; }
.cert { width: 100%; max-width: 440px; margin: 0 auto; border-radius: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.cert-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); font-family: var(--mono); font-size: 13px; line-height: 2.1; color: #c4c4cc; gap: 16px; }
.cert-row span:first-child { color: #8e8e99; }
.verified { display: inline-flex; align-items: center; background: rgba(94, 224, 160, .14); color: var(--good-dark); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; }

/* ---------- support ---------- */
.support {
  border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; padding: clamp(32px, 5vw, 72px);
  display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; box-shadow: 0 30px 70px -40px rgba(20, 20, 60, .25);
}

/* ---------- footer ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line); background: var(--panel); }
.footer-in { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 24px; display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col { flex: 1 1 140px; font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
.footer-col b { font-size: 13px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { text-decoration: underline; }
.footer-brand { flex: 2 1 280px; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 300px; }
.footer-legal { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 40px; font-size: 13px; color: var(--muted); }

/* ---------- product page ---------- */
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; padding-top: 36px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .here { color: var(--ink); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.tag { background: var(--panel-2); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; }
.tag.main { background: var(--accent-soft); color: var(--accent-ink); }
.pd-title { margin-top: 28px; max-width: 720px; }
.pd-title h1 { margin-top: 18px; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.pd-title p { margin-top: 14px; }
.pd-cols { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pd-main { flex: 999 1 640px; min-width: 0; }
.pd-stage { position: relative; border-radius: 36px; overflow: hidden; height: 540px; background: #09090d radial-gradient(70% 60% at 50% 0%, rgba(85, 70, 255, .4), rgba(9, 9, 13, 0) 70%); box-shadow: 0 50px 100px -40px rgba(40, 30, 120, .5); }
.pd-stage .win { top: 56px; width: 720px; }
.pd-stage .win-bar { height: 40px; }
.thumbs { margin-top: 16px; display: flex; gap: 14px; flex-wrap: wrap; }
.thumb { flex: 1 1 140px; height: 92px; border-radius: 18px; background: var(--panel); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 2px solid transparent; }
.thumb.on { background: var(--night); color: #fff; border-color: var(--accent); }
.tabs { margin-top: 56px; border-bottom: 1px solid rgba(0, 0, 0, .09); display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--muted); flex-wrap: wrap; }
.tabs span { padding-bottom: 14px; }
.tabs .on { color: var(--ink); border-bottom: 2px solid var(--ink); margin-bottom: -1px; }
.feats { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feat { border-radius: var(--radius-m); background: var(--panel); padding: 28px; }
.feat-ico { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; }
.feat-t { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 18px; }
.feat-d { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; }

.buy { flex: 1 1 360px; max-width: 440px; min-width: 0; position: sticky; top: 92px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(20, 20, 60, .3); padding: 32px; }
.buy-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.buy-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.buy-price b { font-size: 48px; font-weight: 700; letter-spacing: -.045em; }
.buy-price span { font-size: 15px; color: var(--muted); }
.opts { border: 0; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; gap: 14px; align-items: center; border: 1px solid rgba(0, 0, 0, .12); border-radius: 18px; padding: 16px 18px; cursor: pointer; transition: all .2s; }
.opt:has(input:checked) { border: 2px solid var(--accent); background: #f7f6ff; padding: 15px 17px; }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.opt .grow { flex-grow: 1; }
.opt strong { display: block; font-size: 15px; font-weight: 600; }
.opt small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.opt .p { font-size: 15px; font-weight: 600; }
.pay { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.pay span { display: flex; align-items: center; gap: 8px; background: var(--panel); border-radius: 12px; padding: 10px 14px; }
.buy .btn { width: 100%; height: 56px; }
.specs { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; }
.specs span { color: var(--muted); }
.specs b { font-weight: 500; text-align: right; }
.custom { margin-top: 24px; border-radius: 20px; background: var(--panel); padding: 18px 20px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.custom b { color: var(--ink); font-weight: 600; }
.custom a { color: var(--accent); font-weight: 500; }
.custom a:hover { text-decoration: underline; }

/* ---------- real product screenshots ---------- */
.t-forest { --c-bg: #07261d; --c-ink: #f2faf6; --c-sub: #9cc7b6; --c-accent: #7be0b0; --c-btn-bg: #fff; --c-btn-ink: #07261d; }
.card-art { height: 340px; }
.card:has(.shot-desk) .card-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 30% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%); opacity: .5; }
.t-forest .card-art::before { background: radial-gradient(70% 80% at 30% 0%, rgba(123, 224, 176, .28), rgba(123, 224, 176, 0)) !important; opacity: 1 !important; }

.shot-bar { height: 22px; background: #17171b; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #4a4a52; }
.shot-bar i:nth-child(1) { background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-desk, .stage-desk {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 36px 70px -24px rgba(0, 0, 0, .45);
}
.shot-desk img, .stage-desk img { display: block; width: 100%; height: auto; }
.shot-desk { position: absolute; left: 36px; top: 36px; width: 66%; transition: transform .5s var(--ease); }
.shot-phone {
  position: absolute; right: 36px; bottom: -70px; width: 168px; aspect-ratio: 9 / 18.5; border-radius: 30px; overflow: hidden;
  border: 5px solid #0d0d10; background: #0d0d10; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transition: transform .5s var(--ease);
}
.shot-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.card:hover .shot-desk { transform: translateY(-8px); }
.card:hover .shot-phone { transform: translateY(-14px); }
.s5 .shot-desk { width: calc(100% - 72px); }
.s5 .shot-phone { width: 120px; right: 22px; bottom: -60px; border-radius: 24px; border-width: 4px; }
.s12 .shot-desk { left: 8%; width: 56%; }
.s12 .shot-phone { right: 14%; width: 190px; }

/* product page stage + gallery */
.pd-stage { height: auto; aspect-ratio: 16 / 10; background: var(--c-bg); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .45); }
.pd-stage.t-mint { background: #dcf1e6; } .pd-stage.t-sand { background: #f4e5cf; } .pd-stage.t-lilac { background: #e1dbf7; }
.pd-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 0%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.pd-stage.t-forest::before { background: radial-gradient(70% 70% at 50% 0%, rgba(123, 224, 176, .3), rgba(123, 224, 176, 0) 70%); }
.stage-desk { position: absolute; left: 50%; top: 36px; transform: translateX(-50%); width: calc(100% - 72px); border-radius: 16px 16px 0 0; }
.stage-phone {
  position: absolute; left: 50%; top: 32px; transform: translateX(-50%); height: calc(100% - 32px); aspect-ratio: 9 / 18.5; border-radius: 40px 40px 0 0;
  overflow: hidden; border: 7px solid #0d0d10; border-bottom: 0; background: #0d0d10; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}
.stage-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pd-stage > .win { top: 56px; width: 720px; max-width: calc(100% - 48px); }
.thumbs { margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.thumb {
  position: relative; padding: 0; height: auto; background: #fff; border: 2px solid transparent; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px var(--line); display: block; transition: transform .25s var(--ease), box-shadow .25s;
}
.thumb:hover { transform: translateY(-3px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.thumb.is-mobile img { object-fit: cover; object-position: top; }
.thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 11px; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
.thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(85, 70, 255, .18); }

/* hero showcase with real screenshots */
.showcase .win { background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 110px -30px rgba(0, 0, 0, .85); }
.showcase .win-bar { background: #17171b; border-bottom: 0; height: 36px; }
.showcase .win img, .float-win img { display: block; width: 100%; height: auto; }
.float-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.float-win { position: absolute; right: calc(50% - 660px); top: 170px; width: 400px; border-radius: 16px; overflow: hidden; background: #0d0d10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -20px rgba(0, 0, 0, .85); }
.float-win .win-bar { height: 28px; padding: 0 12px; border-bottom: 0; background: #17171b; }
.float-win .dot { width: 8px; height: 8px; }
.float-tag { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; justify-content: center; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.float-tag span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1500px) { .float-phone { left: 16px; } .float-win { right: 16px; } }
@media (max-width: 1260px) { .float-phone, .float-win { display: none; } }
@media (max-width: 720px) { .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shot-desk { left: 20px; top: 24px; } .stage-desk { width: calc(100% - 32px); top: 20px; } }
@media (max-width: 1000px) {
  .nav-links, .nav-signin, .search { display: none; }
  .win-side { display: none; }
}
@media (max-width: 900px) {
  .s5, .s7, .s12 { grid-column: span 12; }
  .card-body { padding: 8px 28px 32px; }
  .buy { position: static; max-width: none; }
  .section { margin-top: 96px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .showcase { height: 560px; border-radius: 28px; }
  .win { top: 48px; }
  .win-body { height: 440px; }
  .win-url { padding: 5px 16px; }
  .hero { padding-top: 56px; }
  .pd-stage { height: 440px; border-radius: 28px; }
  .pd-stage .win { width: 600px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
