/* ==========================================================================
   Casual Ecommerce
   --------------------------------------------------------------------------
   01 Tokens            07 Product scenes (.vg)     13 Partner page and form
   02 Base              08 Home page                14 Help pages and prose
   03 Layout            09 App pages                15 404
   04 Small parts       10 Gallery and lightbox     16 Motion
   05 Header            11 Pricing                  17 Print
   06 Footer            12 FAQ
   ========================================================================== */

/* 01 Tokens ---------------------------------------------------------------- */

:root {
  --ink-950: #050f0a;
  --ink-900: #0a1711;
  --ink-800: #10231a;
  --ink-700: #173326;
  --ink-600: #214635;

  --brand: #009345;
  --brand-600: #007a3a;
  --brand-700: #006430;
  --spring: #3fdc85;
  --spring-hover: #62e89c;

  --mint-50: #f1f9f3;
  --mint-100: #e1f4e7;
  --mint-200: #c8ead3;
  --mint-300: #a5dbb8;

  --paper: #f8f6f0;
  --paper-2: #f1eee5;
  --white: #fff;
  --line: #e5e1d6;
  --line-2: #d3cebf;

  --text: #0c1c15;
  --text-2: #415048;
  --text-3: #5e6d65;
  --on-dark: #f2f7f3;
  --on-dark-2: #a9bcb1;

  --star: #f2a81d;
  --sun: #ffd666;
  --danger: #b3261e;
  --danger-bg: #fdecea;

  --font-display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --panel-pad: clamp(1.5rem, 5vw, 4.5rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;

  --shadow-sm: 0 1px 2px rgba(12, 28, 21, 0.05), 0 2px 6px rgba(12, 28, 21, 0.04);
  --shadow-md: 0 2px 4px rgba(12, 28, 21, 0.04), 0 14px 30px -10px rgba(12, 28, 21, 0.14);
  --shadow-lg: 0 4px 8px rgba(12, 28, 21, 0.04), 0 30px 60px -20px rgba(12, 28, 21, 0.25);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

/* 02 Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.35rem + 4.9vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

strong,
b {
  font-weight: 700;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

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

::selection {
  background: var(--spring);
  color: var(--ink-900);
}

[hidden] {
  display: none !important;
}

.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-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* 03 Layout ---------------------------------------------------------------- */

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2 * var(--gutter), 780px);
}

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

.section--flush {
  padding-block: 0;
}

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

.panel {
  position: relative;
  padding: var(--panel-pad);
  border-radius: var(--r-2xl);
}

.panel--mint {
  background: var(--mint-100);
}

.panel--white {
  background: var(--white);
  border: 1px solid var(--line);
}

.panel--ink {
  background: var(--ink-900);
  color: var(--on-dark);
}

.panel--brand {
  background: var(--brand-600);
  color: #fff;
}

.panel--bleed {
  overflow: hidden;
}

.section-head {
  max-width: 44rem;
}

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

.section-head h2 + .lead,
.section-head h1 + .lead {
  margin-top: 1.1rem;
}

.lead {
  font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.28rem);
  line-height: 1.5;
  color: var(--text-2);
}

.lead a,
.prose a,
.pricing-note a:not(.text-link),
.form__legal a,
.callout a,
.doc-help a:not(.btn),
.doc-section__note a,
.theme-empty a,
.faq__answer a {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.lead a:hover,
.prose a:hover,
.pricing-note a:not(.text-link):hover,
.form__legal a:hover,
.callout a:hover,
.doc-section__note a:hover,
.faq__answer a:hover {
  color: var(--brand-700);
}

.panel--ink .lead,
.panel--brand .lead {
  color: var(--on-dark-2);
}

.panel--brand .lead {
  color: rgba(255, 255, 255, 0.86);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.split__aside .btn {
  margin-top: 1.75rem;
}

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

  .split__aside {
    position: static;
  }
}

/* 04 Small parts ----------------------------------------------------------- */

.icon {
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.eyebrow--bright {
  color: var(--spring);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0.3rem rgba(63, 220, 133, 0.18);
}

.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

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

.btn:active {
  transform: none;
}

.btn .icon {
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn--primary {
  --btn-bg: var(--brand-600);
  box-shadow: 0 10px 22px -10px rgba(0, 122, 58, 0.7);
}

.btn--primary:hover {
  --btn-bg: var(--brand-700);
}

.btn--dark:hover {
  --btn-bg: var(--ink-700);
}

.btn--bright {
  --btn-bg: var(--spring);
  --btn-fg: var(--ink-900);
}

.btn--bright:hover {
  --btn-bg: var(--spring-hover);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink-900);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  --btn-bg: #fff;
  border-color: var(--text);
}

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.07);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.14);
}

.btn--lg {
  padding: 1em 1.6em;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 0.62em 1.1em;
  font-size: 0.94rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 650;
  color: var(--brand-600);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--brand-700);
  border-color: currentColor;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 0.7em 0.3em 0.55em;
  border-radius: 999px;
  background: var(--mint-100);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.app-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 23%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 28, 21, 0.08), 0 8px 16px -8px rgba(12, 28, 21, 0.3);
}

.app-icon--sm {
  width: 40px;
  height: 40px;
}

.app-icon--lg {
  width: 76px;
  height: 76px;
}

.stars {
  --pct: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  flex: none;
  width: 5.5em;
  height: 1.05em;
  background: linear-gradient(90deg, var(--star) var(--pct), rgba(120, 130, 124, 0.3) var(--pct));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 1l2.6 5.4 5.9.8-4.3 4.1 1 5.9L10 14.4l-5.2 2.8 1-5.9L1.5 7.2l5.9-.8z'/%3E%3C/svg%3E") left center / 1.1em 1.05em repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 1l2.6 5.4 5.9.8-4.3 4.1 1 5.9L10 14.4l-5.2 2.8 1-5.9L1.5 7.2l5.9-.8z'/%3E%3C/svg%3E") left center / 1.1em 1.05em repeat-x;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.92rem;
  color: var(--text-2);
  white-space: nowrap;
}

.rating strong {
  color: var(--text);
}

.rating a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  background: var(--mint-100);
  color: var(--brand-600);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  padding: 0.38em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-2);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}

.round-btn:hover:not([disabled]) {
  border-color: var(--text);
  transform: translateY(-2px);
}

.round-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-3);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line-2);
}

.crumbs a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 05 Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(248, 246, 240, 0.86);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  transition: border-color 0.25s, background-color 0.25s;
}

.site-header.is-stuck,
.site-header.is-open {
  border-color: var(--line);
}

.site-header.is-open {
  background: var(--paper);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand--light {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s, background-color 0.2s;
}

.nav__link:hover,
.nav__link[aria-expanded="true"],
.nav__link[aria-current="page"] {
  color: var(--text);
  background: rgba(12, 28, 21, 0.06);
}

.nav__caret {
  transition: transform 0.2s var(--ease);
}

.nav__link[aria-expanded="true"] .nav__caret {
  transform: rotate(180deg);
}

.nav__ext {
  opacity: 0.6;
}

.apps-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 25rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
  animation: menu-in 0.18s var(--ease);
}

.apps-menu::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
}

.apps-menu__item,
.mobile-nav__app {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  transition: background-color 0.15s;
}

.apps-menu__item:hover,
.mobile-nav__app:hover {
  background: var(--mint-50);
}

.apps-menu__item strong,
.mobile-nav__app strong {
  display: block;
  font-weight: 700;
  line-height: 1.25;
}

.apps-menu__item small,
.mobile-nav__app small {
  display: block;
  font-size: 0.86rem;
  color: var(--text-3);
  line-height: 1.35;
}

.apps-menu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: var(--paper);
  font-size: 0.94rem;
  font-weight: 650;
  transition: background-color 0.15s;
}

.apps-menu__all:hover {
  background: var(--mint-100);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.mobile-nav {
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav__inner {
  padding-block: 1.25rem 1.75rem;
}

.mobile-nav__label {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mobile-nav__app {
  padding-inline: 0.4rem;
}

.mobile-nav__links {
  margin-block: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
}

.mobile-nav__links a {
  display: block;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }
}

@media (min-width: 901px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .site-header__cta {
    display: none;
  }
}

/* 06 Footer ---------------------------------------------------------------- */

.site-footer {
  margin-top: var(--section);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  background: var(--ink-900);
  color: var(--on-dark-2);
  font-size: 0.98rem;
}

.site-footer a {
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
}

.site-footer__brand p {
  max-width: 21rem;
  margin-block: 1.1rem 1.4rem;
}

.site-footer__contact li + li {
  margin-top: 0.6rem;
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--on-dark);
  font-weight: 600;
}

.site-footer__col h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--spring);
}

.site-footer__col li + li {
  margin-top: 0.6rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

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

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 07 Product scenes -------------------------------------------------------- */
/* A scene is drawn on an artboard measured in em. The wrapper sets the font size
   from its own width, so the whole drawing scales like an image. */

.stage {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 40 / 26;
  border-radius: var(--r-lg);
  container-type: inline-size;
}

.stage--ink {
  background: radial-gradient(120% 120% at 85% 0%, #17553a 0%, var(--ink-900) 62%);
}

.stage--mint {
  background: linear-gradient(140deg, #eaf8ee 10%, #b9e6c9 100%);
}

.stage--brand {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.14) 0 24%, transparent 24.4%),
    radial-gradient(circle at 4% 104%, rgba(0, 0, 0, 0.1) 0 32%, transparent 32.4%),
    #0a9648;
}

.stage--paper {
  background:
    radial-gradient(#cfe2d5 1.2px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(160deg, #fbfaf5, #edf6ef);
}

.stage--lime {
  background: linear-gradient(150deg, #e2f9d6 0%, #b9eeb8 100%);
}

.vg {
  position: absolute;
  inset: 0;
  font-family: var(--font-body);
  font-size: 10px;
  font-size: calc(100cqw / 40);
  line-height: 1.25;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
}

.vg i,
.vg em {
  font-style: normal;
}

.vg-card {
  position: absolute;
  padding: 1.3em;
  border-radius: 1.7em;
  background: #fff;
  box-shadow: 0 0.15em 0.4em rgba(5, 15, 10, 0.06), 0 1.8em 3.2em -1.2em rgba(5, 15, 10, 0.38);
  transform: rotate(var(--r, 0deg));
}

.vg--dark .vg-card {
  background: #13281d;
  color: #fff;
  box-shadow: inset 0 0 0 0.1em rgba(255, 255, 255, 0.08), 0 1.8em 3.2em -1.2em rgba(0, 0, 0, 0.7);
}

.vg-app {
  position: absolute;
  top: -1.3em;
  right: -1.3em;
  width: 3.8em;
  height: 3.8em;
  border-radius: 23%;
  box-shadow: 0 0 0 0.25em #fff, 0 0.8em 1.6em -0.4em rgba(5, 15, 10, 0.45);
}

.vg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.9em;
  margin-top: 0.75em;
  border-radius: 0.75em;
  font-size: 1.2em;
  font-weight: 700;
}

.vg-btn--solid {
  background: var(--brand);
  color: #fff;
}

.vg--dark .vg-btn--solid {
  background: var(--spring);
  color: var(--ink-900);
}

.vg-btn--outline {
  box-shadow: inset 0 0 0 0.13em var(--brand);
  color: var(--brand-600);
}

.vg--dark .vg-btn--outline {
  box-shadow: inset 0 0 0 0.13em var(--spring);
  color: var(--spring);
}

.vg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.65em;
  border-radius: 99em;
  background: var(--mint-100);
  color: var(--brand-700);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.vg-badge--bright {
  background: var(--spring);
  color: var(--ink-900);
}

.vg-badge--muted {
  background: rgba(255, 255, 255, 0.14);
  color: #dfe8e2;
}

.vg-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.65em 1em;
  border-radius: 99em;
  background: #fff;
  color: var(--text);
  font-size: 1.12em;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1em 2.2em -0.8em rgba(5, 15, 10, 0.45);
  transform: rotate(var(--r, 0deg));
}

.vg-chip .icon {
  width: 1.15em;
  height: 1.15em;
  color: var(--brand);
}

.vg-chip--sun {
  background: var(--sun);
}

.vg-chip--sun .icon {
  color: var(--text);
}

.vg-chip--app {
  gap: 0.8em;
  padding: 0.6em 1.3em 0.6em 0.6em;
  border-radius: 1.4em;
}

.vg-chip--app .vg-app {
  position: static;
  width: 3em;
  height: 3em;
  box-shadow: 0 0 0 1px rgba(12, 28, 21, 0.08);
}

.vg-chip--app span {
  display: block;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--text-3);
  line-height: 1.2;
}

.vg-chip--app b {
  display: block;
  font-size: 1.45em;
  font-weight: 800;
  color: var(--brand-600);
}

.vg-dot {
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0.25em rgba(0, 147, 69, 0.2);
}

/* product card */
.vg-product__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 9.2em;
  border-radius: 1em;
  background: var(--mint-100);
  color: var(--brand);
}

.vg--dark .vg-product__media {
  background: #0c1b13;
  color: #3ad27d;
}

.vg-product__media--blue,
.vg--dark .vg-product__media--blue {
  color: #7fa8ea;
}

.vg-product__media svg {
  width: 6.2em;
}

.vg-product--sm .vg-product__media {
  height: 6.8em;
}

.vg-product--sm .vg-product__media svg {
  width: 4.8em;
}

.vg-product__media .vg-badge {
  position: absolute;
  top: 0.9em;
  left: 0.9em;
}

.vg-product__title {
  margin-top: 0.65em;
  font-size: 1.35em;
  font-weight: 700;
}

.vg-product__meta {
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  margin-top: 0.15em;
  font-size: 1.05em;
  color: var(--text-3);
}

.vg--dark .vg-product__meta {
  color: #9fb4a8;
}

.vg-product__meta b {
  font-size: 1.25em;
  color: var(--text);
}

.vg--dark .vg-product__meta b {
  color: #fff;
}

/* volume discount tiers */
.vg-tiers__title {
  margin-bottom: 0.65em;
  font-size: 1.35em;
  font-weight: 800;
}

.vg-tier {
  display: flex;
  align-items: center;
  gap: 0.55em;
  height: 3.3em;
  padding: 0 0.8em;
  white-space: nowrap;
  border-radius: 0.85em;
  box-shadow: inset 0 0 0 0.1em var(--line);
  font-size: 1.15em;
  font-weight: 650;
}

.vg-tier + .vg-tier {
  margin-top: 0.5em;
}

.vg-tier b {
  margin-left: auto;
  font-weight: 800;
}

.vg-tier em {
  padding: 0.3em 0.6em;
  border-radius: 99em;
  background: var(--mint-100);
  color: var(--brand-700);
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.vg-radio {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.14em var(--line-2);
}

.vg-tier.is-on {
  background: var(--mint-50);
  box-shadow: inset 0 0 0 0.16em var(--brand);
}

.vg-tier.is-on .vg-radio {
  background: radial-gradient(circle, var(--brand) 0 42%, transparent 46%);
  box-shadow: inset 0 0 0 0.14em var(--brand);
}

/* wholesale table */
.vg-table {
  padding: 0;
  overflow: hidden;
}

.vg-table__head,
.vg-table__row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.1fr;
  align-items: center;
  text-align: center;
}

.vg-table__head {
  padding: 0.95em 0.6em;
  background: var(--brand);
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.15;
}

.vg-table__row {
  padding: 0.72em 0.4em;
  font-size: 1.2em;
  font-weight: 650;
}

.vg-table__row + .vg-table__row {
  box-shadow: inset 0 0.08em 0 var(--line);
}

.vg-table__row b {
  color: var(--brand-600);
  font-weight: 800;
}

.vg-app--low {
  top: auto;
  bottom: -1.3em;
}

.vg--collage .vg-table {
  overflow: visible;
}

.vg--collage .vg-table__head {
  border-radius: 1.7em 1.7em 0 0;
}

/* browser frame */
.vg-browser {
  padding: 0;
  overflow: hidden;
}

.vg-browser__bar {
  display: flex;
  gap: 0.45em;
  padding: 1em 1.2em;
  box-shadow: inset 0 -0.08em 0 var(--line);
}

.vg-browser__bar i {
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: #e0dccf;
}

.vg-browser__body {
  padding: 1.2em;
}

.vg-wh__thumb {
  display: grid;
  place-items: center;
  height: 7.4em;
  border-radius: 0.9em;
  background: var(--paper);
  color: var(--ink-600);
}

.vg-wh__thumb svg {
  width: 5em;
}

.vg-wh__name {
  margin-top: 0.7em;
  font-size: 1.3em;
  font-weight: 700;
}

.vg-wh__price {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.2em;
  font-size: 1.1em;
}

.vg-wh__price b {
  font-size: 1.45em;
  font-weight: 800;
  color: var(--brand-600);
}

.vg-wh__price s {
  color: var(--text-3);
}

.vg-lines i {
  display: block;
  height: 0.7em;
  margin-top: 0.65em;
  border-radius: 99em;
  background: var(--paper-2);
}

.vg-lines i:last-child {
  width: 60%;
}

/* frequently bought together and free gift */
.vg-fbt__title {
  font-size: 1.05em;
  font-weight: 800;
  line-height: 1.2;
}

.vg-fbt__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8em;
  color: var(--text-3);
  font-size: 1.2em;
}

.vg-fbt__row i {
  width: 2.1em;
  height: 2.1em;
  border-radius: 0.55em;
  background: var(--mint-100);
  box-shadow: inset 0 0 0 0.08em var(--mint-200);
}

.vg-gift__title {
  font-size: 1.12em;
  font-weight: 800;
  text-align: center;
  color: var(--brand-600);
}

.vg-progress {
  position: relative;
  height: 0.7em;
  margin: 1em 1.1em 0 0;
  border-radius: 99em;
  background: var(--brand);
}

.vg-progress::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.1em;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: #fff radial-gradient(circle, var(--brand) 0 32%, transparent 36%);
  box-shadow: inset 0 0 0 0.2em var(--brand);
  transform: translateY(-50%);
}

.vg-gift__row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 1.2em;
  font-size: 1.1em;
  font-weight: 650;
}

.vg-gift__thumb {
  width: 2.5em;
  height: 2.5em;
  border-radius: 0.6em;
  background: var(--paper-2);
}

.vg-gift__row em {
  margin-left: auto;
  padding: 0.3em 0.65em;
  border-radius: 99em;
  background: var(--mint-100);
  color: var(--brand-700);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* affiliate dashboard */
.vg-dash__title {
  font-size: 1.3em;
  font-weight: 800;
}

.vg-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7em;
  margin-top: 0.9em;
}

.vg-dash__stats div {
  padding: 0.75em 0.85em;
  border-radius: 0.9em;
  background: var(--paper);
}

.vg-dash__stats span {
  display: block;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--text-3);
}

.vg-dash__stats b {
  display: block;
  margin-top: 0.1em;
  font-family: var(--font-display);
  font-size: 1.6em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vg-dash__link {
  display: flex;
  align-items: center;
  margin-top: 0.8em;
  padding: 0.35em 0.35em 0.35em 0.9em;
  border-radius: 0.9em;
  box-shadow: inset 0 0 0 0.1em var(--line);
  font-family: var(--font-mono);
  font-size: 0.98em;
  color: var(--text-2);
}

.vg-dash__link i {
  margin-left: auto;
  padding: 0.55em 0.95em;
  border-radius: 0.65em;
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
}

.vg-dash__payout {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.9em;
  font-size: 1.05em;
  font-weight: 600;
  color: var(--text-2);
}

.vg-dash__payout b {
  margin-left: auto;
  color: var(--text);
}

.vg-refer {
  text-align: center;
}

.vg-refer__eyebrow {
  font-size: 0.88em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.vg-refer__title {
  margin-top: 0.25em;
  font-family: var(--font-display);
  font-size: 1.9em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* digital downloads */
.vg-files__head {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding-bottom: 1em;
  box-shadow: inset 0 -0.08em 0 var(--line);
}

.vg-files__ok {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.vg-files__ok .icon {
  width: 1.4em;
  height: 1.4em;
  stroke-width: 2.6;
}

.vg-files__head b {
  display: block;
  font-size: 1.3em;
}

.vg-files__head span,
.vg-file span {
  display: block;
  font-size: 0.98em;
  color: var(--text-3);
}

.vg-file {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-top: 0.9em;
}

.vg-file b {
  display: block;
  font-size: 1.15em;
  font-weight: 700;
}

.vg-file__ext {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.1em;
  height: 3.1em;
  border-radius: 0.75em;
  color: #fff;
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.vg-file__ext--pdf {
  background: #e0524f;
}

.vg-file__ext--mp4 {
  background: #3e84c6;
}

.vg-file__ext--zip {
  background: #e79f1a;
}

.vg-file__dl {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.4em;
  height: 2.4em;
  margin-left: auto;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--brand-700);
}

.vg-file__dl .icon {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.2;
}

.vg-key span {
  display: block;
  font-size: 0.88em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.vg-key b {
  display: block;
  margin-top: 0.3em;
  font-family: var(--font-mono);
  font-size: 1.3em;
  letter-spacing: 0.03em;
}

/* 08 Home page ------------------------------------------------------------- */

.hero {
  padding-top: 0.5rem;
}

.hero__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  overflow: hidden;
  padding: clamp(2.25rem, 5.5vw, 5rem);
  border-radius: var(--r-2xl);
  background: var(--ink-900);
  color: var(--on-dark);
}

.hero__art {
  margin-right: clamp(-2.25rem, -2vw, 0rem);
}

.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__panel::before {
  background:
    radial-gradient(58% 78% at 88% 12%, rgba(0, 147, 69, 0.62), transparent 72%),
    radial-gradient(46% 60% at 0% 100%, rgba(0, 147, 69, 0.3), transparent 72%);
}

.hero__panel::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 75% at 72% 30%, #000 15%, transparent 78%);
  mask-image: radial-gradient(75% 75% at 72% 30%, #000 15%, transparent 78%);
}

.hero__title {
  color: #fff;
}

.hero__accent {
  color: var(--spring);
}

.hero__lead {
  max-width: 33rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.02rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  color: var(--on-dark-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
  color: var(--on-dark-2);
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__proof strong {
  color: #fff;
}

.collage {
  position: relative;
  aspect-ratio: 56 / 42;
  container-type: inline-size;
}

.vg--collage {
  font-size: 8px;
  font-size: calc(100cqw / 56);
}

.vg--collage .vg-card,
.vg--collage .vg-chip {
  animation: float 9s ease-in-out infinite;
}

.vg--collage .vg-card:nth-child(2) {
  animation-delay: -3s;
}

.vg--collage .vg-card:nth-child(3) {
  animation-delay: -5.5s;
}

.vg--collage .vg-card:nth-child(4) {
  animation-delay: -1.5s;
}

.vg--collage .vg-chip {
  animation-delay: -7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }

  50% {
    transform: translateY(-0.9em) rotate(var(--r, 0deg));
  }
}

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

  .hero__art {
    width: min(100%, 34rem);
    margin: 0.5rem auto 0;
    padding: 1rem 1rem 0 0;
  }
}

.stats {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats__list li {
  padding: 0.25rem 1.5rem;
  border-left: 1px solid var(--line-2);
}

.stats__list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stats__list span {
  display: block;
  max-width: 13rem;
  margin-top: 0.5rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--text-2);
}

@media (max-width: 760px) {
  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 0;
  }

  .stats__list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.app-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  overflow: hidden;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.app-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.app-card--lg {
  grid-column: span 3;
}

.app-card__stage .vg {
  transition: transform 0.6s var(--ease);
}

.app-card:hover .app-card__stage .vg {
  transform: scale(1.035);
}

.app-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.15rem 1.1rem;
}

.app-card__id {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.app-card__name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.app-card__name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0.75rem;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-3);
}

.app-card__meta .rating {
  font-size: 0.9rem;
}

.app-card__headline {
  margin-top: 1.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.app-card--lg .app-card__headline {
  font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.15rem);
}

.app-card__text {
  margin-top: 0.7rem;
  color: var(--text-2);
}

.app-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

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

  .app-card,
  .app-card--lg {
    grid-column: span 1;
  }

  .app-card:first-child {
    grid-column: 1 / -1;
  }
}

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

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.principle {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
}

.principle h3,
.feature h3 {
  margin-top: 1.1rem;
}

.principle p,
.feature p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--text-2);
}

.principle .icon-tile {
  background: var(--brand-600);
  color: #fff;
}

.bfs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--ink-900);
  color: var(--on-dark-2);
}

.bfs h3 {
  color: #fff;
}

.bfs p {
  max-width: 40rem;
  margin-top: 0.3rem;
  font-size: 1rem;
}

.bfs__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(63, 220, 133, 0.14);
  color: var(--spring);
}

.bfs__icons {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: 1rem;
}

.bfs__icons .app-icon {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

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

@media (max-width: 760px) {
  .bfs {
    flex-wrap: wrap;
  }

  .bfs__icons {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }
}

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

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.duo__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  min-height: 24rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-xl);
}

.duo__card h2 {
  max-width: 15ch;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
}

.duo__card p:not(.eyebrow) {
  max-width: 27rem;
  margin-block: 1rem 1.75rem;
}

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

.duo__card--ink {
  background: radial-gradient(90% 90% at 100% 100%, #17553a 0%, var(--ink-900) 65%);
  color: var(--on-dark-2);
}

.duo__card--ink h2 {
  color: #fff;
}

.duo__card--brand {
  background: var(--brand-600);
  color: rgba(255, 255, 255, 0.88);
}

.duo__card--brand h2 {
  color: #fff;
}

.duo__player {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  z-index: -1;
  display: grid;
  place-items: center;
  width: 15rem;
  height: 10rem;
  border-radius: 2.2rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(-10deg);
}

.duo__player span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--spring);
  color: var(--ink-900);
}

.duo__player .icon {
  fill: currentColor;
  transform: translateX(2px);
}

.duo__figure {
  position: absolute;
  right: -0.25rem;
  bottom: -2rem;
  z-index: -1;
  font-family: var(--font-display);
  font-size: 9.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.14);
}

.duo__figure span {
  font-size: 0.5em;
}

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

  .duo__card {
    min-height: 21rem;
  }
}

.cta {
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 90% at 50% 120%, rgba(0, 147, 69, 0.6), transparent 70%),
    radial-gradient(30% 50% at 100% 0%, rgba(0, 147, 69, 0.3), transparent 70%);
}

.cta h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(2.2rem, 1.3rem + 3.8vw, 3.9rem);
}

.cta .lead {
  max-width: 32rem;
  margin: 1.1rem auto 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* 09 App pages ------------------------------------------------------------- */

.app-hero {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(0.5rem, 2vw, 1.5rem);
}

.app-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.app-hero__id {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-hero__name {
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.app-hero__headline {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.3rem + 4vw, 3.9rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.app-hero .lead {
  max-width: 34rem;
  margin-top: 1.25rem;
}

.app-hero__actions,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--text-2);
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.facts .icon {
  color: var(--brand-600);
}

.stage--hero {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 960px) {
  .app-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

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

.feature {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature:hover {
  border-color: var(--mint-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

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

@media (max-width: 620px) {
  .features,
  .features--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 3rem;
  bottom: 0.25rem;
  left: 1.35rem;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.step__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--spring);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.step h3 {
  margin-top: 0.5rem;
}

.step p {
  margin-top: 0.4rem;
  color: var(--text-2);
}

.covers {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper-2);
}

.covers__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.covers__groups {
  margin-top: 1.5rem;
}

.covers__groups > div {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 0.75rem 1.5rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line-2);
}

.covers__groups dt {
  padding-top: 0.3rem;
  font-weight: 700;
}

@media (max-width: 680px) {
  .covers__groups > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.resources {
  margin-top: 2.25rem;
}

.resources h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.resources li {
  margin-top: 0.6rem;
}

.resources a {
  display: block;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s;
}

.resources a:hover {
  border-color: var(--mint-300);
  background: var(--mint-50);
}

.resources strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.resources span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.92rem;
  color: var(--text-3);
}

.mini-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.mini-app {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.mini-app:hover {
  border-color: var(--mint-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mini-app__body strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.mini-app__body span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-3);
  line-height: 1.4;
}

.mini-app__arrow {
  margin-left: auto;
  color: var(--text-3);
  transition: transform 0.25s var(--ease), color 0.25s;
}

.mini-app:hover .mini-app__arrow {
  color: var(--brand-600);
  transform: translateX(4px);
}

@media (max-width: 680px) {
  .mini-apps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 10 Gallery and lightbox -------------------------------------------------- */

.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.gallery__nav {
  display: flex;
  gap: 0.5rem;
}

.gallery__track {
  display: flex;
  gap: 1.25rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) calc(-1 * var(--panel-pad)) calc(-1 * var(--panel-pad) + 1.25rem);
  padding: 0.25rem var(--panel-pad) calc(var(--panel-pad) - 0.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--panel-pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  flex: 0 0 min(38.75rem, 86%);
  scroll-snap-align: start;
}

.gallery__zoom {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery__zoom:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.gallery__zoom img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery figcaption {
  margin-top: 0.9rem;
  padding-right: 1rem;
  font-size: 0.98rem;
  font-weight: 550;
  color: var(--text-2);
}

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

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(5, 15, 10, 0.92);
}

.lightbox__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  height: 100%;
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--on-dark-2);
}

.lightbox__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
}

.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  border-radius: var(--r-md);
  object-fit: contain;
}

.lightbox__caption {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  font-weight: 550;
}

.lightbox .round-btn {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lightbox .round-btn:hover {
  border-color: #fff;
}

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

  .lightbox__stage .round-btn {
    display: none;
  }
}

/* 11 Pricing --------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.plans--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 50rem;
}

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

.plans--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.plans--5 .plan {
  padding: 1.25rem;
}

.plan__name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.plan__amount {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.8rem + 1vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan__period {
  font-size: 0.95rem;
  color: var(--text-3);
}

.plan__alt {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-3);
}

.plan__limit {
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--mint-50);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink-700);
}

.plan__features {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.plan__features li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--text-2);
}

.plan__features li + li {
  margin-top: 0.6rem;
}

.plan__features .icon {
  margin-top: 0.2rem;
  color: var(--brand);
  stroke-width: 2.4;
}

.plan__trial {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-600);
}

.pricing-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.94rem;
  color: var(--text-3);
}

@media (max-width: 1100px) {
  .plans--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .plans--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 560px) {
  .plans,
  .plans--2,
  .plans--4,
  .plans--5 {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary:hover {
  color: var(--brand-600);
}

.faq__icon {
  color: var(--brand-600);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--text-2);
}

/* 13 Partner page and form ------------------------------------------------- */

.page-hero {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(0.5rem, 2vw, 1.5rem);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.25rem);
}

.page-hero .lead {
  max-width: 35rem;
  margin-top: 1.4rem;
}

.commission {
  position: relative;
  padding: 0 0 2.75rem 0;
}

.commission__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--r-xl);
  background: radial-gradient(110% 110% at 100% 0%, #17553a 0%, var(--ink-900) 62%);
  color: var(--on-dark-2);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.commission__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--spring);
}

.commission__figure {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 3rem + 9vw, 9rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #fff;
}

.commission__figure span {
  font-size: 0.5em;
  color: var(--spring);
}

.commission__rows {
  margin-top: 1.5rem;
}

.commission__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
  font-weight: 550;
}

.commission__rows .icon {
  color: var(--spring);
  stroke-width: 2.4;
}

.commission__apps {
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

@media (max-width: 960px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .commission {
    max-width: 30rem;
  }
}

@media (max-width: 420px) {
  .commission__apps .app-icon {
    width: 42px;
    height: 42px;
  }
}

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.audience li {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
}

.audience .icon-tile {
  flex: none;
  background: var(--brand-600);
  color: #fff;
}

.audience p {
  margin-top: 0.3rem;
  color: var(--text-2);
}

.portfolio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
}

.portfolio p {
  margin-top: 0.3rem;
  color: var(--text-2);
}

.portfolio ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  transition: border-color 0.2s, background-color 0.2s;
}

.portfolio a:hover {
  border-color: var(--mint-300);
  background: var(--mint-50);
}

.portfolio .app-icon {
  width: 30px;
  height: 30px;
  box-shadow: 0 0 0 1px rgba(12, 28, 21, 0.08);
}

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

.apply {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
}

.apply::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 70% at 0% 0%, rgba(0, 147, 69, 0.5), transparent 70%);
}

.apply h2 {
  color: #fff;
}

.apply .lead {
  margin-top: 1.1rem;
}

.apply__fallback {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.98rem;
  color: var(--on-dark-2);
}

.apply__fallback .icon {
  margin-top: 0.2rem;
  color: var(--spring);
}

.apply__fallback a {
  color: #fff;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apply__card {
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  border-radius: var(--r-xl);
  background: #fff;
  color: var(--text);
}

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

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

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

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.field__optional {
  margin-left: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230c1c15' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a09a;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--text-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 147, 69, 0.16);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
  box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14);
}

.field__error {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--danger);
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 0.96rem;
  font-weight: 600;
}

.form__status a {
  text-decoration: underline;
}

.form__legal {
  margin-top: 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-3);
}

.form-done {
  padding-block: 1.5rem;
  text-align: center;
}

.form-done:focus {
  outline: none;
}

.form-done__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--brand-600);
}

.form-done__icon .icon {
  stroke-width: 2.6;
}

.form-done h3 {
  font-size: 1.75rem;
}

.form-done p {
  max-width: 26rem;
  margin: 0.75rem auto 1.75rem;
  color: var(--text-2);
}

/* 14 Help pages and prose -------------------------------------------------- */

.doc__head {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
}

.doc__head h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.4rem);
  line-height: 1.02;
}

.doc__head .lead {
  margin-top: 1.1rem;
}

.doc__head .eyebrow {
  margin-bottom: 0.8rem;
}

.doc__body {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.doc .plans {
  margin-top: 0.5rem;
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-2);
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
  line-height: 1.15;
  color: var(--text);
}

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

.prose h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--text);
}

.prose h4 {
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--text);
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.5rem;
}

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

.prose figure {
  margin-block: 1.75rem;
}

.prose figure img {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.prose figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-3);
}

.prose--legal {
  font-size: 1rem;
}

.prose--legal a {
  overflow-wrap: anywhere;
}

.prose .name-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.5rem;
  padding-left: 0;
  list-style: none;
}

.prose .name-list li {
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  line-height: 1.4;
}

.prose .name-list span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-3);
}

.doc-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--mint-100);
}

.doc-help > div {
  flex: 1 1 16rem;
}

.doc-help h2 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

.doc-help p {
  margin-top: 0.2rem;
  color: var(--text-2);
}

.callout {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--mint-100);
  color: var(--ink-700);
}

.callout .icon {
  margin-top: 0.15rem;
  color: var(--brand-600);
}

.theme-filter {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.45rem 1.25rem 0.45rem 1.1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.theme-filter:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 147, 69, 0.16), var(--shadow-md);
}

.theme-filter__icon {
  color: var(--text-3);
}

.theme-filter input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0;
  border: 0;
  background: none;
  font-size: 1.05rem;
}

.theme-filter input:focus {
  outline: none;
}

.theme-filter__count {
  font-size: 0.9rem;
  color: var(--text-3);
  white-space: nowrap;
}

.doc-section {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.doc-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
  line-height: 1.15;
}

.doc-section__note {
  max-width: 46rem;
  margin-bottom: 1.25rem;
  color: var(--text-2);
}

.chips--themes li {
  font-weight: 650;
  color: var(--text);
}

.selector-card {
  max-width: 34rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.selector-card p {
  margin-bottom: 0.75rem;
  font-weight: 650;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr));
  gap: 1rem;
}

.theme-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.theme-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.selectors > div {
  padding-block: 0.55rem;
  border-top: 1px solid var(--line);
}

.selectors dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
}

.selectors dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.selectors code {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-700);
  overflow-wrap: anywhere;
}

.copy-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--text-3);
  transition: background-color 0.15s, color 0.15s;
}

/* The icon is drawn in CSS so the long theme list does not repeat an SVG 260 times. */
.copy-btn::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='8.5' width='12' height='12' rx='2'/%3E%3Cpath d='M15.5 8.5v-3a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='8.5' width='12' height='12' rx='2'/%3E%3Cpath d='M15.5 8.5v-3a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.copy-btn:hover {
  background: var(--mint-100);
  color: var(--brand-700);
}

.copy-btn.is-copied {
  background: var(--brand-600);
  color: #fff;
}

.theme-empty {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--text-2);
}

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

.lost {
  padding-block: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
}

.lost__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 14vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--mint-200);
}

.lost h1 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
}

.lost .lead {
  margin-top: 1rem;
}

.lost__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.lost__apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.lost__apps a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  transition: border-color 0.2s, background-color 0.2s;
}

.lost__apps a:hover {
  border-color: var(--mint-300);
  background: var(--mint-50);
}

.lost__apps .app-icon {
  width: 32px;
  height: 32px;
}

/* 16 Motion ---------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
  }

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

  /* Once revealed, hand hover transforms back to the component. */
  .js .reveal.is-done {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* 17 Print ----------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .theme-filter,
  .copy-btn,
  .doc-help {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
