/* ==============================================
   in1s theme: the in1s design system for a storefront.

   The tokens are theme settings (snippets/theme-styles.liquid): each colour scheme gives a band its colours, and the
   panel radius sets the rounded shell a page section sits in. The kinetic bands (`.kx`, the home) run the full width
   of the page with very large type; the header and footer are full-width bars.
   Pink (the accent) is a fill behind dark text, never text and never a border on white.
   ============================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Under the sticky header: a jump to an anchor (`#pricing`, `/pricing`) lands just below it. */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: calc(16px * var(--font-body-scale, 1));
  line-height: 1.6;
  color: var(--color-text);
  background: var(--page-background);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}

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

img { height: auto; }

a { color: inherit; }

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight, 600);
  line-height: 1.15;
  letter-spacing: var(--heading-tracking, -0.02em);
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--color-accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { inset-block-start: 12px; }

/* ── The page: full-width kinetic bands, and page sections in a rounded shell within the page width ── */

.site-main {
  display: flex;
  flex-direction: column;
}

.section-wrap:empty { display: none; }

.section-wrap:has(> .section) { padding: 8px 16px; }

/* A home band (steps, pricing, questions) is a full-width kinetic band, its content on the same edge as the others. */
.section-wrap:has(> .section.band) { padding: 0; }

.section.band {
  max-width: var(--page-width, 1200px);
  padding-inline: 20px;
  border-radius: 0;
}

.section.band .band__inner { max-width: none; }
.section.band .band__inner--narrow > :not(.band-head) { max-width: 860px; }

.section {
  max-width: calc(var(--page-width, 1200px) - 32px);
  width: 100%;
  margin-inline: auto;
  padding: var(--pt, 64px) 32px var(--pb, 64px);
  border-radius: var(--radius-shell, 28px);
  background: var(--gradient-background, var(--color-background));
  color: var(--color-text);
}

.width--narrow { max-width: 760px; margin-inline: auto; }
.width--medium { max-width: 1000px; margin-inline: auto; }
.width--wide { max-width: none; }

.align--start { text-align: start; }
.align--center { text-align: center; }
.align--center .block-group { justify-content: center; }

/* ── Buttons: the black pill is the everyday action, the accent fill the one main call to action ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--color-primary-button);
  color: var(--color-primary-button-text);
}

.btn--primary:hover { background: color-mix(in srgb, var(--color-primary-button) 85%, var(--color-primary-button-text)); }

.btn--accent {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.btn--accent:hover { background: color-mix(in srgb, var(--color-accent) 88%, #000); }

.btn--outline {
  border-color: var(--color-border);
  background: var(--color-secondary-button);
  color: var(--color-secondary-button-text);
}

.btn--outline:hover { border-color: var(--color-text); }

.btn--large {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1.125rem;
}

.btn--full { display: flex; width: 100%; }

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
}

.icon-link:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

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

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Header: a full-width bar, the content within the page width ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.is-editing .site-header { position: relative; }

/* The section group wraps the header in its own element, which is only as tall as the header, so the header alone cannot
   stick past it: the wrapper is what sticks to the top of the page. */
body > :has(> .site-header) {
  position: sticky;
  top: 0;
  z-index: 50;
}

.is-editing > :has(> .site-header) { position: relative; }

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-block: 10px;
  padding-inline: max(20px, calc((100% - var(--page-width, 1200px)) / 2 + 20px));
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: 8px;
  text-decoration: none;
}

.brand__image {
  display: block;
  width: auto;
  max-width: 160px;
  height: 28px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  color: var(--color-text-secondary);
  text-decoration: none;
  cursor: pointer;
}

.site-nav__link:hover,
.site-nav__link.is-active { color: var(--color-text); background: var(--color-card-background); }

/* The list menu (the header's Tools): a <details> that opens a panel of the list's entries. */
.site-menu { position: relative; }
.site-menu > summary { list-style: none; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu__toggle svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.site-menu[open] .site-menu__toggle { color: var(--color-text); background: var(--color-card-background); }
.site-menu[open] .site-menu__toggle svg { transform: rotate(180deg); }

.site-menu__panel {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-start: -8px;
  z-index: 60;
  width: 360px;
  padding: 8px;
  border-radius: var(--radius-card, 20px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.3);
  animation: site-menu-in 0.18s ease-out;
}

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

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

.list-menu__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px;
  border-radius: var(--radius-field, 14px);
  text-decoration: none;
}

.list-menu__item:hover { background: var(--color-card-background); }

.list-menu__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffe3f8;
  color: #000;
}

.list-menu__icon svg { width: 24px; height: 24px; }
.list-menu__title { display: block; font-weight: 600; }
.list-menu__text { display: block; font-size: 0.8125rem; font-weight: 400; line-height: 1.45; color: var(--color-text-secondary); }

.list-menu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 4px;
  padding: 12px;
  border-block-start: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.list-menu__all svg { width: 16px; height: 16px; }
[dir="rtl"] .list-menu__all svg { transform: scaleX(-1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.site-nav + .site-header__actions { margin-inline-start: 8px; }

.language-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.language-switcher__select {
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
}

.drawer { display: none; }
.drawer > summary { list-style: none; }
.drawer > summary::-webkit-details-marker { display: none; }
.drawer:not([open]) .drawer__panel { display: none; }

.drawer__panel {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline: 0;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 16px;
  border-radius: var(--radius-card, 20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.drawer__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-block-end: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}

.drawer__panel .btn { margin-block-start: 16px; }

.drawer__group {
  margin-block-start: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.drawer__panel .list-menu { margin-block: 4px 0; }
.drawer__panel .list-menu__all { border-block-start: 0; padding-inline: 10px; }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .site-nav + .site-header__actions { margin-inline-start: auto; }
  .drawer { display: block; }
  .site-header__cta { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header__bar {
    background: var(--color-background);
    backdrop-filter: none;
  }
}

/* ── Hero ── */

.hero { text-align: center; }

.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  margin-block-end: 24px;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__title {
  max-width: 22ch;
  margin: 0 auto 24px;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.hero__text {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1.25rem;
  color: var(--color-text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  font-size: 1.125rem;
}

/* ── Pages: a route's title and blocks, search, not found ── */

.page-title {
  margin-block-end: 32px;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.main-page__inner > * + * { margin-block-start: 20px; }
.main-page__inner > .page-title + * { margin-block-start: 0; }

.rich__inner > * + * { margin-block-start: 20px; }
.rich__inner.align--center :is(p, ul, ol) { margin-inline: auto; }

.block-heading--xs { font-size: 1.25rem; }
.block-heading--sm { font-size: clamp(1.5rem, 3vw, 2rem); }
.block-heading--md { font-size: clamp(2rem, 4.5vw, 3rem); }
.block-heading--lg { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; }

.block-text--lg { font-size: 1.25rem; }

.block-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

figure.block { margin: 0; }

.block-image {
  overflow: hidden;
  border-radius: var(--radius-card, 20px);
}

.block-image__caption {
  margin-block-start: 10px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--color-card-background);
}

.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media--square { aspect-ratio: 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--auto img { height: auto; }
.media--empty { aspect-ratio: 3 / 2; }

/* Prose: rich text from the editor, and the legal pages. A link inside prose stays underlined. */

.rte { line-height: 1.7; }
.rte > :first-child { margin-block-start: 0; }
.rte > :last-child { margin-block-end: 0; }

.rte h2 {
  margin: 40px 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.rte h3 {
  margin: 28px 0 8px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0;
}

.rte p,
.rte ul,
.rte ol { margin: 0 0 16px; }

.rte ul,
.rte ol { padding-inline-start: 24px; }

.rte li { margin: 6px 0; }

.rte a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* A table in prose (the cookie policy's): scrolls inside its own box on a narrow screen, never the page. */
.rte .legal-table {
  margin: 0 0 24px;
  overflow-x: auto;
}

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

.rte .legal-table table { min-width: 640px; }

.rte th,
.rte td {
  padding: 10px 12px;
  border-block-end: 1px solid var(--color-border);
  text-align: start;
  vertical-align: top;
}

.rte th { font-weight: 600; }

.rte td code { overflow-wrap: anywhere; }

.field {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-field, 14px);
  background: var(--color-background);
  color: var(--color-text);
  font: inherit;
}

.form-field__label {
  display: block;
  margin-block-end: 6px;
  font-weight: 500;
}

.search__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search__form .field { flex: 1 1 240px; }

.search__status { color: var(--color-text-secondary); }

.search__results {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--color-border);
}

.search__results a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-block-end: 1px solid var(--color-border);
  font-weight: 500;
  text-decoration: none;
}

.search__results a:hover { text-decoration: underline; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.empty-state { color: var(--color-text-secondary); }

.notfound { text-align: center; }

.notfound__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.notfound__code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: var(--font-heading-weight, 600);
  line-height: 1;
  letter-spacing: -0.04em;
}

.notfound__text { color: var(--color-text-secondary); }

.notfound .page-title { margin: 0; }

/* ── Tools: the /tools list, one card per tool; the whole card is the link ── */

.tools__inner { max-width: 1000px; margin: 0 auto; }

.tools__head { margin-block-end: 32px; text-align: center; }

.tools__title { margin-block-end: 12px; }

.tools__lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px));
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  padding: 24px;
  border-radius: var(--radius-card, 20px);
  background: var(--color-card-background);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover { background: color-mix(in srgb, var(--color-card-background) 85%, var(--color-text)); }

.tool-card__title { font-size: 1.5rem; }

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-block-end: 8px;
  border-radius: 14px;
  background: #ffe3f8;
  color: #000;
}

.tool-card__icon svg { width: 28px; height: 28px; }

.tool-card__link { text-decoration: none; }

.tool-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.tool-card__link:focus-visible { outline: none; box-shadow: none; }

.tool-card:has(.tool-card__link:focus-visible) {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--color-accent);
}

.tool-card__text { color: var(--color-text-secondary); }

.tool-card__go {
  align-self: flex-start;
  margin-block-start: auto;
  padding: 8px 18px;
  border-radius: 9999px;
  background: var(--color-primary-button);
  color: var(--color-primary-button-text);
  font-weight: 500;
}

/* ── Home bands: a centred headline over cards, numbered steps, plans or questions ── */

.band__inner { max-width: 1100px; margin: 0 auto; }
.band__inner--narrow { max-width: 760px; }

.band-head {
  max-width: 760px;
  margin: 0 0 40px;
}

.band-head__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.band-head__text {
  margin-block-start: 16px;
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.card-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card, 20px);
  background: var(--color-background);
}

.info-card--tinted {
  border-color: transparent;
  background: var(--color-card-background);
}

.info-card__title,
.step__title {
  margin-block-end: 8px;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.info-card__text,
.step__text { color: var(--color-text-secondary); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 24px;
  border-radius: var(--radius-card, 20px);
  background: var(--color-card-background);
}

.step__number {
  display: block;
  margin-block-end: 16px;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--color-card-background);
  -webkit-text-stroke: 3px var(--color-text);
  paint-order: stroke fill;
}

/* Pricing: each card is a subgrid of the row's four tracks (name and description, price, features, button), so prices,
   lists and buttons line up across cards of different text lengths. The highlighted plan is the inverted card: the
   page's ink as its fill, the accent only as fills behind dark text (its badge, its checks, its button). */
.plans {
  display: grid;
  grid-template-columns: repeat(var(--plan-columns, 3), minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  --plan-ink: var(--color-text);
  --plan-paper: var(--color-background);
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 32px;
  border: 1.5px solid var(--plan-ink);
  border-radius: var(--radius-card, 20px);
  background: var(--plan-paper);
  color: var(--plan-ink);
  box-shadow: 0 0 0 0 var(--plan-ink);
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .plan:hover {
    translate: -4px -4px;
    box-shadow: 8px 8px 0 0 var(--plan-ink);
  }
}

.plan--highlighted {
  --plan-ink: var(--color-background);
  --plan-paper: var(--color-text);
  --color-text-secondary: color-mix(in srgb, var(--color-background) 68%, var(--color-text));
  border-color: var(--color-text);
  box-shadow: 8px 8px 0 0 var(--color-accent);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .plan--highlighted:hover { box-shadow: 12px 12px 0 0 var(--color-accent); }
}

.plan__top { margin-block-end: 28px; }

.plan__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-block-end: 8px;
}

.plan__name {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.plan__badge {
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.plan__desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin-block-end: 28px;
  padding-block-end: 28px;
  border-block-end: 1px solid color-mix(in srgb, var(--plan-ink) 16%, transparent);
}

.plan__amount {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

/* The period has its own size and tracking: the amount's tight tracking is an em of the big size. */
.plan__period {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.plan__check {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--plan-ink);
  color: var(--plan-paper);
}

.plan--highlighted .plan__check {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.plan__check svg { width: 13px; height: 13px; }

.plan__action { align-self: end; }

.plan .btn { min-height: 52px; }
.plan .btn svg { width: 18px; height: 18px; transition: translate 0.2s ease; }
.plan .btn:hover svg { translate: 3px 0; }
[dir="rtl"] .plan .btn svg { transform: scaleX(-1); }
[dir="rtl"] .plan .btn:hover svg { translate: -3px 0; }

.plan--highlighted .btn--accent:hover { background: color-mix(in srgb, var(--color-accent) 85%, #fff); }

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq { gap: 0; border-block-start: 1.5px solid var(--color-text); }

.faq__item { border-block-end: 1.5px solid var(--color-text); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question:focus-visible { border-radius: var(--radius-card, 20px); }

.faq__chevron {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-card-background);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.faq__item[open] .faq__chevron { background: var(--color-accent); color: var(--color-accent-text); }

.faq__chevron svg { width: 20px; height: 20px; }

.faq__item[open] .faq__chevron { transform: rotate(180deg); }

.faq__answer {
  max-width: 68ch;
  padding: 0 0 20px;
  color: var(--color-text-secondary);
}

.faq__answer a { color: var(--color-text); }

/* ── Footer: a full-width black band, its closing headline set very large ── */

.site-footer { margin-block-start: 96px; }

.site-footer__inner {
  padding-block: 80px 32px;
  padding-inline: max(20px, calc((100% - var(--page-width, 1200px)) / 2 + 20px));
}

/* The closing call: the headline, then its button on a line of its own with room to breathe, drawn like every other
   call to action on the page (the accent pill with its arrow). */
.site-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  margin-block-end: 56px;
}

.site-footer__cta-button svg { width: 20px; height: 20px; transition: translate 0.2s ease; }
.site-footer__cta-button:hover svg { translate: 3px 0; }
[dir="rtl"] .site-footer__cta-button svg { transform: scaleX(-1); }
[dir="rtl"] .site-footer__cta-button:hover svg { translate: -3px 0; }

.site-footer__title {
  max-width: 12ch;
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  padding-block-end: 32px;
}

.site-footer__brand {
  flex: 1 1 280px;
  max-width: 480px;
}

.site-footer__text { color: var(--color-text-secondary); }

.site-footer__email { margin-block-start: 12px; }

.site-footer a { text-decoration: none; }

.site-footer__email a:hover,
.site-footer__menu a:hover,
.site-footer__fine a:hover,
.site-footer__built-link:hover { text-decoration: underline; }

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-block-start: 12px;
}

.site-footer__social:empty { display: none; }

.site-footer__heading {
  margin-block-end: 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-text-secondary);
}

.site-footer__menu ul,
.site-footer__fine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu ul { flex-direction: column; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.site-footer__base a { color: var(--color-text); }

/* The built with in1s line: its own row under the fine print, in the base's muted small type. */
.site-footer__built {
  flex-basis: 100%;
  margin: 0;
}

.site-footer__built-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
}

.site-footer__built-link svg { width: 1em; height: 1em; }

[dir="rtl"] .site-footer__built-link svg { transform: scaleX(-1); }

/* ── The password page ── */

.gate {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 16px;
}

.gate__card {
  width: 100%;
  max-width: 480px;
  padding: 40px 32px;
  border-radius: var(--radius-shell, 28px);
  text-align: center;
}

.gate__brand { display: flex; justify-content: center; margin-block-end: 24px; }
.gate__title { margin-block-end: 12px; font-size: 2rem; }
.gate__text { margin-block-end: 24px; color: var(--color-text-secondary); }
.gate__panel summary { cursor: pointer; font-weight: 500; text-decoration: underline; }
.gate__form { display: flex; flex-direction: column; gap: 12px; margin-block-start: 20px; text-align: start; }
.gate__error { color: var(--color-error); }

/* ── Narrow screens ── */

@media (max-width: 899px) {
  .card-grid,
  .steps,
  .plans { grid-template-columns: minmax(0, 1fr); }
  .band-head { margin-block-end: 32px; }
  .section { padding: calc(var(--pt, 64px) * 0.6) 20px calc(var(--pb, 64px) * 0.6); }
  .hero__text { font-size: 1.125rem; }
  .site-footer { margin-block-start: 64px; }
  .site-footer__inner { padding-block: 56px 24px; }

  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 599px) {
  .site-header__bar { gap: 12px; padding-inline-start: 16px; }
  .hero__actions .btn { width: 100%; }
}

/* ── Kinetic bands (the home): full width, very large type, black and pink ── */

.kx {
  padding-block: var(--pt, 96px) var(--pb, 96px);
  background: var(--gradient-background, var(--color-background));
  color: var(--color-text);
}

.kx__in {
  max-width: var(--page-width, 1200px);
  margin-inline: auto;
  padding-inline: 20px;
}

.kx-eyebrow {
  margin-block-end: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.kx-title {
  margin-block-end: 16px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.kx-title__line { display: block; }

/* An outline is the band's own ground with the stroke painted under it: a transparent fill would show every place a
   font's contours overlap inside a letter (Outfit's do), and the fill covers them. The stroke is doubled because only
   its outer half shows. */
.kx-outline {
  color: var(--color-background);
  -webkit-text-stroke: 3px var(--color-text);
  paint-order: stroke fill;
}

.kx-lead {
  max-width: 52ch;
  margin-block-end: 32px;
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.kx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kx-actions .btn svg { width: 18px; height: 18px; }
[dir="rtl"] .kx-actions .btn svg { transform: scaleX(-1); }

/* Big hero */

.kx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
}

.kx-hero__title {
  font-size: clamp(3.25rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.kx-hero__line { display: block; }
.kx-hero__line--outline { color: var(--color-background); -webkit-text-stroke: 4px var(--color-text); paint-order: stroke fill; }

.kx-hero__line--mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.kx-hero__line--mark::after {
  content: "";
  position: absolute;
  inset-inline: -0.04em;
  inset-block-end: 0.06em;
  z-index: -1;
  height: 0.26em;
  background: var(--color-accent);
  transform-origin: left;
  animation: kx-grow 1s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

[dir="rtl"] .kx-hero__line--mark::after { transform-origin: right; }

@keyframes kx-grow { from { transform: scaleX(0); } }

.kx-hero__side { display: grid; gap: 18px; justify-items: start; }
.kx-hero__side .kx-lead { margin: 0; max-width: 36ch; }

/* Under the buttons: what the first one covers, then the names it works with. Both are quiet, so the buttons lead. */
.kx-hero__caption,
.kx-hero__works {
  margin: 0;
  max-width: 40ch;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.kx-hero__caption { margin-block-start: -8px; }
.kx-hero__works { max-width: 64ch; font-weight: 600; color: var(--color-text); }

/* Long headline lines: the headline takes the full width at a size where a line of about thirty characters still fits
   on one row, and the text and the buttons sit beneath it in two columns. */
/* A full-width line that parts with the scroll (scroll-story.css) would reach past a narrow screen's edge: clip it. */
.kx-hero--stacked { overflow-x: clip; }
.kx-hero--stacked .kx-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 40px; }
.kx-hero--stacked .kx-hero__title { font-size: clamp(2.5rem, 7.2vw, 6rem); line-height: 0.94; letter-spacing: -0.05em; }
.kx-hero--stacked .kx-hero__line--outline { -webkit-text-stroke-width: clamp(1.5px, 0.032em, 3px); }
.kx-hero--stacked .kx-hero__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.kx-hero--stacked .kx-hero__side > * { grid-column: 2; }
.kx-hero--stacked .kx-hero__side > .kx-lead { grid-column: 1; grid-row: 1 / span 4; max-width: 44ch; font-size: 1.25rem; }

.kx-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
  padding-inline: 6px 16px;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px var(--color-border);
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.kx-note:hover { box-shadow: inset 0 0 0 1px var(--color-text); color: var(--color-text); }
.kx-note__orb { display: grid; place-items: center; width: 64px; height: 64px; flex: none; }

/* Moving words */

.kx-marquee { padding-block: 12px; overflow: hidden; }
.kx-marquee--tilt { padding-block: 24px; }
.kx-marquee--tilt .kx-marquee__row { transform: rotate(-2deg); margin-inline: -40px; }
[dir="rtl"] .kx-marquee--tilt .kx-marquee__row { transform: rotate(2deg); }
.kx-marquee + .kx-marquee { margin-block-start: -36px; }

.kx-marquee__row { display: flex; overflow: hidden; padding-block: 16px; }

.kx-marquee__track {
  display: flex;
  flex-shrink: 0;
  animation: kx-marquee var(--kx-speed, 40s) linear infinite;
}

.kx-marquee__row.is-reverse .kx-marquee__track { animation-direction: reverse; }
[dir="rtl"] .kx-marquee__track { animation-name: kx-marquee-rtl; }
.kx-marquee__row:hover .kx-marquee__track { animation-play-state: paused; }

.kx-marquee__half,
.kx-marquee__more {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.kx-marquee__item,
.kx-marquee__sep {
  padding-inline-end: 30px;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.kx-marquee__sep { font-size: 1.125rem; color: var(--color-accent); }
.color-scheme-4 .kx-marquee__sep { color: var(--color-text); }

@keyframes kx-marquee { to { transform: translateX(-50%); } }
@keyframes kx-marquee-rtl { to { transform: translateX(50%); } }

/* Numbers */

.kx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-block-start: 28px;
}

.kx-stat {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border: 1.5px solid var(--color-text);
  border-radius: var(--radius-card, 20px);
}

.kx-stat__value {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.kx-stat__title { font-size: 1.125rem; letter-spacing: 0; }
.kx-stat__text { color: var(--color-text-secondary); }

/* Feature rows */

.kx-rows {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-block-start: 1.5px solid var(--color-text);
}

.kx-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) 48px;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  border-block-end: 1.5px solid var(--color-text);
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
}

.kx-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

a.kx-row:hover::before,
a.kx-row:focus-visible::before { transform: scaleY(1); }

.kx-row__title {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  transition: transform 0.35s ease;
}

a.kx-row:hover .kx-row__title { transform: translateX(10px); }
[dir="rtl"] a.kx-row:hover .kx-row__title { transform: translateX(-10px); }
.kx-row__text { color: var(--color-text-secondary); }
a.kx-row:hover .kx-row__text { color: var(--color-accent-text); }

.kx-row__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-text);
  border-radius: 50%;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.kx-row__arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .kx-row__arrow svg { transform: scaleX(-1); }
a.kx-row:hover .kx-row__arrow { transform: rotate(-45deg); background: var(--color-text); color: var(--color-background); }

/* Tool showcase */

.kx-tool { overflow: hidden; }

.kx-tool__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: center;
}

.kx-tool .btn--outline { border-color: currentColor; background: transparent; color: var(--color-text); }

.kx-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.kx-points li { display: flex; gap: 10px; align-items: center; }

.kx-points li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* The demo: a fixed light look inside any band. */

.kx-demo {
  --kx-a1: #8e8e93;
  --kx-a2: #c7c7cc;
  --kx-a3: #f2f2f5;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  color: #000;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.kx-demo__pointer {
  position: absolute;
  inset-block-start: 0;
  left: 0;
  z-index: 5;
  width: 22px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.8s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.3s;
}

.kx-demo__pointer.is-shown { opacity: 1; }

.kx-demo__pointer.is-click { animation: kx-click 0.3s ease-out; }
@keyframes kx-click { 50% { scale: 0.8; } }

.kx-demo__tool {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius-shell, 28px);
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(255, 144, 232, 0.45);
}

.kx-demo__form { display: grid; gap: 10px; }
.kx-demo__run { display: none; }
.kx-demo__tool.is-running .kx-demo__form,
.kx-demo__tool.is-done .kx-demo__form { display: none; }
.kx-demo__tool.is-running .kx-demo__run,
.kx-demo__tool.is-done .kx-demo__run { display: block; }

.kx-demo__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 9999px; background: #f5f5f7; font-size: 0.71875rem; }
.kx-demo__tabs span { flex: 1; padding: 5px 6px; border-radius: 9999px; color: #6e6e73; text-align: center; white-space: nowrap; }
.kx-demo__tabs span:first-child { background: #fff; color: #000; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.kx-demo__label { font-weight: 600; }

.kx-demo__field {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.71875rem;
  overflow-wrap: anywhere;
  direction: ltr;
  text-align: left;
}

.kx-demo__field.is-focus { box-shadow: inset 0 0 0 2px #000; }
.kx-demo__ph { color: #a1a1a6; }

.kx-demo__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.kx-demo__chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  font-size: 0.75rem;
}

.kx-demo__chips span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #6e6e73; }
.kx-demo__chips span.is-on { background: #ffe3f8; box-shadow: inset 0 0 0 1px #000; }
.kx-demo__chips span.is-on::before { background: #000; box-shadow: none; }

.kx-demo__build {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.kx-demo__slot { display: none; width: 20px; height: 20px; }
.kx-demo__build.is-busy .kx-demo__slot { display: inline-block; }

.kx-demo__runhead { display: flex; justify-content: space-between; margin-block-end: 6px; color: #6e6e73; font-size: 0.75rem; }
.kx-demo__bar { height: 3px; margin-block-end: 8px; overflow: hidden; border-radius: 3px; background: #ececf0; }
.kx-demo__bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #000, #ff90e8); transition: width 0.6s ease; }

.kx-demo__steps { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }

.kx-demo__steps li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  color: #a1a1a6;
  transition: background-color 0.3s, color 0.3s;
}

.kx-demo__mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d2d2d7; }
.kx-demo__steps li.is-run { background: #f5f5f7; color: #000; font-weight: 500; }
.kx-demo__steps li.is-run .kx-demo__mark { box-shadow: none; }
.kx-demo__steps li.is-ok { color: #000; }
.kx-demo__steps li.is-ok .kx-demo__mark { background: #000; box-shadow: none; }

.kx-demo__steps li.is-ok .kx-demo__mark::after {
  content: "";
  width: 8px;
  height: 4px;
  border-inline-start: 2px solid #fff;
  border-block-end: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.kx-demo__stage { position: relative; min-width: 0; padding-block-end: 36px; }

.kx-demo__laptop {
  position: relative;
  padding: 8px 8px 0;
  border-radius: var(--radius-card, 20px);
  background: #1c1c1f;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.kx-demo__laptop::after {
  content: "";
  display: block;
  height: 12px;
  margin: 0 -18px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(#2a2a2e, #141416);
}

.kx-demo__screen { position: relative; height: 340px; overflow: hidden; border-radius: 10px 10px 0 0; background: #fff; }
.kx-demo__chrome { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-block-end: 1px solid rgba(0, 0, 0, 0.08); background: #f5f5f7; direction: ltr; }
.kx-demo__chrome i { width: 8px; height: 8px; border-radius: 50%; background: #dcdce1; }

.kx-demo__url {
  flex: 1;
  min-width: 0;
  margin-inline-start: 6px;
  padding: 3px 10px;
  overflow: hidden;
  border-radius: 9999px;
  background: #fff;
  color: #6e6e73;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.65625rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kx-demo__viewport { position: absolute; inset: 31px 0 0; overflow: hidden; }
.kx-demo__site { padding-block-end: 16px; transition: transform 6s cubic-bezier(0.45, 0, 0.3, 1); }

.kx-site__nav { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 0.75rem; font-weight: 600; }
.kx-site__icon { width: 22px; height: 22px; border-radius: 7px; background: #e6e6ea; transition: background 0.5s; }
.kx-site__links { display: flex; gap: 10px; margin-inline-start: auto; }
.kx-site__links span { width: 34px; height: 6px; border-radius: 4px; background: #e1e1e6; }
.kx-site__get { width: 64px; height: 20px; border-radius: 9999px; background: #e6e6ea; transition: background 0.5s; }

.kx-site__hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
  align-items: center;
  min-height: 170px;
  margin: 4px 12px 0;
  padding: 18px;
  border-radius: 14px;
  background: #f3f3f6;
  transition: background 0.7s;
}

.kx-site__h { min-height: 1.1em; margin-block-end: 6px; font-size: 1.375rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.kx-site__sub { min-height: 2.6em; margin-block-end: 10px; font-size: 0.71875rem; color: #6e6e73; }
.kx-site__sk { display: block; width: 85%; height: 9px; margin-block-start: 6px; border-radius: 6px; background: #e1e1e6; }
.kx-site__sk--short { width: 60%; }
.kx-demo.is-written .kx-site__sk { display: none; }
.kx-site__stores { display: flex; gap: 6px; margin-block-start: 8px; }
.kx-site__stores span { width: 64px; height: 20px; border-radius: 6px; background: #d9d9de; transition: background 0.5s; }

.kx-site__phone { justify-self: center; width: 78px; height: 150px; padding: 4px; border-radius: 16px; background: #111; }
.kx-site__phone span { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 12px; background: #e6e6ea; transition: background 0.7s; }

.kx-site__phone span::before,
.kx-site__phone span::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.5s 0.2s;
}

.kx-site__phone span::before { inset-block-start: 22px; height: 30px; background: rgba(255, 255, 255, 0.75); }
.kx-site__phone span::after { inset-block-start: 60px; height: 50px; background: rgba(255, 255, 255, 0.45); }

.kx-demo.has-shots .kx-site__phone span { background: linear-gradient(180deg, var(--kx-a1), var(--kx-a2)); }
.kx-demo.has-shots .kx-site__phone span::before,
.kx-demo.has-shots .kx-site__phone span::after { opacity: 1; }
.kx-demo.is-styled .kx-site__icon { background: linear-gradient(135deg, var(--kx-a1), var(--kx-a2)); }
.kx-demo.is-styled .kx-site__get { background: var(--kx-a1); }
.kx-demo.is-styled .kx-site__hero { background: linear-gradient(135deg, var(--kx-a3), #fff); }
.kx-demo.is-styled .kx-site__stores span { background: #111; }

.kx-site__blk { opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.kx-site__blk.is-in { opacity: 1; transform: none; }

.kx-site__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 12px 0; }
.kx-site__feats div { padding: 10px; border-radius: 12px; background: var(--kx-a3); font-size: 0.6875rem; font-weight: 600; }
.kx-site__feats i { display: block; width: 18px; height: 18px; margin-block-end: 6px; border-radius: 6px; background: var(--kx-a1); }

.kx-site__quote { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; margin: 10px 12px 0; padding: 12px; border-radius: 12px; background: #f6f6f8; font-size: 0.6875rem; }
.kx-site__quote i { width: 26px; height: 26px; border-radius: 50%; background: var(--kx-a2); }

.kx-site__faq { display: grid; gap: 4px; margin: 10px 12px 0; }
.kx-site__faq div { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: #f6f6f8; font-size: 0.65625rem; }

.kx-site__foot { display: flex; justify-content: space-between; margin: 10px 12px 0; padding: 12px; border-radius: 12px; background: #111; color: #fff; font-size: 0.625rem; }
.kx-site__foot span:last-child { width: 80px; height: 6px; align-self: center; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }

.kx-demo__scan {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 70px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(52, 199, 89, 0.18) 70%, rgba(52, 199, 89, 0.7) 98%, transparent);
}

.kx-demo.is-checking .kx-demo__scan { opacity: 1; animation: kx-scan 1.1s ease-in-out infinite; }
@keyframes kx-scan { from { inset-block-start: -70px; } to { inset-block-start: 100%; } }

.kx-demo__phone {
  position: absolute;
  inset-inline-end: -10px;
  inset-block-end: 0;
  width: 120px;
  padding: 5px;
  border-radius: 22px;
  background: #1c1c1f;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(20px) rotate(4deg);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kx-demo.is-building .kx-demo__phone { opacity: 1; transform: rotate(4deg); }

.kx-demo__phonescreen { display: grid; gap: 6px; align-content: start; height: 230px; padding: 10px 8px; overflow: hidden; border-radius: 17px; background: #fff; }
.kx-demo__phoneh { font-size: 0.6875rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.kx-demo__phoneim { height: 70px; border-radius: 10px; background: linear-gradient(180deg, var(--kx-a1), var(--kx-a2)); }
.kx-demo__phoneln { width: 90%; height: 6px; border-radius: 4px; background: #e6e6ea; }
.kx-demo__phoneln--short { width: 70%; }
.kx-demo__phonebt { width: 60%; height: 18px; border-radius: 9999px; background: var(--kx-a1); }

.kx-demo__ready {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -6px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 120px);
  padding-block: 6px;
  padding-inline: 14px 6px;
  border-radius: 9999px;
  background: #ff90e8;
  color: #000;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.4s;
}

.kx-demo__ready span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kx-demo__ready b { padding: 4px 10px; border-radius: 9999px; background: #000; color: #fff; font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
.kx-demo.is-ready .kx-demo__ready { opacity: 1; transform: none; }

.kx-demo__palette {
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.35s;
}

.kx-demo__palette span { width: 22px; height: 22px; border-radius: 50%; transition: transform 0.25s, box-shadow 0.25s; }
.kx-demo__palette span.is-pick { transform: scale(1.2); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; }
.kx-demo.is-designing .kx-demo__palette { opacity: 1; transform: none; }

.kx-demo__tags {
  position: absolute;
  inset-block-start: 40%;
  inset-inline-start: 20px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 70%;
  pointer-events: none;
}

.kx-demo__tags span {
  padding: 4px 10px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.6875rem;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: 0.35s;
}

.kx-demo__tags span.is-on { opacity: 1; transform: none; }

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

@media (max-width: 899px) {
  .kx-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .kx-hero--stacked .kx-hero__side { grid-template-columns: minmax(0, 1fr); }
  .kx-hero--stacked .kx-hero__side > *,
  .kx-hero--stacked .kx-hero__side > .kx-lead { grid-column: 1; grid-row: auto; }
  .kx-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .kx-row__text { grid-column: 1; grid-row: 2; }
  .kx-row__arrow { grid-row: 1 / span 2; grid-column: 2; }
  .kx { padding-block: calc(var(--pt, 96px) * 0.6) calc(var(--pb, 96px) * 0.6); }
}

@media (max-width: 699px) {
  .kx-demo { grid-template-columns: minmax(0, 1fr); }
  .kx-demo__screen { height: 300px; }
  .kx-site__hero { grid-template-columns: 1fr; }
  .kx-site__phone { display: none; }
  .kx-demo__phone { width: 96px; inset-inline-end: 0; }
  .kx-demo__phonescreen { height: 180px; }
  .kx-hero__side .btn { width: 100%; }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  /* A loop shortened to a hundredth of a millisecond still loops: the bands stand still instead. */
  .kx-marquee__track { animation: none !important; }
}
