/* ==========================================================================
   vxpoints.com
   Light only, by decision. One family (Schibsted Grotesk) throughout, so no
   heading ever mixes fonts; headings are always a single ink colour, never a
   gradient or a two-tone phrase. Mono appears only where figures need to line
   up in a column.
   ========================================================================== */

:root {
  --ground:      #FAFAF9;
  --surface:     #FFFFFF;
  --sunk:        #F5F4F2;
  --tint:        #F0FDFA;
  --tint-edge:   #D7F2ED;

  --ink:         #14100D;
  --body:        #57534E;
  --muted:       #857F78;
  --line:        #E7E5E4;
  --hairline:    #F1EFED;

  --accent:      #0F766E;
  --accent-deep: #115E59;
  --on-accent:   #FFFFFF;

  --credit:      #15803D;
  --debit:       #B45309;

  --sans: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1180px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(20,16,13,.05);
  --sh-md: 0 6px 24px -10px rgba(20,16,13,.16), 0 1px 3px rgba(20,16,13,.05);
  --sh-lg: 0 30px 70px -30px rgba(20,16,13,.32), 0 2px 8px rgba(20,16,13,.05);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  /* The drawer parks off-screen at translateX(100%), which otherwise adds its
     own width to the scrollable area. `clip` removes that without creating a
     scroll container — `overflow: hidden` here would break the sticky header. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: var(--on-accent); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); color: var(--on-accent); transform: translateY(-1px); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.link-quiet { color: var(--body); font-weight: 500; font-size: 15px; }
.link-quiet:hover { color: var(--ink); }

.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.arrow-link svg { transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--ground) 97%, transparent); }
.head-in { display: flex; align-items: center; gap: 22px; height: 74px; position: relative; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
}
.brand .mark { color: var(--accent); flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-item { display: flex; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--body);
  padding: 9px 13px; border-radius: 8px; background: none; border: none; cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--sunk); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-link svg { transition: transform .2s ease; opacity: .6; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.head-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* ---------- mega menu ---------- */
/* The panel hangs 10px below the trigger. Without something filling that gap
   the pointer leaves .nav-item on the way down, mouseleave fires and the menu
   shuts before you reach it — which is exactly what was happening. An
   invisible bridge across the gap keeps the pointer inside the item. */
.nav-item.has-mega::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
.mega {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(1128px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 26px; opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.mega[hidden] { display: block; }           /* animate instead of snapping */
.nav-item.is-open .mega { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-head {
  font-size: 12px; font-weight: 700; color: var(--muted);
  letter-spacing: .04em; padding: 6px 12px 10px;
}
.mega-col a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  transition: background .14s ease;
}
.mega-col a:hover { background: var(--sunk); }
.mega-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .14s ease, color .14s ease;
}
.mega-ico svg { width: 17px; height: 17px; }
.mega-col a:hover .mega-ico { background: var(--accent); color: var(--on-accent); }
.mega-txt { min-width: 0; }
.mega-col a strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.mega-col a span span, .mega-txt span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.mega-feature { background: var(--tint); border-radius: var(--r-md); }
.mega-feature a:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.mega-feature .mega-ico { background: var(--surface); }
.mega-all { color: var(--accent) !important; font-weight: 600; font-size: 14px; margin-top: 4px; display: block !important; }

/* ---------- mobile: off-canvas drawer ---------- */
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 16px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.drawer-scrim {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(20,16,13,.42);
  opacity: 0; transition: opacity .28s ease;
}
.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(340px, 86vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -30px rgba(20,16,13,.4);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.drawer.is-open { transform: none; }
/* Explicit, because an author `display` on .drawer / .drawer-scrim outranks the
   user-agent's `[hidden] { display: none }` — without this the closed drawer
   stays in the layout 340px off the right edge. */
.drawer[hidden], .drawer-scrim[hidden] { display: none; }

/* The mark, oversized and knocked back behind the links. */
.drawer-watermark {
  position: absolute; right: -54px; bottom: 78px;
  width: 250px; height: 250px; color: var(--accent);
  opacity: .085; pointer-events: none;
}

.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--hairline); position: relative; }
.drawer-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer-close:hover { color: var(--ink); border-color: var(--accent); }

.drawer-links { display: flex; flex-direction: column; padding: 12px 14px; gap: 2px; position: relative; flex: 1; }
.drawer-links a {
  padding: 14px 12px; border-radius: var(--r-sm);
  color: var(--ink); font-size: 16.5px; font-weight: 600;
  transition: background .14s ease, color .14s ease;
}
.drawer-links a:hover { background: var(--sunk); color: var(--accent); }

.drawer-foot { padding: 18px 22px 26px; border-top: 1px solid var(--hairline); position: relative; }

/* ---------- section rhythm ---------- */
.band { padding: 108px 0; }
.band-tight { padding: 78px 0; }
.band-tint { background: var(--tint); }
.band-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.centered { text-align: center; max-width: 760px; margin: 0 auto; }
.centered .lede { margin-left: auto; margin-right: auto; }

h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.038em; }
h2 { font-size: clamp(30px, 3.9vw, 46px); letter-spacing: -0.034em; }
h3 { font-size: 20px; letter-spacing: -0.02em; }

.lede { font-size: 19px; color: var(--body); max-width: 62ch; margin-top: 20px; }
.section-lede { margin-top: 18px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 460px at 18% -8%, var(--tint) 0%, transparent 62%),
    linear-gradient(180deg, #F4FBF9 0%, var(--ground) 78%);
  padding: 84px 0 0;
  border-bottom: 1px solid var(--hairline);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
.hero .lede { font-size: 20px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta div { }
.hero-meta strong { display: block; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.hero-meta span { font-size: 13.5px; color: var(--muted); }
.hero-shot { padding-bottom: 84px; }

/* ---------- ledger card (the product's own face) ---------- */
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.ledger-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--hairline); background: var(--sunk); }
.ledger-top b { font-size: 13.5px; color: var(--ink); font-weight: 700; }
.ledger-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ledger-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--credit); animation: blip 2.4s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.ledger-bal { padding: 20px; border-bottom: 1px solid var(--hairline); }
.ledger-bal small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ledger-bal b { display: block; font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 7px; line-height: 1; }
.ledger-bal b em { font-family: var(--sans); font-style: normal; font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 9px; letter-spacing: 0; }
.ledger-list { list-style: none; margin: 0; padding: 0; }
.ledger-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--hairline); }
.ledger-list li:last-child { border-bottom: none; }
.ledger-what { font-size: 14px; font-weight: 600; color: var(--ink); }
.ledger-who { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.ledger-amt { font-family: var(--mono); font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-amt.up { color: var(--credit); }
.ledger-amt.down { color: var(--debit); }
.ledger-foot { padding: 11px 20px; background: var(--sunk); border-top: 1px solid var(--hairline); font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.row-in { animation: rowIn .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 24px; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--tint-edge); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 15.5px; line-height: 1.55; }
.card-ico {
  width: 38px; height: 38px; border-radius: 10px; background: var(--tint);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* alternating feature rows */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.split + .split { margin-top: 104px; }
.split.flip .split-text { order: 2; }
.split h2 { font-size: clamp(26px, 3vw, 34px); }
.split .lede { font-size: 17.5px; margin-top: 15px; }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 27px; font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* panel used as the "media" side of a split */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden;
}
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--hairline); background: var(--sunk); font-size: 13px; font-weight: 700; color: var(--ink); }
.panel-body { padding: 18px; display: grid; gap: 10px; }

.rowitem { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-sm); }
.rowitem b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.rowitem small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.rowitem .cost { font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--tint); color: var(--accent-deep); white-space: nowrap; }

/* ---------- pricing ---------- */
.switch { display: inline-flex; background: var(--sunk); border: 1px solid var(--line); border-radius: 99px; padding: 4px; gap: 3px; margin-top: 28px; }
.switch button { font-family: inherit; font-size: 14.5px; font-weight: 600; padding: 10px 24px; border-radius: 99px; border: none; background: none; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }
.save-note { font-size: 13.5px; color: var(--accent-deep); margin-top: 12px; font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; position: relative; }
.plan.pick { border-color: var(--accent); box-shadow: var(--sh-md); }
.plan-flag { position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.plan-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.plan-sites { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.plan-cost { display: flex; align-items: baseline; gap: 11px; margin: 22px 0 3px; }
.plan-now { font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-was { font-family: var(--mono); font-size: 17px; color: var(--muted); text-decoration: line-through; }
.plan-cycle { font-size: 13.5px; color: var(--muted); }
.plan .btn { margin-top: 24px; }
.plan-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.plan-list li { font-size: 14.5px; color: var(--body); padding-left: 26px; position: relative; }
.plan-list li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* comparison table */
.tablewrap { overflow-x: auto; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 15px; }
table.compare thead th { background: var(--sunk); color: var(--ink); font-weight: 700; font-size: 13.5px; }
table.compare tbody th { font-weight: 500; color: var(--body); }
table.compare td { text-align: center; font-variant-numeric: tabular-nums; }
table.compare td.yes { color: var(--credit); font-weight: 700; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 17.5px; font-weight: 600; color: var(--ink); padding: 22px 36px 22px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 24px; font-size: 16.5px; max-width: 68ch; }

/* ---------- closing cta ---------- */
.endcap { background: var(--accent); color: var(--on-accent); border-radius: var(--r-lg); padding: 66px 56px; text-align: center; }
.endcap h2 { color: var(--on-accent); }
.endcap p { color: color-mix(in srgb, var(--on-accent) 84%, transparent); font-size: 18.5px; margin: 18px auto 0; max-width: 52ch; }
.endcap .hero-actions { justify-content: center; }
.endcap .btn-outline { background: transparent; color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 40%, transparent); }
.endcap .btn-outline:hover { background: color-mix(in srgb, var(--on-accent) 12%, transparent); color: var(--on-accent); border-color: var(--on-accent); }
.endcap .btn-primary { background: var(--on-accent); color: var(--accent-deep); }
.endcap .btn-primary:hover { background: var(--on-accent); color: var(--accent-deep); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding: 62px 0 0; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,2fr); gap: 56px; padding-bottom: 48px; }
.foot-brand p { font-size: 14.5px; color: var(--muted); margin-top: 14px; max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-head { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.foot-cols a { font-size: 14.5px; color: var(--body); }
.foot-cols a:hover { color: var(--accent); }
.foot-legal { border-top: 1px solid var(--hairline); padding-top: 22px; padding-bottom: 30px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Scroll behaviour — the part borrowed from the Fluent sites.
   .reveal  : rises and fades in
   .grow    : scales up from slightly small, for panels and screenshots
   Stagger comes from --i set on the element.
   ========================================================================== */
.reveal, .grow { opacity: 0; will-change: transform, opacity; }
.reveal { transform: translateY(22px); transition: opacity .62s cubic-bezier(.22,1,.36,1), transform .62s cubic-bezier(.22,1,.36,1); }
.grow   { transform: scale(.945); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in, .grow.in { opacity: 1; transform: none; }
.reveal, .grow { transition-delay: calc(var(--i, 0) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .grow { opacity: 1 !important; transform: none !important; transition: none !important; }
  .drawer, .drawer-scrim { transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .mega-in { grid-template-columns: repeat(2, 1fr); }
  .mega { width: min(680px, calc(100vw - 40px)); }
}
@media (max-width: 900px) {
  .nav, .head-cta .link-quiet, .head-cta .btn { display: none; }
  .burger { display: flex; }
  .hero-grid, .split, .foot-in { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-text { order: 0; }
  .split + .split { margin-top: 64px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .band { padding: 72px 0; }
  .hero { padding-top: 52px; }
  .hero-shot { padding-bottom: 56px; }
  .endcap { padding: 46px 28px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 26px; }
  .mega-in { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product recreations
   Semi-faithful rebuilds of the plugin's own admin screens and front-end
   widgets, using the same tokens the real thing uses (teal toggles, stone
   inputs, the 34x20 switch, the uppercase column heads). Showing the actual
   interface beats another list of label/value rows.
   ========================================================================== */

/* --- shared frame --- */
.ui {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden;
  font-size: 14px; line-height: 1.45;
}
.ui-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--sunk); border-bottom: 1px solid var(--line);
}
.ui-dots { display: flex; gap: 5px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.ui-crumb { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.ui-chipright { margin-left: auto; }

.ui-tabs { display: flex; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.ui-tab { font-size: 13px; font-weight: 600; color: var(--muted); padding: 13px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.ui-tab.on { color: var(--ink); border-bottom-color: var(--accent); }

.ui-secthead {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 15px 18px 7px;
}
.ui-colhead { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.ui-row { display: grid; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--hairline); }
.ui-row:last-child { border-bottom: none; }
.ui-rule { grid-template-columns: minmax(0,1fr) 42px 62px 62px; }
.ui-name { font-weight: 600; color: var(--ink); font-size: 13.5px; }
.ui-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 1px; }

/* the plugin's own switch */
.tog { display: inline-flex; width: 34px; height: 20px; border-radius: 999px; padding: 2px; box-sizing: border-box; flex-shrink: 0; }
.tog.on { background: var(--accent); justify-content: flex-end; }
.tog.off { background: #D6D3D1; justify-content: flex-start; }
.tog i { width: 16px; height: 16px; border-radius: 50%; background: #fff; display: block; }

.numfield {
  display: inline-flex; justify-content: flex-end; width: 100%;
  padding: 5px 8px; background: var(--surface); border: 1px solid #D6D3D1;
  border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chip { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip-ok { background: #ECFDF3; color: var(--credit); }
.chip-warn { background: #FEF6E7; color: var(--debit); }
.chip-mute { background: var(--sunk); color: var(--muted); }
.chip-accent { background: var(--tint); color: var(--accent-deep); }

/* --- ledger / activity table --- */
.ui-led { grid-template-columns: minmax(0,1fr) 88px 66px; }
.ui-when { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ui-amt { font-family: var(--mono); font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ui-amt.up { color: var(--credit); }
.ui-amt.down { color: var(--debit); }
.ui-amt.nil { color: var(--muted); }

/* --- front-end widget frame: shown as it sits on a Voxel page --- */
.wdg {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden;
}
.wdg-tag {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; background: var(--sunk); border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.wdg-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wdg-body { padding: 20px 18px; }

/* leaderboard widget */
.lb { display: grid; gap: 4px; }
.lb-row { display: grid; grid-template-columns: 22px 30px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); }
.lb-row.me { background: var(--tint); }
.lb-rank { font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.lb-row.me .lb-rank { color: var(--accent-deep); }
.lb-av { width: 30px; height: 30px; border-radius: 50%; background: var(--sunk); display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; color: var(--accent-deep); }
.lb-who { font-size: 13.5px; font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-who small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.lb-pts { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* level widget */
.lvl-top { display: flex; align-items: center; gap: 12px; }
.lvl-mark { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.lvl-mark svg { width: 20px; height: 20px; }
.lvl-name { display: block; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.lvl-meta { display: block; font-size: 12.5px; color: var(--muted); }
.lvl-track { display: block; height: 8px; border-radius: 999px; background: var(--sunk); margin: 16px 0 8px; overflow: hidden; }
.lvl-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.lvl-next { display: block; font-size: 12.5px; color: var(--muted); }

.bdgs { display: flex; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.bdg { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 56px; text-align: center; }
.bdg-mark { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.bdg-mark svg { width: 17px; height: 17px; }
.bdg.locked { opacity: .32; filter: grayscale(1); }
.bdg span { font-size: 10.5px; font-weight: 600; color: var(--body); line-height: 1.25; }

/* rewards store widget */
.store { display: grid; gap: 12px; }
.store-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 15px; display: grid; gap: 11px; }
.store-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.store-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.store-name small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.store-cost { font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.store-btn { display: block; font-size: 12.5px; font-weight: 600; padding: 8px 0; border-radius: 8px; text-align: center; background: var(--accent); color: #fff; }
.store-btn.off { background: var(--sunk); color: var(--muted); }

/* balance widget */
.bal-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bal-value { display: block; font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 8px; }
.bal-value em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.bal-next { display: block; margin-top: 12px; font-size: 13.5px; color: var(--accent-deep); font-weight: 600; }

@media (max-width: 520px) {
  .ui-rule { grid-template-columns: minmax(0,1fr) 40px 54px; }
  .ui-rule > :last-child { display: none; }
  .bdgs { flex-wrap: wrap; }
}

/* --- points history widget --- */
.hist { display: grid; }
.hist-row { display: grid; grid-template-columns: minmax(0,1fr) 58px 66px; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.hist-row:last-child { border-bottom: none; }
.hist-what { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hist-what small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.hist-when { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hist-amt { font-family: var(--mono); font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.hist-amt.up { color: var(--credit); }
.hist-amt.down { color: var(--debit); }
.hist-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hist-foot span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hist-foot b { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* --- Voxel timeline, with the level mark beside the name --- */
.tl { display: grid; gap: 2px; }
.tl-post { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--hairline); }
.tl-post:last-child { border-bottom: none; }
.tl-av { width: 38px; height: 38px; border-radius: 50%; background: var(--sunk); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--accent-deep); }
.tl-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--ink); }
/* the pip: a filled disc in the level colour with the mark knocked out */
.tl-pip { width: 17px; height: 17px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-pip svg { width: 9px; height: 9px; color: #fff; }
.tl-lvl { font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
.tl-when { font-size: 12px; color: var(--muted); font-weight: 400; }
.tl-body { display: block; font-size: 13.5px; color: var(--body); margin-top: 4px; }
.tl-meta { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }

@media (max-width: 520px) {
  .hist-row { grid-template-columns: minmax(0,1fr) 60px; }
  .hist-row > .hist-when { display: none; }
}
