/* ByRecord — byrecord.com
   One stylesheet for the home page and the 404. Tokens first, then layout,
   then components in page order. Light and dark follow the system unless the
   visitor picks one (html[data-theme]). Brand: ink #0B3C43, green #5E9E1C,
   lime #C6F25E (brand/README.md). */

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

:root {
  --surface: #ffffff;
  --tint: #f5f8f7;
  --raised: #edf3f2;
  --ink: #0a1d21;
  --ink-muted: #3d5357;
  --ink-subtle: #5a6f73;
  --hairline: #e0e8e7;
  --hairline-soft: #e9efee;
  --hairline-strong: #cad8d6;

  --brand: #0b3c43;
  --brand-hover: #0f4f58;
  --on-brand: #ffffff;
  --link: #0c5f69;
  --eyebrow: #3a7612;
  --tail: #2f6d0f;
  --check: #5e9e1c;
  --focus: #0c5f69;

  --ok-bg: #e8f4da;
  --ok-fg: #36650c;
  --ok-dot: #5e9e1c;
  --info-bg: #e2f0f1;
  --info-fg: #0b4f57;
  --info-dot: #0f7783;
  --warn-bg: #fcf0d9;
  --warn-fg: #7f4c00;
  --warn-dot: #d48a14;
  --stop-bg: #fbe6e3;
  --stop-fg: #922b20;
  --stop-dot: #cf4a3a;

  --code-bg: #0b2428;
  --code-fg: #dcebea;
  --code-dim: #8fb0b2;
  --code-key: #c6f25e;
  --code-str: #9fd8de;
  --code-num: #f4c27a;

  --icon-tile: #e7f2ef;
  --icon-ink: #0b3c43;

  --band-0: #f2faf7;
  --band-1: 168 62% 86%;
  --band-2: 196 70% 88%;
  --band-3: 84 74% 84%;
  --band-4: 186 55% 80%;

  --shadow-1: 0 1px 2px rgba(10, 29, 33, 0.05);
  --shadow-2: 0 1px 2px rgba(10, 29, 33, 0.04), 0 12px 32px -16px rgba(10, 29, 33, 0.18);
  --shadow-3: 0 2px 4px rgba(10, 29, 33, 0.04), 0 24px 48px -20px rgba(10, 29, 33, 0.22);

  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 64px;

  --f-sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --dur-fast: 120ms;
  --dur-settle: 240ms;
  --dur-reveal: 520ms;
  --ease-out: cubic-bezier(0.21, 0.47, 0.32, 0.98);
  --ease-settle: cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #06171a;
    --tint: #0a1e22;
    --raised: #10292d;
    --ink: #e8f1f0;
    --ink-muted: #a9bcbe;
    --ink-subtle: #87a0a3;
    --hairline: #1a3236;
    --hairline-soft: #152b2f;
    --hairline-strong: #284449;
    --brand: #c6f25e;
    --brand-hover: #d5f78a;
    --on-brand: #0b3c43;
    --link: #c6f25e;
    --eyebrow: #c6f25e;
    --tail: #c6f25e;
    --check: #c6f25e;
    --focus: #c6f25e;
    --ok-bg: rgba(198, 242, 94, 0.12);
    --ok-fg: #cfef8c;
    --ok-dot: #c6f25e;
    --info-bg: rgba(110, 200, 210, 0.13);
    --info-fg: #a6dde2;
    --info-dot: #6ec8d2;
    --warn-bg: rgba(244, 180, 80, 0.13);
    --warn-fg: #f5c985;
    --warn-dot: #f0a63a;
    --stop-bg: rgba(240, 110, 95, 0.14);
    --stop-fg: #f5aba1;
    --stop-dot: #ef6f5f;
    --code-bg: #0d2226;
    --icon-tile: rgba(198, 242, 94, 0.1);
    --icon-ink: #c6f25e;
    --band-0: #07191c;
    --shadow-1: none;
    --shadow-2: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 16px 40px -20px rgba(0, 0, 0, 0.6);
    --shadow-3: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 28px 56px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #06171a;
  --tint: #0a1e22;
  --raised: #10292d;
  --ink: #e8f1f0;
  --ink-muted: #a9bcbe;
  --ink-subtle: #87a0a3;
  --hairline: #1a3236;
  --hairline-soft: #152b2f;
  --hairline-strong: #284449;
  --brand: #c6f25e;
  --brand-hover: #d5f78a;
  --on-brand: #0b3c43;
  --link: #c6f25e;
  --eyebrow: #c6f25e;
  --tail: #c6f25e;
  --check: #c6f25e;
  --focus: #c6f25e;
  --ok-bg: rgba(198, 242, 94, 0.12);
  --ok-fg: #cfef8c;
  --ok-dot: #c6f25e;
  --info-bg: rgba(110, 200, 210, 0.13);
  --info-fg: #a6dde2;
  --info-dot: #6ec8d2;
  --warn-bg: rgba(244, 180, 80, 0.13);
  --warn-fg: #f5c985;
  --warn-dot: #f0a63a;
  --stop-bg: rgba(240, 110, 95, 0.14);
  --stop-fg: #f5aba1;
  --stop-dot: #ef6f5f;
  --code-bg: #0d2226;
  --icon-tile: rgba(198, 242, 94, 0.1);
  --icon-ink: #c6f25e;
  --band-0: #07191c;
  --shadow-1: none;
  --shadow-2: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 28px 56px -24px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}
p {
  margin: 0;
}
code,
pre,
.mono {
  font-family: var(--f-mono);
}
.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--brand);
  color: var(--on-brand);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

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

.container {
  width: 100%;
  max-width: 1176px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }
}
.section {
  padding-block: 72px;
  position: relative;
}
@media (min-width: 1000px) {
  .section {
    padding-block: 112px;
  }
}
.section--tint {
  background: var(--tint);
  border-block: 1px solid var(--hairline-soft);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  max-width: 18ch;
}
.lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 60ch;
}
.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .section-head--aside {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}
.section-head__aside {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

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

.btn {
  --btn-h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  padding-inline: 20px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-settle),
    border-color var(--dur-fast) var(--ease-settle), color var(--dur-fast) var(--ease-settle),
    box-shadow var(--dur-settle) var(--ease-settle);
}
.btn:hover {
  text-decoration: none;
}
.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-1);
}
.btn--primary:hover {
  background: var(--brand-hover);
}
.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn--secondary:hover {
  border-color: var(--ink-subtle);
}
.btn--sm {
  --btn-h: 38px;
  padding-inline: 14px;
  font-size: 14.5px;
  border-radius: 9px;
}
.arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--dur-settle) var(--ease-settle);
}
.btn:hover .arrow,
.link-arrow:hover .arrow {
  transform: translateX(3px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.link-arrow .arrow {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-settle) var(--ease-settle);
}
.nav.is-scrolled {
  border-bottom-color: var(--hairline);
}
.nav__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.mark-dark {
  display: none !important;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark-light {
    display: none !important;
  }
  :root:not([data-theme="light"]) .mark-dark {
    display: block !important;
  }
}
:root[data-theme="dark"] .mark-light {
  display: none !important;
}
:root[data-theme="dark"] .mark-dark {
  display: block !important;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav__links a:hover {
  color: var(--ink);
  background: var(--raised);
  text-decoration: none;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-settle), color var(--dur-fast) var(--ease-settle);
}
.icon-btn:hover {
  background: var(--raised);
  color: var(--ink);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.theme-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-moon {
    display: block;
  }
}
:root[data-theme="dark"] .theme-sun {
  display: none;
}
:root[data-theme="dark"] .theme-moon {
  display: block;
}
.nav__docs {
  display: none;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 10px;
}
.nav__cta {
  display: none;
}
.menu-btn {
  display: inline-grid;
}
@media (min-width: 960px) {
  .nav__links {
    display: flex;
  }
  .nav__docs,
  .nav__cta {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 49;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-3);
  padding: 8px 16px 20px;
}
.mobile-menu.is-open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--ink);
  font-weight: 500;
}
.mobile-menu a:hover {
  text-decoration: none;
}
.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  border-bottom: 0;
  color: var(--on-brand);
}
@media (min-width: 960px) {
  .mobile-menu,
  .mobile-menu.is-open {
    display: none;
  }
}

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

.hero {
  position: relative;
  isolation: isolate;
  padding-top: 56px;
  padding-bottom: 40px;
}
@media (min-width: 1000px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 56px;
  }
}
/* The angled band: soft brand mesh behind the copy, cut on a diagonal. */
.band {
  position: absolute;
  inset: calc(-1 * var(--nav-h)) 0 auto 0;
  height: calc(100% + var(--nav-h) - 40px);
  z-index: -1;
  pointer-events: none;
  --drop: 40px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--drop)));
  background: radial-gradient(110% 90% at 4% 0%, hsl(var(--band-1) / 0.75), transparent 58%),
    radial-gradient(90% 80% at 80% 0%, hsl(var(--band-2) / 0.8), transparent 56%),
    radial-gradient(90% 90% at 30% 100%, hsl(var(--band-3) / 0.55), transparent 60%),
    radial-gradient(70% 70% at 100% 60%, hsl(var(--band-4) / 0.6), transparent 62%),
    linear-gradient(168deg, var(--band-0) 0%, var(--surface) 86%);
}
@media (min-width: 640px) {
  .band {
    --drop: clamp(40px, 6vw, 72px);
  }
}
@media (min-width: 1100px) {
  .band {
    --drop: clamp(72px, 7vw, 104px);
    height: calc(100% + var(--nav-h) - 24px);
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band {
    background: radial-gradient(110% 90% at 4% 0%, rgba(11, 60, 67, 0.75), transparent 60%),
      radial-gradient(90% 80% at 82% 0%, rgba(16, 92, 100, 0.45), transparent 58%),
      radial-gradient(80% 80% at 34% 100%, rgba(198, 242, 94, 0.07), transparent 60%),
      radial-gradient(70% 70% at 100% 64%, rgba(94, 158, 28, 0.16), transparent 62%),
      linear-gradient(168deg, var(--band-0) 0%, var(--surface) 86%);
  }
}
:root[data-theme="dark"] .band {
  background: radial-gradient(110% 90% at 4% 0%, rgba(11, 60, 67, 0.75), transparent 60%),
    radial-gradient(90% 80% at 82% 0%, rgba(16, 92, 100, 0.45), transparent 58%),
    radial-gradient(80% 80% at 34% 100%, rgba(198, 242, 94, 0.07), transparent 60%),
    radial-gradient(70% 70% at 100% 64%, rgba(94, 158, 28, 0.16), transparent 62%),
    linear-gradient(168deg, var(--band-0) 0%, var(--surface) 86%);
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1040px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 56px;
  }
}
.news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 22px;
  box-shadow: var(--shadow-1);
}
.news:hover {
  text-decoration: none;
  border-color: var(--ink-subtle);
}
.news__tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 11.5px;
  font-weight: 650;
}
.news .arrow {
  width: 13px;
  height: 13px;
}
.hero__title {
  font-size: clamp(38px, 5.1vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 750;
  max-width: 15ch;
}
.hero__title .tail {
  color: var(--tail);
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(17.5px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 34em;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-subtle);
}
.hero__note span + span::before {
  content: "·";
  margin-inline: 8px;
  color: var(--hairline-strong);
}
.proof {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 600px;
}
.proof__cell {
  padding-inline: 18px;
  border-left: 1px solid var(--hairline-strong);
}
.proof__cell:first-child {
  padding-left: 0;
  border-left: 0;
}
.proof__value {
  font-size: clamp(18px, 1.7vw, 21px);
  white-space: nowrap;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.proof__label {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-subtle);
}
@media (max-width: 520px) {
  .proof {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .proof__cell,
  .proof__cell:first-child {
    padding: 0 0 0 14px;
    border-left: 2px solid var(--hairline-strong);
  }
}
.hero__panels {
  display: grid;
  gap: 16px;
}
@media (min-width: 1040px) {
  .hero__panels {
    padding-top: 8px;
  }
}

/* ---------------------------------------------------------------- panels */

.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  min-width: 0;
}
.panel--lift {
  box-shadow: var(--shadow-3);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--tint);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}
.panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}
.panel__title svg {
  width: 15px;
  height: 15px;
  color: var(--ink-subtle);
  flex: none;
}
.panel__meta {
  color: var(--ink-subtle);
  white-space: nowrap;
}
.panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--ink-subtle);
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0 16px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
  min-width: 0;
}
.row:first-child {
  border-top: 0;
}
.row__main {
  min-width: 0;
  flex: 1;
}
.row__name,
.row__sub {
  display: block;
}
.row__name {
  font-weight: 550;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__sub {
  font-size: 12.5px;
  color: var(--ink-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__amount {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.row__amount--neg {
  color: var(--ink-subtle);
}
.avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--raised);
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .hero__panels .avatar {
    display: none;
  }
  .row {
    gap: 10px;
  }
}
.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
  color: var(--ink-muted);
}
.kv:first-child {
  border-top: 0;
}
.kv b {
  font-weight: 550;
  color: var(--ink);
}
.kv small {
  display: block;
  font-size: 12px;
  color: var(--ink-subtle);
}

/* status pills */
.pill {
  font-family: var(--f-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  background: var(--raised);
  color: var(--ink-muted);
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.pill--ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}
.pill--ok::before {
  background: var(--ok-dot);
}
.pill--info {
  background: var(--info-bg);
  color: var(--info-fg);
}
.pill--info::before {
  background: var(--info-dot);
}
.pill--warn {
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.pill--warn::before {
  background: var(--warn-dot);
}
.pill--stop {
  background: var(--stop-bg);
  color: var(--stop-fg);
}
.pill--stop::before {
  background: var(--stop-dot);
}
.pill--spin::before {
  display: none;
}
.pill .spinner {
  width: 12px;
  height: 12px;
}

/* the brand spinner: four corners pulsing in turn (brand/byrecord-spinner-currentcolor.svg) */
.spinner path {
  animation: br-dim 1.2s linear infinite;
}
.spinner path:nth-child(2) {
  animation-delay: -0.9s;
}
.spinner path:nth-child(3) {
  animation-delay: -0.6s;
}
.spinner path:nth-child(4) {
  animation-delay: -0.3s;
}
@keyframes br-dim {
  0% {
    opacity: 1;
  }
  25%,
  100% {
    opacity: 0.3;
  }
}
/* the brand loader: corners close in, the check draws (brand/byrecord-loader-currentcolor.svg) */
.loader .c {
  animation: br-focus 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.loader .c1 {
  --x: -4px;
  --y: -4px;
}
.loader .c2 {
  --x: 4px;
  --y: -4px;
}
.loader .c3 {
  --x: 4px;
  --y: 4px;
}
.loader .c4 {
  --x: -4px;
  --y: 4px;
}
.loader .t {
  stroke-dasharray: 100;
  animation: br-tick 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes br-focus {
  0%,
  100% {
    transform: translate(var(--x), var(--y));
  }
  35%,
  80% {
    transform: translate(0, 0);
  }
}
@keyframes br-tick {
  0%,
  30% {
    stroke-dashoffset: 100;
    opacity: 1;
  }
  62%,
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  95%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner path,
  .loader .c,
  .loader .t {
    animation: none;
  }
  .spinner path {
    opacity: 1;
  }
  .loader .t {
    stroke-dashoffset: 0;
  }
}

/* ---------------------------------------------------------------- strip */

.strip {
  padding-block: 28px 8px;
}
.strip__label {
  font-size: 13.5px;
  color: var(--ink-subtle);
  margin-bottom: 14px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 500;
}
.chip svg {
  width: 15px;
  height: 15px;
  color: var(--icon-ink);
}

/* ---------------------------------------------------------------- cards */

.cards {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .cards--2,
  .cards--3,
  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur-fast) var(--ease-settle), transform var(--dur-settle) var(--ease-out),
    box-shadow var(--dur-settle) var(--ease-out);
  min-width: 0;
}
a.card {
  color: inherit;
}
a.card:hover {
  text-decoration: none;
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.card h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.card p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}
.card__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__more .arrow {
  width: 14px;
  height: 14px;
}
a.card:hover .card__more .arrow {
  transform: translateX(3px);
}
.card__num {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-subtle);
}
.icon-tile {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--icon-tile);
  color: var(--icon-ink);
  flex: none;
}
.icon-tile svg {
  width: 20px;
  height: 20px;
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* -------------------------------------------------------------- who for */

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1000px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}
.prose p + p {
  margin-top: 16px;
}
.prose p {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.65;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
}
.reason {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline-soft);
}
.reason:first-child {
  border-top: 0;
  padding-top: 4px;
}
.reason h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.reason p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.reason .icon-tile {
  width: 36px;
  height: 36px;
}
.reason .icon-tile svg {
  width: 18px;
  height: 18px;
}
.callout {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--check);
  font-size: 15.5px;
  color: var(--ink-muted);
}
.callout strong {
  color: var(--ink);
}

/* --------------------------------------------------------- feature rows */

.feature {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: 56px;
  border-top: 1px solid var(--hairline-soft);
}
.feature:first-of-type {
  border-top: 0;
  padding-top: 8px;
}
.feature:last-of-type {
  padding-bottom: 0;
}
@media (min-width: 1000px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 72px;
    padding-block: 72px;
  }
  .feature--flip .feature__copy {
    order: 2;
  }
}
.feature__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.feature__kicker .icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.feature__kicker .icon-tile svg {
  width: 17px;
  height: 17px;
}
.feature__kicker span {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.feature h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.028em;
  max-width: 20ch;
}
.feature__lead {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 46ch;
}
.ticks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.ticks li strong {
  color: var(--ink);
  font-weight: 600;
}
.ticks svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--check);
}
.feature__links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
}
.feature__visual {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.stage {
  position: relative;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: radial-gradient(120% 120% at 0% 0%, hsl(var(--band-1) / 0.45), transparent 60%),
    radial-gradient(100% 100% at 100% 100%, hsl(var(--band-3) / 0.35), transparent 60%), var(--tint);
  border: 1px solid var(--hairline-soft);
}
@media (min-width: 640px) {
  .stage {
    padding: 28px;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stage {
    background: radial-gradient(120% 120% at 0% 0%, rgba(11, 60, 67, 0.55), transparent 60%),
      radial-gradient(100% 100% at 100% 100%, rgba(94, 158, 28, 0.12), transparent 60%), var(--tint);
  }
}
:root[data-theme="dark"] .stage {
  background: radial-gradient(120% 120% at 0% 0%, rgba(11, 60, 67, 0.55), transparent 60%),
    radial-gradient(100% 100% at 100% 100%, rgba(94, 158, 28, 0.12), transparent 60%), var(--tint);
}
.stage > .panel + .panel {
  margin-top: 14px;
}
.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px 0;
}
.source-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
  background: var(--surface);
}
.source-chip.is-on {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--icon-tile);
}
.line-code {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-subtle);
  background: var(--raised);
  padding: 1px 6px;
  border-radius: 5px;
}

/* the invoice timeline */
.steps-mini {
  list-style: none;
  margin: 0;
  padding: 14px 16px 6px;
  display: grid;
  gap: 0;
}
.steps-mini li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  font-size: 14px;
}
.steps-mini li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--hairline);
}
.steps-mini li:last-child::before {
  display: none;
}
.steps-mini .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-bg);
  color: var(--ok-fg);
  z-index: 1;
}
.steps-mini .dot svg {
  width: 13px;
  height: 13px;
}
.steps-mini .dot--now {
  background: var(--info-bg);
  color: var(--info-fg);
}
.steps-mini .dot--next {
  background: var(--raised);
  color: var(--ink-subtle);
}
.steps-mini b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.steps-mini span {
  font-size: 12.5px;
  color: var(--ink-subtle);
}
.steps-mini time {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-subtle);
  white-space: nowrap;
}

/* the rules checklist */
.rules {
  list-style: none;
  margin: 0;
  padding: 6px 16px;
}
.rules li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
}
.rules li:first-child {
  border-top: 0;
}
.rules svg {
  width: 18px;
  height: 18px;
  color: var(--check);
  margin-top: 1px;
}
.rules b {
  font-weight: 600;
  color: var(--ink);
}
.rules span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-subtle);
}
.confirm {
  margin: 4px 16px 16px;
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed var(--hairline-strong);
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}
.confirm__box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}
.confirm__check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--brand);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  flex: none;
}
.confirm__check svg {
  width: 12px;
  height: 12px;
}
.confirm__by {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-subtle);
  font-size: 12.5px;
}
.events {
  list-style: none;
  margin: 0;
  padding: 4px 16px 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
}
.events li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink-muted);
  align-items: center;
}
.events li:first-child {
  border-top: 0;
}
.events time {
  color: var(--ink-subtle);
}
.events code {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* the journal */
.journal {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.journal-wrap {
  overflow-x: auto;
}
.journal th {
  font-family: var(--f-sans);
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline);
}
.journal td {
  padding: 8px 16px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink-muted);
  vertical-align: top;
}
.journal tr.txn td {
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}
.journal tbody tr:first-child td {
  border-top: 0;
}
.journal .num {
  text-align: right;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.journal .acct {
  color: var(--ink);
  font-weight: 500;
}
.journal .credit {
  padding-left: 28px;
}
.journal .memo {
  display: block;
  font-size: 11.5px;
  color: var(--ink-subtle);
  font-weight: 400;
}
.journal .date {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-subtle);
  white-space: nowrap;
}
.journal tfoot td {
  border-top: 1px solid var(--hairline);
  font-weight: 600;
  color: var(--ink);
  padding-block: 10px;
}
@media (max-width: 520px) {
  .journal .date {
    display: none;
  }
  .journal th:first-child {
    display: none;
  }
  .journal th,
  .journal td {
    padding-inline: 12px;
  }
}

/* ------------------------------------------------------------ programme */

.parties {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .parties {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.party {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.party--us {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--icon-tile);
}
.party__who {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.party h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.party p {
  font-size: 14.5px;
  color: var(--ink-muted);
}
.flow-arrows {
  display: none;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 28px;
  }
}
.timeline li {
  position: relative;
  padding: 0 0 28px 44px;
  counter-increment: step;
}
.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 34px;
  bottom: 6px;
  width: 2px;
  background: var(--hairline);
}
.timeline li:last-child::after {
  display: none;
}
@media (min-width: 900px) {
  .timeline li {
    padding: 44px 0 0;
  }
  .timeline li::after {
    left: 38px;
    right: -22px;
    top: 13px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .timeline li:nth-child(4n)::after {
    display: none;
  }
}
.timeline h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.timeline .when {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 4px;
}
.timeline p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.flowcard {
  margin-top: 56px;
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .flowcard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.money {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.money h3 {
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.money h3 .n {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-subtle);
  font-weight: 500;
}
.money p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------ developers */

.dev {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1000px) {
  .dev {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}
.specs {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.spec {
  padding: 16px 18px;
  border-top: 1px solid var(--hairline-soft);
  border-left: 1px solid var(--hairline-soft);
}
.spec:nth-child(-n + 2) {
  border-top: 0;
}
.spec:nth-child(2n + 1) {
  border-left: 0;
}
.spec dt {
  font-size: 12.5px;
  color: var(--ink-subtle);
}
.spec dd {
  margin: 4px 0 0;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.code {
  border-radius: 14px;
  background: var(--code-bg);
  color: var(--code-fg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}
.code__tabs {
  display: flex;
  gap: 2px;
  padding: 8px 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.code__tabs::-webkit-scrollbar {
  display: none;
}
.code__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--code-dim);
  font: 600 13px var(--f-sans);
  padding: 9px 12px 11px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.code__tab[aria-selected="true"] {
  color: #ffffff;
}
.code__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: #c6f25e;
  border-radius: 2px;
}
.code__tab:hover {
  color: #ffffff;
}
.code pre {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
  tab-size: 2;
}
.code [role="tabpanel"][hidden] {
  display: none;
}
.code .k {
  color: var(--code-key);
}
.code .s {
  color: var(--code-str);
}
.code .n {
  color: var(--code-num);
}
.code .c {
  color: var(--code-dim);
}
.code__foot {
  padding: 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--code-dim);
}
.connector {
  margin-top: 64px;
}
.ops {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.ops th,
.ops td {
  text-align: left;
  padding: 13px 18px;
  border-top: 1px solid var(--hairline-soft);
  vertical-align: top;
}
.ops thead th {
  border-top: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  font-weight: 600;
  background: var(--tint);
  border-bottom: 1px solid var(--hairline);
}
.ops td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.ops td {
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .ops td:first-child {
    white-space: normal;
  }
  .ops th,
  .ops td {
    padding: 11px 12px;
  }
}

/* -------------------------------------------------------------- security */

.honest {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-subtle);
  max-width: 70ch;
}
.honest svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

/* ---------------------------------------------------------------- models */

.models {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.model {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.model--now {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--icon-tile), var(--shadow-2);
}
.model--later {
  background: var(--tint);
}
.model h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.model p {
  color: var(--ink-muted);
  font-size: 15.5px;
}
.model .ticks {
  margin-top: 4px;
}
.model--later .ticks svg {
  color: var(--ink-subtle);
}

/* ------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 0 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.faq details {
  border-top: 1px solid var(--hairline);
}
.faq details:last-child {
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .faq__col details:last-child {
    border-bottom: 1px solid var(--hairline);
  }
  .faq details:last-child {
    border-bottom: 0;
  }
  .faq__col details:last-child {
    border-bottom: 1px solid var(--hairline);
  }
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--ink-subtle);
  transition: transform var(--dur-settle) var(--ease-settle);
}
.faq details[open] summary svg {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 32px 22px 0;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------- cta */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 48px 24px;
  background: #0b3c43;
  color: #e9f3f2;
  isolation: isolate;
}
@media (min-width: 900px) {
  .cta {
    padding: 72px 64px;
  }
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 90% at 100% 0%, rgba(198, 242, 94, 0.18), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(110, 200, 210, 0.16), transparent 60%);
}
.cta__mark {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 320px;
  height: 320px;
  z-index: -1;
  color: rgba(198, 242, 94, 0.09);
}
@media (max-width: 700px) {
  .cta__mark {
    width: 220px;
    height: 220px;
    right: -60px;
    bottom: -60px;
  }
}
.cta .eyebrow {
  color: #c6f25e;
  font-size: 12.5px;
  margin-top: 0;
}
.cta h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.cta p {
  margin-top: 18px;
  font-size: 18px;
  color: #b9d0d1;
  max-width: 52ch;
}
.cta__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta .btn--primary {
  background: #c6f25e;
  color: #0b3c43;
}
.cta .btn--primary:hover {
  background: #d5f78a;
}
.cta .btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
.cta .btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
}
.contact {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 6px;
  max-width: 60ch;
}
.contact h3 {
  color: #ffffff;
  font-size: 16px;
}
.contact p {
  margin: 0;
  font-size: 15px;
  color: #b9d0d1;
}

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

.footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--hairline);
}
.footer__grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}
.footer__about p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-subtle);
  max-width: 36ch;
}
.footer h4 {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer ul a {
  color: var(--ink-muted);
  font-size: 14.5px;
}
.footer ul a:hover {
  color: var(--ink);
}
.footer__base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-subtle);
}

/* ------------------------------------------------------------- reveals */

[data-reveal="pending"] {
  opacity: 0;
  transform: translateY(16px);
}
[data-reveal="shown"] {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn,
  .arrow,
  a.card {
    transition: none;
  }
}

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

.notfound {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding-block: 64px;
}
.notfound__code {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--ink-subtle);
  margin-bottom: 18px;
}
.notfound h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.notfound p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 44ch;
}
.notfound .loader {
  width: 56px;
  height: 56px;
  color: var(--brand);
  margin-bottom: 28px;
}
