/* ==========================================================================
   Supplier2Shop — supplier2shop.in
   Design tokens lifted from the app's own Material 3 scheme (ui/theme/Color.kt)
   so the site and the product read as one thing.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Fills that carry white text and must stay deep in BOTH themes. Separate from
     --indigo, which is the *text* indigo and lightens in dark mode. */
  --brand: #24389C;
  --bezel: #0D1C2E;

  /* Indigo — carries every primary action, exactly as in the app */
  --indigo-950: #080C2E;
  --indigo-900: #0B1240;
  --indigo-800: #16205C;
  --indigo-700: #1D2B7D;
  --indigo:     #24389C;
  --indigo-500: #3F51B5;
  --indigo-400: #6474D6;
  --indigo-300: #96A5FF;
  --indigo-200: #BAC3FF;
  --indigo-100: #D5DBFF;
  --indigo-50:  #EEF1FF;

  /* The red of the "2" in the s2s mark, sampled from the logo artwork */
  --red: #FD0C43;
  --red-soft: #FFE5EB;

  /* Deep teal — "connected" and "verified" everywhere in the app */
  --teal: #004C44;
  --teal-600: #00665B;
  --teal-300: #35B8A4;
  --teal-200: #7CE4D3;
  --teal-50: #E4F7F3;

  /* Refer & Earn amber — the one card allowed to be louder than the rest */
  --amber: #FFF3D6;
  --amber-ink: #5B3E00;
  --amber-line: #F0DCAE;

  --ink: #0D1C2E;
  --muted: #454652;
  --faint: #757684;
  --line: #DFE4F5;
  --line-soft: #ECEFFA;
  --page: #F8F9FF;
  --card: #FFFFFF;
  --card-alt: #F2F5FF;

  --wrap: 74rem;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(13, 28, 46, .06), 0 2px 8px rgba(13, 28, 46, .04);
  --shadow: 0 2px 4px rgba(13, 28, 46, .04), 0 12px 28px -8px rgba(13, 28, 46, .10);
  --shadow-lg: 0 4px 8px rgba(13, 28, 46, .05), 0 32px 64px -20px rgba(13, 28, 46, .22);
  --shadow-glow: 0 24px 60px -18px rgba(36, 56, 156, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Indigo as *text* has to lift off a dark page; #24389C is unreadable on it. */
    --indigo: #9FADFF;
    --indigo-500: #8B9BF5;

    --ink: #E7EBF7;
    --muted: #B3B8CC;
    --faint: #8F909F;
    --line: #2C3242;
    --line-soft: #232838;
    --page: #0C0F16;
    --card: #141824;
    --card-alt: #1A1F2D;
    --indigo-50: #171C33;
    --indigo-100: #1E2544;
    --red-soft: #3A0C18;
    --teal-50: #0E2621;
    --amber: #2E2409;
    --amber-ink: #F6D98B;
    --amber-line: #4A3B12;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, .3), 0 32px 64px -20px rgba(0, 0, 0, .65);
  }
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.028em; font-weight: 800; }
p { margin: 0; }
a { color: var(--indigo); text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--indigo-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* -------------------------------------------------------------- layout -- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
.wrap-narrow { max-width: 50rem; }

section { position: relative; }
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); }
.sec-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.stack-sm > * + * { margin-top: .75rem; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
}

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Two-up layouts that collapse. Kept as classes rather than inline styles so a
   media query can actually reach them. */
.split {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.split-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split-tight { gap: clamp(1.5rem, 4vw, 3rem); }
/* body copy beside a phone mockup — the mockup column is its own width */
.split-phone {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
}
/* in → arrow → out */
.split-3 {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.5rem;
}

@media (max-width: 920px) {
  .split, .split-wide, .split-phone, .split-3 { grid-template-columns: minmax(0, 1fr); }
  .split-phone { justify-items: center; }
  .split-3 .turn { transform: rotate(90deg); justify-self: center; }
}

/* --------------------------------------------------------- typography -- */

.h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.025em; }
.h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.015em; }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.62;
}
.lede-wide { max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: var(--red);
}

.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.tiny { font-size: .8125rem; color: var(--faint); }

.accent { color: var(--red); }
.grad {
  background: linear-gradient(103deg, var(--indigo) 0%, var(--indigo-500) 45%, var(--teal-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------- wordmark --- */

.mark {
  display: inline-flex; align-items: center;
  font-weight: 800; letter-spacing: -.06em; line-height: 1;
  font-size: 1.375rem; color: var(--ink);
}
/* The red quadrilateral is the element's own background rather than a z-index:-1
   pseudo-element — the nav creates a stacking context (backdrop-filter), which
   would otherwise paint the nav's own background straight over it. */
.mark .two {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-style: normal;
  padding: .16em .26em .18em .3em;
  margin-inline: .04em;
  background: var(--red);
  clip-path: polygon(0% 7%, 100% 0%, 100% 100%, 0% 93%);
}
.mark-on-dark { color: #fff; }

.brandline { display: inline-flex; align-items: baseline; gap: .6rem; }
.brandline .full {
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em;
  color: var(--ink);
}
.hero .brandline .full, .band .brandline .full { color: #fff; }

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .9375rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(36, 56, 156, .7);
}
.btn-primary:hover { background: var(--indigo-700); box-shadow: 0 16px 32px -12px rgba(36, 56, 156, .8); }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); background: var(--indigo-50); }

.btn-light {
  background: rgba(255, 255, 255, .1); color: #fff;
  border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }

.btn-sm { padding: .6rem 1.15rem; font-size: .875rem; }

/* Google Play badge, drawn rather than fetched — no external image request */
.play {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .7rem 1.4rem .7rem 1.15rem; border-radius: 14px;
  background: var(--bezel); color: #fff; border: 1px solid var(--bezel);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  box-shadow: var(--shadow);
}
.play:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.play svg { width: 26px; height: 29px; flex: none; }
.play-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.play-txt small { font-size: .625rem; letter-spacing: .09em; text-transform: uppercase; opacity: .78; }
.play-txt strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; }
.play-on-dark { background: #fff; color: var(--indigo-950); border-color: #fff; }

/* ---------------------------------------------------------------- nav -- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links a {
  padding: .5rem .85rem; border-radius: 10px;
  font-size: .9375rem; font-weight: 600; color: var(--muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--line-soft); }
.nav-links a.on { color: var(--indigo); background: var(--indigo-50); }
/* `.nav-links a` outranks `.btn-primary`, which would leave the CTA's label muted
   grey on indigo. Restate it at matching specificity. */
.nav-links a.btn-primary { color: #fff; background: var(--brand); }
.nav-links a.btn-primary:hover { color: #fff; background: var(--indigo-700); }
.nav-cta { margin-left: .75rem; }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s var(--ease), opacity .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--page); border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.75rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.0625rem; }
  .nav-cta { margin: .75rem 0 0; justify-content: center; }
}

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90rem 40rem at 78% -8%, rgba(63, 81, 181, .55), transparent 62%),
    radial-gradient(60rem 36rem at 4% 108%, rgba(0, 102, 91, .48), transparent 60%),
    linear-gradient(168deg, var(--indigo-950) 0%, var(--indigo-900) 42%, #0E1846 100%);
  color: #fff;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(4.5rem, 9vw, 8rem);
}
.hero::after {
  content: ''; position: absolute; inset: 0; 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;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.hero .eyebrow { color: var(--indigo-200); }
.hero .h1 { color: #fff; }
.hero .h1 em {
  font-style: normal; position: relative;
  background: linear-gradient(100deg, #fff 10%, var(--indigo-200) 55%, var(--teal-200) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { color: rgba(255, 255, 255, .78); font-size: clamp(1.0625rem, 1.55vw, 1.3125rem); max-width: 46ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 2.25rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem;
  font-size: .8125rem; color: rgba(255, 255, 255, .62); font-weight: 600;
  letter-spacing: .01em;
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-200); flex: none;
}

/* ------------------------------------------- hero consolidation visual -- */
/* The product's whole idea, animated: many shopkeepers' lines folding into
   one total. Loops on a 9s cycle.                                          */

.fold {
  position: relative;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-glow);
}
.fold-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.fold-head b { font-size: .9375rem; letter-spacing: -.02em; }
.fold-head span { font-size: .75rem; color: rgba(255, 255, 255, .55); font-weight: 600; }

/* Rows and total occupy the same grid cell and cross-fade, so the card keeps the
   height of the taller one and is never momentarily empty. */
.fold-stage { display: grid; }
.fold-stage > * { grid-area: 1 / 1; }

.fold-rows { display: grid; gap: .55rem; align-content: start; }
.fold-row {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: .65rem .85rem;
  font-size: .875rem;
  animation: foldRow 9s var(--ease) infinite;
  transform-origin: center bottom;
}
.fold-row:nth-child(1) { animation-delay: .0s; }
.fold-row:nth-child(2) { animation-delay: .12s; }
.fold-row:nth-child(3) { animation-delay: .24s; }
.fold-row:nth-child(4) { animation-delay: .36s; }
.fold-row:nth-child(5) { animation-delay: .48s; }

.fold-row .who { font-weight: 600; color: rgba(255, 255, 255, .92); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fold-row .qty {
  font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--indigo-200); flex: none;
}
.fold-av {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-size: .6875rem; font-weight: 800; letter-spacing: -.02em;
  background: rgba(255, 255, 255, .12); color: #fff;
}

@keyframes foldRow {
  0%, 32%  { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); }
  46%, 82% { opacity: 0; transform: translateY(22px) scaleY(.55); filter: blur(3px); }
  96%, 100% { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); }
}

.fold-total {
  align-self: center;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: 16px;
  background: linear-gradient(112deg, var(--teal-600), var(--teal));
  border: 1px solid rgba(124, 228, 211, .4);
  box-shadow: 0 20px 44px -16px rgba(0, 76, 68, .9);
  opacity: 0; transform: translateY(14px) scale(.97);
  animation: foldTotal 9s var(--ease) infinite;
}
@keyframes foldTotal {
  0%, 36%  { opacity: 0; transform: translateY(14px) scale(.97); }
  50%, 84% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(14px) scale(.97); }
}

/* With animation suppressed, one static card beats a stack of overlapping ones. */
@media (prefers-reduced-motion: reduce) {
  .fold-total { opacity: 1; transform: none; }
  .fold-rows { display: none; }
}
.fold-total small {
  display: block; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-200); font-weight: 700; margin-bottom: .15rem;
}
.fold-total b { font-size: 1.0625rem; letter-spacing: -.025em; }
.fold-total .big {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; color: #fff;
}

/* --------------------------------------------------------------- card -- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--indigo-200);
}
.card-lg { padding: 2rem; border-radius: var(--radius-lg); }
.card-flat { box-shadow: none; }
.card-alt { background: var(--card-alt); }

.tile {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--indigo-50); color: var(--indigo);
  flex: none;
}
.tile svg { width: 22px; height: 22px; }
.tile-teal { background: var(--teal-50); color: var(--teal-600); }
.tile-red { background: var(--red-soft); color: var(--red); }
.tile-amber { background: var(--amber); color: var(--amber-ink); }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .01em;
  background: var(--indigo-50); color: var(--indigo);
}
.pill-teal { background: var(--teal-50); color: var(--teal-600); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-amber { background: var(--amber); color: var(--amber-ink); }
.pill-plain { background: var(--line-soft); color: var(--muted); }

/* ------------------------------------------------------------- number -- */

.stat { text-align: center; }
.stat b {
  display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800;
  letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: .5rem; font-size: .875rem; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------- split / roles -- */

.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) { .roles { grid-template-columns: minmax(0, 1fr); } }

.role {
  border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--line); background: var(--card);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.role::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-500));
}
.role-shop::before { background: linear-gradient(90deg, var(--teal), var(--teal-300)); }

.role-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem; }
.role-head .tile { margin: 0; }

.checks li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .7rem 0; border-top: 1px solid var(--line-soft);
  font-size: .9375rem; line-height: 1.5;
}
.checks li:first-child { border-top: 0; padding-top: 0; }
.checks svg { width: 19px; height: 19px; flex: none; margin-top: .18rem; color: var(--indigo); }
.role-shop .checks svg { color: var(--teal-600); }
.checks b { font-weight: 700; }
.checks span { display: block; color: var(--muted); font-size: .875rem; margin-top: .1rem; }

/* --------------------------------------------------------------- flow -- */

.band {
  background: linear-gradient(165deg, var(--indigo-950), var(--indigo-900) 55%, #101A4E);
  color: #fff;
}
.band .h2, .band .h3 { color: #fff; }
.band .lede { color: rgba(255, 255, 255, .72); }
.band .eyebrow { color: var(--indigo-200); }

.flow { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .flow { grid-template-columns: minmax(0, 1fr); } }

.step {
  position: relative; padding: 1.6rem;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .095); transform: translateY(-4px); }
.step-n {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px; margin-bottom: 1rem;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-weight: 800; font-size: .9375rem; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.0625rem; margin-bottom: .45rem; }
.step p { font-size: .9375rem; color: rgba(255, 255, 255, .7); line-height: 1.55; }
.step .who-tag {
  position: absolute; top: 1.6rem; right: 1.6rem;
  font-size: .625rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .55rem; border-radius: 999px;
}
.tag-sup { background: rgba(186, 195, 255, .18); color: var(--indigo-200); }
.tag-shop { background: rgba(124, 228, 211, .16); color: var(--teal-200); }

/* ------------------------------------------------------ status chain --- */

.chain { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.chain-node {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 999px;
  font-size: .875rem; font-weight: 700;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.chain-node .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chain-arrow { color: var(--faint); flex: none; }
.dot-placed { background: var(--indigo-500); }
.dot-transit { background: #C9820B; }
.dot-delivered { background: var(--teal-600); }
.dot-auto { background: var(--faint); }

/* ------------------------------------------------------ statement band -- */

.statement {
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(40rem 20rem at 85% 10%, rgba(253, 12, 67, .18), transparent 60%),
    linear-gradient(140deg, var(--indigo-950), var(--indigo-800));
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.statement .h2 { color: #fff; }
.statement .strike {
  position: relative; display: inline-block;
}
.statement .strike::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: 5px;
  background: var(--red); border-radius: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease) .2s;
}
.statement.seen .strike::after { transform: scaleX(1); }
.statement p { color: rgba(255, 255, 255, .75); margin-inline: auto; max-width: 52ch; }

/* ----------------------------------------------------------- phone UI -- */

.phone-wrap { display: flex; justify-content: center; perspective: 1400px; }
.phone {
  width: 320px; max-width: 100%; flex: none;
  background: var(--bezel); border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  position: relative;
}
.phone-screen {
  background: var(--page); border-radius: 32px; overflow: hidden;
  min-height: 600px; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .07);
}
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 999px; background: var(--bezel); z-index: 3;
}

.ph-head { padding: 2.4rem 1.15rem .9rem; }
.ph-greet { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.ph-biz { font-size: .8125rem; color: var(--muted); }

.ph-body { flex: 1; overflow: hidden; padding: 0 1.15rem 1rem; display: grid; gap: .7rem; align-content: start; }

.ph-hero {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.1rem; border-radius: 16px; color: #fff;
  background: linear-gradient(115deg, var(--brand), #3F51B5);
  box-shadow: 0 12px 24px -12px rgba(36, 56, 156, .8);
}
.ph-hero.teal { background: linear-gradient(115deg, var(--teal), var(--teal-600));
  box-shadow: 0 12px 24px -12px rgba(0, 76, 68, .8); }
.ph-hero .ic { width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.ph-hero .ic svg { width: 19px; height: 19px; }
.ph-hero b { display: block; font-size: .9375rem; letter-spacing: -.02em; }
.ph-hero span { display: block; font-size: .75rem; opacity: .8; line-height: 1.35; margin-top: .1rem; }

.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ph-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem; box-shadow: var(--shadow-sm);
}
.ph-tile .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  margin-bottom: .55rem; background: var(--indigo-50); color: var(--indigo); }
.ph-tile .ic svg { width: 16px; height: 16px; }
.ph-tile .ic.t { background: var(--teal-50); color: var(--teal-600); }
.ph-tile .ic.r { background: var(--red-soft); color: var(--red); }
.ph-tile .ic.s { background: #E9ECFF; color: var(--indigo-500); }
.ph-tile b { display: block; font-size: .8125rem; letter-spacing: -.015em; }
.ph-tile span { display: block; font-size: .6875rem; color: var(--muted); line-height: 1.35; margin-top: .1rem; }

.ph-sec { display: flex; align-items: center; justify-content: space-between;
  margin-top: .35rem; font-size: .875rem; font-weight: 700; letter-spacing: -.015em; }
.ph-sec a { font-size: .75rem; color: var(--indigo); font-weight: 700; }

.ph-act {
  display: flex; gap: .65rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem;
}
.ph-act .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: .42rem; flex: none; }
.ph-act b { display: block; font-size: .8125rem; letter-spacing: -.015em; }
.ph-act span { display: block; font-size: .6875rem; color: var(--muted); line-height: 1.4; }
.ph-act time { font-size: .625rem; color: var(--faint); margin-left: auto; flex: none; }

.ph-nav {
  display: flex; gap: .3rem; padding: .55rem;
  background: var(--card); border-top: 1px solid var(--line);
}
.ph-nav div {
  flex: 1; display: grid; place-items: center; gap: 2px;
  padding: .5rem .2rem; border-radius: 16px;
  font-size: .625rem; font-weight: 600; color: var(--faint);
}
.ph-nav div svg { width: 18px; height: 18px; }
.ph-nav div.on { background: var(--brand); color: #fff; font-weight: 700; }
.ph-nav.teal div.on { background: var(--teal); }

/* role switch */
.switch {
  display: inline-flex; padding: 5px; border-radius: 999px;
  background: var(--line-soft); border: 1px solid var(--line); gap: 4px;
}
.switch button {
  border: 0; background: transparent; cursor: pointer;
  padding: .55rem 1.35rem; border-radius: 999px;
  font-family: inherit; font-size: .875rem; font-weight: 700; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.switch button[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.switch button[aria-selected="true"].shop { background: var(--teal); }

/* !important because the visible pane sets display in its own style attribute,
   and an inline declaration outranks any selector here. */
.pane[hidden] { display: none !important; }

/* ------------------------------------------------------------ callout -- */

.callout {
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  background: var(--amber); border: 1px solid var(--amber-line); color: var(--amber-ink);
}
.callout b { font-weight: 800; }

.note {
  border-left: 3px solid var(--indigo); padding: .35rem 0 .35rem 1.15rem;
  color: var(--muted); font-size: .9375rem;
}

/* ---------------------------------------------------------------- faq -- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 3rem 1.35rem 0;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; position: relative;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo); }
.faq summary::after {
  content: ''; position: absolute; right: .5rem; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 1.35rem; color: var(--muted); max-width: 68ch; }

/* --------------------------------------------------------------- cta --- */

.cta-band {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  padding: clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(48rem 24rem at 15% 0%, rgba(0, 102, 91, .5), transparent 58%),
    linear-gradient(125deg, var(--indigo-800), var(--indigo) 58%, var(--indigo-700));
  color: #fff;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------- footer -- */

.foot { border-top: 1px solid var(--line); background: var(--card); }
.foot-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

.foot h4 {
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 1rem; font-weight: 800;
}
.foot-links li { margin-bottom: .6rem; }
.foot-links a { color: var(--muted); font-size: .9375rem; font-weight: 500; transition: color .2s; }
.foot-links a:hover { color: var(--indigo); }

.foot-bottom {
  border-top: 1px solid var(--line-soft); padding-block: 1.5rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center;
  font-size: .8125rem; color: var(--faint);
}
.foot-bottom .sep { margin-left: auto; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ------------------------------------------------------------- misc ----- */

.contact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-row:hover { border-color: var(--indigo); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-row .tile { margin: 0; }
.contact-row b { display: block; font-size: .9375rem; letter-spacing: -.015em; color: var(--ink); }
.contact-row span { display: block; font-size: .875rem; color: var(--muted); }
.contact-row .go { margin-left: auto; color: var(--faint); flex: none; }

.value { display: flex; gap: 1.1rem; align-items: flex-start; }
.value .n {
  font-size: .75rem; font-weight: 800; letter-spacing: .1em;
  color: var(--red); flex: none; padding-top: .3rem;
}

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: .6rem; bottom: .6rem; width: 2px;
  background: linear-gradient(var(--indigo), var(--teal-600)); border-radius: 2px;
}
.timeline li { position: relative; padding-bottom: 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -2rem; top: .5rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--indigo);
}
/* Direct children only — a bare `.timeline b` also catches the <b> used for
   emphasis inside the body copy and drops it onto a line of its own. */
.timeline > li > b { display: block; font-size: 1rem; letter-spacing: -.02em; }
.timeline > li > span { display: block; color: var(--muted); font-size: .9375rem; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* legal / prose pages */
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }

/* ====================================================== document pages ==
   Privacy policy and account deletion. Long, and read under pressure — by a
   Play reviewer checking a link, or by someone trying to close their account.
   The sticky contents and the progress bar exist so neither has to guess how
   much is left.                                                            */

/* Scroll progress. Fixed above the nav so it reads as the page's own edge. */
.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 200;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--indigo-500) 55%, var(--teal-300));
  transition: width .12s linear;
  will-change: width;
}

.doc {
  display: grid; align-items: start;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 1000px) { .doc { grid-template-columns: minmax(0, 1fr); } }

.doc-toc { position: sticky; top: 92px; }
.doc-toc-title {
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: .9rem;
}
.doc-toc ol { counter-reset: toc; display: grid; gap: 1px; }
.doc-toc a {
  display: block; position: relative;
  padding: .5rem .75rem .5rem 1rem;
  font-size: .875rem; font-weight: 600; line-height: 1.4;
  color: var(--muted); border-radius: 8px;
  border-left: 2px solid var(--line);
  transition: color .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), padding-left .22s var(--ease);
}
.doc-toc a:hover { color: var(--ink); background: var(--line-soft); }
.doc-toc a.on {
  color: var(--indigo); background: var(--indigo-50);
  border-left-color: var(--red); padding-left: 1.25rem;
}

/* On narrow screens the contents collapse — sticky would eat half the screen. */
.doc-toc-mobile { display: none; }
@media (max-width: 1000px) {
  .doc-toc { position: static; }
  .doc-toc-mobile {
    display: block; margin-bottom: 2rem;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); overflow: hidden;
  }
  .doc-toc-mobile > summary {
    cursor: pointer; list-style: none; padding: 1rem 1.25rem;
    font-weight: 700; font-size: .9375rem; position: relative;
  }
  .doc-toc-mobile > summary::-webkit-details-marker { display: none; }
  .doc-toc-mobile > summary::after {
    content: ''; position: absolute; right: 1.25rem; top: 50%; margin-top: -5px;
    width: 9px; height: 9px;
    border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
    transform: rotate(45deg); transition: transform .3s var(--ease);
  }
  .doc-toc-mobile[open] > summary::after { transform: rotate(-135deg); margin-top: -1px; }
  .doc-toc-mobile .doc-toc-body { padding: 0 1rem 1rem; }
  .doc-toc-desktop { display: none; }
}

.doc-sec { scroll-margin-top: 92px; }
.doc-sec + .doc-sec { margin-top: 3rem; }
.doc-sec > h2 {
  display: flex; align-items: center; gap: .85rem;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-bottom: 1rem;
}
.doc-n {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--indigo-50); color: var(--indigo);
  font-size: .9375rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.doc-sec h3 {
  font-size: 1.0625rem; margin: 1.75rem 0 .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.doc-sec h3::before {
  content: ''; width: 14px; height: 2px; border-radius: 2px; background: var(--red); flex: none;
}
.doc-sec p { color: var(--muted); margin-bottom: .9rem; }
.doc-sec p:last-child { margin-bottom: 0; }
.doc-sec strong, .doc-sec b { color: var(--ink); font-weight: 700; }
.doc-sec code {
  font-size: .875em; padding: .12em .4em; border-radius: 5px;
  background: var(--line-soft); color: var(--indigo);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* bulleted lists */
.doc-list { display: grid; gap: .6rem; margin: 1rem 0; }
.doc-list li {
  position: relative; padding-left: 1.6rem;
  color: var(--muted); font-size: .9375rem; line-height: 1.6;
}
.doc-list li::before {
  content: ''; position: absolute; left: .35rem; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-300);
}
/* "we do not collect" — a tick reads as reassurance where a bullet reads as a list */
.doc-list-tick li::before {
  left: 0; top: .48em; width: 15px; height: 8px; border-radius: 0;
  background: none; border-left: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600);
  transform: rotate(-45deg) scale(.8);
}
.doc-list-x li::before {
  left: .1rem; top: .55em; width: 11px; height: 11px; border-radius: 0; background: none;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg) scale(.75);
}

/* numbered steps */
.doc-steps { counter-reset: s; display: grid; gap: 1rem; margin: 1.5rem 0; }
/* Block, not flex: a flex container drops whitespace-only text nodes between
   items, which welds the run-in <strong> to the words either side of it
   ("Open**Supplier2Shop**(shown as..."). The number is positioned instead. */
.doc-steps li {
  counter-increment: s; position: relative;
  padding-left: 3.25rem; padding-top: .4rem; min-height: 2.5rem;
  color: var(--muted); font-size: .9375rem; line-height: 1.6;
}
.doc-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-weight: 800; font-size: .9375rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px -8px rgba(36, 56, 156, .8);
}

/* tables */
.doc-table-wrap {
  overflow-x: auto; margin: 1.25rem 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
}
.doc-table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .9375rem; }
.doc-table th, .doc-table td {
  text-align: left; padding: .85rem 1.1rem; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.doc-table thead th {
  background: var(--card-alt); color: var(--indigo);
  font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
}
.doc-table tbody tr { transition: background-color .18s var(--ease); }
.doc-table tbody tr:hover { background: var(--card-alt); }
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table td:first-child { color: var(--ink); font-weight: 600; }
.doc-table td:last-child { color: var(--muted); }

/* the standout card at the top of each document */
.doc-lead {
  border-radius: var(--radius-lg); padding: 1.6rem 1.75rem;
  background: var(--card-alt); border: 1px solid var(--line);
  border-left: 4px solid var(--indigo);
  margin: 2rem 0;
}
.doc-lead p { color: var(--muted); margin: 0; }
.doc-lead strong { color: var(--ink); }

.doc-warn {
  border-radius: var(--radius); padding: 1.35rem 1.6rem;
  background: var(--red-soft); border: 1px solid transparent; border-left: 4px solid var(--red);
  margin: 1.5rem 0;
}
.doc-warn strong { color: var(--red); }
.doc-warn p { color: var(--muted); margin: 0; }
@media (prefers-color-scheme: dark) {
  .doc-warn strong { color: #FF8098; }
}

/* the two ways to close an account */
.doc-option {
  border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--line); background: var(--card);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.doc-option:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--indigo-200); }
.doc-option::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-500));
}
.doc-option-alt::before { background: linear-gradient(90deg, var(--teal), var(--teal-300)); }
.doc-option-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.doc-option-head .tile { margin: 0; }

/* back to top */
.totop {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(36, 56, 156, .85);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--indigo-700); }
.totop svg { width: 20px; height: 20px; }
