/* Staxo homepage (app first). Display Unbounded, text Inter, the violet system of the site.
   Ported from the approved design (design/web-variants-2): site.css + sections.css + the page styles. */
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0A0A0F;
  --bg-2: #0E0D16;
  --surface: #14131D;
  --surface-2: #1B1A27;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #FFFFFF;
  --ink-2: #B9B8CC;
  --ink-3: #8F8EA3;
  --violet: #7C3AED;
  --violet-2: #A855F7;
  --violet-ink: #C4A6FF;
  --cta: linear-gradient(90deg, #7C3AED 0%, #A12FD0 55%, #C92C8A 100%);
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 24px;
  --gutter: 16px;
  --max: 1200px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
/* in-page links glide where the browser scrolls; with Lenis on (computers with the 3D phone) Lenis owns every scroll */
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body { font-family: var(--text); background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--violet-ink); outline-offset: 3px; border-radius: 6px; }
/* targets that only take focus from script (skip link, in-page links) keep no ring around a whole section */
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 40; padding: 10px 16px; border-radius: 10px; background: var(--surface-2);
  color: var(--ink); font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus-visible { transform: none; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(26px, 5.4vw, 44px); }
.lede { color: var(--ink-2); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
@media (min-width: 1024px) { .lede { font-size: 19px; } }

/* Lenis smooth scroll (computers with motion on) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Nav */
.nav { position: relative; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font: 700 19px/1 var(--display); letter-spacing: -.01em; }
.nav__links { display: none; }
.nav__links ul { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 18px; }
@media (min-width: 1024px) { .nav__links { display: block; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 12px; font: 600 15px/1 var(--text); text-decoration: none; white-space: nowrap; }
.btn--primary { background: var(--cta); color: #fff; box-shadow: 0 10px 30px -12px rgba(124, 58, 237, .8); }
.btn--primary:hover { filter: brightness(1.08); }

/* Official store badges. Apple: App Store first, black badge. Google: same height or larger. Clear space >= 1/4 height. */
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.stores a { display: block; line-height: 0; border-radius: 10px; }
.stores img { height: 54px; width: auto; }
.qr__code { width: 76px; height: 76px; padding: 6px; background: #fff; border-radius: 10px; }
.qr__code svg { display: block; width: 100%; height: 100%; }
.micro { color: var(--ink-3); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.micro b { color: var(--ink-2); font-weight: 600; }
/* phones with a known OS see their store first and large, the other one as a text link */
.os-ios .stores .gp, .os-android .stores .as { display: none; }
.alt-store { display: none; }
.os-ios .alt-store.gp, .os-android .alt-store.as { display: inline; }
.os-ios .stores img, .os-android .stores img { height: 60px; }

/* Soft violet light behind the phones, no busy pattern */
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(closest-side, rgba(124, 58, 237, .42), rgba(124, 58, 237, .14) 55%, transparent); }

/* One WebGL stage for the whole page: a single phone flies from the hero into "How it works" (computers with motion on) */
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; display: none; }
/* the canvas shows from the first positioned frame on */
.live .stage { display: block; visibility: hidden; }
.stage-on .stage { visibility: visible; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 12px 0 24px; }
.hero__grid { display: grid; gap: 26px; align-items: center; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(34px, 9.4vw, 66px); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .ln > span { display: inline-block; }
h1 em, h2 em { font-style: normal; background: linear-gradient(90deg, #C4A6FF, #F0A6D8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 31em; }
.hero__visual { position: relative; display: grid; justify-items: center; }
.hero .glow { width: 520px; height: 520px; top: 0; left: 50%; transform: translateX(-50%); }
.hero__phone { position: relative; z-index: 1; height: 470px; width: 100%; display: grid; justify-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
/* the still phone stays until the 3D stage has drawn its first frame, then leaves the layer tree (WebGL failure keeps it) */
.hero__phone img { width: 290px; max-width: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.stage-on .hero__phone img { opacity: 0; visibility: hidden; }
@media (min-width: 1024px) {
  .hero { padding: 20px 0 40px; }
  .hero h1 { font-size: min(66px, 6vw); }   /* "Learn crypto" stays on one line in the narrower copy column up to ~1100 px */
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 24px; min-height: 690px; }
  .hero__phone { height: auto; width: 100%; max-width: 460px; aspect-ratio: 400 / 560; -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .hero__phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .hero .glow { width: 820px; height: 820px; top: -60px; }
}

/* the one load sequence: headline lines rise out of their own line box, the rest follows */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln > span { animation: rise 1.05s cubic-bezier(.16, 1, .3, 1) both; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .09s; }
  .hero .lede, .hero .get, .hero .micro { animation: fadeup .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero .lede { animation-delay: .28s; } .hero .get { animation-delay: .38s; } .hero .micro { animation-delay: .46s; }
}
@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Facts strip: above the 3D stage, the flying phone passes under it */
.facts3 { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 6; background: var(--bg); }
.facts3 ul { list-style: none; display: grid; gap: 0; }
.facts3 li { padding: 18px 0; display: grid; gap: 2px; border-bottom: 1px solid var(--line); }
.facts3 li:last-child { border-bottom: 0; }
.facts3 b { font: 700 22px/1.2 var(--display); letter-spacing: -.01em; }
.facts3 span { color: var(--ink-3); font-size: 15px; }
@media (min-width: 768px) { .facts3 ul { grid-template-columns: repeat(3, 1fr); } .facts3 li { border-bottom: 0; padding: 26px 0; } .facts3 li + li { padding-left: 32px; border-left: 1px solid var(--line); } }

/* Sections below the hero. No eyebrows, no icon tiles, no arrow links. */
.sec { position: relative; padding: 56px 0; }
.sec--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec h2 { font: 700 clamp(25px, 6.4vw, 44px)/1.14 var(--display); letter-spacing: -.02em; text-wrap: balance; max-width: 17em; }
.sec h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.sec .sub { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 34em; margin-top: 14px; text-wrap: pretty; }
@media (min-width: 1024px) {
  .sec { padding: 96px 0; }
  .sec .sub { font-size: 18px; }
}

/* How it works: on computers the phone sits in the sticky slot, turns and swipes to the next screen as each step crosses the middle */
.how2__steps { list-style: none; display: grid; gap: 48px; margin-top: 34px; }
.how2__steps li { display: grid; gap: 10px; }
.how2__n { font: 700 14px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); }
.how2__steps h3 { font: 700 clamp(22px, 5.6vw, 30px)/1.2 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.how2__steps p { color: var(--ink-2); font-size: 17px; max-width: 30em; }
.how2__still { width: 230px; margin: 14px auto 0;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); height: 380px; overflow: hidden; }
.how2__sticky { display: none; }
.how2 { overflow-x: clip; }   /* the sticky glow is wider than its column; clip (not hidden) keeps position: sticky working */
@media (min-width: 1024px) {
  .how2__grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; }
  .how2__steps { gap: 0; margin-top: 10px; }
  .how2__steps li { padding: 70px 0; }
  .live .how2__steps li { min-height: 72vh; padding: 0; align-content: center; will-change: opacity; }   /* opacity changes stay on the compositor */
  .how2__still { display: none; }
  .how2__sticky { display: block; position: sticky; top: 9vh; height: 82vh; }
  .how2__sticky .glow { width: 640px; height: 640px; top: 8%; left: 50%; transform: translateX(-50%); }
  .how2__slot { position: relative; height: 100%; }
  .how2__fallback { position: absolute; inset: 6% 0; width: 100%; height: 88%; object-fit: contain; }
  .stage-on .how2__fallback { display: none; }
}

/* League + Story card: the card catches the light, tilting with the pointer on computers and with the scroll everywhere */
.league__grid { display: grid; gap: 36px; }
.league__card { margin: 0 auto; width: min(270px, 70vw); }
.league__card img { border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.league__card figcaption { color: var(--ink-3); font-size: 13px; margin-top: 12px; text-align: center; }
.holo { position: relative; border-radius: 22px; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.holo::after { content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none; mix-blend-mode: color-dodge; opacity: var(--o, .3);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .38), transparent 42%),
    linear-gradient(115deg, transparent 18%, rgba(255, 0, 170, .26) 34%, rgba(0, 255, 220, .24) 50%, rgba(255, 230, 0, .2) 63%, transparent 80%);
  background-size: 100% 100%, 260% 260%; background-position: center, var(--mx, 50%) var(--my, 30%); transition: opacity .25s ease; }
.facts { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); display: grid; gap: 2px; }
.facts li b { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) {
  .league__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 96px; align-items: center; }
  .league__card { width: 340px; }
}

/* Free vs Pro table */
.tbl { margin-top: 32px; border-top: 1px solid var(--line-2); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.cmp thead th { font: 700 15px/1.2 var(--display); padding-top: 18px; color: var(--ink); }
.cmp thead th:last-child { color: var(--violet-ink); }
.cmp tbody th { color: var(--ink-3); font-weight: 500; width: 28%; }
.cmp td { color: var(--ink-2); width: 36%; }
.cmp td:last-child { color: var(--ink); }
@media (max-width: 599px) {
  /* phone: the feature name sits above a two-column Free / Pro row */
  .cmp thead tr, .cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .cmp thead th:first-child { display: none; }
  .cmp tbody tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 4px; border: 0; font-size: 13px; }
  .cmp td { width: auto; padding: 0; border: 0; }
  .cmp thead th { padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
}
.also { color: var(--ink-3); font-size: 15px; margin-top: 18px; max-width: 46em; }
@media (min-width: 1024px) {
  .plans__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; }
  .tbl { margin-top: 0; }
  .cmp { font-size: 16px; }
  .cmp th, .cmp td { padding: 16px 16px 16px 0; }
  .cmp tbody th { width: 24%; }
}

/* Pricing */
.price__grid { display: grid; gap: 18px; margin-top: 34px; }
.plan { position: relative; border-radius: var(--radius-lg); padding: 26px 22px 24px; }
.plan--free { border: 1px solid var(--line); }
.plan--pro { border: 1px solid rgba(168, 85, 247, .55); background: linear-gradient(180deg, rgba(124, 58, 237, .14), rgba(124, 58, 237, .03)); }
.plan h3 { font: 700 18px/1.2 var(--display); }
.plan__p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.plan__p .big { font: 700 40px/1 var(--display); color: var(--ink); letter-spacing: -.02em; margin-right: 6px; font-variant-numeric: tabular-nums; }
.plan__then { color: var(--ink-2); margin-top: 6px; }
.plan ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 20px; color: var(--ink-2); line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--violet-2); }
.plan--pro li { color: var(--ink); }
.plan .micro { margin-top: 12px; }
.plan .stores img { height: 46px; }
.plan .stores { gap: 10px; }
@media (min-width: 1024px) {
  .price__grid { grid-template-columns: 1fr 1.15fr; gap: 24px; max-width: 900px; }
  .plan { padding: 32px 30px 30px; }
}

/* FAQ */
.faq__grid { display: grid; gap: 24px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 40em; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 360px minmax(0, 1fr); gap: 72px; }
}

/* Closing call */
.end { text-align: center; overflow: hidden; isolation: isolate; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 40%, rgba(124, 58, 237, .32), transparent 70%); }
.end h2 { margin: 0 auto; }
.end .get { justify-content: center; margin-top: 28px; }
.end .micro { margin-top: 14px; }
.end__phones { position: relative; height: 300px; margin-top: 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.end__phones img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 620px; max-width: none; }
@media (min-width: 1024px) { .end__phones { height: 470px; } .end__phones img { width: 980px; } }
/* the closing phones rise as the section scrolls in (CSS scroll timeline, no script) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .end__phones img { animation: trio-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@keyframes trio-rise { from { transform: translate(-50%, 140px) scale(.93); } to { transform: translate(-50%, 0) scale(1); } }

/* Mega footer: brand and the entity line, store badges, socials, then the guides grouped by search intent.
   Computers: open columns. Phones: each group folds behind its title (details/summary), links stay in the DOM. */
.foot { border-top: 1px solid var(--line); padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: 14px; }
.foot a { text-decoration: none; }
.foot ul { list-style: none; }
.foot__grid { display: grid; gap: 36px; }
.foot__brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.foot__about { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 30em; text-wrap: pretty; }
.foot .stores img { height: 40px; }
.foot .stores { gap: 10px; }
.foot__social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2);
  background: var(--surface); transition: color .15s ease, background-color .15s ease; }
.foot__social a:hover { color: var(--ink); background: var(--surface-2); }
.foot__social svg { width: 18px; height: 18px; }
.foot__company ul { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 32px; }
.foot__company a, .foot__group a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.foot__company a:hover, .foot__group a:hover { color: var(--ink); }
.foot__title { font: 700 14px/1.3 var(--display); letter-spacing: -.005em; color: var(--ink); }
.foot__links { border-top: 1px solid var(--line); }
.foot__group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.foot__group summary::-webkit-details-marker { display: none; }
.foot__group summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-2px) rotate(45deg); }
.foot__group details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.foot__group { border-bottom: 1px solid var(--line); }
.foot__group ul { padding: 0 0 12px; }
.foot__bottom { display: grid; gap: 14px; margin-top: 32px; }   /* phones: the last group's rule already closes the list */
.foot__partners { max-width: 52em; line-height: 1.55; }
.foot__partners a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.foot__legal a:hover { color: var(--ink); }
@media (min-width: 1024px) {
  .foot { padding: 80px 0 40px; }
  .foot__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; }
  .foot__links { border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 40px; }
  .foot__group { border-bottom: 0; }
  .foot__group summary { cursor: default; pointer-events: none; min-height: 0; margin-bottom: 10px; }
  .foot__group summary::after { display: none; }
  .foot__group ul { padding: 0; }
  .foot__group a { min-height: 32px; }
  .foot__company a { min-height: 32px; }
  .foot__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
  .foot__legal { justify-content: flex-end; }
  .foot__legal a { min-height: 32px; }
}

/* Sticky install bar (phones): app icon, name, one line, one button */
.installbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border-radius: 18px; background: rgba(27, 26, 39, .92); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); }
.installbar[hidden] { display: none; }
.installbar img { width: 44px; height: 44px; border-radius: 11px; }
.installbar div { flex: 1; min-width: 0; line-height: 1.3; }
.installbar b { display: block; font-size: 15px; }
.installbar span { font-size: 13px; color: var(--ink-3); }
.installbar .btn { min-height: 44px; padding: 0 20px; border-radius: 999px; }
@media (min-width: 1024px) { .installbar { display: none; } }

/* "Get the app" on a computer: a small sheet with the badges, a QR for the phone camera and, last, the web app */
.getsheet { margin: auto; width: min(420px, calc(100% - 32px)); padding: 28px 28px 22px; border: 1px solid var(--line-2); border-radius: 22px;
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); overscroll-behavior: contain; }
.getsheet::backdrop { background: rgba(5, 5, 9, .62); backdrop-filter: blur(4px); }
.getsheet__head { display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.getsheet:focus { outline: none; }
.getsheet__head img { width: 52px; height: 52px; border-radius: 13px; }
.getsheet__head b { display: block; font: 700 19px/1.2 var(--display); letter-spacing: -.01em; }
.getsheet__head span { color: var(--ink-3); font-size: 14px; }
.getsheet__qr { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.getsheet__qr .qr__code { width: 132px; height: 132px; padding: 9px; }
.getsheet__qr p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.getsheet__qr p b { display: block; color: var(--ink); }
.getsheet .stores { margin-top: 18px; justify-content: center; }
.getsheet .stores img { height: 46px; }
.getsheet__web { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-3); font-size: 13px; }
.getsheet__web a { color: var(--ink-2); }
.getsheet__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); font-size: 22px; line-height: 1; }
.getsheet__close:hover { color: var(--ink); background: var(--surface-2); }
/* the same sheet in a narrow window: tighter frame, smaller code, so the copy is not squeezed into a sliver */
@media (max-width: 440px) {
  .getsheet { padding: 24px 20px 18px; }
  .getsheet__qr { grid-template-columns: 104px 1fr; gap: 14px; padding: 12px; }
  .getsheet__qr .qr__code { width: 104px; height: 104px; padding: 7px; }
  .getsheet__qr p { font-size: 14px; }
}
