/* ============================================================
   Flexible — the calm planner for small studios
   Soft geometric modernism: bone paper, lilac wash, graphite ink.
   Type: Futura / Century Gothic (display) · Iowan / Palatino (text)
         SF Mono / Consolas (data)
   ============================================================ */

:root {
  /* — paper & ink — */
  --bone: #f5f2ec;
  --bone-2: #efeae1;
  --bone-3: #e7e1d5;
  --card: #fbf9f5;
  --ink: #24222a;
  --ink-2: #4c4954;
  --muted: #6c6875;
  --faint: #6f6a78;

  /* — lilac / violet family — */
  --lilac: #e6e0f5;
  --lilac-2: #d6cdec;
  --lilac-3: #c2b6e0;
  --violet: #6b5aa6;
  --violet-deep: #453a73;
  --plum: #322a52;

  /* — clay accent, used sparingly for data — */
  --clay: #b45f3f;
  --clay-soft: #f4ddcf;
  --sage-soft: #e2e5d9;
  --sage-ink: #49523f;

  /* — lines & shadows — */
  --rule: rgba(36, 34, 42, 0.14);
  --rule-soft: rgba(36, 34, 42, 0.08);
  --rule-strong: rgba(36, 34, 42, 0.26);
  --shadow-sm: 0 1px 2px rgba(50, 42, 82, 0.04), 0 6px 18px rgba(50, 42, 82, 0.05);
  --shadow-md: 0 2px 4px rgba(50, 42, 82, 0.05), 0 22px 50px -18px rgba(50, 42, 82, 0.22);

  /* — type — */
  --f-display: "Futura", "Futura PT", "Avenir Next", "Century Gothic", "URW Gothic", "Trebuchet MS", sans-serif;
  --f-text: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P052, "Book Antiqua", Georgia, "DejaVu Serif", serif;
  --f-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* — measure — */
  --maxw: 1200px;
  --pad: clamp(18px, 4.6vw, 56px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 44px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink-2);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: var(--violet-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(69, 58, 115, 0.4);
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--lilac-2);
  color: var(--plum);
}

/* paper grain, applied globally but very quietly */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ——————————————— layout ——————————————— */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.band {
  padding-block: clamp(56px, 7.6vw, 104px);
}

.band--tight {
  padding-block: clamp(40px, 5vw, 68px);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--rule);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--plum);
  color: var(--bone);
  font-family: var(--f-display);
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 12px 0;
}

.skip:focus {
  left: 0;
}

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

/* ——————————————— type ——————————————— */
.display,
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.1rem);
  letter-spacing: -0.024em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
}

h1 em,
h2 em,
.display em {
  font-family: var(--f-text);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--violet-deep);
}

.lead {
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 38ch;
  text-wrap: pretty;
}

p {
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1.05em;
}

.prose {
  max-width: 62ch;
}

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

.micro {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.num {
  font-family: var(--f-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--rule-strong);
  flex: none;
}

.eyebrow b {
  font-weight: 500;
  color: var(--violet-deep);
}

/* ——————————————— buttons ——————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.22s var(--ease);
}

.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--plum);
  color: #f7f4ec;
  box-shadow: 0 1px 1px rgba(50, 42, 82, 0.16), 0 10px 24px -12px rgba(50, 42, 82, 0.55);
}

.btn--primary:hover {
  background: #3f3566;
  color: #fffdf7;
  transform: translateY(-1px);
  box-shadow: 0 2px 2px rgba(50, 42, 82, 0.18), 0 16px 30px -14px rgba(50, 42, 82, 0.6);
}

.btn--lilac {
  background: var(--lilac);
  color: var(--violet-deep);
}

.btn--lilac:hover {
  background: var(--lilac-2);
  color: var(--plum);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn--cream {
  background: #f7f3e9;
  color: var(--plum);
}

.btn--cream:hover {
  background: #fffdf6;
  transform: translateY(-1px);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 14.5px;
  letter-spacing: 0.015em;
  color: var(--violet-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(69, 58, 115, 0.35);
  padding-bottom: 3px;
  transition: gap 0.22s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.link-arrow:hover {
  gap: 13px;
  border-color: var(--violet-deep);
  color: var(--ink);
}

/* ——————————————— header ——————————————— */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 242, 236, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--rule-soft);
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

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

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

.brand__mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__word {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
}

.brand__word span {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-left: 5px;
  vertical-align: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(36, 34, 42, 0.045);
}

.nav a[aria-current="page"] {
  color: var(--violet-deep);
  background: var(--lilac);
}

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

.head-actions .login {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 999px;
}

.head-actions .login:hover {
  background: rgba(36, 34, 42, 0.045);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.site-head.is-open .menu-toggle span {
  background: transparent;
}

.site-head.is-open .menu-toggle span::before {
  transform: translateY(5px) rotate(45deg);
}

.site-head.is-open .menu-toggle span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-panel {
  display: none;
}

/* ——————————————— hero ——————————————— */
.hero {
  position: relative;
  padding-top: clamp(44px, 6vw, 78px);
  overflow: clip;
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero__deco .disc {
  position: absolute;
  width: clamp(320px, 44vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  top: -22%;
  right: -12%;
  background: radial-gradient(circle at 34% 32%, #efe9fb, #e2daf2 58%, rgba(226, 218, 242, 0));
}

.hero__deco .ring {
  position: absolute;
  width: clamp(180px, 24vw, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(107, 90, 166, 0.28);
  left: -9%;
  bottom: 4%;
}

.hero__deco .sliver {
  position: absolute;
  width: 92px;
  height: 184px;
  border-radius: 0 92px 92px 0;
  background: var(--lilac);
  opacity: 0.55;
  left: -18px;
  top: 42%;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7.1fr) minmax(0, 4.4fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}

.hero__copy h1 {
  margin-top: 22px;
  max-width: 15ch;
}

.hero__copy .lead {
  margin-top: 24px;
  max-width: 40ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 30px;
}

.hero__note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero__note svg {
  flex: none;
  color: var(--violet);
}

/* capacity card */
.cap-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  padding: 22px 24px 20px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(230, 224, 245, 0.55), rgba(230, 224, 245, 0) 58%);
  z-index: -1;
}

.cap-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-ink);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.pill--clay {
  background: var(--clay-soft);
  color: #8a4a30;
}

.pill--bare {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--muted);
}

.pill--bare::before {
  display: none;
}

.cap-card__mid {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0 18px;
}

.cap-ring {
  position: relative;
  width: 104px;
  height: 104px;
  flex: none;
}

.cap-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cap-ring__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.cap-ring__label b {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.cap-ring__label span {
  display: block;
  margin-top: 3px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cap-card__mid p {
  font-family: var(--f-text);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 18ch;
}

.cap-card__mid p b {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
}

.cap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
}

.cap-list > div {
  padding-right: 8px;
}

.cap-list > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--rule-soft);
}

.cap-list dt {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.cap-list dd {
  margin-top: 5px;
  font-family: var(--f-display);
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ——————————————— product mockup ——————————————— */
.mock-section {
  position: relative;
  padding-top: clamp(36px, 5vw, 62px);
  padding-bottom: clamp(18px, 3vw, 32px);
}

.mock-frame {
  position: relative;
  border-radius: 26px;
}

.mock-frame::before {
  content: "";
  position: absolute;
  inset: auto -2% -5% -1%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(107, 90, 166, 0.16), rgba(107, 90, 166, 0) 70%);
  filter: blur(12px);
  z-index: -1;
}

.mock-notes {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.mock-notes .micro {
  color: var(--faint);
}

.mock-notes .micro b {
  color: var(--violet-deep);
  font-weight: 500;
}

.mock-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--rule);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

/* mockup typography inside SVG */
.mock-svg text {
  font-family: var(--f-display);
}

.mock-svg .t-mono {
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
}

.mock-svg .t-mut {
  fill: var(--muted);
}

.mock-svg .t-faint {
  fill: var(--faint);
}

.mock-svg .t-ink2 {
  fill: var(--ink-2);
}

.mock-svg .stroke-rule {
  stroke: var(--rule-soft);
}

/* chart classes shared by all SVG figures */
.bar-bill {
  fill: var(--violet);
}

.bar-int {
  fill: var(--lilac-3);
}

.bar-free {
  fill: #ece7dd;
}

.bar-clay {
  fill: var(--clay);
}

.chart-grid line {
  stroke: var(--rule-soft);
}

.chart-axis text {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* mobile version of mockup */
.mock-m {
  display: none;
}

/* ——————————————— client strip ——————————————— */
.clients {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  flex-wrap: wrap;
  padding-block: 26px;
}

.clients p {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 6px;
}

.clients ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
}

.clients li {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.72;
  transition: opacity 0.2s var(--ease);
}

.clients li:hover {
  opacity: 1;
}

.clients li span {
  color: var(--faint);
  font-size: 9px;
  vertical-align: 4px;
  margin-left: 3px;
  letter-spacing: 0.04em;
}

/* ——————————————— section heads ——————————————— */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 46px);
}

.sec-head__title h2 {
  margin-top: 18px;
  max-width: 20ch;
}

.sec-head__meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 4px;
}

.sec-head__meta p {
  max-width: 44ch;
  color: var(--ink-2);
}

/* ——————————————— stats band ——————————————— */
.stats-band {
  position: relative;
  border-radius: clamp(24px, 4vw, 44px);
  background: linear-gradient(178deg, #ebe5f7, #e4dcef 58%, #eee9f4);
  padding: clamp(28px, 4vw, 46px) clamp(22px, 4vw, 48px) clamp(24px, 3.4vw, 38px);
  overflow: hidden;
  isolation: isolate;
}

.stats-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(69, 58, 115, 0.16);
  right: -140px;
  top: -200px;
}

.stats-band::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  left: -70px;
  bottom: -120px;
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.stat {
  padding-top: 12px;
  border-top: 1px solid rgba(69, 58, 115, 0.22);
}

.stat__num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.1vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}

.stat__num sup {
  font-size: 0.4em;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--violet);
  margin-left: 1px;
}

.stat__label {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #5a4f7d;
  max-width: 20ch;
}

.stats-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(20px, 2.6vw, 30px);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #5a4f7d;
}

.stats-foot svg {
  flex: none;
  opacity: 0.7;
}

/* ——————————————— feature split ——————————————— */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5.4fr) minmax(0, 5.6fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split--wide {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
}

.split--top {
  align-items: start;
}

.split--flip .split__media {
  order: -1;
}

.split__copy h3 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.split__copy > p {
  margin-top: 18px;
  max-width: 48ch;
}

.split__list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.split__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.split__list li svg {
  flex: none;
  margin-top: 4px;
  color: var(--violet);
}

.split__copy .link-arrow {
  margin-top: 26px;
}

.split__media {
  position: relative;
}

/* generic figure card */
.fig-card {
  position: relative;
  border: 1px solid var(--rule-soft);
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.fig-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 224, 245, 0.5), rgba(230, 224, 245, 0) 70%);
  right: -110px;
  top: -120px;
  pointer-events: none;
}

.fig-card__head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}

.fig-card__head h4 {
  font-size: 15px;
  letter-spacing: 0;
}

.fig-card__body {
  position: relative;
  padding-top: 18px;
}

.fig-card svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ——————————————— chart section ——————————————— */
.chart-card {
  border: 1px solid var(--rule-soft);
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}

.chart-head__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-head__title h4 {
  font-size: 15px;
}

.chart-head__title span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.seg-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(245, 242, 236, 0.7);
}

.seg-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.seg-toggle button:hover {
  color: var(--ink);
}

.seg-toggle button[aria-pressed="true"] {
  background: var(--plum);
  color: #f6f3ea;
}

.chart-body {
  padding-top: 20px;
}

.chart-body svg[hidden] {
  display: none;
}

.chart-body svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

.chart-legend .l-bill {
  background: var(--violet);
}

.chart-legend .l-int {
  background: var(--lilac-3);
}

.chart-legend .l-free {
  background: #ece7dd;
}

.chart-legend .l-cap {
  background: transparent;
  border-top: 1.5px dashed var(--clay);
  border-radius: 0;
  height: 0;
  width: 14px;
}

.chart-legend .l-quiet {
  background: #f6f3fb;
  border: 1px solid var(--rule);
}

.chart-legend .l-booked {
  background: var(--lilac-3);
}

.chart-legend .l-full {
  background: var(--violet);
}

.chart-legend .l-over {
  background: transparent;
  border: 1.5px solid var(--clay);
}

.chart-legend[hidden] {
  display: none;
}

.chart-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
}

.chart-foot__big {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.chart-foot__big small {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-left: 8px;
  vertical-align: 3px;
}

.chart-foot p {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-align: right;
}

/* heat grid */
.heat-day {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  fill: var(--faint);
}

.heat-num {
  font-family: var(--f-mono);
  font-size: 8px;
  fill: #565070;
}

.heat-num--inv {
  fill: #f1ecf9;
}

.chart-axis text {
  fill: var(--faint);
}

.chart-cap {
  fill: var(--clay);
  font-family: var(--f-mono);
}

.chart-strong {
  fill: var(--ink-2);
}

/* ——————————————— invoice mock ——————————————— */
.invoice {
  border: 1px solid var(--rule-soft);
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.invoice::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--lilac-3) 46%, var(--clay-soft));
}

.invoice__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule-soft);
}

.invoice__ref {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.invoice__ref b {
  color: var(--ink);
  font-weight: 600;
}

.invoice__amount {
  text-align: right;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}

.invoice__amount span {
  display: block;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.invoice__rows {
  padding-top: 14px;
  display: grid;
  gap: 9px;
}

.invoice__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink-2);
}

.invoice__row .h {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: right;
  min-width: 46px;
}

.invoice__row .s {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink);
  text-align: right;
  min-width: 62px;
}

.invoice__row--muted .s {
  color: var(--muted);
}

.invoice__totals {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  gap: 7px;
}

.invoice__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.invoice__total.is-due {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.invoice__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
}

.invoice__foot span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.invoice__foot .pill {
  color: var(--sage-ink);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

/* ——————————————— quote ——————————————— */
.quote {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px);
}

.quote__mark {
  position: absolute;
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(110px, 13.5vw, 176px);
  line-height: 0.7;
  color: #c9bde5;
  left: calc(var(--pad) + 24px);
  top: clamp(28px, 3.4vw, 52px);
  z-index: -1;
  user-select: none;
}

.quote blockquote {
  max-width: none;
  margin: 0 auto 0 0;
}

.quote blockquote p {
  font-family: var(--f-text);
  font-style: italic;
  font-size: clamp(1.42rem, 2.7vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 30ch;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.monogram {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--lilac-2);
  color: var(--violet-deep);
  border: 1px solid rgba(69, 58, 115, 0.16);
}

.quote figcaption div {
  line-height: 1.35;
}

.quote figcaption b {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0;
}

.quote figcaption div span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.quote__side {
  align-self: end;
  max-width: 30ch;
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: right;
  padding-bottom: 8px;
}

/* ——————————————— pricing ——————————————— */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.2vw, 36px);
}

.plan--soft {
  background: linear-gradient(170deg, #f2edf9, #eae3f3);
  border-color: rgba(69, 58, 115, 0.18);
}

.plan--featured {
  background: var(--plum);
  border-color: var(--plum);
  color: rgba(247, 244, 236, 0.78);
  box-shadow: var(--shadow-md);
}

.plan--featured h3,
.plan--featured .plan__price b,
.plan--featured .plan__price span,
.plan--featured .plan__name {
  color: #f8f5ed;
}

.plan__tag {
  position: absolute;
  top: -11px;
  right: 24px;
  height: 22px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--violet);
  color: #f8f5ed;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.plan--featured .plan__head {
  border-color: rgba(247, 244, 236, 0.22);
}

.plan__name {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.plan--featured .plan__name {
  color: rgba(247, 244, 236, 0.72);
}

.plan__for {
  font-family: var(--f-text);
  font-style: italic;
  font-size: 13.5px;
  color: var(--muted);
}

.plan--featured .plan__for {
  color: rgba(247, 244, 236, 0.75);
}

.plan__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.plan__price b {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 5vw, 3.9rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.plan__price span {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 6px;
}

.plan__sub {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.plan--featured .plan__sub {
  color: rgba(247, 244, 236, 0.72);
}

.plan__list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
  font-size: 15px;
  line-height: 1.45;
}

.plan__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan__list li svg {
  flex: none;
  margin-top: 3px;
  color: var(--violet);
}

.plan--featured .plan__list li svg {
  color: var(--lilac-3);
}

.plan__cta {
  margin-top: auto;
  padding-top: 26px;
}

.plan__cta .btn {
  width: 100%;
}

.plan__fine {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--faint);
  text-align: center;
}

.plan--featured .plan__fine {
  color: rgba(247, 244, 236, 0.7);
}

/* price page extras */
.billing-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 26px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.billing-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare caption {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: baseline;
}

.compare thead th {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 1px solid var(--rule);
}

.compare tbody th {
  font-weight: 400;
  color: var(--ink);
  font-family: var(--f-text);
}

.compare td:not(:first-child),
.compare th:not(:first-child) {
  text-align: center;
  width: 15%;
}

.compare .yes {
  color: var(--violet-deep);
}

.compare .dash {
  color: var(--faint);
}

.table-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule-soft);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

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

.faq summary:hover {
  color: var(--violet-deep);
}

.faq summary .sq {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq summary .sq::before,
.faq summary .sq::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  transition: transform 0.22s var(--ease), background 0.2s var(--ease);
}

.faq summary .sq::before {
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.faq summary .sq::after {
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.faq details[open] summary .sq {
  background: var(--plum);
  border-color: var(--plum);
}

.faq details[open] summary .sq::before,
.faq details[open] summary .sq::after {
  background: var(--bone);
}

.faq details[open] summary .sq::after {
  transform: translateX(-50%) scaleY(0);
}

.faq details[open] summary {
  color: var(--ink);
}

.faq .faq__body {
  padding: 0 0 22px;
  max-width: 66ch;
  color: var(--ink-2);
}

.faq .faq__body p + p {
  margin-top: 10px;
}

/* ——————————————— CTA band ——————————————— */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(26px, 4vw, 48px);
  background: var(--plum);
  color: rgba(247, 244, 236, 0.74);
  padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 64px);
  isolation: isolate;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.cta::before {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(230, 224, 245, 0.2);
  right: -90px;
  top: -190px;
}

.cta::after {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(198, 184, 230, 0.34), rgba(198, 184, 230, 0));
  left: -60px;
  bottom: -110px;
}

.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.cta h2 {
  color: #f8f5ed;
  max-width: 18ch;
}

.cta h2 em {
  color: #d9cff1;
}

.cta p {
  color: rgba(247, 244, 236, 0.7);
  max-width: 42ch;
  margin-top: 16px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta__actions .btn {
  min-width: 220px;
}

.cta__actions small {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 236, 0.7);
}

/* ——————————————— page header (interior pages) ——————————————— */
.page-head {
  position: relative;
  padding-top: clamp(40px, 5.6vw, 72px);
  padding-bottom: clamp(26px, 4vw, 44px);
  overflow: clip;
}

.page-head__disc {
  position: absolute;
  width: clamp(300px, 40vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  right: -16%;
  top: -46%;
  background: radial-gradient(circle at 40% 40%, #ece6f8, rgba(236, 230, 248, 0) 68%);
  z-index: -1;
  pointer-events: none;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  max-width: 16ch;
  margin-top: 20px;
}

.page-head .lead {
  margin-top: 22px;
  max-width: 52ch;
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-head__meta b {
  color: var(--ink);
  font-weight: 500;
}

/* ——————————————— docs / help ——————————————— */
.docs {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 236px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(28px, 4vw, 48px);
}

.docs__side {
  position: sticky;
  top: 96px;
}

.search {
  position: relative;
  margin-bottom: 22px;
}

.search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  padding: 0 14px 0 36px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.search input::placeholder {
  color: var(--faint);
}

.search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}

.side-group + .side-group {
  margin-top: 22px;
}

.side-group h4 {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 10px;
  padding-left: 10px;
}

.side-group ul {
  display: grid;
  gap: 1px;
}

.side-group a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-family: var(--f-display);
  font-size: 13.5px;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.side-group a:hover {
  background: rgba(36, 34, 42, 0.045);
  color: var(--ink);
}

.side-group a[aria-current="true"] {
  background: var(--lilac);
  color: var(--violet-deep);
}

.docs__body {
  min-width: 0;
}

.docs__body > section + section {
  margin-top: clamp(38px, 5vw, 56px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--rule);
}

.docs__body h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}

.docs__body > section > p {
  margin-top: 14px;
  max-width: 68ch;
}

.docs__body h3 {
  margin-top: 30px;
  font-size: 17px;
  letter-spacing: 0;
}

.docs__body h3 + p {
  margin-top: 8px;
}

.docs__body p {
  max-width: 68ch;
}

.docs__body p + p {
  margin-top: 12px;
}

.docs__body ul.plain {
  margin-top: 14px;
  display: grid;
  gap: 9px;
  max-width: 66ch;
}

.docs__body ul.plain li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
}

.docs__body ul.plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--lilac-3);
}

.steps {
  margin-top: 20px;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-sm);
  background: var(--card);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--violet-deep);
  padding-top: 4px;
}

.steps b {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0;
}

.steps span {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.callout {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: #f1ecf9;
  border: 1px solid rgba(69, 58, 115, 0.14);
  font-size: 14px;
  line-height: 1.55;
  color: #443a63;
}

.callout svg {
  flex: none;
  margin-top: 3px;
  color: var(--violet);
}

.callout strong {
  color: var(--plum);
}

kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 6px;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bone);
  font-family: var(--f-mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}

.keys {
  margin-top: 18px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.keys th,
.keys td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: middle;
}

.keys thead th {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
}

.keys td:first-child {
  width: 42%;
  color: var(--ink-2);
}

pre {
  margin-top: 18px;
  padding: 18px 20px;
  background: #2c2740;
  color: #e9e3f3;
  border-radius: var(--r-sm);
  overflow-x: auto;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  tab-size: 2;
}

pre .c {
  color: #9d93bb;
}

pre .k {
  color: #d9c9f2;
}

code {
  font-family: var(--f-mono);
  overflow-wrap: anywhere;
  font-size: 0.88em;
  letter-spacing: 0.01em;
  background: rgba(69, 58, 115, 0.08);
  padding: 0.12em 0.36em;
  border-radius: 4px;
  color: #443a63;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.docs__rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.rail-card {
  border: 1px solid var(--rule-soft);
  border-radius: var(--r);
  background: var(--card);
  padding: 18px 20px;
}

.rail-card h4 {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 12px;
}

.rail-card ul {
  display: grid;
  gap: 9px;
}

.rail-card li a {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  display: flex;
  gap: 8px;
}

.rail-card li a:hover {
  color: var(--violet-deep);
}

.rail-card li a span {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--faint);
  padding-top: 3px;
}

.rail-card--contact {
  background: linear-gradient(170deg, #f1ecf9, #eae3f2);
  border-color: rgba(69, 58, 115, 0.14);
}

.rail-card--contact p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #443a63;
}

.rail-card--contact a {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--f-display);
  font-size: 13.5px;
  color: var(--violet-deep);
}

.search-empty {
  display: none;
  padding: 8px 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.search-empty.is-on {
  display: block;
}

/* ——————————————— contact ——————————————— */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 4.6fr);
  gap: clamp(28px, 4.6vw, 64px);
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.2vw, 38px);
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label b {
  color: var(--violet);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bone);
  padding: 12px 13px;
  font-family: var(--f-text);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(107, 90, 166, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.field--half .field {
  margin-bottom: 0;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}

.form-foot p {
  font-family: var(--f-mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 30ch;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #eaf0e4;
  border: 1px solid #cdd8c2;
  color: #3e4a33;
  font-size: 14px;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.info-block + .info-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}

.info-block h3 {
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.info-list {
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.info-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.info-list dt {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.info-list dd {
  color: var(--ink);
}

.info-list dd span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}

.map-card {
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #eee9f4;
  margin-top: 14px;
}

.map-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--rule);
}

.legal h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.legal p,
.legal address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.legal dl {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px 14px;
  font-size: 14px;
  margin-top: 14px;
}

.legal dt {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.legal dd {
  color: var(--ink);
}

/* ——————————————— 404 ——————————————— */
.e404 {
  position: relative;
  min-height: 0;
  display: grid;
  align-content: center;
  padding-block: clamp(48px, 8vw, 110px);
  overflow: clip;
}

.e404__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.e404__big {
  position: relative;
  margin-top: 24px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(6rem, 19vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.055em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.08em;
}

.e404__big span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--violet);
  transform: translateY(-0.06em) rotate(-5deg);
}

.e404__big span:nth-child(3) {
  color: var(--lilac-3);
}

.e404 h1 {
  margin-top: 22px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 18ch;
}

.e404 p {
  margin-top: 16px;
  max-width: 44ch;
}

.e404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.e404__sched {
  padding-top: 10px;
}

/* ——————————————— footer ——————————————— */
.site-foot {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(239, 234, 225, 0), rgba(235, 229, 218, 0.6));
  padding-top: clamp(40px, 5vw, 64px);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) repeat(3, minmax(0, 2fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 48px);
}

.foot-brand p {
  margin-top: 16px;
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.7);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-decoration: none;
}

.foot-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6c8a4e;
  box-shadow: 0 0 0 3px rgba(108, 138, 78, 0.16);
}

.foot-status:hover {
  border-color: var(--rule);
  color: var(--ink);
}

.foot-col h4 {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.foot-col ul {
  display: grid;
  gap: 9px;
}

.foot-col a {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--violet-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.foot-col .ext::after {
  content: "↗";
  font-family: var(--f-mono);
  font-size: 9px;
  margin-left: 4px;
  color: var(--faint);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.foot-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.foot-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.foot-bottom a:hover {
  color: var(--violet-deep);
  text-decoration: underline;
}

/* ——————————————— motion ——————————————— */
@keyframes rise {
  from {
    transform: translateY(12px);
  }

  to {
    transform: none;
  }
}

.hero__copy > * {
  animation: rise 0.5s var(--ease) both;
}

.hero__copy > *:nth-child(1) {
  animation-delay: 0.03s;
}

.hero__copy > *:nth-child(2) {
  animation-delay: 0.09s;
}

.hero__copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero__copy > *:nth-child(4) {
  animation-delay: 0.23s;
}

.hero__copy > *:nth-child(5) {
  animation-delay: 0.3s;
}

.hero__aside {
  animation: rise 0.9s var(--ease) 0.28s both;
}

.mock-section {
  animation: rise 1s var(--ease) 0.34s both;
}

.hero__deco .disc {
  animation: rise 1.2s var(--ease) 0.1s both;
}

@media (hover: hover) {
  .fig-card,
  .chart-card,
  .invoice,
  .cap-card {
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  }

  .chart-card:hover,
  .invoice:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--rule);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

}

/* ——————————————— responsive ——————————————— */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .hero__copy h1 {
    max-width: 18ch;
  }

  .hero__aside {
    max-width: 540px;
    width: 100%;
  }

  .cap-card__mid {
    gap: 22px;
  }

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

  .docs__rail {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav,
  .head-actions {
    display: none;
  }

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

  .site-head {
    position: sticky;
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bone);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 22px 44px -26px rgba(50, 42, 82, 0.55);
    padding: 14px var(--pad) 22px;
    transform-origin: top;
  }

  .site-head.is-open .nav-panel {
    display: block;
    animation: rise 0.28s var(--ease) both;
  }

  .nav-panel > a {
    display: block;
    padding: 12px 0;
    font-family: var(--f-display);
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--rule-soft);
  }

  .nav-panel > a[aria-current="page"] {
    color: var(--violet-deep);
  }

  .nav-panel .panel-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .nav-panel .panel-actions .btn {
    width: 100%;
  }

  .split,
  .split--wide,
  .sec-head,
  .contact-grid,
  .legal,
  .e404__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--flip .split__media {
    order: 0;
  }

  .split__copy h3 {
    margin-top: 12px;
  }

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

  .stat {
    padding-top: 10px;
  }

  .quote__side {
    display: none;
  }

  .quote blockquote {
    max-width: 30ch;
  }

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

  .mock-svg {
    display: none;
  }

  .mock-m {
    display: block;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }

  .mock-m__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--rule-soft);
    background: #f7f4ee;
  }

  .mock-m__bar span {
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .mock-m__bar b {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 12.5px;
    color: var(--ink);
  }

  .mock-m__day {
    padding: 12px 16px;
    border-bottom: 1px solid var(--rule-soft);
  }

  .mock-m__day:last-of-type {
    border-bottom: 0;
  }

  .mock-m__day h5 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 8px;
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 400;
  }

  .mock-m__day h5 b {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0;
    color: var(--ink);
    text-transform: none;
  }

  .mock-m__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 8px;
    font-family: var(--f-display);
    font-size: 11.5px;
    letter-spacing: 0.01em;
    background: var(--lilac);
    color: #4b3e80;
  }

  .chip i {
    font-family: var(--f-mono);
    font-style: normal;
    font-size: 9px;
    opacity: 0.8;
  }

  .chip--clay {
    background: var(--clay-soft);
    color: #7c4230;
  }

  .chip--sage {
    background: var(--sage-soft);
    color: var(--sage-ink);
  }

  .chip--plain {
    background: var(--bone-2);
    color: var(--ink-2);
  }

  .mock-m__foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7f4ee;
    border-top: 1px solid var(--rule-soft);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .mock-m__track {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bone-3);
    overflow: hidden;
  }

  .mock-m__track i {
    display: block;
    height: 100%;
    width: 86%;
    border-radius: 3px;
    background: var(--violet);
  }

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

  .plan--featured {
    order: -1;
  }

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

  .docs__side {
    position: static;
  }

  .docs__side .side-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule-soft);
    margin-bottom: 26px;
  }

  .side-group + .side-group {
    margin-top: 0;
  }

  .side-group ul {
    display: grid;
    gap: 1px;
  }

  .side-group a {
    padding: 6px 8px;
    margin-left: -8px;
  }

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

@media (max-width: 620px) {
  body {
    font-size: 16.5px;
  }

  .hero__copy h1 {
    max-width: 13ch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions {
    gap: 10px;
  }

  .mock-notes .micro:last-child {
    display: none;
  }

  .cap-card {
    display: block;
  }

  .cap-card__mid {
    gap: 14px;
  }

  .cap-ring {
    width: 84px;
    height: 84px;
  }

  .clients {
    gap: 12px;
  }

  .clients ul {
    gap: 10px 18px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .stat__num {
    font-size: 2.1rem;
  }

  .plan {
    padding: 24px 20px;
  }

  .field--half {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-foot .btn {
    width: 100%;
  }

  .info-list div {
    grid-template-columns: 84px minmax(0, 1fr);
  }

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

  .legal dl {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .quote__mark {
    font-size: 96px;
    opacity: 0.7;
  }

  .foot-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .e404__big {
    font-size: 7.2rem;
  }

  .page-head h1 {
    max-width: 14ch;
  }

  .compare {
    font-size: 13px;
  }

  .compare th,
  .compare td {
    padding: 11px 8px 11px 0;
  }
}

@media (max-width: 400px) {
  .cap-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cap-list > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule-soft);
    padding-top: 8px;
  }

  .cap-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .cap-list dd {
    margin-top: 0;
  }

  .e404__big {
    font-size: 5.6rem;
  }
}

/* ============================================================
   Interior pages — features, pricing, docs, contact, 404
   ============================================================ */

/* anchor offsets under the sticky header */
:where(section, article, div, h2, h3)[id] {
  scroll-margin-top: 96px;
}

/* ————— jump nav ————— */
.jump {
  border-block: 1px solid var(--rule);
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(12px, 2.6vw, 32px);
}

.jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 15px 0 14px;
  border-bottom: 2px solid transparent;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.jump a b {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--violet);
}

.jump a:hover {
  color: var(--ink);
  border-color: var(--lilac-3);
}

/* ————— figure caption ————— */
.fig-note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
}

.fig-note b {
  color: var(--ink);
  font-weight: 500;
}

/* ————— add-ons ————— */
.addons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 22px;
  overflow: hidden;
}

.addon {
  background: var(--card);
  padding: clamp(18px, 2.6vw, 28px);
}

.addon h4 {
  margin-top: 10px;
  font-size: 17px;
  letter-spacing: 0;
}

.addon p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.addon .price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.addon .price span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ————— keyboard strip ————— */
.keyband {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 40px);
  background: linear-gradient(150deg, #f2edf9, #eae3f3 70%, #f4f0ee);
}

.keyband h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.keyband p {
  margin-top: 14px;
  max-width: 40ch;
}

.keyband .keys {
  margin-top: 0;
}

.keyband .keys td,
.keyband .keys th {
  border-color: rgba(69, 58, 115, 0.16);
}

.keyband .keys td:first-child {
  color: #443a63;
}

/* ————— docs bits ————— */
.changelog {
  margin-top: 20px;
  border-top: 1px solid var(--rule-soft);
}

.changelog > div {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.changelog time {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 4px;
}

.changelog b {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--violet-deep);
  margin-right: 8px;
}

.changelog p {
  display: inline;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-sm);
  background: var(--card);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.status-line b {
  color: var(--ink);
  font-weight: 500;
}

.status-line .ok {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4d6438;
}

.status-line .ok i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f7d43;
}

.docs__body .callout + h3 {
  margin-top: 32px;
}

.docs__body .search-hint {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r);
  background: rgba(251, 249, 245, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.docs__body .search-hint p {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: 46ch;
}

/* ————— contact form extras ————— */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--violet-deep);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f6a78' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.contact-lede {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.contact-lede h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.response-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule-soft);
  background: var(--card);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--muted);
  white-space: nowrap;
}

.response-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f7d43;
}

.hours {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 7px;
  border-bottom: 1px dotted var(--rule);
}

.hours b {
  color: var(--ink);
  font-weight: 500;
}

/* ————— 404 ————— */
.e404__sched {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.e404__sched-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.e404__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-soft);
}

.e404__row:last-child {
  border-bottom: 0;
}

.e404__row > span:first-child {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.e404__ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border: 1px dashed var(--rule-strong);
  border-radius: 8px;
  font-family: var(--f-display);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: repeating-linear-gradient(135deg, rgba(230, 224, 245, 0.55) 0 6px, transparent 6px 12px);
}

.e404__ghost b {
  color: var(--violet-deep);
  font-weight: 500;
}

.e404__ghost .h {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.e404__grid .lead {
  max-width: 40ch;
}

.e404__links .btn {
  height: 46px;
}

.e404__popular {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}

.e404__popular h2 {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--faint);
}

.e404__popular ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.e404__popular a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-soft);
}

.e404__popular a span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--faint);
  padding-top: 3px;
}

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

/* ————— tiny legend row used on feature figures ————— */
.fig-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fig-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fig-legend i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  display: inline-block;
}

/* ————— responsive additions ————— */
@media (max-width: 1080px) {
  .keyband {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

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

  .contact-lede {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .response-badge {
    justify-self: start;
  }

  .jump ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .jump li {
    flex: none;
  }
}

@media (max-width: 620px) {
  .e404__row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 13px;
  }

  .e404__sched-head {
    padding: 11px 13px;
  }

  .changelog > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .keyband {
    padding: 20px 18px;
  }

  .fig-note {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .invoice__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .invoice__amount {
    text-align: left;
  }

  .billing-note {
    gap: 6px 10px;
    text-align: center;
  }

  .billing-note > span:nth-child(even) {
    display: none;
  }
}

@media (max-width: 359px) {
  .docs__side .side-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}
