/* ==========================================================================
   PromoNigeria 1xBet — design system
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b1b2b;
  --ink-2: #2a3e52;
  --muted: #5f7085;
  --paper: #f4f8fc;
  --surface: #ffffff;
  --surface-2: #eef4fa;
  --navy-950: #03101f;
  --navy-900: #051a30;
  --navy-800: #082a4b;
  --blue: #0b63e5;
  --blue-600: #0a55c4;
  --blue-100: #e8f1ff;
  --green: #0fba7d;
  --green-600: #0a9363;
  --green-100: #e2faf0;
  --gold: #ffc857;
  --gold-100: #fff6dd;
  --red-100: #fff0f0;
  --line: #dfe7f0;
  --line-strong: #ccd9e8;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow-sm: 0 2px 10px rgba(5, 26, 48, 0.05);
  --shadow: 0 22px 60px -30px rgba(5, 26, 48, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  background: #cde3ff;
  color: var(--navy-950);
}

:focus-visible {
  outline: 3px solid rgba(11, 99, 229, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.narrow {
  max-width: 820px;
  margin-inline: auto;
}

.narrow-sm {
  max-width: 680px;
}

.section {
  padding: 88px 0;
  background: var(--surface);
}

.section--soft {
  background: var(--paper);
}

.section--tight {
  padding: 64px 0;
}

.section-footer {
  margin-top: 36px;
}

.section-footer--center {
  text-align: center;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head--tight {
  margin-bottom: 24px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-head--split > div {
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.eyebrow--light {
  color: #a9cdff;
}

.lede {
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.65;
}

.text-gradient {
  background: linear-gradient(100deg, #81c4ff 0%, #68f0bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--blue-600);
  box-shadow: 0 14px 30px -16px rgba(11, 99, 229, 0.8);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
}

.btn--sm {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 13px;
}

.btn--lg {
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 14px;
  font-size: 15.5px;
}

.btn--block {
  width: 100%;
}

.btn--dark {
  background: var(--navy-950);
  color: #fff;
}

.btn--dark:hover {
  background: var(--navy-800);
  box-shadow: 0 14px 30px -16px rgba(3, 16, 31, 0.65);
}

.btn--outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--blue);
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn--glass {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.btn--light {
  background: #fff;
  color: var(--navy-950);
}

.btn--light:hover {
  background: #eaf2ff;
  color: var(--navy-950);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge--gold {
  background: var(--gold-100);
  color: #8a5a00;
}

.badge--green {
  background: var(--green-100);
  color: var(--green-600);
}

.badge--blue {
  background: var(--blue-100);
  color: var(--blue-600);
}

/* Top bar & header -------------------------------------------------------- */

.topbar {
  background: var(--navy-950);
  color: #aabed2;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topbar__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 186, 125, 0.12);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar a {
  color: #d8e6f2;
  text-decoration: underline;
  text-decoration-color: rgba(216, 230, 242, 0.3);
  text-underline-offset: 3px;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(223, 231, 240, 0.8);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 36px -28px rgba(5, 26, 48, 0.45);
}

.header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

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

.brand__mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  box-shadow: 0 7px 16px -8px rgba(3, 16, 31, 0.55);
}

.brand__mark span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--navy-900);
  border-radius: 50%;
  background: var(--green);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand__text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__text small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav > a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.site-nav > a:hover {
  background: var(--surface-2);
  color: var(--blue);
}

.site-nav > a.is-active {
  background: var(--blue-100);
  color: var(--blue-600);
}

.site-nav__mobile {
  display: none;
}

.header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 13px;
  margin-left: 4px;
}

.header__login {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.header__login:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__close {
  display: none;
}

.site-header.nav-open .nav-toggle__open {
  display: none;
}

.site-header.nav-open .nav-toggle__close {
  display: block;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 79% 12%, rgba(11, 99, 229, 0.35), transparent 35%),
    radial-gradient(circle at 12% 88%, rgba(15, 186, 125, 0.18), transparent 34%),
    linear-gradient(145deg, #03101f 0%, #051c35 55%, #072746 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  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: 58px 58px;
  content: "";
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 74%);
  opacity: 0.55;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  align-items: center;
  gap: 56px;
  padding-block: 78px 62px;
}

.hero__copy {
  max-width: 650px;
}

.hero h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero .lede {
  max-width: 590px;
  margin-bottom: 28px;
  color: #c4d5e6;
  font-size: 18px;
  line-height: 1.65;
}

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

.hero__meta {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: #a9bfd3;
  font-size: 12.5px;
  font-weight: 600;
}

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

.hero__meta > span::before {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 186, 125, 0.18);
  color: #74e8ba;
  content: "✓";
  font-size: 9px;
  font-weight: 800;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
  box-shadow:
    0 34px 80px -28px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-card::before {
  position: absolute;
  top: -85px;
  right: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(15, 186, 125, 0.2);
  content: "";
  filter: blur(45px);
  pointer-events: none;
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-card__head .badge {
  background: rgba(255, 200, 87, 0.14);
  color: #ffd77a;
}

.hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9ccdd;
  font-size: 11.5px;
  font-weight: 700;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 186, 125, 0.14);
}

.hero-card__label {
  margin-bottom: 9px;
  color: #9fb6ca;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-code {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px 17px 21px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: var(--navy-950);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.hero-code:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -18px rgba(0, 0, 0, 0.6);
}

.hero-code__value {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.hero-code__action {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card__note {
  margin: 15px 0 22px;
  color: #b9ccdd;
  font-size: 13px;
  line-height: 1.55;
}

.hero-card__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hero-card__steps li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #dce8f3;
  font-size: 11px;
  font-weight: 600;
}

.hero-card__steps span {
  color: #7e9bb4;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-card .btn {
  background: var(--green);
  color: #03271b;
}

.hero-card .btn:hover {
  background: #1bcf90;
  box-shadow: 0 16px 34px -16px rgba(15, 186, 125, 0.7);
}

.hero-card__legal {
  margin: 13px 0 0;
  color: #7f9ab1;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

.promo-ribbon {
  display: flex;
  align-items: center;
  gap: 10px 13px;
  flex-wrap: wrap;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.promo-ribbon p {
  margin: 0 5px 0 0;
  color: #8fa9c0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: #dce8f3;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.promo-chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.promo-chip svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

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

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 54px 0 52px;
  background:
    radial-gradient(circle at 82% 0%, rgba(11, 99, 229, 0.33), transparent 38%),
    linear-gradient(135deg, #03101f 0%, #061e38 70%, #082c50 100%);
  color: #fff;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 85%);
}

.page-hero .container {
  max-width: var(--container);
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(33px, 4.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.page-hero .lede {
  max-width: 760px;
  margin-bottom: 0;
  color: #bfd1e2;
  font-size: 17.5px;
}

.page-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #93aec5;
  font-size: 11.5px;
  font-weight: 700;
}

.page-hero__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-hero__meta > span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.breadcrumbs {
  margin-bottom: 24px;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: #87a3bb;
  font-size: 11.5px;
  font-weight: 600;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  color: #547088;
  content: "/";
}

.breadcrumbs a {
  color: #a8c0d5;
}

.breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
  color: #e3edf6;
}

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

.code-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.code-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.code-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.code-card--featured {
  border-color: #efc965;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ffe6a1, #e7ae24) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255, 200, 87, 0.12),
    var(--shadow-sm);
}

.code-card--featured::before {
  position: absolute;
  top: -2px;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), #f2a300);
  content: "";
}

.code-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.code-card__role {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-card__body {
  flex: 1;
}

.code-card__label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.code-card__code {
  margin-bottom: 14px;
  color: var(--navy-950);
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.2;
}

.code-card__desc {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.code-card__best {
  margin-bottom: 18px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.45;
}

.code-card__best strong {
  color: var(--ink);
}

.code-card__actions {
  display: grid;
  gap: 8px;
}

.code-card__actions .btn {
  min-height: 42px;
  font-size: 12.5px;
}

.code-card__actions .btn--outline {
  color: var(--ink-2);
  font-weight: 700;
}

.code-card__actions .btn--outline:hover {
  color: var(--blue);
}

.code-disclaimer {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.code-disclaimer a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Content components ------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 56px;
}

.split--centered {
  align-items: center;
}

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

.step {
  display: flex;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step__num {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
}

.step h3 {
  margin: 3px 0 6px;
  font-size: 16.5px;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.side-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.side-panel__eyebrow {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.side-panel h3 {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 800;
}

.side-panel__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 12px;
  padding: 15px 16px;
  border-radius: 11px;
  background: var(--navy-950);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.side-panel__code span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-panel__code button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  cursor: pointer;
}

.side-panel__code button:hover {
  background: var(--green);
  color: var(--navy-950);
}

.side-panel > p {
  color: var(--muted);
  font-size: 12.5px;
}

.side-panel .btn {
  margin-top: 14px;
}

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

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}

.checklist li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'%3E%3Cpath d='m1 4.5 3 3L10 1' stroke='%230a9363' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
  content: "";
}

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

.feature {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.feature__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 19px;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--blue);
}

.feature__icon--green {
  background: var(--green-100);
  color: var(--green-600);
}

.feature__icon--gold {
  background: var(--gold-100);
  color: #a06a00;
}

.feature h3 {
  margin-bottom: 9px;
  font-size: 17.5px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 28px 0;
  padding: 19px 21px;
  border: 1px solid #c9ddff;
  border-radius: 14px;
  background: #f1f7ff;
  color: #214467;
  font-size: 13.5px;
  line-height: 1.65;
}

.callout > svg {
  flex: none;
  margin-top: 2px;
  color: var(--blue);
}

.callout p {
  margin: 0;
}

.callout strong {
  color: #0c3157;
}

.callout--warning {
  border-color: #f1d899;
  background: #fff9ea;
  color: #684b0c;
}

.callout--warning > svg {
  color: #b97a00;
}

.callout--warning strong {
  color: #4e3604;
}

.callout--success {
  border-color: #b9eed8;
  background: #effcf6;
  color: #14563d;
}

.callout--success > svg {
  color: var(--green-600);
}

.callout--success strong {
  color: #0a3d2b;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'%3E%3Cpath d='m1 4.5 3 3L10 1' stroke='%230a9363' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
  content: "";
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  padding: 14px 18px;
  background: var(--navy-950);
  color: #f5f9ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}

.data-table tbody tr:nth-child(even) td {
  background: #fafdff;
}

.data-table tbody tr:hover td {
  background: #f3f8ff;
}

.code-inline {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--blue-100);
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.copy-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.copy-mini:hover {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 640px) {
  .data-table--cards {
    min-width: 0;
  }

  .data-table--cards thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .data-table--cards,
  .data-table--cards tbody,
  .data-table--cards tr,
  .data-table--cards td {
    display: block;
    width: 100%;
  }

  .data-table--cards tr {
    padding: 8px 18px 14px;
    border-top: 1px solid var(--line);
  }

  .data-table--cards tr:first-child {
    border-top: 0;
  }

  .data-table--cards td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-top: 0;
  }

  .data-table--cards td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .data-table--cards td:last-child {
    padding-top: 11px;
  }

  .data-table--cards .copy-mini {
    justify-self: start;
  }

  .data-table--cards td > * {
    justify-self: start;
  }

  .data-table--cards tbody tr:nth-child(even) td,
  .data-table--cards tbody tr:hover td {
    background: transparent;
  }
}

.btn.is-copied,
.copy-mini.is-copied {
  border-color: var(--green) !important;
  background: var(--green-100) !important;
  color: var(--green-600) !important;
}

body.nav-open {
  overflow: hidden;
}

.copy-mini svg {
  width: 12px;
  height: 12px;
}

/* Article ---------------------------------------------------------------- */

.article-section {
  padding: 62px 0 88px;
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  align-items: start;
  gap: 60px;
}

.article-body {
  min-width: 0;
  max-width: 780px;
}

.prose {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.78;
}

.prose > p:first-of-type {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.prose h2 {
  scroll-margin-top: 105px;
  margin: 52px 0 16px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -0.038em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  scroll-margin-top: 105px;
  margin: 32px 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.prose h4 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 23px;
}

.prose li {
  margin-bottom: 9px;
  padding-left: 2px;
}

.prose li::marker {
  color: var(--blue);
  font-weight: 700;
}

.prose .steps {
  margin: 30px 0 0;
  padding-left: 0;
  list-style: none;
}

.prose .steps > .step {
  margin-bottom: 0;
  padding-left: 0;
}

.prose .steps > .step::marker {
  content: none;
}

.prose a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #9fc3f6;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--blue);
}

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

.prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--green);
  border-radius: 0 13px 13px 0;
  background: var(--green-100);
  color: #0c5139;
  font-size: 15.5px;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose hr {
  height: 1px;
  margin: 40px 0;
  border: 0;
  background: var(--line);
}

.prose .callout {
  font-size: 14px;
}

.prose .feature-grid {
  margin: 26px 0;
}

.prose .table-wrap {
  margin: 28px 0;
}

.prose .code-inline {
  font-size: 12px;
}

.toc {
  margin-bottom: 36px;
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.toc p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
}

.toc li {
  margin: 0;
}

.toc a {
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-sidebar {
  min-width: 0;
}

.sidebar-sticky {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.sidebar-card--code {
  border-color: #c9dcf5;
  background: linear-gradient(160deg, #f7fbff, #edf5ff);
}

.sidebar-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--blue-600);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sidebar-code {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--navy-950);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.sidebar-code [data-code-value] {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
}

.sidebar-code__copy {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-code:hover .sidebar-code__copy {
  background: var(--green);
  color: var(--navy-950);
}

.sidebar-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.sidebar-card .btn {
  min-height: 43px;
  margin-top: 13px;
  font-size: 12.5px;
}

.sidebar-card__link {
  display: block;
  margin-top: 11px;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sidebar-links {
  display: grid;
  gap: 1px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
}

.sidebar-links a:last-child {
  border-bottom: 0;
}

.sidebar-links a::after {
  color: #96a8bb;
  content: "→";
}

.sidebar-links a:hover {
  color: var(--blue);
}

.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.sidebar-note svg {
  flex: none;
  color: var(--green-600);
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 38px 0;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(115deg, var(--navy-950), #0a3763);
  color: #fff;
}

.article-cta h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 19px;
}

.article-cta p {
  margin: 0;
  color: #b8ccde;
  font-size: 12.5px;
}

.article-cta .btn {
  flex: none;
  background: var(--green);
  color: #04291c;
}

.article-cta .btn:hover {
  background: #1bcf90;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

/* Post grid --------------------------------------------------------------- */

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

.post-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: #c6d8ec;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.post-card__tag {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 15px 0 9px;
  font-size: 19px;
  line-height: 1.25;
}

.post-card p {
  flex: 1;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.post-card__link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.post-card:hover .post-card__link::after {
  transform: translateX(3px);
}

/* FAQ --------------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.faq-item[open] {
  border-color: #bcd5f5;
  box-shadow: 0 8px 24px -18px rgba(5, 26, 48, 0.35);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.faq-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-100);
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
  padding: 0 0 88px;
  background: #fff;
}

.cta-band--soft {
  background: var(--paper);
}

.cta-band__inner {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 44px 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 10%, rgba(15, 186, 125, 0.23), transparent 32%),
    linear-gradient(115deg, #03101f, #0a3763);
  color: #fff;
}

.cta-band__inner::before {
  position: absolute;
  z-index: -1;
  top: -110px;
  right: 18%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(11, 99, 229, 0.22);
  content: "";
  filter: blur(55px);
}

.cta-band h2 {
  max-width: 650px;
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(25px, 3.3vw, 34px);
  font-weight: 800;
}

.cta-band p {
  max-width: 610px;
  margin: 0;
  color: #b8ccde;
  font-size: 14px;
}

.cta-band__actions {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.cta-band__actions .btn {
  min-width: 210px;
}

.cta-band__actions .btn--glass {
  font-size: 12px;
}

/* Contact ----------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 48px;
}

.contact-form {
  display: grid;
  gap: 17px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(11, 99, 229, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.form-note a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-aside {
  display: grid;
  gap: 14px;
}

.contact-aside__card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.contact-aside__card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-aside__card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.contact-aside__card a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: 60px 0 26px;
  background: var(--navy-950);
  color: #9fb5c9;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 38px;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__text small {
  color: #7895ad;
}

.footer__brand p {
  max-width: 330px;
  margin: 17px 0 0;
  color: #8fa9bf;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px !important;
  color: #b6c9d9 !important;
  font-size: 10.5px !important;
  font-weight: 700;
}

.footer__badge span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer__col h2 {
  margin: 3px 0 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__col a {
  color: #9fb5c9;
  font-size: 12.5px;
  text-decoration: none;
}

.footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__legal > p {
  max-width: 1040px;
  margin-bottom: 10px;
  color: #7893aa;
  font-size: 10.5px;
  line-height: 1.65;
}

.footer__legal strong {
  color: #9fb5c9;
}

.footer__legal a {
  color: #b4c8d9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.footer__bottom p {
  margin: 0;
  color: #68849c;
  font-size: 10.5px;
}

.footer__bottom a {
  color: #8fa9bf;
}

/* Toast & mobile CTA ------------------------------------------------------ */

.toast {
  position: fixed;
  z-index: 110;
  bottom: 26px;
  left: 50%;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--navy-950);
  color: #fff;
  box-shadow: 0 14px 35px -12px rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-cta {
  display: none;
}

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

.not-found {
  padding: 90px 0 100px;
  background: #fff;
  text-align: center;
}

.not-found__code {
  margin-bottom: 8px;
  background: linear-gradient(120deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(90px, 18vw, 180px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found h1 {
  margin-bottom: 13px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

.not-found p {
  max-width: 520px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 15px;
}

.not-found__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Utilities --------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.center {
  text-align: center;
}

.lede--ink {
  color: var(--ink);
}

.review-note {
  color: var(--muted);
  font-size: 11.5px;
}

.faq-note {
  color: var(--muted);
  font-size: 14px;
}

.not-found__hint {
  color: var(--muted);
  font-size: 13px;
}

.code-table-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1120px) {
  .site-nav {
    gap: 0;
  }

  .site-nav > a {
    padding-inline: 9px;
    font-size: 12.5px;
  }

  .header__login {
    display: none;
  }

  .hero__inner {
    gap: 38px;
  }
}

@media (max-width: 1050px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px -26px rgba(3, 16, 31, 0.4);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav > a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 14px;
  }

  .site-nav > a.is-active {
    background: transparent;
    color: var(--blue);
  }

  .site-nav__mobile {
    display: grid;
    gap: 11px;
    margin-top: 16px;
  }

  .site-nav__all {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .header__actions {
    margin-left: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 62px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero-card {
    width: 100%;
    max-width: 600px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-body {
    max-width: 100%;
  }

  .sidebar-sticky {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .sidebar-note {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .side-panel {
    max-width: 620px;
  }

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

  .cta-band {
    padding-bottom: 72px;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px;
  }

  .cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 74px;
  }

  .container {
    padding-inline: 19px;
  }

  .topbar__inner {
    min-height: 33px;
    font-size: 10.5px;
  }

  .header__inner {
    min-height: 66px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 21px;
  }

  .brand__text strong {
    font-size: 16.5px;
  }

  .brand__text small {
    font-size: 8px;
  }

  .header__cta {
    display: none;
  }

  .hero__inner {
    padding-block: 48px 40px;
  }

  .hero h1 {
    font-size: clamp(36px, 9.5vw, 48px);
  }

  .hero .lede {
    font-size: 16.5px;
  }

  .hero__actions .btn {
    flex: 1 1 180px;
  }

  .hero-card {
    padding: 22px;
    border-radius: 24px;
  }

  .promo-ribbon {
    padding-top: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .section--tight {
    padding: 50px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .page-hero {
    padding: 40px 0 42px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 8vw, 41px);
  }

  .page-hero .lede {
    font-size: 16px;
  }

  .article-section {
    padding: 44px 0 64px;
  }

  .prose {
    font-size: 16px;
  }

  .prose h2 {
    margin-top: 42px;
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-cta .btn {
    width: 100%;
  }

  .feature-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-sticky {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding-bottom: 62px;
  }

  .cta-band__inner {
    padding: 30px 24px;
    border-radius: 23px;
  }

  .cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__legal {
    margin-top: 34px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 30px -20px rgba(3, 16, 31, 0.35);
    backdrop-filter: blur(16px);
  }

  .mobile-cta__inner {
    display: flex;
    max-width: var(--container);
    align-items: center;
    gap: 10px;
    margin-inline: auto;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  }

  .mobile-cta__code {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 5px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }

  .mobile-cta__code > span {
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-cta__code strong {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .mobile-cta__copy {
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--blue-100);
    color: var(--blue-600);
    font-family: var(--font);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-cta .btn {
    flex: none;
    padding-inline: 14px;
    font-size: 12px;
  }

  .toast {
    bottom: 86px;
  }

  .contact-form {
    padding: 21px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar__links {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-start;
  }

  .code-grid {
    grid-template-columns: 1fr;
  }

  .code-card {
    padding: 20px;
  }

  .code-card__code {
    font-size: 26px;
  }

  .hero__meta {
    gap: 7px 13px;
    font-size: 11px;
  }

  .hero-card__steps {
    gap: 5px;
  }

  .hero-code {
    padding: 14px;
  }

  .hero-code__value {
    font-size: 23px;
    letter-spacing: 0.07em;
  }

  .hero-code__action {
    padding: 7px;
    font-size: 9px;
  }

  .promo-ribbon {
    gap: 8px;
  }

  .promo-ribbon p {
    flex-basis: 100%;
  }

  .steps .step {
    gap: 12px;
  }

  .step__num {
    width: 33px;
    height: 33px;
    border-radius: 9px;
    font-size: 11px;
  }

  .side-panel {
    padding: 21px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__col {
    gap: 7px;
  }

  .not-found {
    padding: 64px 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
