/* ============================================================
   A1LPay - Landing page styles
   ============================================================ */

:root {
  /* Brand */
  --red: #CC0F10;
  --red-deep: #9E0B0C;
  --blue: #013985;
  --blue-deep: #002A65;

  /* Defaults - overridden by [data-palette] */
  --brand-primary: var(--blue);
  --brand-primary-deep: var(--blue-deep);
  --brand-secondary: var(--red);
  --brand-secondary-deep: var(--red-deep);
  --accent-tint: rgba(1, 57, 133, 0.07);

  /* Neutrals */
  --ink: #0B0F1F;
  --ink-2: #2A2F40;
  --ink-3: #5A6072;
  --muted: #8A8F9E;
  --line: #E7E5DF;
  --line-2: #EFEDE7;
  --bg: #FBFAF8;
  --bg-tint: #F4F2EC;
  --bg-dark: #0B0F1F;

  /* Radii / shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 31, 0.04), 0 2px 6px rgba(11, 15, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 15, 31, 0.06), 0 12px 32px rgba(11, 15, 31, 0.06);
  --shadow-lg: 0 24px 64px rgba(11, 15, 31, 0.10);

  /* Type */
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Palette variants */
[data-palette="blue"] {
  --brand-primary: var(--blue);
  --brand-primary-deep: var(--blue-deep);
  --brand-secondary: var(--red);
  --brand-secondary-deep: var(--red-deep);
  --accent-tint: rgba(1, 57, 133, 0.07);
}
[data-palette="red"] {
  --brand-primary: var(--red);
  --brand-primary-deep: var(--red-deep);
  --brand-secondary: var(--blue);
  --brand-secondary-deep: var(--blue-deep);
  --accent-tint: rgba(204, 15, 16, 0.05);
}
[data-palette="balanced"] {
  --brand-primary: var(--blue);
  --brand-primary-deep: var(--blue-deep);
  --brand-secondary: var(--red);
  --brand-secondary-deep: var(--red-deep);
  --accent-tint: rgba(1, 57, 133, 0.06);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Type scale
   ============================================================ */
.display {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
.display em,
.h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}
.h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.h2--light { color: #FBFAF8; }
.h2--light em { color: #fff; opacity: 0.9; }
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
  background: var(--accent-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.kicker--light {
  color: #fff;
  background: rgba(255,255,255,0.10);
}
.lede {
  font-size: 19.5px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.section__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 660px;
  margin: 0 auto;
  text-wrap: pretty;
}
.section__sub--right { text-align: right; margin-right: 0; }
.section__sub--left { margin: 0; }
.section__sub--light { color: rgba(255,255,255,0.78); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 15%, transparent);
}
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 18px color-mix(in srgb, var(--brand-primary) 28%, transparent);
}
.btn--primary:hover { background: var(--brand-primary-deep); transform: translateY(-1px); }
.btn--secondary {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 18px color-mix(in srgb, var(--brand-secondary) 28%, transparent);
}
.btn--secondary:hover { background: var(--brand-secondary-deep); transform: translateY(-1px); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--block { width: 100%; }
.link-quiet {
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.link-quiet:hover { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 32px;
}
.nav__logo img { height: 52px; width: auto; max-width: none; }
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--brand-primary); }
.nav__cta { display: flex; align-items: center; gap: 18px; }

/* Hamburger button (hidden on desktop) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger.is-open .nav__burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open .nav__burger-bar:nth-child(2) { opacity: 0; }
.nav__burger.is-open .nav__burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down menu */
.mobile-menu {
  border-top: 1px solid var(--line-2);
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s ease, opacity .2s ease;
}
.mobile-menu.is-open {
  max-height: 80vh;
  opacity: 1;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding: 12px 22px 4px;
}
.mobile-menu__links a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu__links a:last-child { border-bottom: none; }
.mobile-menu__actions {
  display: none;
}
body.menu-open { overflow: hidden; }

/* ============================================================
   Sections (generic)
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--bg-dark); color: #FBFAF8; }
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.section__head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  max-width: none;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section__head--split .kicker { text-align: left; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 96px 0 120px;
  background:
    radial-gradient(900px 420px at 12% 18%, color-mix(in srgb, var(--brand-primary) 6%, transparent) 0%, transparent 70%),
    radial-gradient(700px 360px at 88% 8%, color-mix(in srgb, var(--brand-secondary) 5%, transparent) 0%, transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__cta { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.hero__bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 22px;
  font-size: 14.5px;
  color: var(--ink-3);
}
.hero__bullets li { display: inline-flex; align-items: center; gap: 9px; }
.tick {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-primary) 12%, #fff);
  color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.tick svg { width: 12px; height: 12px; }

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-height: 640px;
}
.hero__orbit {
  position: absolute; inset: -4% -4%;
  pointer-events: none;
}

/* Placeholders */
.placeholder {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(11,15,31,0.045) 0,
      rgba(11,15,31,0.045) 1px,
      transparent 1px,
      transparent 12px
    ),
    color-mix(in srgb, var(--brand-primary) 5%, var(--bg-tint));
  border: 1px solid var(--line);
}
.placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  background: rgba(255,255,255,0.85);
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.placeholder--hero {
  position: absolute;
  inset: 6% 4% 12% 8%;
}
.placeholder--dark {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.05) 0,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 12px
    ),
    #14192e;
  border-color: rgba(255,255,255,0.08);
}
.placeholder--dark::before {
  background: rgba(20, 25, 46, 0.9);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.1);
}
.placeholder--security {
  aspect-ratio: 5 / 4;
  width: 100%;
}

/* Security illustration */
.vault {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, #0F142A 0%, #0B0F1F 100%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.vault svg { width: 100%; height: 100%; display: block; }

/* Floating cards in hero */
.hero__card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
}
.hero__card--receipt {
  width: 280px;
  right: -3%;
  bottom: 12%;
  transform: rotate(2deg);
}
.receipt__head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); display: inline-block; }
.dot--success { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.dot--r { background: #FF5F56; }
.dot--y { background: #FFBD2E; }
.dot--g { background: #27C93F; }
.receipt__label { font-weight: 500; color: var(--ink-2); }
.receipt__time { margin-left: auto; font-family: var(--font-mono); font-size: 11px; }
.receipt__amount {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.receipt__cents { font-size: 22px; color: var(--ink-3); }
.receipt__meta {
  display: flex; gap: 6px; font-size: 13px; color: var(--ink-2);
  margin-bottom: 12px;
}
.receipt__meta--sm { font-size: 11.5px; margin-top: 8px; margin-bottom: 0; }
.receipt__bar {
  height: 5px;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
}
.receipt__bar span {
  display: block; height: 100%;
  background: var(--brand-primary);
  border-radius: 999px;
}

.hero__card--chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  width: 280px;
  left: -2%;
  top: 6%;
  transform: rotate(-1.5deg);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-tint);
  font-size: 12.5px;
  color: var(--ink-2);
}
.chip__sw {
  display: inline-block;
  width: 22px; height: 14px;
  border-radius: 2px;
  background: linear-gradient(135deg, #1A1F71, #2A2F8B);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 14px;
}
.chip__sw--visa { background: #1A1F71; }
.chip__sw--mc {
  background:
    radial-gradient(circle at 30% 50%, #EB001B 60%, transparent 61%),
    radial-gradient(circle at 70% 50%, #F79E1B 60%, transparent 61%),
    #fff;
}

/* ============================================================
   Trusted-by
   ============================================================ */
.trusted {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.trusted__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 22px;
}
.trusted__row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: center;
}
.logo-mark {
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-2);
  letter-spacing: -0.02em;
  opacity: 0.65;
  transition: opacity .2s ease;
}
.logo-mark:hover { opacity: 1; }
.logo-mark--alt {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 14px;
}
.logo-mark--alt span { color: var(--brand-primary); margin-left: 2px; }

/* ============================================================
   Features grid
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 40px 36px 44px;
}
.feature__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--brand-primary);
  background: var(--accent-tint);
  margin-bottom: 24px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.feature p {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   Methods
   ============================================================ */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.method {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.method:hover { border-color: var(--brand-primary); transform: translateY(-2px); }
.method__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.method__icon svg { width: 20px; height: 20px; }
.method__name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.method__type {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Plugins
   ============================================================ */
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plugin {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.plugin:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plugin__logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.02em;
}
.plugin__logo--woo { background: #7F54B3; }
.plugin__logo svg { width: 28px; height: 28px; }
.plugin__logo--magento { background: #F26322; }
.plugin__logo--shopify { background: #95BF47; }
.plugin__logo--nop { background: #4B7FAB; }
.plugin__logo--oc { background: #2AA8DC; font-size: 14px; }
.plugin h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.plugin p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
}
.plugin__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.plugin__downloads {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plugin__downloads .link-quiet { font-size: 14px; }
.plugin--soon { opacity: 0.85; }
.plugin--soon:hover { border-color: var(--line); box-shadow: none; transform: none; }
.plugin__coming {
  font-size: 14px;
  color: var(--ink-3);
}
.plugin__coming a {
  color: var(--brand-primary);
  border-bottom: 1px solid currentColor;
}
.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}
.pill--quiet {
  background: var(--bg-tint);
  color: var(--ink-3);
}
.plugins-footnote {
  margin-top: 32px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Plugins CTA -- developers / custom requests */
.plugins-cta {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.plugins-cta__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.plugins-cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-primary);
}
.plugins-cta__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 540px;
  text-wrap: pretty;
}
.plugins-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.plugins-cta__actions .btn { white-space: nowrap; }
@media (max-width: 880px) {
  .plugins-cta {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
  .plugins-cta__actions {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.plugins-footnote .mono {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--ink-2);
}
.plugins-footnote a { color: var(--brand-primary); border-bottom: 1px solid currentColor; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}
.tier--featured {
  background: var(--ink);
  color: #FBFAF8;
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  position: relative;
}
.tier--featured .tier__for { color: rgba(251,250,248,0.65); }
.tier--featured .tier__per { color: rgba(251,250,248,0.55); }
.tier--featured .tier__list { color: rgba(251,250,248,0.9); }
.tier--featured .tier__list li::before { color: var(--brand-secondary); }
.tier__head { margin-bottom: 24px; }
.tier__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.tier__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-secondary);
  color: #fff;
}
.tier__for {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
}
.tier__volume {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-primary);
  background: var(--accent-tint);
  padding: 6px 12px;
  border-radius: 999px;
}
.tier__volume-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.tier--featured .tier__volume {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.tier--featured .tier__volume-dot {
  background: var(--brand-secondary);
}
.tier__price {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tier--featured .tier__price {
  border-color: rgba(255,255,255,0.12);
}
.tier__rate {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier__rate--quiet {
  font-size: 36px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}
.tier--featured .tier__rate--quiet { color: var(--brand-secondary); }
.tier__pct {
  font-size: 28px;
  margin-left: 2px;
}
.tier__plus {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 4px;
}
.tier--featured .tier__plus { color: rgba(251,250,248,0.65); }
.tier__per {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 6px;
}
.tier__list {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.tier__list li {
  position: relative;
  padding-left: 22px;
}
.tier__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--brand-primary);
}
.pricing__foot {
  text-align: center;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ============================================================
   Security
   ============================================================ */
.security__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.badge {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge__title {
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.badge__sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   Developers
   ============================================================ */
.devs__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.devs__copy .section__sub { max-width: 540px; }
.devs__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.codeblock {
  background: #0B0F1F;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1A1F36;
}
.codeblock__head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #1A1F36;
  background: #11162B;
}
.codeblock__name {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.codeblock__body {
  margin: 0;
  padding: 22px 24px 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: #DCE3F0;
  white-space: pre;
  overflow-x: auto;
}
.c-mut { color: #6B7390; }
.c-str { color: #95E29E; }
.c-num { color: #F1B36B; }
.c-key { color: #88B9FF; }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.quote figcaption {
  display: flex; gap: 12px; align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(11,15,31,0.10) 0,
      rgba(11,15,31,0.10) 1px,
      transparent 1px,
      transparent 6px
    ),
    color-mix(in srgb, var(--brand-primary) 12%, var(--bg-tint));
}
.quote__name { font-weight: 600; font-size: 14.5px; }
.quote__role { font-size: 13px; color: var(--ink-3); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat {
  background: var(--bg-tint);
  padding: 32px 28px;
}
.stat__num {
  display: block;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__lab {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ============================================================
   Contact
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact__list {
  list-style: none;
  padding: 0; margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

/* ============================================================
   White-label / OEM partners section
   ============================================================ */
.partners__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.partners__copy .section__sub { margin-bottom: 36px; }

.partners__list {
  list-style: none;
  padding: 0; margin: 0 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.partners__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.partners__list-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.partners__list-icon svg { width: 18px; height: 18px; }
.partners__list h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.partners__list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
.partners__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.partners__art {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 480px;
}
.oem-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oem-card--back {
  top: 0; left: 0; right: 18%;
  transform: rotate(-3deg);
  border-top: 4px solid var(--brand-primary);
}
.oem-card--mid {
  top: 32%; right: 0; left: 22%;
  transform: rotate(2deg);
  border-top: 4px solid var(--brand-secondary);
  box-shadow: var(--shadow-lg);
}
.oem-card--front {
  bottom: 0; left: 4%; right: 4%;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 20px;
}
.oem-card__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
}
.oem-card--front .oem-card__head { color: rgba(255,255,255,0.85); }
.oem-card__name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.oem-card__pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--brand-primary);
}
.oem-card__pill--alt {
  background: rgba(204, 15, 16, 0.08);
  color: var(--brand-secondary);
}
.oem-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}
.oem-card__field--big {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 2px;
}
.oem-card__cents { font-size: 18px; color: var(--ink-3); font-weight: 500; }
.oem-card__meta {
  display: flex; justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-2);
}
.oem-card__bar {
  height: 5px;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
}
.oem-card__bar span {
  display: block; height: 100%;
  background: var(--brand-primary);
  border-radius: 999px;
}
.oem-card__bar--alt span { background: var(--brand-secondary); }
.oem-card__row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.oem-card__chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--ink-3);
  border: 1px solid var(--line);
}
.oem-card__rails {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 4px -22px -20px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.oem-card__rail {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: baseline;
  background: var(--ink);
  padding: 12px 22px;
}
.oem-card__rail-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-secondary);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.oem-card__rail-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.oem-card__rail-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
@media (max-width: 1080px) {
  .partners__grid { grid-template-columns: 1fr; gap: 56px; }
  .partners__list { grid-template-columns: 1fr; }
  .partners__art { min-height: 520px; }
}
@media (max-width: 560px) {
  .partners__art { min-height: 460px; }
  .oem-card--back, .oem-card--mid, .oem-card--front {
    left: 0; right: 0; transform: none;
  }
  .oem-card--back { top: 0; }
  .oem-card--mid { top: 30%; }
  .oem-card--front { bottom: 0; }
}

/* ============================================================
   About section
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__copy .section__sub { margin-bottom: 20px; }
.about__copy .section__sub:last-of-type { margin-bottom: 0; }
.about__copy strong { font-weight: 600; color: var(--ink); }
.about__link {
  color: var(--brand-primary);
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}
.about__link:hover { color: var(--brand-primary-deep); }
.about__cta { margin-top: 32px; }

.about__stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.about__node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  position: relative;
}
.about__node--parent {
  border-left: 4px solid var(--brand-primary);
}
.about__node--sub {
  border-left: 4px solid var(--ink-3);
  margin: 0 auto;
  width: 88%;
}
.about__node--product {
  border-left: 4px solid var(--brand-secondary);
  margin: 0 auto;
  width: 76%;
  background: var(--ink);
  color: #fff;
}
.about__node-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.about__node--product .about__node-eyebrow { color: rgba(255,255,255,0.55); }
.about__node-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}
.about__node-name--brand {
  font-size: 26px;
  color: #fff;
}
.about__node-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
.about__node--product .about__node-desc { color: rgba(255,255,255,0.7); }
.about__node-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.about__chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}
.about__connector {
  height: 36px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.about__connector svg { height: 100%; width: 40px; }

/* Calendly CTA card */
.contact-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--ink);
  color: #FBFAF8;
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #14192E;
}
.contact-cta__icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-primary) 30%, transparent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-cta__icon svg { width: 22px; height: 22px; }
.contact-cta__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.contact-cta__title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.contact-cta__sub {
  font-size: 13px;
  color: rgba(251,250,248,0.65);
}
.contact-cta__arrow {
  font-size: 22px;
  color: #fff;
  opacity: 0.7;
  transition: transform .15s ease, opacity .15s ease;
}
.contact-cta:hover .contact-cta__arrow {
  opacity: 1;
  transform: translateX(3px);
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-tint);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-foot__fine {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.45;
}
.form-foot__fine a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.contact-form__success {
  padding: 16px 18px;
  border-radius: 12px;
  background: color-mix(in srgb, #10B981 8%, #fff);
  border: 1px solid color-mix(in srgb, #10B981 30%, transparent);
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-tint);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer__logo { height: 32px; width: auto; max-width: none; margin-bottom: 16px; }
.footer__brand p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-3);
  max-width: 320px;
  line-height: 1.55;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.footer__cols h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
  padding: 5px 0;
  transition: color .15s ease;
}
.footer__cols a:hover { color: var(--brand-primary); }
.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { aspect-ratio: 4 / 3; max-height: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .methods-grid { grid-template-columns: repeat(3, 1fr); }
  .plugins-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier--featured { transform: none; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__node--sub, .about__node--product { width: 100%; }
  .security__grid, .devs__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .section__head--split { grid-template-columns: 1fr; }
  .section__sub--right { text-align: left; }
}
/* Collapse nav early enough that links + CTAs never overflow */
/* ---- Progressive nav collapse (priority+) ----
   The three CTAs (Sign in / Chat with us / Get started) always stay
   visible; the section links shed into the hamburger first, and the
   CTA cluster wraps to its own row on narrow phones. */

/* 1. drop "About" + "Partners" links, reveal burger for the links */
@media (max-width: 1140px) {
  .nav__links a:nth-child(5),
  .nav__links a:nth-child(6) { display: none; }
  .nav__burger { display: flex; }
}
/* 2. drop the remaining inline links — section nav lives in the burger */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__inner { gap: 16px; }
}
/* 3. narrow phones: let the CTA cluster wrap onto its own row */
@media (max-width: 560px) {
  .nav__inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    row-gap: 12px;
  }
  .nav__logo { order: 1; }
  .nav__burger { order: 2; margin-left: auto; }
  .nav__cta {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav__cta .btn { flex: 1 1 auto; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 80px; }
  .nav__logo img { height: 38px; }
  .features-grid { grid-template-columns: 1fr; }
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .plugins-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero__card--receipt, .hero__card--chips { display: none; }
}
