/* tuppence.ai marketing site — built on tokens.css */

/* ---------- Font (self-hosted: no visitor data goes to a font CDN) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv05", "ss03";
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}
a {
  color: var(--blue-500);
  text-decoration: none;
}
a:hover {
  color: var(--blue-600);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 2px;
  border-radius: 6px;
}
.icon {
  flex: none;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow {
  max-width: 880px;
}
.section {
  padding: 112px 0;
  position: relative;
}
.section--tight {
  padding: 72px 0;
}
.section--flush-top {
  padding-top: 0;
}
.section--cloud {
  background: var(--ink-50);
}
.section--dark {
  background: var(--ink-900);
  color: #fff;
}
.section--dark .lead,
.section--dark p {
  color: var(--ink-300);
}
.section--dark .h1,
.section--dark .h2,
.section--dark .h3,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--split {
  max-width: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.section-head--split .lead {
  max-width: 460px;
}
.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}
.split__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-48 {
  margin-top: 48px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--mint-300);
}
.h-display {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.h1 {
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.h4 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
}
.muted {
  color: var(--text-muted);
}
.small {
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(59, 91, 255, 0.7);
}
.btn--primary:hover {
  background: var(--blue-600);
  color: #fff;
}
.btn--secondary {
  background: #fff;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn--secondary:hover {
  border-color: var(--ink-400);
  color: var(--ink-900);
}
.btn--white {
  background: #fff;
  color: var(--ink-900);
}
.btn--white:hover {
  background: var(--blue-50);
  color: var(--ink-900);
}
.btn--outline-white {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--lg {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
}
.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.btn .icon {
  transition: transform 0.18s;
}
.btn:hover .icon {
  transform: translateX(2px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-500);
}
.link-arrow .icon {
  transition: transform 0.18s;
}
a:hover .link-arrow .icon,
.link-arrow:hover .icon {
  transform: translateX(3px);
}
.section--dark .link-arrow {
  color: var(--mint-300);
}

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.badge--attention {
  background: var(--sunrise-100);
  color: var(--sunrise-700);
}
.badge--success {
  background: var(--mint-50);
  color: var(--mint-800);
}
.badge--info {
  background: var(--blue-50);
  color: var(--blue-700);
}
.badge--neutral {
  background: var(--ink-100);
  color: var(--ink-700);
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
}
.pill-announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.pill-announce:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.pill-announce__tag {
  background: var(--mint-500);
  color: var(--ink-900);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}
.page-hero .pill-announce {
  background: #fff;
  border-color: var(--ink-200);
  color: var(--ink-900);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-100);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
.site-header__logo {
  flex: none;
  display: flex;
}
.site-header__logo img {
  width: 140px;
}
.logo-light {
  display: none !important;
}
.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header__login {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-800);
}
.site-header__login:hover {
  color: var(--blue-500);
}
.nav-toggle__close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: inherit;
}

/* Dark variant: transparent over dark hero */
body[data-header="dark"] .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
}
body[data-header="dark"] .site-header .logo-dark {
  display: none !important;
}
body[data-header="dark"] .site-header .logo-light {
  display: block !important;
}
body[data-header="dark"] .main-nav__trigger,
body[data-header="dark"] .site-header__login {
  color: rgba(255, 255, 255, 0.9);
}
body[data-header="dark"] .main-nav__trigger:hover,
body[data-header="dark"] .site-header__login:hover {
  color: #fff;
}
body[data-header="dark"] .site-header .btn--primary {
  background: #fff;
  color: var(--ink-900);
  box-shadow: none;
}
body[data-header="dark"] .site-header.is-scrolled,
body[data-header="dark"] .site-header.is-open {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--ink-900);
  border-bottom-color: var(--ink-100);
}
body[data-header="dark"] .site-header.is-scrolled .logo-dark,
body[data-header="dark"] .site-header.is-open .logo-dark {
  display: block !important;
}
body[data-header="dark"] .site-header.is-scrolled .logo-light,
body[data-header="dark"] .site-header.is-open .logo-light {
  display: none !important;
}
body[data-header="dark"] .site-header.is-scrolled .main-nav__trigger,
body[data-header="dark"] .site-header.is-open .main-nav__trigger,
body[data-header="dark"] .site-header.is-scrolled .site-header__login,
body[data-header="dark"] .site-header.is-open .site-header__login {
  color: var(--ink-800);
}
body[data-header="dark"] .site-header.is-scrolled .btn--primary,
body[data-header="dark"] .site-header.is-open .btn--primary {
  background: var(--blue-500);
  color: #fff;
}

.main-nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__item {
  position: static;
}
.main-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-800);
}
.main-nav__trigger:hover,
.main-nav__item.is-open .main-nav__trigger {
  color: var(--blue-500);
}
.main-nav__trigger .icon {
  transition: transform 0.2s;
  opacity: 0.7;
}
.main-nav__item.is-open .main-nav__trigger .icon {
  transform: rotate(180deg);
}
body[data-section="pricing"] .main-nav a[href$="/pricing/"] {
  color: var(--blue-500);
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
  pointer-events: none;
}
.main-nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.mega__inner {
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  display: grid;
  grid-auto-flow: column;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border-radius: 24px;
  box-shadow:
    0 30px 80px -20px rgba(11, 16, 32, 0.3),
    0 0 0 1px rgba(11, 16, 32, 0.06);
  color: var(--ink-900);
}
.mega__col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 280px;
  padding: 4px;
}
.mega__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 8px 12px 6px;
}
.mega__link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink-900);
}
.mega__link:hover {
  background: var(--ink-50);
  color: var(--ink-900);
}
.mega__link strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.mega__link small {
  display: block;
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 1px;
}
.mega__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-100);
  color: var(--ink-800);
}
.mega__icon--blue {
  background: var(--blue-50);
  color: var(--blue-600);
}
.mega__icon--mint {
  background: var(--mint-50);
  color: var(--mint-700);
}
.mega__icon--lilac {
  background: var(--lilac-100);
  color: var(--lilac-700);
}
.mega__feature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 18px;
  background: var(--gradient-hero);
  color: #fff;
  min-height: 300px;
}
.mega__feature:hover {
  color: #fff;
}
.mega__feature strong {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.mega__feature > span:not(.link-arrow):not(.mega__feature-art) {
  font-size: 14px;
  color: var(--ink-200);
}
.mega__feature .link-arrow {
  color: var(--mint-300);
  margin-top: 6px;
}
.mega__feature-eyebrow {
  align-self: flex-start;
  background: var(--mint-500);
  color: var(--ink-900) !important;
  font-size: 12px !important;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}
.mega__feature-art {
  position: absolute;
  right: -20px;
  top: 10px;
  width: 180px;
  height: 150px;
}
.mega__feature-art .slab {
  position: absolute;
  width: 110px;
  height: 70px;
  border-radius: 18px;
  transform: skewY(-22deg);
}
.mega__feature-art .slab--blue {
  left: 0;
  top: 30px;
  background: var(--blue-400);
}
.mega__feature-art .slab--mint {
  left: 50px;
  top: 62px;
  background: var(--mint-500);
}

.mobile-nav {
  border-top: 1px solid var(--ink-100);
  background: #fff;
  color: var(--ink-900);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.mobile-nav__inner {
  padding: 8px 16px 24px;
  display: flex;
  flex-direction: column;
}
.mobile-nav__group summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink-100);
  cursor: pointer;
}
.mobile-nav__group summary::-webkit-details-marker {
  display: none;
}
.mobile-nav__group[open] summary .icon {
  transform: rotate(180deg);
}
.mobile-nav__group a {
  display: block;
  padding: 12px 8px;
  color: var(--ink-700);
  font-size: 16px;
}
.mobile-nav__link {
  display: block;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-100);
}
.mobile-nav__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: #fff;
  padding: 168px 0 112px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(0, 209, 167, 0.28) 0%, rgba(0, 209, 167, 0) 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(102, 128, 255, 0.35) 0%, rgba(102, 128, 255, 0) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.hero__text .lead {
  color: var(--ink-200);
  max-width: 520px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--ink-300);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__meta .icon {
  color: var(--mint-400);
}
.hero__visual {
  position: relative;
}

/* Brand slabs (decorative, echo the mark) */
.slabs {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.slabs::before,
.slabs::after {
  content: "";
  position: absolute;
  border-radius: 56px;
  transform: skewY(-22deg);
}
.slabs::before {
  width: 62%;
  height: 58%;
  left: 0;
  top: 8%;
  background: linear-gradient(160deg, var(--blue-300) 0%, var(--blue-500) 55%, var(--blue-700) 100%);
  opacity: 0.85;
}
.slabs::after {
  width: 66%;
  height: 60%;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    160deg,
    var(--mint-300) 0%,
    var(--mint-500) 45%,
    rgba(59, 91, 255, 0.9) 100%
  );
  box-shadow: 0 40px 120px rgba(0, 209, 167, 0.35);
}
.slabs--hero {
  width: 620px;
  height: 520px;
  right: -140px;
  top: 90px;
  opacity: 0.9;
}
.slabs--cta {
  width: 460px;
  height: 380px;
  right: -120px;
  top: -40px;
  opacity: 0.8;
}
.slabs--sm {
  width: 220px;
  height: 180px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(180deg, var(--ink-50) 0%, #fff 100%);
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 420px;
  right: -120px;
  top: -140px;
  border-radius: 80px;
  transform: skewY(-22deg);
  background: linear-gradient(
    160deg,
    var(--blue-100) 0%,
    var(--lilac-100) 60%,
    rgba(233, 229, 255, 0) 100%
  );
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}
.page-hero--center .page-hero__inner {
  text-align: center;
  align-items: center;
  margin: 0 auto;
}
.page-hero .lead {
  max-width: 620px;
}
.page-hero--split .page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-500);
}
.breadcrumb a {
  color: var(--ink-600);
}
.breadcrumb a:hover {
  color: var(--blue-500);
}
.breadcrumb .icon {
  opacity: 0.6;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-panel);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.card--flat {
  box-shadow: none;
}
a.card {
  color: inherit;
}
a.card:hover {
  color: inherit;
  border-color: var(--ink-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.55;
}
.card .link-arrow {
  margin-top: auto;
  padding-top: 8px;
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-600);
}
.card__icon--mint {
  background: var(--mint-50);
  color: var(--mint-700);
}
.card__icon--lilac {
  background: var(--lilac-100);
  color: var(--lilac-700);
}
.card__icon--sunrise {
  background: var(--sunrise-50);
  color: var(--sunrise-600);
}
.card__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature p {
  color: var(--text-secondary);
  font-size: 15.5px;
}
.section--dark .feature p {
  color: var(--ink-300);
}
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-600);
}
.section--dark .feature__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mint-300);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Block, not flex: an item may hold inline markup (links, <strong>, <code>) that must wrap as text. */
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background:
    var(--mint-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007A62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.section--dark .check-list li::before {
  background-color: rgba(0, 209, 167, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234DE2C3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Stats ---------- */

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

/* ---------- Product UI mocks ---------- */
.ui-window {
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow:
    0 40px 100px -30px rgba(11, 16, 32, 0.55),
    0 0 0 1px rgba(11, 16, 32, 0.06);
  overflow: hidden;
  color: var(--ink-900);
  text-align: left;
}
.ui-window__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ui-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 16px;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  background: #fff;
}
.ui-row__icon {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ui-row__title {
  font-size: 15px;
  font-weight: 600;
  display: block;
}
.ui-row__meta {
  font-size: 13px;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
  display: block;
}
.ui-row > .icon:last-child {
  color: var(--ink-400);
}
.ui-ic--sunrise {
  background: var(--sunrise-50);
  color: var(--sunrise-600);
}
.ui-ic--blue {
  background: var(--blue-50);
  color: var(--blue-500);
}
.ui-ic--lilac {
  background: var(--lilac-50);
  color: var(--lilac-700);
}
.ui-ic--mint {
  background: var(--mint-50);
  color: var(--mint-700);
}
.ui-float {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow:
    0 24px 60px -20px rgba(11, 16, 32, 0.45),
    0 0 0 1px rgba(11, 16, 32, 0.05);
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink-900);
  font-size: 14px;
}
.ui-float strong {
  display: block;
  font-size: 15px;
}
.ui-float span {
  color: var(--ink-500);
  font-size: 13px;
}
.ui-float__pulse {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--mint-500);
  box-shadow: 0 0 0 6px rgba(0, 209, 167, 0.2);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(0, 209, 167, 0.25);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(0, 209, 167, 0.08);
  }
}
.ui-stat-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ui-stat-card small {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
}
.ui-stat-card strong {
  font-size: 26px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ui-panel {
  background: var(--ink-50);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.ui-panel--dark {
  background: var(--ink-900);
}
.ui-panel--gradient {
  background: var(--gradient-hero);
}
.ui-panel--lilac {
  background: linear-gradient(160deg, var(--lilac-100), var(--blue-100));
}

/* Card mock */

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-panel);
  background: #fff;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.step p {
  color: var(--text-secondary);
}

/* ---------- Code ---------- */
.code {
  background: #0e1428;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #dce0ec;
}
.code__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code__tab {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--ink-400);
  background: transparent;
  border: 0;
}
.code__tab.is-active,
.code__tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.code pre {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  font:
    13.5px / 1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.code .k {
  color: #9683fa;
}
.code .s {
  color: #4de2c3;
}
.code .n {
  color: #ffa67f;
}
.code .c {
  color: #6b7190;
}
.code .f {
  color: #93a5ff;
}
.code .p {
  color: #b8bed6;
}
code:not(pre code) {
  font:
    0.9em ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: var(--ink-100);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ---------- Testimonial ---------- */

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  padding: 72px;
  background: var(--gradient-hero);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(50% 70% at 90% 10%, rgba(0, 209, 167, 0.35), transparent 70%);
}
.cta-band p {
  color: var(--ink-200);
  font-size: 18px;
  margin-top: 16px;
  max-width: 520px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

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

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  background: #fff;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}
.table th,
.table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-100);
  vertical-align: top;
}
.table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--ink-50);
  letter-spacing: 0.02em;
}
.table tbody th {
  font-weight: 500;
}
.table tr:last-child td,
.table tr:last-child th {
  border-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-200);
}
.faq details {
  border-bottom: 1px solid var(--ink-200);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  transition: transform 0.2s;
  color: var(--ink-500);
}
.faq details[open] summary .icon {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 48px 24px 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}
.faq details > div p + p {
  margin-top: 12px;
}

/* ---------- Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label,
.field .label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-800);
}
.input,
.select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--ink-200);
  background: #fff;
  font-size: 15px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5068' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    right 14px center / 18px no-repeat;
  padding-right: 44px;
}
.input:focus,
.select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.input::placeholder {
  color: var(--ink-400);
}
.form__note {
  font-size: 13px;
  color: var(--ink-500);
}
.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow:
    0 40px 100px -40px rgba(11, 16, 32, 0.35),
    0 0 0 1px var(--ink-100);
}
.form.is-sent {
  display: none;
}

/* ---------- Prose (blog, legal) ---------- */
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-800);
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 2em;
  color: var(--ink-900);
}
.prose h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 1.6em;
  color: var(--ink-900);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose blockquote {
  border-left: 3px solid var(--blue-500);
  padding: 4px 0 4px 20px;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-900);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  border-bottom: 1px solid var(--ink-100);
  padding: 10px 12px;
  text-align: left;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--ink-200);
  margin: 2.5em 0;
}
.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--blue-50);
  color: var(--blue-900);
  font-size: 15px;
  line-height: 1.6;
}
.callout .icon {
  color: var(--blue-500);
  margin-top: 2px;
}
.callout--warn {
  background: var(--sunrise-50);
  color: var(--sunrise-800);
}
.callout--warn .icon {
  color: var(--sunrise-600);
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.toc p {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.toc a {
  color: var(--ink-600);
  padding: 6px 0;
}
.toc a:hover {
  color: var(--blue-500);
}

/* ---------- Blog / resource cards ---------- */

/* Integration tiles */

/* Status */

/* Team */

/* Job list */

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 88px 0 40px;
  margin-top: 0;
}
.site-footer a {
  color: var(--ink-300);
}
.site-footer a:hover {
  color: #fff;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer__brand img {
  width: 150px;
}
.site-footer__brand p {
  font-size: 15px;
  line-height: 1.6;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.site-footer__cols a {
  display: block;
  font-size: 14.5px;
  padding: 5px 0;
}
.site-footer__heading {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.site-footer__heading--spaced {
  margin-top: 28px;
}
.site-footer__legal {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer__reg {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-400);
  max-width: 980px;
}
.site-footer__reg a {
  text-decoration: underline;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}
.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* Cookie banner */

/* ---------- Motion ---------- */
/* Hidden only once site.js has started (html.js), so content never depends on JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.float-y {
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .site-header__login {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 80px 0;
  }
  .section--tight {
    padding: 56px 0;
  }
  .hero {
    padding: 128px 0 80px;
  }
  .hero__grid,
  .split,
  .page-hero--split .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cta-band {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }
  .cta-band__actions {
    justify-content: flex-start;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .toc {
    position: static;
  }
  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slabs--hero {
    width: 420px;
    height: 360px;
    right: -180px;
    top: 60px;
    opacity: 0.5;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px;
  }
  .cta-band {
    padding: 40px 24px;
    border-radius: 24px;
  }
  .form-card {
    padding: 28px 20px;
    border-radius: 22px;
  }
  .site-header__actions .btn {
    display: none;
  }
  .ui-row {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 12px;
  }
  .ui-row .badge {
    display: none;
  }
  .ui-row__icon {
    width: 38px;
    height: 38px;
  }
  .ui-float {
    display: none;
  }
  .hero__text .btn {
    flex: 1 1 auto;
  }
  .faq details > div {
    padding-right: 0;
  }
  .site-footer__bottom {
    flex-direction: column;
  }
}

/* === solutions & commercial pages === */
/* Mini data table + helpers inside UI mocks */

/* Pricing */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 40px 100px -40px rgba(11, 16, 32, 0.35),
    0 0 0 1px var(--ink-100);
}
.calc__inputs {
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.calc__big {
  display: block;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

/* Integrations */

/* Customer stories */

@media (max-width: 900px) {
  .calc {
    grid-template-columns: 1fr;
  }
  .calc__inputs {
    padding: 32px 24px;
  }
}

/* === conversion & legal pages === */
/* Light gradient shell for demo / signup / login / 404 */
.conv {
  position: relative;
  /* clip, not hidden: hidden would stop the demo form sticking */
  overflow: clip;
  isolation: isolate;
  padding: 80px 0 112px;
  background: linear-gradient(180deg, var(--ink-50) 0%, #fff 70%);
}
.conv::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 460px;
  right: -160px;
  top: -180px;
  border-radius: 80px;
  transform: skewY(-22deg);
  background: linear-gradient(
    160deg,
    var(--blue-100) 0%,
    var(--lilac-100) 60%,
    rgba(233, 229, 255, 0) 100%
  );
}
.conv::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 320px;
  left: -220px;
  bottom: 80px;
  border-radius: 64px;
  transform: skewY(-22deg);
  background: linear-gradient(160deg, var(--mint-50) 0%, rgba(230, 250, 246, 0) 100%);
}
.conv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}
.conv-grid > .form-card {
  position: sticky;
  top: 96px;
}
.conv-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}
.conv-intro .lead {
  max-width: 520px;
}
.conv-subhead {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* Signup / login */

/* Legal hub & legal pages */
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--ink-500);
}
.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legal-layout .prose {
  min-width: 0;
  max-width: 800px;
}
.prose .table code {
  white-space: nowrap;
}
.prose .callout {
  margin-bottom: 8px;
}
.prose .callout p {
  margin: 0;
}
.prose h2 {
  scroll-margin-top: 96px;
}
.prose .table-wrap {
  margin-top: 1.4em;
}
.prose .table {
  font-size: 14.5px;
  line-height: 1.55;
}
.prose .table th,
.prose .table td {
  padding: 14px 16px;
}
.prose dl {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 10px 20px;
  font-size: 16px;
}
.prose dt {
  font-weight: 600;
  color: var(--ink-900);
}
.prose dd {
  margin: 0;
}
.toc {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
}
.toc a {
  line-height: 1.4;
  border-left: 2px solid var(--ink-100);
  padding: 6px 0 6px 14px;
}
.toc a:hover {
  border-left-color: var(--blue-500);
}

/* 404 */
.nf-art {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-art .slabs {
  width: 520px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.95;
}
.nf-code {
  font-size: clamp(120px, 17vw, 220px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.07em;
  color: #fff;
  text-shadow: 0 20px 60px rgba(11, 16, 32, 0.25);
  font-variant-numeric: tabular-nums;
}
.nf-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}
.nf-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-800);
  font-weight: 500;
  font-size: 15px;
}
.nf-links a:hover {
  color: var(--blue-600);
}
.nf-links a .icon {
  color: var(--ink-400);
}

@media (max-width: 900px) {
  .conv {
    padding: 48px 0 80px;
  }
  .conv-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .conv-grid > .form-card {
    position: static;
  }
  .nf-art {
    min-height: 300px;
  }
  .nf-art .slabs {
    width: 380px;
    height: 300px;
  }
}
@media (max-width: 640px) {
  .conv {
    padding: 32px 0 64px;
  }
  .nf-links {
    grid-template-columns: 1fr;
  }
  .prose dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .prose dd {
    margin-bottom: 12px;
  }
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .prose h3 {
    font-size: 19px;
  }
  .legal-layout .toc {
    background: var(--ink-50);
    border-radius: 16px;
    padding: 20px 20px 14px;
    max-height: none;
  }
  .legal-layout .toc a {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .nf-art {
    order: -1;
    min-height: 240px;
  }
  .nf-art .slabs {
    width: 300px;
    height: 240px;
  }
  .nf-code {
    font-size: 112px;
  }
  .nf-art .ui-float {
    display: none;
  }
}

/* conversion & legal pages (cont.) */
.section--legal {
  padding-top: 48px;
}
@media (max-width: 640px) {
  .section--legal {
    padding-top: 16px;
  }
  .prose .table--fit {
    min-width: 0;
  }
  .prose .table--fit th,
  .prose .table--fit td {
    padding: 12px 14px;
  }
  .prose .table--fit tbody th {
    width: 44%;
  }
}

/* === product pages === */
/* Agent-tinted hero glows */

/* Mock helpers */

/* Timeline */

/* Horizontal bar list (aged debt, spend, limits) */

/* Policy builder */

/* Balances & currencies */

/* Platform architecture */

/* Stacked payment cards */

/* === developer & resources pages === */
/* Let code blocks scroll inside single-column grids instead of widening the page */
.hero__grid > *,
.split > *,
.page-hero__grid > *,
.steps > * {
  min-width: 0;
}
/* Code blocks: extra parts (tabs scroll on small screens; header line; compact variant) */
.code__tabs {
  overflow-x: auto;
  scrollbar-width: none;
}
.code__tabs::-webkit-scrollbar {
  display: none;
}
.code__tab {
  flex: none;
}

/* Developer platform */

/* API reference (docs) */

/* Changelog */

/* Status */

/* Blog & articles */

.prose .callout {
  margin-top: 1.6em;
}

/* Help centre */

.section-head .h2 {
  text-wrap: balance;
}
.ui-float strong {
  color: var(--ink-900);
}
.ui-float .ui-ic--sunrise {
  color: var(--sunrise-600);
}
.ui-float .ui-ic--blue {
  color: var(--blue-500);
}
.ui-float .ui-ic--lilac {
  color: var(--lilac-700);
}
.ui-float .ui-ic--mint {
  color: var(--mint-700);
}
@media (max-width: 640px) {
  .hero__visual .ui-panel {
    padding: 14px;
  }
  .hero__visual .ui-window__body {
    padding: 16px;
  }
}

/* === company pages === (about, careers, press, partners, contact, security, compliance) */

.section--dark .ui-window p.muted,
.section--dark .ui-window .muted {
  color: var(--ink-500);
}
.section--dark .ui-window .h4 {
  color: var(--ink-900);
}
.reg-table {
  margin-top: 1.4em;
}
.reg-table .table {
  min-width: 0;
  font-size: 15px;
}
.reg-table .table th {
  width: 40%;
  color: var(--ink-600);
  background: var(--ink-50);
}
.prose .reg-table th,
.prose .reg-table td {
  padding: 12px 16px;
}

/* solutions & commercial: filtered/search-hidden items must stay hidden despite display:flex */
.card[hidden] {
  display: none !important;
}
/* Phone-style mock */

.section-head--split > .link-arrow {
  flex: none;
  white-space: nowrap;
}

.hero .ui-stat-card {
  color: var(--ink-900);
}

/* =====================================================================================
   v2 (Sept 2026): the homepage from the owner's sketch, and the product pages built on
   what the platform actually does. Components: the fee → cashback loop, card-brand marks,
   the accept grid (pay page + usage chart mocks), terminal, SKILL.md file, install commands,
   fee calculator, waitlist form.
   ===================================================================================== */

/* ---- Hero: the loop (0.79% in → 0.90% back) ---- */
.hero--home {
  padding-bottom: 96px;
}
.hero--home .h-display {
  max-width: 11ch;
}
.loop {
  margin: 0;
  position: relative;
  padding: 96px 28px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.6);
}
.loop__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.loop__card {
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.55);
}
.loop__card--fee {
  background: linear-gradient(135deg, #1a2b8c 0%, #3b5bff 100%);
}
.loop__card--back {
  background: linear-gradient(135deg, #006b57 0%, #00d1a7 100%);
  transform: translateY(-14px) rotate(2deg);
}
.loop__card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 100px;
  right: -44px;
  top: -34px;
  border-radius: 30px;
  transform: skewY(-22deg);
  background: rgba(255, 255, 255, 0.12);
}
.loop__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.loop__card-top img {
  width: 30px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.loop__card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.loop__contactless {
  color: rgba(255, 255, 255, 0.9);
  flex: none;
}
.loop__stripe {
  display: block;
  height: 12px;
  margin: 0 -18px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(11, 16, 32, 0.55) 0 4px,
    rgba(11, 16, 32, 0.35) 4px 8px
  );
}
.loop__rate {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}
.loop__card-foot {
  font-size: 12px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.loop__arrow {
  color: var(--mint-300);
  display: flex;
}
.loop__bubble {
  position: absolute;
  top: 16px;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  width: max-content;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 16px 40px -10px rgba(0, 209, 167, 0.55);
}
.loop__bubble strong {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--mint-700);
}
.loop__bubble span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
}
.loop__bubble::after {
  content: "";
  position: absolute;
  left: calc(50% - 7px);
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 3px;
}
.loop__caption {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-300);
}
.loop__caption a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Card brands strip + the three loop steps ---- */
.brands {
  border-bottom: 1px solid var(--ink-100);
}
.brands__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
}
.brands__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
}
.brands__text p {
  color: var(--text-secondary);
}
.brands__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-mark {
  height: 52px;
  min-width: 92px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--ink-200);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
}
.brand-mark--visa span {
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: #1a1f71;
}
.brand-mark__circles {
  display: inline-flex;
}
.brand-mark__circles span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eb001b;
}
.brand-mark__circles span + span {
  margin-left: -10px;
  background: #f79e1b;
  mix-blend-mode: multiply;
}
.brand-mark__name {
  font-size: 14px;
  font-weight: 600;
  color: #231f20;
  letter-spacing: -0.01em;
}
.brand-mark--amex {
  background: #1f72cd;
  border-color: #1f72cd;
}
.brand-mark--amex span {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.08em;
}
.loop-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.loop-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 18px;
  background: var(--ink-50);
}
.loop-steps li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loop-steps li span span {
  color: var(--text-secondary);
  font-size: 15px;
}
.loop-steps__num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-500);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.loop-steps li:last-child .loop-steps__num {
  background: var(--mint-600);
}

/* ---- Accept grid: Online payments | Metered AI ---- */
.accept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.accept-card {
  background: #fff;
  border-radius: var(--radius-panel, 24px);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.accept-card__visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
}
.accept-card__visual--blue {
  background:
    radial-gradient(80% 80% at 90% 0%, rgba(59, 91, 255, 0.25), transparent 70%),
    linear-gradient(160deg, var(--blue-50), var(--lilac-50));
}
.accept-card__visual--mint {
  background:
    radial-gradient(80% 80% at 90% 0%, rgba(0, 209, 167, 0.25), transparent 70%),
    linear-gradient(160deg, var(--mint-50), #fff);
}
.accept-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.accept-card__body > p {
  color: var(--text-secondary);
}
.accept-card__aka {
  font-weight: 600;
  color: var(--mint-700) !important;
  margin-top: -6px;
}
.accept-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink-100);
}
.accept-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
  color: var(--text-primary);
  text-decoration: none;
}
.accept-links a > span {
  display: flex;
  flex-direction: column;
}
.accept-links small {
  color: var(--text-muted);
  font-size: 14px;
}
.accept-links .icon {
  color: var(--blue-500);
  transition: transform 0.2s ease;
  flex: none;
}
.accept-links a:hover .icon {
  transform: translateX(4px);
}
.accept-links a:hover strong {
  color: var(--blue-600);
}

/* Pay page mock */
.paypage {
  width: 300px;
  max-width: 100%;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 30px 60px -20px rgba(20, 31, 94, 0.35),
    0 0 0 1px rgba(11, 16, 32, 0.05);
  overflow: hidden;
  font-size: 13px;
}
.paypage__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
}
.paypage__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-200);
}
.paypage__bar em {
  font-style: normal;
  margin-left: 8px;
  font-size: 11px;
  color: var(--ink-500);
}
.paypage__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.paypage__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-700);
}
.paypage__logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--sunrise-400);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.paypage__item {
  margin-top: 6px;
  color: var(--ink-500);
}
.paypage__amount {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.paypage__field {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--ink-200);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-400);
  font-size: 12px;
}
.paypage__brands {
  display: inline-flex;
  gap: 4px;
}
.pb {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  display: block;
}
.pb--visa {
  background: #1a1f71;
}
.pb--mc {
  background:
    radial-gradient(circle at 35% 50%, #eb001b 0 5px, transparent 5.5px),
    radial-gradient(circle at 65% 50%, #f79e1b 0 5px, transparent 5.5px), #fff;
  box-shadow: inset 0 0 0 1px var(--ink-200);
}
.pb--amex {
  background: #1f72cd;
}
.paypage__pay {
  margin-top: 6px;
  height: 38px;
  border-radius: 999px;
  background: var(--blue-500);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(59, 91, 255, 0.6);
}
.paypage-qr {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 78px;
  height: 78px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
}
.paypage-qr .qr,
.phone-qr__code .qr {
  display: block;
  width: 100%;
  height: 100%;
}
.phone-qr {
  width: 240px;
  border-radius: 36px;
  background: #0b1020;
  padding: 28px 22px 30px;
  color: #fff;
  text-align: center;
  box-shadow:
    0 40px 80px -30px rgba(11, 16, 32, 0.6),
    inset 0 0 0 6px #232a40;
}
.phone-qr__title {
  font-size: 14px;
  color: var(--ink-300);
}
.phone-qr__amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2px 0 16px;
}
.phone-qr__code {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  aspect-ratio: 1;
}
.phone-qr__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--mint-300);
  font-weight: 600;
}

/* Usage chart mock */
.usage {
  width: 340px;
  max-width: 100%;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow:
    0 30px 60px -20px rgba(0, 77, 63, 0.3),
    0 0 0 1px rgba(11, 16, 32, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.usage__head,
.usage__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.usage__foot {
  justify-content: flex-start;
  gap: 28px;
}
.usage small {
  display: block;
  font-size: 11px;
  color: var(--ink-500);
}
.usage strong {
  font-size: 16px;
  color: var(--ink-900);
}
.usage__price {
  font-size: 12px;
  font-weight: 600;
  color: var(--mint-700);
  background: var(--mint-50);
  padding: 4px 10px;
  border-radius: 999px;
}
.usage__chart {
  width: 100%;
  height: 120px;
  display: block;
}
.usage-float {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--ink-900);
  color: #fff;
  font-size: 12px;
  box-shadow: var(--shadow-md);
}
.usage-float > span:last-child {
  display: flex;
  flex-direction: column;
}
.usage-float > span:last-child span {
  color: var(--ink-300);
}

/* ---- Developers: SDK + terminal ---- */
.dev__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.dev__grid .code,
.terminal {
  min-width: 0;
}
.terminal {
  background: #05070f;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #dce0ec;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.terminal__bar span:nth-child(2) {
  background: #febc2e;
}
.terminal__bar span:nth-child(3) {
  background: #28c840;
}
.terminal__bar em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-400);
  margin-left: 10px;
}
.terminal__body {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font:
    13px / 1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.terminal__prompt {
  color: var(--mint-400);
  user-select: none;
}
.terminal .s {
  color: #4de2c3;
}
.terminal .n {
  color: #ffa67f;
}
.terminal .p {
  color: #93a5ff;
}
.terminal .c {
  color: #6b7190;
}
.dev__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 32px;
}
.section--dark .link-arrow--light {
  color: #fff;
}

/* ---- For agents: SKILL.md ---- */
.skill .split__text .lead code {
  background: var(--lilac-100);
  color: var(--lilac-800);
  padding: 1px 6px;
  border-radius: 6px;
}
.install {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.install__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}
.install__cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: var(--ink-900);
  color: #dce0ec;
  min-width: 0;
}
.install__cmd code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 12.5px;
  scrollbar-width: none;
}
.install__copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 600 12px / 1 inherit;
  cursor: pointer;
}
.install__copy:hover {
  background: rgba(255, 255, 255, 0.18);
}
.install__copy.is-copied {
  background: var(--mint-600);
}
.skill-file {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ink-200);
  box-shadow: 0 40px 80px -40px rgba(75, 63, 184, 0.45);
  min-width: 0;
}
.skill-file__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--lilac-50);
  border-bottom: 1px solid var(--lilac-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--lilac-800);
}
.skill-file__bar em {
  margin-left: auto;
  font-style: normal;
  font-weight: 400;
  color: var(--ink-500);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skill-file__body {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  color: var(--ink-700);
  font:
    13px / 1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.sk-rule {
  color: var(--ink-400);
}
.sk-key {
  color: var(--lilac-700);
  font-weight: 600;
}
.sk-h {
  color: var(--blue-700);
  font-weight: 700;
}
.sk-code {
  color: var(--mint-700);
  background: var(--mint-50);
  border-radius: 4px;
  padding: 0 3px;
}
.feature-grid .badge {
  vertical-align: middle;
  margin-left: 4px;
}

/* ---- Product pages: "not yet" list, simple two-column feature rows ---- */
.not-yet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.not-yet li {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed var(--ink-300);
  color: var(--ink-600);
}
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.spec > div {
  padding: 20px 0;
  border-top: 1px solid var(--ink-100);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 12px;
  align-content: start;
}
.spec .icon {
  color: var(--blue-500);
  grid-row: span 2;
  margin-top: 2px;
}
.spec h3 {
  font-size: 17px;
}
.spec p {
  color: var(--text-secondary);
  font-size: 15px;
  grid-column: 2;
}
.api-list {
  font:
    13px / 1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  list-style: none;
  padding: 0;
  margin: 0;
}
.api-list b {
  display: inline-block;
  min-width: 48px;
  color: var(--mint-700);
  font-weight: 700;
}
.section--dark .api-list {
  color: var(--ink-200);
}
.section--dark .api-list b {
  color: var(--mint-400);
}

/* ---- Pricing: fee calculator ---- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border-radius: var(--radius-panel, 24px);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.calc__inputs {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc__out {
  padding: 32px;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: var(--ink-200);
}
.calc__row strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc__big {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.calc__note {
  font-size: 13px;
  color: var(--ink-300);
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg button {
  border: 1px solid var(--ink-200);
  background: #fff;
  color: var(--ink-700);
  border-radius: 999px;
  padding: 7px 14px;
  font: 500 14px / 1.2 inherit;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.rate-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.rate-card {
  border-radius: var(--radius-panel, 24px);
  padding: 32px;
  background: #fff;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rate-card--featured {
  background: var(--gradient-hero);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.rate-card--featured p,
.rate-card--featured li {
  color: var(--ink-200);
}
.rate-card__rate {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rate-card__rate small {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.75;
  margin-left: 6px;
}

/* ---- Waitlist form ---- */
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.form-error {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--status-danger-bg);
  color: var(--status-danger);
  font-size: 14px;
  font-weight: 500;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .dev__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .accept-grid,
  .loop-steps,
  .spec,
  .calc,
  .rate-cards,
  .waitlist {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero--home .h-display {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .loop {
    padding: 84px 14px 18px;
  }
  .loop__cards {
    gap: 8px;
  }
  .loop__card {
    padding: 11px 12px;
    border-radius: 12px;
  }
  .loop__stripe {
    height: 8px;
    margin: 0 -12px;
  }
  .loop__card-label,
  .loop__card-foot {
    font-size: 10px;
  }
  .loop__card-foot {
    display: none;
  }
  .loop__card-top img {
    width: 22px;
  }
  .loop__arrow .icon {
    width: 20px;
    height: 20px;
  }
  .loop__rate {
    font-size: 26px;
  }
  .loop__bubble {
    right: 14px;
  }
  .accept-card__visual {
    height: auto;
    min-height: 240px;
    padding: 24px 16px;
  }
  .accept-card__body,
  .calc__inputs,
  .calc__out,
  .rate-card {
    padding: 24px;
  }
  .paypage-qr,
  .usage-float {
    display: none;
  }
  .brand-mark {
    min-width: 0;
    height: 44px;
    padding: 0 12px;
  }
  .brand-mark--visa span {
    font-size: 20px;
  }
  .brand-mark__name {
    display: none;
  }
}
.table--dark {
  min-width: 0;
  color: #fff;
}
.table--dark th,
.table--dark td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
}
.table--dark tbody th {
  color: var(--ink-300);
  font-weight: 400;
}
.site-footer__brand .btn {
  align-self: flex-start;
}
.install__cmd code {
  background: none;
  color: #dce0ec;
  padding: 0;
  border: 0;
  font-size: 12.5px;
}
.callout--stack {
  display: block;
}
.section--dark code:not(pre code) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: transparent;
}
/* Grid children may hold code blocks: let them shrink so the block scrolls, not the page. */
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}
.card .code pre {
  overflow-x: auto;
}
@media (max-width: 640px) {
  .rate-card__rate small {
    display: block;
    margin: 10px 0 0;
  }
}
.calc__checks {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc__checks .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.loop__rate small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 2px;
}
