/*
 * Liftly — site styles. One file, no build step.
 * Colour = function: amethyst = discount, emerald = saved / success, coral = time, sapphire = information.
 * Text and primary buttons are graphite, never pure black.
 *
 * Two products share every component. The accent is a set of custom properties (--accent…): amethyst by
 * default (Quantity Breaks and the common pages), emerald under .product--goals, the class Cart Goals pages
 * carry on <body>. The same class on a section tints just that section (pricing, changelog).
 */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */

:root {
  color-scheme: light dark;

  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ink: #25282d;
  --ink-2: #5b616b;
  --ink-3: #8a9099;

  --page: #f6f6fa;
  --page-grad: linear-gradient(180deg, #f8f7fc 0%, #f4f5fa 100%);
  --header: rgba(247, 247, 251, 0.82);
  --card-a: #ffffff;
  --card-b: #ffffff;
  --sunken: rgba(37, 40, 45, 0.04);
  --line: rgba(37, 40, 45, 0.1);
  --line-strong: rgba(37, 40, 45, 0.18);

  --amethyst: #8b5cf6;
  --emerald: #1fa971;
  --coral: #f2734b;
  --sapphire: #3b6ef5;

  /* Deeper companions for text on light surfaces (WCAG AA). */
  --amethyst-ink: #6a3fd9;
  --emerald-ink: #12774f;
  --coral-ink: #b3421e;
  --sapphire-ink: #2a55cf;

  --amethyst-soft: rgba(139, 92, 246, 0.1);
  --emerald-soft: rgba(31, 169, 113, 0.12);
  --coral-soft: rgba(242, 115, 75, 0.13);
  --sapphire-soft: rgba(59, 110, 245, 0.1);

  --stroke: linear-gradient(135deg, rgba(139, 92, 246, 0.42), rgba(59, 110, 245, 0.2) 38%, rgba(37, 40, 45, 0.07) 62%, rgba(31, 169, 113, 0.26));
  --spectrum: linear-gradient(115deg, #8b5cf6, #3b6ef5 34%, #1fa971 66%, #f2734b);

  --shadow-1: 0 1px 2px rgba(37, 40, 45, 0.05), 0 6px 16px -8px rgba(37, 40, 45, 0.12);
  --shadow-2: 0 1px 2px rgba(37, 40, 45, 0.05), 0 12px 28px -12px rgba(37, 40, 45, 0.14), 0 32px 64px -32px rgba(96, 72, 190, 0.22);
  --glow: 0 0 0 rgba(0, 0, 0, 0);

  --btn-bg: linear-gradient(180deg, #41454e 0%, #25282d 58%, #1f2226 100%);
  --btn-ink: #ffffff;
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(37, 40, 45, 0.25), 0 12px 24px -12px rgba(37, 40, 45, 0.55);

  --focus: #6a3fd9;
  --blob-opacity: 0.6;

  /* The product accent. */
  --accent: var(--amethyst);
  --accent-ink: var(--amethyst-ink);
  --accent-soft: var(--amethyst-soft);
  --accent-rgb: 139, 92, 246;
  --blob-1: #d7c8ff;
  --blob-2: #cfe0ff;
  --blob-3: #ffe1ec;
  --blob-4: #cdf3e2;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --r-xl: 28px;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(48px, 8vw, 96px);

  /* The demo widget (a copy of the storefront block). */
  --lqb-accent: #8b5cf6;
  --lqb-accent-strong: #7850d4;
  --lqb-accent-soft: rgba(139, 92, 246, 0.07);
  --lqb-accent-pill: rgba(139, 92, 246, 0.14);
  --lqb-pill-ink: #5f44a9;
  --lqb-on-accent: #ffffff;
  --lqb-text: #25282d;
  --lqb-muted: rgba(37, 40, 45, 0.68);
  --lqb-ring: rgba(37, 40, 45, 0.5);
  --lqb-line: rgba(37, 40, 45, 0.16);
  --lqb-card: #ffffff;
  --shop-bg: #ffffff;
  --shop-art: linear-gradient(160deg, #f3f1ec 0%, #e9e6df 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f3f8;
    --ink-2: #aab2c3;
    --ink-3: #838b9d;

    --page: #05070c;
    --page-grad: linear-gradient(180deg, #0c1324 0%, #05070c 100%);
    --header: rgba(10, 15, 28, 0.78);
    --card-a: #171d2c;
    --card-b: #0e121c;
    --sunken: rgba(255, 255, 255, 0.05);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);

    --amethyst-ink: #bca6ff;
    --emerald-ink: #5fdcaa;
    --coral-ink: #ffa184;
    --sapphire-ink: #93b2ff;

    --amethyst-soft: rgba(139, 92, 246, 0.2);
    --emerald-soft: rgba(31, 169, 113, 0.2);
    --coral-soft: rgba(242, 115, 75, 0.2);
    --sapphire-soft: rgba(59, 110, 245, 0.22);

    --stroke: linear-gradient(135deg, rgba(167, 139, 250, 0.6), rgba(59, 110, 245, 0.28) 38%, rgba(255, 255, 255, 0.08) 62%, rgba(31, 169, 113, 0.3));

    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 20px -10px rgba(0, 0, 0, 0.6);
    --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 36px -16px rgba(0, 0, 0, 0.7), 0 0 60px -24px rgba(139, 92, 246, 0.45);

    --btn-bg: linear-gradient(180deg, #ffffff 0%, #eceef6 60%, #dfe2ee 100%);
    --btn-ink: #25282d;
    --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 32px -8px rgba(139, 92, 246, 0.55);

    --focus: #bca6ff;
    --blob-opacity: 0.34;
    --blob-1: #6d4be0;
    --blob-2: #2447b8;
    --blob-3: #5a2f8f;
    --blob-4: #0f6b52;

    --lqb-accent: #a78bfa;
    --lqb-accent-strong: #a78bfa;
    --lqb-accent-soft: rgba(167, 139, 250, 0.1);
    --lqb-accent-pill: rgba(167, 139, 250, 0.18);
    --lqb-pill-ink: #c9b8ff;
    --lqb-on-accent: #25282d;
    --lqb-text: #f1f3f8;
    --lqb-muted: rgba(241, 243, 248, 0.7);
    --lqb-ring: rgba(241, 243, 248, 0.5);
    --lqb-line: rgba(241, 243, 248, 0.16);
    --lqb-card: #1b2132;
    --shop-bg: #121726;
    --shop-art: linear-gradient(160deg, #1e2436 0%, #161b2a 100%);
  }
}

/* ---------- product accent: Cart Goals is emerald ---------- */

.product--goals {
  --accent: var(--emerald);
  --accent-ink: var(--emerald-ink);
  --accent-soft: var(--emerald-soft);
  --accent-rgb: 31, 169, 113;
  --focus: #12774f;

  --stroke: linear-gradient(135deg, rgba(31, 169, 113, 0.46), rgba(59, 110, 245, 0.18) 38%, rgba(37, 40, 45, 0.07) 62%, rgba(139, 92, 246, 0.2));
  --spectrum: linear-gradient(115deg, #1fa971, #3b6ef5 38%, #8b5cf6 68%, #f2734b);
  --shadow-2: 0 1px 2px rgba(37, 40, 45, 0.05), 0 12px 28px -12px rgba(37, 40, 45, 0.14), 0 32px 64px -32px rgba(18, 119, 79, 0.24);

  --blob-1: #c4f0dc;
  --blob-2: #d3ecff;
  --blob-3: #e6f7d9;
  --blob-4: #cdf3e2;

  --lqb-accent-strong: #18805a;
  --lqb-accent-soft: rgba(31, 169, 113, 0.09);
  --lqb-on-accent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .product--goals {
    --focus: #5fdcaa;

    --stroke: linear-gradient(135deg, rgba(95, 220, 170, 0.5), rgba(59, 110, 245, 0.26) 38%, rgba(255, 255, 255, 0.08) 62%, rgba(139, 92, 246, 0.3));
    --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 36px -16px rgba(0, 0, 0, 0.7), 0 0 60px -24px rgba(31, 169, 113, 0.42);
    --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 32px -8px rgba(31, 169, 113, 0.5);

    --blob-1: #0f7a5a;
    --blob-2: #1d4f9c;
    --blob-3: #14614a;
    --blob-4: #0f6b52;

    --lqb-accent-strong: #5fdcaa;
    --lqb-accent-soft: rgba(95, 220, 170, 0.1);
    --lqb-on-accent: #0c1324;
  }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.2rem + 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.625rem, 1.15rem + 2.2vw, 2.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--sunken);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

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

::selection {
  background: rgba(var(--accent-rgb), 0.28);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--card-a);
  color: var(--ink);
  font: 700 0.9375rem/1.2 var(--font-ui);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip:focus {
  top: 12px;
}

/* ---------- pearly background ---------- */

.aura {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--page-grad);
}

.aura i {
  position: absolute;
  border-radius: 50%;
  opacity: var(--blob-opacity);
  filter: blur(64px);
  will-change: transform;
}

.aura i:nth-child(1) {
  width: 52vmax;
  height: 52vmax;
  left: -16vmax;
  top: -22vmax;
  background: radial-gradient(circle at 40% 40%, var(--blob-1) 0%, transparent 68%);
  animation: drift-a 36s ease-in-out infinite alternate;
}

.aura i:nth-child(2) {
  width: 44vmax;
  height: 44vmax;
  right: -14vmax;
  top: -8vmax;
  background: radial-gradient(circle at 50% 50%, var(--blob-2) 0%, transparent 68%);
  animation: drift-b 40s ease-in-out infinite alternate;
}

.aura i:nth-child(3) {
  width: 38vmax;
  height: 38vmax;
  left: 22vw;
  top: 46vh;
  background: radial-gradient(circle at 50% 50%, var(--blob-3) 0%, transparent 68%);
  animation: drift-c 34s ease-in-out infinite alternate;
}

.aura i:nth-child(4) {
  width: 40vmax;
  height: 40vmax;
  right: -10vmax;
  bottom: -18vmax;
  background: radial-gradient(circle at 50% 50%, var(--blob-4) 0%, transparent 68%);
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}

@media (prefers-color-scheme: dark) {
  .aura i:nth-child(3) {
    opacity: 0.22;
  }

  .aura i:nth-child(4) {
    opacity: 0.2;
  }
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(6vmax, 4vmax, 0) scale(1.12);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.08);
  }

  to {
    transform: translate3d(-7vmax, 5vmax, 0) scale(0.96);
  }
}

@keyframes drift-c {
  from {
    transform: translate3d(0, 0, 0) scale(0.95);
  }

  to {
    transform: translate3d(5vmax, -6vmax, 0) scale(1.1);
  }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
}

.site-header__in {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  color: var(--ink);
  font: 800 1.3125rem/1 var(--font-ui);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand svg {
  flex: none;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.3));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0px, 1.2vw, 10px);
}

.nav__link {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font: 600 0.9375rem/1 var(--font-ui);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--sunken);
}

.nav .btn {
  margin-left: clamp(2px, 1vw, 8px);
}

.btn__short {
  display: none;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: 700 1rem/1.1 var(--font-ui);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn--s {
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
}

.btn--l {
  padding: 18px 28px;
  border-radius: 16px;
  font-size: 1.0625rem;
}

.btn--primary {
  overflow: hidden;
  color: var(--btn-ink);
  background: var(--btn-bg) padding-box, var(--spectrum) border-box;
  box-shadow: var(--btn-shadow);
}

/* The soft highlight that passes over the button on hover. */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0) 66%);
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--ink);
  background: linear-gradient(var(--card-a), var(--card-b)) padding-box, var(--stroke) border-box;
  box-shadow: var(--shadow-1);
}

.btn--ghost:hover {
  transform: translateY(-1px);
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

/* ---------- cards, pills, icons ---------- */

.card {
  border: 1px solid transparent;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--card-a), var(--card-b)) padding-box, var(--stroke) border-box;
  box-shadow: var(--shadow-1);
}

.card--raised {
  box-shadow: var(--shadow-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font: 700 0.8125rem/1.3 var(--font-ui);
  white-space: nowrap;
}

.pill--emerald {
  background: var(--emerald-soft);
  color: var(--emerald-ink);
}

.pill--coral {
  background: var(--coral-soft);
  color: var(--coral-ink);
}

.pill--sapphire {
  background: var(--sapphire-soft);
  color: var(--sapphire-ink);
}

.pill svg {
  width: 14px;
  height: 14px;
}

.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.icon--emerald {
  background: var(--emerald-soft);
  color: var(--emerald-ink);
}

.icon--coral {
  background: var(--coral-soft);
  color: var(--coral-ink);
}

.icon--sapphire {
  background: var(--sapphire-soft);
  color: var(--sapphire-ink);
}

/* ---------- sections ---------- */

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section__head {
  display: grid;
  gap: 14px;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 5vw, 56px);
  text-align: center;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
}

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

.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px);
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.hero__copy .lead {
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font: 600 0.9375rem/1.4 var(--font-ui);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__facts svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-ink);
}

/* Three rising tiles: the more you buy, the more you save. */
.lift {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.4vw, 16px);
  height: clamp(280px, 30vw, 400px);
  padding: 0 clamp(0px, 1vw, 12px);
}

.lift::before {
  content: "";
  position: absolute;
  inset: 12% 6% -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0));
  filter: blur(20px);
}

.lift__tile {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: clamp(14px, 2vw, 22px) 8px clamp(14px, 1.8vw, 20px);
  border: 1px solid transparent;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--card-a), var(--card-b)) padding-box, var(--stroke) border-box;
  box-shadow: var(--shadow-2);
  text-align: center;
  animation: breathe 8s ease-in-out infinite;
}

.lift__tile--1 {
  height: 52%;
}

.lift__tile--2 {
  height: 74%;
  animation-delay: -2.6s;
}

.lift__tile--3 {
  height: 96%;
  animation-delay: -5.2s;
}

.lift__label {
  display: grid;
  gap: 2px;
  color: var(--ink-2);
  font: 700 0.9375rem/1.2 var(--font-ui);
}

.lift__num {
  color: var(--ink);
  font: 800 clamp(2.5rem, 1.6rem + 3vw, 4.25rem) / 1 var(--font-ui);
  letter-spacing: -0.05em;
}

.lift__bars {
  display: grid;
  gap: 5px;
  width: min(64%, 92px);
  margin-block: auto;
}

.lift__bars i {
  display: block;
  height: 9px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.85), rgba(167, 139, 250, 0.55));
}

.lift__bars i:nth-child(n + 2) {
  opacity: 0.7;
}

.lift__bars i:nth-child(n + 3) {
  opacity: 0.5;
}

.lift__bars i:nth-child(n + 4) {
  opacity: 0.36;
}

.lift__chip {
  position: absolute;
  left: clamp(-8px, -1vw, 0px);
  top: 4%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b)) padding-box, linear-gradient(135deg, rgba(31, 169, 113, 0.55), rgba(31, 169, 113, 0.12)) border-box;
  box-shadow: var(--shadow-2);
  color: var(--emerald-ink);
  font: 700 0.9375rem/1.2 var(--font-ui);
  white-space: nowrap;
  animation: breathe 9s ease-in-out -4s infinite;
}

.lift__chip svg {
  width: 18px;
  height: 18px;
}

@keyframes breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

/* ---------- live demo: the mock store ---------- */

.shop {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  background: linear-gradient(var(--shop-bg), var(--shop-bg)) padding-box, var(--stroke) border-box;
  box-shadow: var(--shadow-2);
  color: var(--lqb-text);
  font-family: var(--font-ui);
}

.shop__bar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--lqb-line);
}

.shop__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop__menu {
  display: flex;
  gap: 18px;
  margin: 0 auto 0 0;
  padding: 0;
  list-style: none;
  color: var(--lqb-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.shop__cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
}

.shop__cart svg {
  width: 22px;
  height: 22px;
}

.shop__count {
  position: absolute;
  top: 0;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--lqb-accent-strong);
  color: var(--lqb-on-accent);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.shop__count.is-on {
  transform: scale(1);
}

.shop__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3.4vw, 40px);
  padding: clamp(16px, 3vw, 28px);
}

.shop__art {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: var(--r-l);
  background: var(--shop-art);
}

.shop__art svg {
  width: min(62%, 250px);
  height: auto;
  filter: drop-shadow(0 22px 24px rgba(37, 40, 45, 0.22));
  animation: breathe 9s ease-in-out infinite;
}

.shop__info {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.shop__vendor {
  color: var(--lqb-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.shop__title {
  margin-top: -8px;
  color: var(--lqb-text);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.shop__amount {
  font-size: 1.25rem;
  font-weight: 600;
}

.shop__label {
  display: block;
  margin-bottom: 6px;
  color: var(--lqb-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--lqb-line);
  border-radius: 999px;
  background: var(--lqb-card);
}

.qty__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--lqb-text);
  font: 500 1.25rem/1 var(--font-ui);
  cursor: pointer;
}

.qty__btn:hover {
  background: var(--lqb-accent-soft);
}

.qty__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.qty__input {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--lqb-text);
  font: 600 1rem/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.shop__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: #25282d;
  color: #fff;
  font: 700 1rem/1.2 var(--font-ui);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.shop__add:hover {
  transform: translateY(-1px);
}

.shop__add svg {
  display: none;
  width: 18px;
  height: 18px;
}

.shop__add.is-done {
  background: #12774f;
}

.shop__add.is-done svg {
  display: block;
}

@media (prefers-color-scheme: dark) {
  .shop__add {
    background: #f1f3f8;
    color: #25282d;
  }

  .shop__add.is-done {
    background: #5fdcaa;
    color: #0c1324;
  }
}

.demo-tag {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

/* ---------- the widget itself: a copy of the storefront block's stacked layout ---------- */

.liftly-qb {
  display: block;
  inline-size: 100%;
  font-size: 15px;
  line-height: 1.35;
  text-align: start;
}

.liftly-qb__heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.liftly-qb__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.liftly-qb__row {
  position: relative;
  min-inline-size: 0;
}

.liftly-qb__radio {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 16px;
  inline-size: 20px;
  block-size: 20px;
  margin: -10px 0 0;
  opacity: 0;
  pointer-events: none;
}

.liftly-qb__card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-block-size: 60px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--lqb-line);
  border-radius: 12px;
  background: var(--lqb-card);
  color: var(--lqb-text);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.liftly-qb__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--lqb-accent-soft);
  opacity: 0;
  transition: opacity 0.16s ease;
}

@media (hover: hover) {
  .liftly-qb__radio:not(:checked) + .liftly-qb__card:hover {
    border-color: var(--lqb-ring);
  }
}

.liftly-qb__radio:checked + .liftly-qb__card {
  border-color: var(--lqb-accent);
  box-shadow: 0 0 0 1px var(--lqb-accent);
}

.liftly-qb__radio:checked + .liftly-qb__card::before {
  opacity: 1;
}

.liftly-qb__radio:focus-visible + .liftly-qb__card {
  outline: 2px solid var(--lqb-accent);
  outline-offset: 3px;
}

.liftly-qb__check {
  position: relative;
  flex: none;
  inline-size: 20px;
  block-size: 20px;
  border: 1.5px solid var(--lqb-ring);
  border-radius: 50%;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.liftly-qb__check::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 5.5px;
  width: 6px;
  height: 10px;
  border: solid var(--lqb-on-accent);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.liftly-qb__radio:checked + .liftly-qb__card .liftly-qb__check {
  border-color: var(--lqb-accent-strong);
  background: var(--lqb-accent-strong);
}

.liftly-qb__radio:checked + .liftly-qb__card .liftly-qb__check::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.liftly-qb__main {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-inline-size: 0;
}

.liftly-qb__title {
  min-inline-size: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.liftly-qb__save {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lqb-accent-pill);
  color: var(--lqb-pill-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.liftly-qb__ribbon {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 14px;
  max-inline-size: calc(100% - 28px);
  padding: 2px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--lqb-accent-strong);
  color: var(--lqb-on-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
}

.liftly-qb__nums {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  max-inline-size: 55%;
  text-align: end;
}

.liftly-qb__unit {
  font-weight: 600;
  white-space: nowrap;
}

.liftly-qb__each {
  color: var(--lqb-muted);
  font-size: 13px;
  font-weight: 400;
}

.liftly-qb__was {
  color: var(--lqb-muted);
  font-size: 13px;
  text-decoration: line-through;
  white-space: nowrap;
}

.liftly-qb__summary {
  display: flex;
  flex-wrap: wrap;
  margin: 12px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.liftly-qb__summary strong {
  font-weight: 600;
}

.liftly-qb__extra {
  font-weight: 600;
}

.liftly-qb__extra::before {
  content: "\00b7";
  margin-inline: 7px;
  font-weight: 400;
  opacity: 0.6;
}

/* ---------- benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
}

.benefit .icon {
  margin-bottom: 6px;
}

.benefit p {
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.55;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 13px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 800 1.0625rem/1 var(--font-ui);
  box-shadow: var(--shadow-1);
}

.step p {
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.55;
}

/* ---------- layouts gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
}

.shot {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
}

.shot__media {
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  padding: clamp(12px, 1.6vw, 20px);
  background: #fff;
}

.shot__media--dark {
  background: #101215;
}

.shot__media img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.shot figcaption {
  display: grid;
  gap: 4px;
  padding: 16px clamp(16px, 2vw, 22px) 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.shot figcaption strong {
  color: var(--ink);
  font: 700 1.0625rem/1.3 var(--font-ui);
}

/* CSS-drawn stand-ins, used only when there is no screenshot. */
.sketch {
  display: grid;
  gap: 8px;
  width: 100%;
}

.sketch i {
  display: block;
  height: 34px;
  border: 1px solid rgba(37, 40, 45, 0.16);
  border-radius: 10px;
}

.sketch i.is-on {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 0 1px #8b5cf6;
}

/* ---------- feature trio ---------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
}

.feature p {
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.55;
}

.feature__art {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 8px;
  min-height: 112px;
  margin-bottom: 8px;
  padding: 16px;
  border-radius: var(--r-m);
  background: var(--sunken);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card-a);
  color: var(--ink);
  font: 600 0.8438rem/1.3 var(--font-ui);
  white-space: nowrap;
}

.chip--on {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.chip svg {
  width: 14px;
  height: 14px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--ink-2);
  font: 600 0.8125rem/1.3 var(--font-ui);
}

.timeline__track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  overflow: hidden;
}

.timeline__track::after {
  content: "";
  position: absolute;
  inset: 0 22% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2734b, #f79a79);
  animation: fill 7s ease-in-out infinite alternate;
  transform-origin: left center;
}

@keyframes fill {
  from {
    transform: scaleX(0.35);
  }

  to {
    transform: scaleX(1);
  }
}

.timeline b {
  display: block;
  color: var(--coral-ink);
  font-weight: 700;
}

.sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  color: var(--ink-2);
  font: 700 0.9375rem/1 var(--font-ui);
}

.sum__dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  font-size: 0.8125rem;
}

.sum__dot--a {
  background: #7a5a3c;
}

.sum__dot--b {
  background: #3f6f5f;
}

.sum__dot--c {
  background: #54617f;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  padding: 0;
  border-radius: var(--r-m);
}

.faq summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 22px;
  border-radius: var(--r-m);
  font: 700 1.0625rem/1.35 var(--font-ui);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform 0.25s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 1rem;
}

/* ---------- closing call ---------- */

.closing {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px);
  overflow: hidden;
  border-radius: var(--r-xl);
  text-align: center;
}

.closing::before {
  content: "";
  position: absolute;
  inset: auto -10% -70% -10%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0));
  pointer-events: none;
}

.closing > * {
  position: relative;
}

.closing .lead {
  max-width: 34em;
}

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

.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.site-footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: 36px 20px;
}

.site-footer__brand {
  display: grid;
  gap: 10px;
  max-width: 300px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font: 600 0.9375rem/1.2 var(--font-ui);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] {
  color: var(--ink);
  background: var(--sunken);
}

.site-footer__legal {
  padding-block: 0 28px;
  color: var(--ink-2);
  font-size: 0.875rem;
}

/* ---------- inner pages ---------- */

.page-head {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 36px);
}

.page-head h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
}

.page-head .lead {
  max-width: 40em;
}

.page-head--center {
  justify-items: center;
  text-align: center;
}

.narrow {
  max-width: 800px;
}

.sheet {
  padding: clamp(20px, 4vw, 48px);
}

.prose {
  min-width: 0;
  overflow-wrap: break-word;
}

.prose > * + *,
.prose section > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.125rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

.prose ul,
.prose ol {
  margin-bottom: 0;
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--ink-3);
  font-weight: 700;
}

.ui {
  padding: 0.1em 0.45em;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--card-a);
  color: var(--ink);
  font: 600 0.9em/1.3 var(--font-ui);
  white-space: nowrap;
}

.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 1.4em;
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: var(--sapphire-soft);
}

.note svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--sapphire-ink);
}

.note p {
  color: var(--ink);
  font-size: 0.9688rem;
}

.note--coral {
  background: var(--coral-soft);
}

.note--coral svg {
  color: var(--coral-ink);
}

.note--emerald {
  background: var(--emerald-soft);
}

.note--emerald svg {
  color: var(--emerald-ink);
}

.table {
  margin-top: 1.4em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  -webkit-overflow-scrolling: touch;
}

.table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.table th,
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table th {
  background: var(--sunken);
  color: var(--ink);
  font: 700 0.875rem/1.4 var(--font-ui);
}

.table td {
  color: var(--ink-2);
}

.table td:first-child {
  color: var(--ink);
  font-weight: 650;
}

.meta {
  color: var(--ink-2);
  font: 600 0.9375rem/1.4 var(--font-ui);
}

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

.docs {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: var(--section);
}

.toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 14px;
}

.toc__title {
  padding: 4px 10px 8px;
  color: var(--ink);
  font: 700 0.875rem/1.3 var(--font-ui);
}

.toc summary {
  display: none;
}

.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--ink-2);
  font: 600 0.9063rem/1.35 var(--font-ui);
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  background: var(--sunken);
}

.toc a.is-current {
  color: var(--accent-ink);
  background: var(--accent-soft);
}

.docs__body {
  min-width: 0;
  max-width: 780px;
}

.docs__body section {
  scroll-margin-top: 88px;
}

.docs__body section + section {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.prose ol.numbered {
  padding-left: 0;
  list-style: none;
  counter-reset: n;
}

.prose ol.numbered > li {
  position: relative;
  padding-left: 44px;
  counter-increment: n;
}

.prose ol.numbered > li + li {
  margin-top: 0.9em;
}

.prose ol.numbered > li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font: 800 0.875rem/1 var(--font-ui);
}

/* ---------- support ---------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
  padding-bottom: var(--section);
}

.panel {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: clamp(20px, 3vw, 32px);
}

.panel p,
.panel li {
  color: var(--ink-2);
}

.panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.panel h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
}

.mail {
  font: 700 1.125rem/1.3 var(--font-ui);
  overflow-wrap: anywhere;
}

.panel .linklist {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--sunken);
  color: var(--ink);
  font: 600 0.9688rem/1.35 var(--font-ui);
  text-decoration: none;
}

.linklist a:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.linklist svg {
  flex: none;
  width: 16px;
  height: 16px;
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 880px;
  margin-inline: auto;
  padding-bottom: clamp(24px, 4vw, 40px);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
}

.plan__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 1.375rem/1.2 var(--font-ui);
  letter-spacing: -0.02em;
}

.plan__cost {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font: 800 clamp(2rem, 1.6rem + 1.6vw, 2.75rem) / 1 var(--font-ui);
  letter-spacing: -0.04em;
}

.plan__cost span {
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.plan__sub {
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.9688rem;
  line-height: 1.5;
}

.plan li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
}

.plan li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--emerald-ink);
}

.plan .btn {
  margin-top: auto;
}

/* Gold belongs to Premium, and only here. */
.plan--premium {
  background: linear-gradient(180deg, var(--card-a), var(--card-b)) padding-box, linear-gradient(135deg, #f1c86a, #b8862d 34%, #f7e3a6 60%, #c9983a) border-box;
  box-shadow: var(--shadow-2), 0 24px 60px -30px rgba(201, 152, 58, 0.55);
}

.crown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(120deg, #c9983a, #f3d58a 45%, #b8862d);
  color: #3a2a08;
  font: 800 0.875rem/1.2 var(--font-ui);
}

.crown svg {
  width: 16px;
  height: 16px;
}

.crown::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 65%);
  transform: translateX(-120%);
  animation: shimmer 5.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  55% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.plan__trial {
  justify-self: start;
  align-self: flex-start;
}

.smallprint {
  max-width: 880px;
  margin-inline: auto;
  padding-bottom: var(--section);
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-align: center;
}

/* ---------- changelog ---------- */

.release {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px 32px;
  padding: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(16px, 3vw, 28px);
  scroll-margin-top: 88px;
}

.release:last-child {
  margin-bottom: var(--section);
}

.release__meta {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.release__version {
  font: 800 1.75rem/1 var(--font-ui);
  letter-spacing: -0.03em;
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 620px;
  margin: clamp(40px, 9vw, 120px) auto var(--section);
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
}

.lost__code {
  background: linear-gradient(120deg, #8b5cf6, #3b6ef5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 800 clamp(4rem, 3rem + 6vw, 7rem) / 1 var(--font-ui);
  letter-spacing: -0.05em;
}

.lost__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------- product switch (header) ---------- */

.switch {
  display: inline-flex;
  flex: none;
  gap: 2px;
  margin: 0 auto 0 clamp(6px, 1.4vw, 16px);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sunken);
}

.switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font: 700 0.8438rem/1.2 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

/* The dot is the product's colour: amethyst for Quantity Breaks, emerald for Cart Goals. */
.switch__item::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amethyst);
}

.switch__item--goals::before {
  background: var(--emerald);
}

.switch__item:hover {
  color: var(--ink);
}

.switch__item[aria-current] {
  background: var(--card-a);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}

/* ---------- Cart Goals: hero art ---------- */

.ladder {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(36px, 5vw, 60px) clamp(0px, 1vw, 12px);
}

.ladder::before {
  content: "";
  position: absolute;
  inset: 10% 4% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0));
  filter: blur(20px);
}

.ladder__card {
  display: grid;
  gap: 14px;
  width: min(100%, 460px);
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  background: linear-gradient(var(--shop-bg), var(--shop-bg)) padding-box, var(--stroke) border-box;
  box-shadow: var(--shadow-2);
  color: var(--lqb-text);
  font-family: var(--font-ui);
  animation: breathe 9s ease-in-out infinite;
}

.ladder__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.ladder__row span:first-child {
  color: var(--lqb-muted);
  font-weight: 500;
}

.ladder__free {
  color: var(--emerald-ink);
  font-weight: 700;
}

.ladder__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b)) padding-box, linear-gradient(135deg, rgba(31, 169, 113, 0.55), rgba(31, 169, 113, 0.12)) border-box;
  box-shadow: var(--shadow-2);
  color: var(--emerald-ink);
  font: 700 0.9375rem/1.2 var(--font-ui);
  white-space: nowrap;
  animation: breathe 8s ease-in-out -3s infinite;
}

.ladder__chip svg {
  width: 18px;
  height: 18px;
}

.ladder__chip--a {
  left: clamp(-8px, -1vw, 0px);
  top: 0;
}

.ladder__chip--b {
  right: clamp(-8px, -1vw, 0px);
  bottom: 0;
  animation-delay: -6s;
}

/* ---------- Cart Goals: the live demo cart ---------- */

.cart {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(20px, 3.4vw, 40px);
  padding: clamp(16px, 3vw, 28px);
}

.cart__title {
  color: var(--lqb-text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cart__lines {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.cart__line {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto 76px;
  align-items: center;
  gap: 8px 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--lqb-line);
}

.cart__art {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--shop-art);
  transition: opacity 0.3s ease;
}

.cart__art svg {
  display: block;
  width: 44px;
  height: 44px;
}

.cart__info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart__name {
  font-size: 0.9688rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.cart__each {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: var(--lqb-muted);
  font-size: 0.8438rem;
  font-weight: 500;
}

.cart__sum {
  font-size: 0.9688rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.cart__line.is-zero .cart__art,
.cart__line.is-zero .cart__name {
  opacity: 0.55;
}

.cart__line.is-zero .cart__sum {
  color: var(--lqb-muted);
  font-weight: 500;
}

.cart__sum--free {
  color: var(--emerald-ink);
}

.qty--s {
  height: 42px;
}

.qty--s .qty__btn {
  width: 40px;
  height: 40px;
}

.qty__value {
  min-width: 24px;
  font-size: 0.9688rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.cart__one {
  justify-self: center;
  color: var(--lqb-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

/* The gift line slides in when its goal is reached and out again when the cart drops below it. */
.cart__gift {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease, visibility 0s linear 0.5s;
}

.cart__gift.is-in {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.cart__clip {
  min-height: 0;
  overflow: hidden;
}

.cart__gift .cart__art {
  background: var(--emerald-soft);
}

.cart__totals {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-inline: 2px;
  font-size: 0.9375rem;
}

.cart__totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cart__totals > div[hidden] {
  display: none;
}

.cart__totals dt {
  color: var(--lqb-muted);
  font-weight: 500;
}

.cart__totals dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cart__totals .cart__saving dt,
.cart__totals .cart__saving dd,
.cart__totals dd.is-free {
  color: var(--emerald-ink);
}

.cart__totals .cart__total {
  margin-top: 3px;
  padding-top: 13px;
  border-top: 1px solid var(--lqb-line);
  font-size: 1.125rem;
}

.cart__totals .cart__total dt {
  color: var(--lqb-text);
  font-weight: 700;
}

.cart__totals .cart__total dd {
  font-weight: 800;
}

/* ---------- the Cart goals bar: a copy of the storefront widget (soft style, block mode) ---------- */

.liftly-cg {
  --lcg-fill: #1fa971;
  --lcg-on-fill: #fff;
  --lcg-deepen: 24%;
  --lcg-track: rgba(31, 169, 113, 0.16);
  --lcg-text: #25282d;
  --lcg-bg: #fff;
  --lcg-h: 8px;
  --lcg-radius: 14px;
  --lcg-dot: 28px;

  --_strong: var(--lcg-fill);
  --_card: var(--lcg-bg);
  --_border: var(--lcg-track);
  --_text: var(--lcg-text);
  --_muted: var(--lcg-text);
  --_line: var(--lcg-track);
  --_track: var(--lcg-track);
  --_fill: var(--lcg-fill);
  --_h: var(--lcg-h);
  --_dot: var(--lcg-bg);
  --_dot-line: var(--lcg-track);
  --_dot-icon: var(--lcg-text);
  --_dot-on: var(--lcg-fill);
  --_dot-on-icon: var(--lcg-on-fill);
  --_tint: var(--lcg-track);
  --_accent-text: var(--lcg-text);
  --_button: var(--_strong);
  --_button-text: var(--lcg-on-fill);
  --_glow: transparent;
  --_pad: 16px;

  display: block;
  box-sizing: border-box;
  inline-size: 100%;
  color: var(--_text);
  font-family: var(--font-ui);
  font-size: 15px;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: start;
  container-type: inline-size;
}

@media (prefers-color-scheme: dark) {
  .liftly-cg {
    --lcg-text: #f1f3f8;
    --lcg-bg: #1b2132;
    --lcg-track: rgba(95, 220, 170, 0.2);
  }
}

@supports (color: color-mix(in srgb, red, blue)) {
  .liftly-cg {
    --_strong: color-mix(in srgb, var(--lcg-fill), #000 var(--lcg-deepen));
    --_card: color-mix(in srgb, var(--lcg-fill) 6%, var(--lcg-bg));
    --_border: color-mix(in srgb, var(--lcg-fill) 24%, var(--lcg-bg));
    --_muted: color-mix(in srgb, var(--lcg-text) 72%, transparent);
    --_line: color-mix(in srgb, var(--lcg-text) 14%, transparent);
    --_dot-line: color-mix(in srgb, var(--lcg-fill) 34%, var(--lcg-bg));
    --_dot-icon: color-mix(in srgb, var(--lcg-text) 62%, var(--lcg-bg));
    --_tint: color-mix(in srgb, var(--lcg-fill) 14%, var(--lcg-bg));
    --_accent-text: color-mix(in srgb, var(--lcg-fill) 52%, var(--lcg-text));
    --_glow: color-mix(in srgb, var(--lcg-fill) 40%, transparent);
  }
}

.liftly-cg [hidden] {
  display: none;
}

.liftly-cg__inner {
  padding: var(--_pad);
  border: 1px solid var(--_border);
  border-radius: var(--lcg-radius);
  background: var(--_card);
}

.liftly-cg__message {
  margin: 0 0 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.liftly-cg__message strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.liftly-cg__meter {
  position: relative;
}

.liftly-cg__track {
  position: absolute;
  inset-block-start: calc((var(--lcg-dot) - var(--_h)) / 2);
  inset-inline: 0;
  block-size: var(--_h);
  overflow: hidden;
  border-radius: 99px;
  background: var(--_track);
}

.liftly-cg__fill {
  display: block;
  block-size: 100%;
  border-radius: inherit;
  background: var(--_fill);
  transition: inline-size 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.liftly-cg__goals {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.liftly-cg__goal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
}

.liftly-cg__dot {
  display: grid;
  flex: none;
  place-items: center;
  inline-size: var(--lcg-dot);
  block-size: var(--lcg-dot);
  border: 1.5px solid var(--_dot-line);
  border-radius: 50%;
  background: var(--_dot);
  color: var(--_dot-icon);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.liftly-cg__dot svg {
  display: block;
  grid-area: 1 / 1;
  inline-size: 16px;
  block-size: 16px;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.liftly-cg__tick {
  opacity: 0;
  transform: scale(0.5);
}

.liftly-cg .is-reached > .liftly-cg__dot {
  border-color: var(--_dot-on);
  background: var(--_dot-on);
  color: var(--_dot-on-icon);
}

.liftly-cg .is-reached > .liftly-cg__dot > .liftly-cg__icon {
  opacity: 0;
  transform: scale(0.5);
}

.liftly-cg .is-reached > .liftly-cg__dot > .liftly-cg__tick {
  opacity: 1;
  transform: none;
}

/* One soft ring when a goal is reached. */
.liftly-cg .is-new > .liftly-cg__dot {
  animation: liftly-cg-reached 0.9s ease-out 1;
}

@keyframes liftly-cg-reached {
  0% {
    box-shadow: 0 0 0 0 var(--_glow);
  }

  100% {
    box-shadow: 0 0 0 12px transparent;
  }
}

.liftly-cg__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-inline-size: 100%;
  padding-inline-start: 8px;
  font-size: 12px;
  line-height: 1.3;
  text-align: end;
}

.liftly-cg__amount {
  color: var(--_text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.liftly-cg__name {
  color: var(--_muted);
  overflow-wrap: anywhere;
}

.liftly-cg__name::first-letter {
  text-transform: uppercase;
}

.liftly-cg__unlocked {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  padding: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.liftly-cg__goal:not(.is-reached) .liftly-cg__unlocked {
  display: none;
}

.liftly-cg__gifts {
  display: grid;
  gap: 8px;
  margin-block-start: 14px;
}

.liftly-cg__gifts:not(:has(> :not([hidden]))) {
  display: none;
}

.liftly-cg__gift {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-block-size: 66px;
  padding: 10px;
  border: 1px solid var(--_line);
  border-radius: min(var(--lcg-radius), 12px);
  background: var(--lcg-bg);
  animation: liftly-cg-gift 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes liftly-cg-gift {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
}

.liftly-cg__gift-image {
  display: block;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 8px;
  background: var(--_tint);
}

.liftly-cg__gift-text {
  display: flex;
  flex: 1 1 96px;
  flex-direction: column;
  gap: 4px;
  min-inline-size: 0;
}

.liftly-cg__gift-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.liftly-cg__gift-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: var(--_muted);
  font-size: 12px;
}

.liftly-cg__pill {
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--_tint);
  color: var(--_accent-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.liftly-cg__button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  padding: 0 18px;
  border-radius: 99px;
  background: var(--_button);
  color: var(--_button-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.liftly-cg__added {
  display: none;
  flex: none;
  align-items: center;
  gap: 6px;
  min-block-size: 44px;
  max-inline-size: 100%;
  color: var(--_accent-text);
  font-size: 13px;
  font-weight: 600;
}

.liftly-cg__added svg {
  flex: none;
  inline-size: 16px;
  block-size: 16px;
}

.liftly-cg .is-in > .liftly-cg__button {
  display: none;
}

.liftly-cg .is-in > .liftly-cg__added {
  display: inline-flex;
}

/* Narrow places: the icons stay, captions that cannot fit are only read out. */
@container (max-width: 299px) {
  .liftly-cg__name {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@container (max-width: 359px) {
  .liftly-cg__button,
  .liftly-cg__added {
    flex: 1 1 100%;
  }

  .liftly-cg__added {
    min-block-size: 0;
  }

  .liftly-cg__gift.is-in {
    min-block-size: 0;
  }
}

/* ---------- Cart Goals: the gift section ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.split__copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.ticks {
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

.ticks svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--emerald-ink);
}

.ticks strong {
  display: block;
  color: var(--ink);
  font: 700 1.0625rem/1.35 var(--font-ui);
  letter-spacing: -0.01em;
}

.split__art {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2.4vw, 28px);
  background: linear-gradient(var(--shop-bg), var(--shop-bg)) padding-box, var(--stroke) border-box;
}

.split__label {
  color: var(--ink-2);
  font: 700 0.8125rem/1.3 var(--font-ui);
}

.split__label:not(:first-child) {
  margin-top: 10px;
}

.split__art .liftly-cg__gifts {
  margin: 0;
}

.split__art .liftly-cg__gift {
  animation: none;
}

/* ---------- Cart Goals: placement sketches ---------- */

.mini {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 0 0 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card-a);
}

.mini__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(31, 169, 113, 0.3);
  background: var(--emerald-soft);
}

.mini__block {
  display: grid;
  gap: 9px;
  margin: 2px 10px 0;
  padding: 9px 10px 10px;
  border: 1px solid rgba(31, 169, 113, 0.3);
  border-radius: 8px;
  background: var(--emerald-soft);
}

.mini__text {
  flex: 0 0 34%;
  height: 6px;
  border-radius: 99px;
  background: var(--line-strong);
}

.mini__block .mini__text {
  width: 62%;
}

.mini__row {
  height: 6px;
  margin-inline: 10px 30%;
  border-radius: 99px;
  background: var(--line);
}

.mini__row--s {
  margin-inline-end: 52%;
}

.mini__bar + .mini__row,
.mini > .mini__row:first-child {
  margin-top: 10px;
}

.mini__track {
  position: relative;
  flex: 1 1 auto;
  height: 6px;
  border-radius: 99px;
  background: rgba(31, 169, 113, 0.22);
}

.mini__track::before {
  content: "";
  position: absolute;
  inset: 0 48% 0 0;
  border-radius: inherit;
  background: var(--emerald);
}

.mini__track i {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -12px;
  border: 1.5px solid rgba(31, 169, 113, 0.5);
  border-radius: 50%;
  background: var(--card-a);
}

.mini__track i:nth-child(1) {
  left: 33.33%;
  border-color: var(--emerald);
  background: var(--emerald);
}

.mini__track i:nth-child(2) {
  left: 66.66%;
}

.mini__track i:nth-child(3) {
  left: 100%;
}

.looks {
  display: grid;
  gap: 12px;
  width: 100%;
}

.looks__swatches {
  display: flex;
  gap: 8px;
}

.looks__swatches i {
  width: 26px;
  height: 26px;
  border: 2px solid var(--card-a);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.looks__bars {
  display: grid;
  gap: 9px;
}

.looks__bars i {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line-strong);
}

.looks__bars i::before {
  content: "";
  position: absolute;
  inset: 0 40% 0 0;
  border-radius: inherit;
  background: var(--emerald);
}

.looks__bars i:nth-child(2) {
  height: 8px;
}

.looks__bars i:nth-child(2)::before {
  background: var(--amethyst);
}

.looks__bars i:nth-child(3) {
  height: 12px;
  border-radius: 3px;
}

.looks__bars i:nth-child(3)::before {
  background: #41454e;
}

@media (prefers-color-scheme: dark) {
  .looks__bars i:nth-child(3)::before {
    background: #e3e6ef;
  }
}

/* ---------- pricing: one group of plans per product ---------- */

.plans-group {
  scroll-margin-top: 88px;
}

.plans-group + .plans-group {
  margin-top: clamp(20px, 3vw, 36px);
}

.plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  max-width: 880px;
  margin: 0 auto clamp(14px, 2vw, 20px);
}

.plans-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  letter-spacing: -0.02em;
}

.plans-head h2::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.plans-head a {
  font: 700 0.9375rem/1.3 var(--font-ui);
}

.plans-head p {
  flex: 1 0 100%;
  color: var(--ink-2);
  font-size: 0.9688rem;
}

/* ---------- support: one panel of guide links per product ---------- */

.guides {
  display: grid;
  gap: clamp(12px, 2vw, 24px);
}

.panel__name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font: 700 0.9375rem/1.3 var(--font-ui);
}

.panel__name::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- footer: both products ---------- */

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 24px clamp(24px, 5vw, 64px);
}

.site-footer__title {
  margin: 0 0 4px;
  padding-inline: 10px;
  color: var(--ink);
  font: 700 0.875rem/1.3 var(--font-ui);
  letter-spacing: 0;
}

.site-footer__col .site-footer__links {
  flex-direction: column;
  gap: 0;
}

/* ---------- motion: everything breathes ---------- */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aura i:nth-child(n),
  .lift__tile,
  .lift__chip,
  .shop__art svg,
  .timeline__track::after,
  .crown::after,
  .ladder__card,
  .ladder__chip,
  .liftly-cg__gift,
  .liftly-cg .is-new > .liftly-cg__dot {
    animation: none;
  }

  .btn,
  .btn--primary::after,
  .shop__add,
  .shop__count,
  .skip,
  .liftly-qb__card,
  .liftly-qb__card::before,
  .liftly-qb__check,
  .liftly-qb__check::after,
  .faq summary::before,
  .faq summary::after,
  .switch__item,
  .cart__art,
  .cart__name,
  .cart__gift,
  .liftly-cg__fill,
  .liftly-cg__dot,
  .liftly-cg__dot svg {
    transition: none;
  }

  .btn--primary::after {
    display: none;
  }

  .btn:hover,
  .shop__add:hover {
    transform: none;
  }

  /* Only a simple fade is left. */
  .js .reveal {
    transform: none;
    filter: none;
    transition: opacity 0.4s ease;
    transition-delay: 0s;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero__in,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ladder {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .split {
    max-width: 560px;
    margin-inline: auto;
  }

  .lift {
    width: 100%;
    max-width: 480px;
    height: clamp(290px, 76vw, 360px);
    margin-top: 8px;
    margin-inline: auto;
  }

  .lift__tile--1 {
    height: 62%;
  }

  .lift__tile--2 {
    height: 80%;
  }

  .lift__tile--3 {
    height: 98%;
  }

  .lift__chip {
    top: -2%;
  }

  .steps,
  .gallery,
  .trio {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery,
  .trio,
  .steps {
    max-width: 560px;
    margin-inline: auto;
  }

  .docs {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
    max-height: none;
    padding: 6px;
  }

  .toc__title {
    display: none;
  }

  .toc summary {
    display: block;
    position: relative;
    padding: 12px 44px 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    font: 700 0.9688rem/1.3 var(--font-ui);
    cursor: pointer;
    list-style: none;
  }

  .toc summary::-webkit-details-marker {
    display: none;
  }

  .toc summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border: solid var(--ink-2);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .toc details[open] summary::after {
    margin-top: -2px;
    transform: rotate(-135deg);
  }

  .toc ol {
    padding: 4px 4px 8px;
  }

  .duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .release {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Phones and small tablets: the product switch takes its own row above the logo. Only the row with the
   logo stays pinned; the switch scrolls away with the page (the header sticks 50px above the top). */
@media (max-width: 820px) {
  .site-header {
    top: -50px;
  }

  .site-header__in {
    flex-wrap: wrap;
    row-gap: 0;
    min-height: 0;
  }

  .switch {
    order: -1;
    flex: 1 0 100%;
    height: 42px;
    margin: 8px 0 0;
  }

  .switch__item {
    flex: 1 1 0;
    min-height: 0;
  }

  .brand {
    margin-right: auto;
  }

  .brand,
  .nav {
    min-height: 58px;
  }
}

@media (max-width: 760px) {
  .shop__body,
  .cart {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop__art {
    min-height: 0;
    padding-block: 22px;
  }

  .shop__art svg {
    width: min(40%, 170px);
  }

  .shop__menu {
    display: none;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
  }
}

@media (max-width: 620px) {
  .btn__long {
    display: none;
  }

  .btn__short {
    display: inline;
  }

  .benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .site-footer__in {
    flex-direction: column;
  }

  .table table {
    min-width: 0;
    font-size: 0.875rem;
  }

  .table th,
  .table td {
    padding: 10px 11px;
  }

  .site-footer__links {
    margin-left: -10px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-left: -10px;
  }

  .site-footer__col .site-footer__links {
    margin-left: 0;
  }

  .site-footer__col:last-child {
    grid-column: 1 / -1;
  }

  .site-footer__col:last-child .site-footer__links {
    flex-flow: row wrap;
  }
}

@media (max-width: 480px) {
  .cart__line {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas: "art info sum" "art qty qty";
  }

  .cart__art {
    grid-area: art;
    align-self: start;
    width: 52px;
    height: 52px;
  }

  .cart__art svg {
    width: 38px;
    height: 38px;
  }

  .cart__info {
    grid-area: info;
  }

  .cart__sum {
    grid-area: sum;
    align-self: start;
  }

  .cart__line .qty,
  .cart__one {
    grid-area: qty;
    justify-self: start;
  }

  .ladder__chip {
    padding: 8px 11px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 380px) {
  .site-header__in {
    gap: 2px;
  }

  .brand {
    gap: 7px;
    font-size: 1.1875rem;
  }

  .brand svg {
    width: 26px;
    height: 26px;
  }

  .nav__link {
    padding: 9px 7px;
    font-size: 0.875rem;
  }

  .nav .btn {
    padding: 10px 11px;
    font-size: 0.875rem;
  }

  .switch__item {
    gap: 6px;
    padding-inline: 6px;
    font-size: 0.8125rem;
  }

  .liftly-qb__card {
    gap: 10px;
    padding: 12px;
  }

  .liftly-qb__radio {
    inset-inline-start: 12px;
  }

  .lift__chip {
    font-size: 0.8125rem;
    padding: 8px 11px;
  }
}

@media print {
  .aura,
  .site-header,
  .skip {
    display: none;
  }
}
