@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-latin-800.woff2") format("woff2");
}

@font-face {
  font-family: "Funnel Display";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/funnel-display-latin-variable.woff2") format("woff2");
}

:root {
  --ink: #2c3e50;
  --ink-soft: #5e6a79;
  --ink-faint: #7d8794;
  --paper: #fff;
  --paper-soft: #f7f7f9;
  --paper-violet: #f3f1ff;
  --line: #e1e5eb;
  --violet: #666cff;
  --violet-dark: #4e54d8;
  --violet-pale: #e8e9ff;
  --aqua: #20bfd0;
  --aqua-pale: #e4fbfd;
  --lime: #72e128;
  --lime-dark: #3fae17;
  --lime-pale: #edffe2;
  --orange: #ff8758;
  --orange-pale: #fff0e9;
  --red: #ff4d49;
  --shadow-sm: 0 5px 20px rgb(44 62 80 / 8%);
  --shadow-md: 0 18px 55px rgb(44 62 80 / 13%);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --content: 1160px;
  color-scheme: light;
  font-family: "Poppins", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 15%, rgb(102 108 255 / 7%), transparent 25rem),
    radial-gradient(circle at 92% 34%, rgb(32 191 208 / 6%), transparent 27rem),
    var(--paper-soft);
  font-size: 16px;
  line-height: 1.72;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgb(44 62 80 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(44 62 80 / 2%) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

a {
  color: var(--violet-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--violet);
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(44 62 80 / 8%);
  background: rgb(255 255 255 / 91%);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), 1360px);
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 138px;
  height: auto;
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-header__actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.header-link,
.menu-button {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: #fff;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.header-link:hover,
.menu-button:hover {
  border-color: var(--violet);
  color: var(--violet-dark);
}

.menu-button {
  display: none;
}

.page-shell {
  display: grid;
  width: min(calc(100% - 40px), 1360px);
  margin: 0 auto;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 44px;
}

.side-nav {
  position: sticky;
  top: 96px;
  height: calc(100vh - 116px);
  padding: 20px 0 32px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.side-nav__eyebrow {
  margin: 0 0 12px 14px;
  color: var(--ink-faint);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.side-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav a {
  display: grid;
  margin: 3px 0;
  padding: 10px 13px;
  border-radius: 11px;
  grid-template-columns: 26px 1fr;
  align-items: center;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.side-nav a span:first-child {
  color: var(--ink-faint);
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}

.side-nav a:hover {
  color: var(--ink);
  background: #fff;
}

.side-nav a[aria-current="page"] {
  color: var(--violet-dark);
  background: var(--violet-pale);
  font-weight: 700;
}

.main-content {
  min-width: 0;
  padding-bottom: 100px;
}

.breadcrumbs {
  display: flex;
  min-height: 54px;
  margin: 0;
  padding: 14px 0 10px;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: .78rem;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  margin-bottom: 62px;
  padding: clamp(38px, 7vw, 78px);
  border: 1px solid rgb(102 108 255 / 12%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #f2efff 0%, #e8fbff 54%, #f0ffe6 100%);
  box-shadow: var(--shadow-md);
}

.hero::before {
  position: absolute;
  z-index: -2;
  right: -10%;
  bottom: -27%;
  width: 80%;
  height: 62%;
  background: url("../images/brand-waves.svg") center / cover no-repeat;
  content: "";
  transform: rotate(-4deg);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: 8%;
  width: 180px;
  height: 180px;
  border: 1px solid rgb(102 108 255 / 18%);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgb(102 108 255 / 5%), 0 0 0 62px rgb(32 191 208 / 4%);
  content: "";
}

.hero--compact {
  min-height: 330px;
}

.hero__kicker,
.section-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 8px;
  color: var(--violet-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__kicker::before,
.section-kicker::before {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--violet));
  content: "";
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Funnel Display", "Poppins", sans-serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 720;
  letter-spacing: -.05em;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 690;
  letter-spacing: -.035em;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  font-weight: 680;
  letter-spacing: -.015em;
}

h4 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 680;
}

.hero__lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero__meta {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid rgb(102 108 255 / 16%);
  border-radius: 999px;
  align-items: center;
  color: var(--ink-soft);
  background: rgb(255 255 255 / 72%);
  font-size: .78rem;
  font-weight: 600;
}

.content-section {
  margin: 0 0 86px;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.lead {
  max-width: 840px;
  color: var(--ink-soft);
  font-size: 1.13rem;
}

.prose {
  max-width: 820px;
}

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

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

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  position: relative;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 91%);
  box-shadow: var(--shadow-sm);
}

.card p:last-child,
.callout p:last-child,
.step p:last-child {
  margin-bottom: 0;
}

.card__number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  color: var(--violet-dark);
  background: var(--violet-pale);
  font-weight: 800;
}

.card--aqua .card__number {
  color: #087d89;
  background: var(--aqua-pale);
}

.card--lime .card__number {
  color: #338b15;
  background: var(--lime-pale);
}

.card--orange .card__number {
  color: #bd4d25;
  background: var(--orange-pale);
}

.card__link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card__link:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.feature-list,
.check-list,
.link-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 27px;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: .48em;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--lime-pale);
  box-shadow: inset 0 0 0 4px var(--lime);
  content: "";
}

.link-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.link-list li:last-child {
  border: 0;
}

.steps {
  display: grid;
  counter-reset: steps;
  gap: 16px;
}

.step {
  display: grid;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  background: #fff;
  counter-increment: steps;
}

.step::before {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--aqua));
  box-shadow: 0 8px 18px rgb(102 108 255 / 25%);
  content: counter(steps, decimal-leading-zero);
  font-family: "Funnel Display", sans-serif;
  font-size: .96rem;
  font-weight: 700;
}

.step h3,
.step h4 {
  margin-top: 3px;
}

.step > div > p:first-of-type {
  margin-top: 0;
}

.callout {
  position: relative;
  margin: 28px 0;
  padding: 26px 28px 26px 72px;
  border: 1px solid rgb(102 108 255 / 18%);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: linear-gradient(135deg, var(--paper-violet), #fff);
}

.callout::before {
  position: absolute;
  top: 27px;
  left: 27px;
  display: flex;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--violet);
  content: "✦";
  font-size: .92rem;
}

.callout--aha {
  border-color: rgb(114 225 40 / 24%);
  background: linear-gradient(135deg, var(--lime-pale), #fff);
}

.callout--aha::before {
  background: var(--lime-dark);
  content: "✓";
}

.callout--scope {
  border-color: rgb(255 135 88 / 24%);
  background: linear-gradient(135deg, var(--orange-pale), #fff);
}

.callout--scope::before {
  background: var(--orange);
  content: "↗";
}

.callout__title {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: "Funnel Display", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.screenshot {
  margin: 34px 0 44px;
}

.screenshot__frame {
  position: relative;
  padding: 8px;
  border: 1px solid rgb(44 62 80 / 12%);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.screenshot__frame::before {
  display: block;
  height: 24px;
  border-radius: 14px 14px 4px 4px;
  background:
    radial-gradient(circle at 12px 12px, #ff726d 0 4px, transparent 4.5px),
    radial-gradient(circle at 28px 12px, #ffc85c 0 4px, transparent 4.5px),
    radial-gradient(circle at 44px 12px, #72e128 0 4px, transparent 4.5px),
    #f5f6f8;
  content: "";
}

.screenshot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.screenshot img {
  display: block;
  width: 100%;
  border-radius: 5px 5px 14px 14px;
  background: var(--paper-soft);
}

.screenshot figcaption {
  display: grid;
  padding: 14px 6px 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  color: var(--ink-soft);
  font-size: .82rem;
}

.screenshot figcaption strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.screenshot figcaption span:last-child {
  color: var(--ink-faint);
  white-space: nowrap;
}

.figure-grid {
  display: grid;
  margin: 32px 0 44px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.figure-grid .screenshot {
  margin: 0;
}

.figure-grid .screenshot figcaption {
  grid-template-columns: 1fr;
}

.table-wrap {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.package-matrix {
  min-width: 980px;
}

.package-matrix tbody tr:not(.package-group) td:first-child {
  width: 22%;
  color: var(--ink);
  font-weight: 600;
}

.package-matrix tbody tr:not(.package-group) td:nth-child(2) {
  width: 48%;
  color: var(--ink-soft);
}

.package-matrix th:nth-child(n + 3),
.package-matrix td:nth-child(n + 3) {
  width: 10%;
  vertical-align: middle;
  text-align: center;
}

.package-matrix .package-group th {
  padding-block: 11px;
  color: var(--violet-dark);
  background: var(--paper-violet);
  letter-spacing: .06em;
}

th,
td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  color: var(--ink);
  background: #f5f5ff;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--lime-dark);
  background: var(--lime-pale);
  font-size: .73rem;
  font-weight: 700;
}

.status--violet {
  color: var(--violet-dark);
  background: var(--violet-pale);
}

.status--orange {
  color: #b24b25;
  background: var(--orange-pale);
}

.process {
  display: grid;
  margin: 32px 0;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.process li {
  position: relative;
  min-height: 118px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
}

.process li::before {
  display: flex;
  width: 38px;
  height: 38px;
  margin: 0 auto 11px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--violet);
  content: attr(data-step);
  font-weight: 800;
}

.process li:nth-child(2)::before,
.process li:nth-child(5)::before {
  background: var(--aqua);
}

.process li:nth-child(3)::before,
.process li:nth-child(6)::before {
  background: var(--lime-dark);
}

.process li:nth-child(4)::before {
  background: var(--orange);
}

.toc-search {
  position: relative;
  max-width: 760px;
  margin: 0 auto 44px;
}

.toc-search input {
  width: 100%;
  min-height: 62px;
  padding: 0 24px 0 56px;
  border: 1px solid rgb(102 108 255 / 20%);
  border-radius: 18px;
  outline: none;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.toc-search input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgb(102 108 255 / 12%), var(--shadow-md);
}

.toc-search::before {
  position: absolute;
  top: 8px;
  left: 24px;
  color: var(--violet);
  content: "⌕";
  font-family: sans-serif;
  font-size: 1.45rem;
}

.toc-search__status {
  min-height: 1.4em;
  margin: -30px auto 24px;
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
}

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

.toc-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.toc-card[hidden] {
  display: none !important;
}

.toc-card__header {
  display: grid;
  margin-bottom: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
}

.toc-card__number {
  display: flex;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--aqua));
  font-size: .8rem;
  font-weight: 800;
}

.toc-card h2 {
  margin: 2px 0 3px;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}

.toc-card__summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: .82rem;
}

.toc-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-card li {
  border-top: 1px solid var(--line);
}

.toc-card li a {
  display: flex;
  padding: 9px 2px;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: .81rem;
  text-decoration: none;
}

.toc-card li a::after {
  color: var(--violet);
  content: "→";
}

.toc-card li a:hover {
  color: var(--violet-dark);
}

.page-nav {
  display: grid;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-nav a {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.page-nav a:last-child {
  text-align: right;
}

.page-nav small {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-nav a:hover {
  border-color: var(--violet);
  box-shadow: var(--shadow-sm);
}

.site-footer {
  position: relative;
  padding: 80px 20px 38px;
  overflow: hidden;
  color: rgb(255 255 255 / 78%);
  background: var(--ink);
}

.site-footer__inner {
  position: relative;
  display: grid;
  width: min(100%, var(--content));
  margin: 0 auto;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: end;
}

.site-footer img {
  width: 160px;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 650px;
  margin: 0;
  font-size: .8rem;
}

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

.package-footer__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.package-footer__top,
.package-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
}

.package-footer__logo img {
  width: 160px;
  margin: 0;
}

.package-footer__summary {
  max-width: 320px;
  text-align: right;
}

.package-footer .package-footer__summary p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.625;
}

.package-footer .package-footer__contact {
  margin-top: 40px;
  font-weight: 700;
}

.package-footer hr {
  margin: 24px 0 32px;
  border: 0;
  border-top: 1px solid rgb(150 164 168 / 70%);
}

.package-footer__bottom {
  align-items: center;
}

.package-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: .875rem;
}

.package-footer__links a {
  text-decoration: underline;
}

.package-footer__bottom > p {
  color: #fff;
  white-space: nowrap;
}

.lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  padding: 28px;
  border: 0;
  align-items: center;
  justify-content: center;
  background: rgb(20 28 40 / 94%);
  cursor: zoom-out;
}

.lightbox[open] {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 1800px);
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(255 255 255 / 10%);
  font-size: 1.4rem;
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--violet);
  box-shadow: 0 10px 28px rgb(102 108 255 / 36%);
  opacity: 0;
  transform: translateY(12px);
  transition: .2s ease;
  pointer-events: none;
  cursor: pointer;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.kbd {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #cfd4dc;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  font-size: .78em;
  font-weight: 600;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: .82rem;
}

.center {
  text-align: center;
}

@media (max-width: 1100px) {
  .page-shell {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }

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

@media (max-width: 820px) {
  .site-header__inner,
  .page-shell {
    width: min(calc(100% - 28px), 100%);
  }

  .brand span,
  .header-link--toc {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .page-shell {
    display: block;
  }

  .side-nav {
    position: fixed;
    z-index: 80;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    height: auto;
    padding: 25px;
    background: rgb(255 255 255 / 97%);
    backdrop-filter: blur(18px);
  }

  .side-nav[data-open="true"] {
    display: block;
  }

  .hero {
    min-height: 360px;
    padding: 38px 28px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

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

  .figure-grid,
  .toc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .site-header__inner {
    min-height: 64px;
  }

  .brand img {
    width: 112px;
  }

  .header-link--home {
    display: none;
  }

  .breadcrumbs {
    min-height: 44px;
  }

  .hero {
    min-height: 390px;
    margin-bottom: 52px;
    border-radius: 22px;
  }

  .content-section {
    margin-bottom: 64px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .process,
  .page-nav,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .callout {
    padding: 68px 22px 24px;
  }

  .callout::before {
    top: 23px;
    left: 22px;
  }

  .screenshot__frame {
    padding: 5px;
    border-radius: 15px;
  }

  .screenshot figcaption {
    grid-template-columns: 1fr;
  }

  .screenshot figcaption span:last-child {
    white-space: normal;
  }

  .site-footer__inner {
    align-items: start;
  }

  .package-footer__top,
  .package-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .package-footer__summary {
    text-align: center;
  }

  .package-footer__links {
    justify-content: center;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  body {
    background: #fff;
    font-size: 10pt;
  }

  .site-header,
  .side-nav,
  .page-nav,
  .back-to-top,
  .lightbox,
  .toc-search {
    display: none !important;
  }

  .page-shell {
    display: block;
    width: 100%;
  }

  .main-content {
    padding: 0;
  }

  .hero {
    min-height: 0;
    box-shadow: none;
    break-after: avoid;
  }

  .content-section,
  .card,
  .screenshot,
  .callout,
  .step {
    break-inside: avoid;
  }

  .site-footer {
    margin-top: 40px;
    color: var(--ink);
    background: #fff;
  }

  .site-footer img {
    filter: none;
  }
}
