@font-face {
  font-family: "Faktox Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Faktox Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --fg: #111;
  --fg-2: #525252;
  --fg2: #525252;
  --fg-3: #626262;
  --fg3: #626262;
  --fg-4: #666;
  --accent: #c90f2e;
  --surface: #fff;
  --surface-2: #f1f1ee;
  --surface2: #f1f1ee;
  --surface-3: #e9e9e6;
  --border: #dededb;
  --border-soft: #e5e5e3;
}
html {
  scroll-padding-top: 100px;
}
body {
  font-family: "Faktox Jakarta", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.75;
}
h1,
h2,
h3 {
  color: var(--fg);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  overflow-wrap: break-word;
}
h2 {
  font-size: 1.5rem;
}
p,
li {
  font-size: 1rem;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
code,
kbd,
pre {
  font-family: "Faktox Mono", monospace;
}
pre {
  overflow: auto;
}
img {
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 3px solid #c90f2e;
  outline-offset: 4px;
}
.brand-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  background: white;
  padding: 12px;
  transform: translateY(-160%);
}
.brand-skip:focus {
  transform: none;
}
.landing-nav {
  background: #ffffffed;
  border-bottom: 1px solid var(--border);
  height: 72px;
  padding: 12px max(24px, calc((100% - 1200px) / 2));
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.landing-nav-spacer {
  height: 72px;
}
.landing-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.landing-nav-logo img {
  width: 180px;
  display: block;
}
.brand-wordmark {
  width: 190px;
  display: block;
}
.brand-desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand-desktop-nav a {
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
}
.brand-desktop-nav a:hover {
  color: var(--accent);
}
.brand-desktop-nav .btn-primary {
  color: white;
}
.brand-mobile-nav {
  display: none;
}
.btn,
.landing-nav-login {
  border-radius: 8px;
  font-family: inherit;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff !important;
}
.btn-primary:hover {
  background: #a70c26;
  border-color: #a70c26;
  text-decoration: none;
}
.card,
section.card,
.article-card,
.related-card,
.hub-card,
.pricing-card,
nav.toc {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.badge {
  background: #fbecef;
  color: #a70c26;
  border-radius: 6px;
}
.step-num {
  color: white;
}
.highlight-box,
.tip {
  background: #f1f1ee;
  border-radius: 8px;
}
.landing-footer {
  background: #fff;
  border-top: 1px solid var(--border);
}
.landing-footer p,
.landing-footer a {
  font-size: 14px;
}
.footer-brand span {
  color: var(--fg);
}
.table-wrap {
  max-width: 100%;
  overflow: auto;
}
table {
  font-size: 14px;
}
th {
  color: var(--fg);
}
.table-wrap:focus-visible {
  outline-offset: 2px;
}
.brand-document {
  max-width: 960px;
  padding: 0 24px 40px;
}
.brand-document .landing-nav-spacer {
  margin-bottom: 40px;
}
.brand-document .card {
  padding: 28px;
}
.brand-document h1 {
  margin-bottom: 16px;
}
.brand-document .toc a {
  font-size: 14px;
  padding: 8px 0;
}
.brand-document footer {
  font-size: 14px;
}
.brand-document .logo {
  display: none;
}
@media (max-width: 1050px) {
  .brand-desktop-nav {
    display: none;
  }
  .brand-mobile-nav {
    display: block;
  }
  .brand-mobile-nav summary {
    cursor: pointer;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    min-height: 44px;
  }
  .brand-mobile-nav nav {
    position: absolute;
    right: 16px;
    left: 16px;
    top: 72px;
    padding: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px #0001;
  }
  .brand-mobile-nav nav a {
    display: block;
    padding: 12px;
    color: var(--fg);
    font-size: 15px;
  }
  .brand-mobile-nav nav a:last-child {
    color: var(--accent);
    font-weight: 700;
  }
}
@media (max-width: 600px) {
  .landing-nav {
    padding: 12px 16px;
  }
  .landing-nav-logo img {
    width: 145px;
  }
  .brand-document {
    padding-inline: 16px;
  }
  .brand-document .card {
    padding: 20px;
  }
  .article-container,
  .legal-container {
    padding-inline: 16px;
  }
  .card {
    padding: 20px;
  }
  h2 {
    font-size: 1.35rem;
  }
  p,
  li {
    font-size: 15px;
  }
  .footer-grid {
    gap: 28px;
  }
  .table-wrap table {
    min-width: 520px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.cta-btn {
  background: #c90f2e;
  color: #fff !important;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-btn:hover {
  background: #a70c26;
}
.bar-fill.accent {
  color: #fff;
}
.pro-box h4,
.amount-in {
  color: #247044;
}
.con-box h4 {
  color: #b42332;
}
p a,
li a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.example .amount-in {
  color: #247044;
}
