/* Codixio API design system: dark first on navy, lime for the primary action. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.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;
}

:root {
  --navy: #111144;
  --navy-deep: #0b0b30;
  --surface: #181a52;
  --surface-2: #1f2260;
  --line: #2e3274;
  --field: #7a80c4;
  --text: #eef0ff;
  --muted: #aab0dd;
  --lime: #bbff33;
  --lime-edge: #447700;
  --cyan: #99ffff;
  --pink: #ffaaaa;
  --warn: #ffd27a;
  --ok: var(--lime);
  --error: var(--pink);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 18px 40px -24px rgb(0 0 0 / 70%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font: 16px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  background: var(--navy);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: var(--cyan); text-underline-offset: 0.18em; }

a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }

h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 750; margin: 0 0 1rem; }

h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; margin: 0 0 0.75rem; }

h3 { font-size: 1.1rem; font-weight: 650; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

code, pre, kbd { font-family: var(--mono); }

code { font-size: 0.9em; }

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

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: -999px; top: 0; z-index: 50; padding: 0.6rem 1rem; background: var(--lime); color: var(--navy); font-weight: 700; }

.skip:focus { left: 1rem; top: 0.5rem; }

/* Layout frame */

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(17 17 68 / 92%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 750; font-size: 1.1rem; letter-spacing: -0.01em; white-space: nowrap; }

.brand svg { width: 2rem; height: 2rem; flex: none; }

.brand span span { color: var(--lime); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; flex: 1; }

.site-nav .primary-links { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }

.site-nav a { color: var(--text); text-decoration: none; font-weight: 550; }

.site-nav a:hover { color: var(--cyan); }

.site-nav a.button, .site-nav a.button:hover { color: var(--navy); }

.site-nav a.button.secondary { color: var(--text); }

.site-nav .actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

.site-nav .actions .button { margin: 0; }

.lang { font-size: 0.9rem; color: var(--muted) !important; }

.menu-toggle { display: none; }

@media (max-width: 64rem) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto;
    padding: 0.5rem 0.8rem; border: 1px solid var(--field); border-radius: var(--radius-sm);
    background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
  }

  .menu-toggle svg { width: 1.1rem; height: 1.1rem; }

  .site-nav[popover] {
    inset: 4.25rem 0 auto;
    width: 100%; max-width: none; margin: 0; padding: 1.25rem;
    border: 0; border-bottom: 1px solid var(--line);
    background: var(--navy); color: var(--text);
    flex-direction: column; align-items: stretch; gap: 1rem;
  }

  .site-nav[popover]:not(:popover-open) { display: none; }

  .site-nav[popover]:popover-open { display: flex; }

  .site-nav[popover] .primary-links { flex-direction: column; gap: 0; }

  .site-nav[popover] .primary-links a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

  .site-nav[popover] .actions { flex-direction: column; align-items: stretch; margin: 0; gap: 0.75rem; }

  .site-nav[popover] .actions .button { text-align: center; }

  .site-nav:not([popover]) .actions { flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; }
}

@media (min-width: 64.01rem) {
  .site-nav[popover] { display: flex; position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
}

@supports not selector(:popover-open) {
  .menu-toggle { display: none !important; }

  .site-nav[popover] { display: flex; position: static; flex-wrap: wrap; border: 0; padding: 0; background: none; }
}

body { display: flex; flex-direction: column; min-height: 100vh; }

main { flex: 1 0 auto; padding-bottom: 4rem; }

.points + p { margin-top: 1rem; }

main.wrap { padding-top: 2.5rem; }

.wrap.narrow-page { width: min(56rem, 100% - 2.5rem); padding-top: 2.5rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--navy-deep); color: var(--muted); font-size: 0.9rem; padding: 2.5rem 0; }

.site-footer .wrap { display: grid; gap: 1.25rem; }

.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

.site-footer a { color: var(--text); }

.site-footer p { margin: 0; }

/* Buttons */

.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; margin-top: 1rem; padding: 0.65rem 1.2rem;
  border: 2px solid var(--lime); border-radius: 999px;
  background: var(--lime); color: var(--navy);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover, button:hover { box-shadow: 0 6px 20px -8px rgb(187 255 51 / 60%); text-decoration: none; }

.button:active, button:active { transform: translateY(1px); }

.button.secondary, button.secondary { background: transparent; color: var(--text); border-color: var(--field); }

.button.secondary:hover, button.secondary:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }

.button.large { min-height: 3.25rem; padding: 0.8rem 1.6rem; font-size: 1.05rem; }

button.danger { background: var(--pink); border-color: var(--pink); color: var(--navy); }

button.link { min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--cyan); font-weight: 500; text-decoration: underline; border-radius: 0; }

button.link:hover { box-shadow: none; }

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.button-row .button, .button-row button { margin-top: 0; }

form.inline { display: inline; }

/* Hero */

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 4rem 0 3rem; }

.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; }

.hero h1 em { font-style: normal; color: var(--lime); }

.eyebrow { display: inline-block; margin-bottom: 1rem; color: var(--cyan); font-size: 0.85rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 38rem; }

.proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--text); font-size: 0.95rem; }

.proof li { display: inline-flex; align-items: center; gap: 0.45rem; }

.proof li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--lime); flex: none; }

.hero.single { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 3rem; }

@media (max-width: 56rem) {
  .hero, .hero.single { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2.5rem; }
}

/* Product demo card */

.demo { position: relative; margin: 0; }

.demo-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow); overflow: hidden;
}

.demo-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }

.demo-bar i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--line); }

.demo-bar i:nth-child(1) { background: var(--pink); }

.demo-bar i:nth-child(2) { background: var(--lime); }

.demo-bar i:nth-child(3) { background: var(--cyan); }

.demo-bar span { margin-left: auto; font-family: var(--mono); }

.slides { display: grid; margin: 0; padding: 0; list-style: none; }

.slide { grid-area: 1 / 1; padding: 1.25rem; }

.demo.static .slide { grid-area: auto; }

.demo.static .slide + .slide { border-top: 1px solid var(--line); }

.slide-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin-bottom: 0.9rem; }

.slide-head h2 { margin: 0; font-size: 1rem; letter-spacing: -0.01em; }

.tag { display: inline-block; padding: 0.1rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.75rem; font-family: var(--mono); }

.io { display: grid; gap: 0.6rem; }

.io-label { display: block; margin-bottom: 0.25rem; color: var(--muted); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }

.io-in, .io-out { margin: 0; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.92rem; }

.io-in { background: var(--navy-deep); border: 1px solid var(--line); }

.io-out { background: rgb(187 255 51 / 7%); border: 1px solid rgb(187 255 51 / 35%); }

.io-out dl { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 0.3rem 0.8rem; margin: 0; }

.io-out dt { color: var(--muted); font-size: 0.82rem; padding-top: 0.08rem; }

.io-out dd { margin: 0; }

.io-out .big { font-family: var(--mono); font-size: 1.25rem; font-weight: 700; color: var(--lime); letter-spacing: 0.02em; }

.io-arrow { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.8rem; }

.io-arrow svg { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--lime); color: var(--navy); padding: 0.25rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }

.chips li { padding: 0.1rem 0.55rem; border-radius: 999px; background: rgb(153 255 255 / 12%); color: var(--cyan); font-size: 0.82rem; }

.note-line { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.8rem; }

.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; color: var(--muted); font-size: 0.85rem; }

.demo-controls label { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-weight: 500; cursor: pointer; }

.dots { display: flex; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }

.dots li { width: 1.6rem; height: 0.3rem; border-radius: 999px; background: var(--line); overflow: hidden; }

.dots li::after { content: ""; display: block; height: 100%; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }

/* Motion: the home card cycles through the three examples, the service card plays once. */

@media (prefers-reduced-motion: no-preference) {
  .demo.cycle .slide { animation: slide-cycle 18s infinite both; }

  .demo.cycle .slide .io-arrow, .demo.cycle .slide .io-out { animation: reveal-cycle 18s infinite both; }

  .demo.cycle .slide:nth-child(2), .demo.cycle .slide:nth-child(2) .io-arrow, .demo.cycle .slide:nth-child(2) .io-out { animation-delay: 6s; }

  .demo.cycle .slide:nth-child(3), .demo.cycle .slide:nth-child(3) .io-arrow, .demo.cycle .slide:nth-child(3) .io-out { animation-delay: 12s; }

  .demo.cycle .dots li::after { animation: dot-cycle 18s infinite linear both; }

  .demo.cycle .dots li:nth-child(2)::after { animation-delay: 6s; }

  .demo.cycle .dots li:nth-child(3)::after { animation-delay: 12s; }

  .demo.cycle:has(.pause:checked) .slide,
  .demo.cycle:has(.pause:checked) .io-arrow,
  .demo.cycle:has(.pause:checked) .io-out,
  .demo.cycle:has(.pause:checked) .dots li::after { animation-play-state: paused; }

  .demo.once .io-arrow { animation: reveal-once 0.5s 0.6s both ease-out; }

  .demo.once .io-out { animation: reveal-once 0.6s 1.1s both ease-out; }

  .demo.once .io-out dl > * { animation: reveal-once 0.5s both ease-out; animation-delay: 1.4s; }
}

@keyframes slide-cycle {
  0% { opacity: 0; transform: translateY(10px); visibility: visible; }
  3%, 30% { opacity: 1; transform: none; visibility: visible; }
  33.33% { opacity: 0; transform: translateY(-6px); visibility: hidden; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes reveal-cycle {
  0%, 7% { opacity: 0; transform: translateY(8px); }
  11%, 100% { opacity: 1; transform: none; }
}

@keyframes dot-cycle {
  0% { transform: scaleX(0); }
  33.33% { transform: scaleX(1); }
  33.34%, 100% { transform: scaleX(0); }
}

@keyframes reveal-once {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .demo.cycle .slides { gap: 0; }

  .demo.cycle .slide { grid-area: auto; }

  .demo.cycle .slide + .slide { border-top: 1px solid var(--line); }

  .demo.cycle .demo-controls { display: none; }

  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Sections */

.section { padding: 3.5rem 0; }

.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: 2rem; }

.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}

.cards .card { margin-bottom: 0; display: flex; flex-direction: column; }

.card h2 a, .card h3 a { color: var(--text); text-decoration: none; }

.card h2 a:hover, .card h3 a:hover { color: var(--cyan); }

.service-card .icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }

.service-card p { color: var(--muted); }

.service-card .price-line { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--text); }

.service-card .button { align-self: flex-start; }

.price { font-size: 1.15rem; font-weight: 650; }

.amount { font-size: 1.9rem; font-weight: 750; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }

.amount small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.highlight { border-color: rgb(187 255 51 / 55%); }

.badge { display: inline-block; padding: 0.1rem 0.6rem; border: 1px solid var(--warn); border-radius: 999px; color: var(--warn); font-size: 0.8rem; font-weight: 650; }

.badge.error { color: var(--error); border-color: currentColor; }

.badge.warning { color: var(--warn); border-color: currentColor; }

.badge.information { color: var(--muted); border-color: currentColor; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }

.points li { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: var(--radius-sm); background: var(--surface); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li { position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }

.steps li::before {
  content: counter(step); position: absolute; left: 1.25rem; top: 1.15rem;
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--lime); color: var(--navy); font-weight: 800;
}

.steps h3 { margin-bottom: 0.25rem; }

.steps p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }

/* Grid and flex children may shrink below their content, so code blocks scroll instead of widening the page. */
.hero > *, .split > *, .docs-grid > *, .cards > *, .points > *, .steps > *, .calc-row > *, .io > *, .slide-head > * { min-width: 0; }

@media (max-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr); } }

.client-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }

.client-list li { padding: 0.3rem 0.8rem; border: 1px solid var(--field); border-radius: 999px; font-weight: 600; font-size: 0.9rem; }

/* FAQ */

.faq { display: grid; gap: 0.75rem; max-width: 52rem; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }

.faq summary { position: relative; padding: 1rem 3rem 1rem 1.25rem; font-weight: 650; cursor: pointer; list-style: none; }

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

.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--lime); font-size: 1.4rem; font-weight: 500; }

.faq details[open] summary::after { content: "\2212"; }

.faq details > div { padding: 0 1.25rem 1rem; color: var(--muted); }

.faq details > div p:last-child { margin-bottom: 0; }

/* Closing band */

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin: 3.5rem 0 0; padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgb(187 255 51 / 16%), rgb(153 255 255 / 10%)), var(--surface);
  border: 1px solid rgb(187 255 51 / 45%);
}

.cta-band h2 { margin: 0 0 0.35rem; }

.cta-band p { margin: 0; color: var(--muted); }

.cta-band .button { margin-top: 0; }

/* Code */

.code { position: relative; }

.code .copy { position: absolute; top: 0.6rem; right: 0.6rem; min-height: 0; margin: 0; padding: 0.3rem 0.75rem; font-size: 0.8rem; }

pre {
  max-width: 100%; margin: 0 0 1rem; padding: 1rem 1.1rem; overflow-x: auto;
  background: var(--navy-deep); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.85rem; line-height: 1.6; color: var(--text);
}

.code pre { padding-top: 2.6rem; }

/* Pricing */

.price-cards .card .amount { margin: 0.5rem 0 0.25rem; }

.price-cards .card .free { color: var(--lime); font-weight: 600; margin: 0.5rem 0 0; }

.price-cards .card .button { margin-top: auto; align-self: flex-start; }

.price-cards .card .card-foot { margin-top: auto; padding-top: 1rem; }

.calc { display: grid; gap: 0.75rem; }

.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 8rem minmax(7rem, auto); gap: 1rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }

.calc-row label { margin: 0; font-weight: 600; }

.calc-row label small { display: block; color: var(--muted); font-weight: 400; }

.calc-row output { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }

.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 0.5rem; }

.calc-total output { font-size: 1.6rem; font-weight: 750; color: var(--lime); font-variant-numeric: tabular-nums; }

@media (max-width: 36rem) {
  .calc-row { grid-template-columns: 1fr 6.5rem; }
  .calc-row output { grid-column: 1 / -1; text-align: left; }
}

/* Forms (account pages, check, calculator) */

label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }

input[type="email"], input[type="password"], input[type="text"], input[type="number"], input[type="file"], textarea {
  width: 100%; padding: 0.65rem 0.8rem;
  border: 1px solid var(--field); border-radius: var(--radius-sm);
  background: var(--navy-deep); color: var(--text); font: inherit;
}

input[type="number"] { font-variant-numeric: tabular-nums; }

input:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }

input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--lime); flex: none; }

textarea { font-family: var(--mono); font-size: 0.85rem; resize: vertical; }

.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }

.choices { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

.hint { color: var(--muted); font-size: 0.875rem; margin: 0.35rem 0 0; }

.narrow { max-width: 30rem; margin-left: auto; margin-right: auto; }

.notice { padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); margin-bottom: 1rem; }

.notice.ok { border-color: var(--ok); color: var(--ok); }

.notice.error { border-color: var(--error); color: var(--error); }

.notice.warn { border-color: var(--warn); color: var(--warn); }

.card.notice.warn { color: var(--text); }

.balance { font-size: 2.2rem; font-weight: 750; margin: 0; letter-spacing: -0.02em; }

.key-copy { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.key-copy .secret { flex: 1 1 18rem; margin: 0; }

.key-copy button { margin-top: 0; }

.secret { font-family: var(--mono); word-break: break-all; padding: 0.75rem; background: var(--navy-deep); border: 1px solid var(--line); border-radius: var(--radius-sm); }

.packages { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.packages button { margin-top: 0; }

.key-form { display: flex; gap: 0.75rem; align-items: flex-end; flex-wrap: wrap; }

.key-form label { margin-top: 0; }

.key-form div { flex: 1 1 14rem; }

/* Tables */

table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }

th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }

th { color: var(--muted); font-weight: 600; }

td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }

/* Content pages (docs, guides, check) */

.page-head { max-width: 46rem; margin-bottom: 2rem; padding-top: 2.5rem; }

.page-head h1 { margin-bottom: 0.75rem; }

.docs-grid { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }

.docs-toc { position: sticky; top: 5.5rem; }

.docs-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }

.docs-toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; color: var(--muted); text-decoration: none; font-size: 0.92rem; }

.docs-toc a:hover { color: var(--cyan); }

@media (max-width: 56rem) {
  .docs-grid { grid-template-columns: minmax(0, 1fr); }
  .docs-toc { position: static; }
}

.prose { max-width: 46rem; }

.prose h2 { margin-top: 2rem; }

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

.prose h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }

.prose blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--lime); color: var(--muted); }

.prose li { margin-bottom: 0.35rem; }

.sources { font-size: 0.925rem; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1rem; margin: 0 0 1rem; }

.facts dt { color: var(--muted); font-weight: 600; }

.facts dd { margin: 0; }

@media (max-width: 40rem) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 1.5rem; }
  .section { padding: 2.5rem 0; }
}
