:root {
  --navy: #172554;
  --navy-deep: #101b43;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #172033;
  --muted: #667085;
  --border: #e4e7ec;
  --canvas: #f7f8fb;
  --surface: #fff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(16, 24, 40, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; }
.site-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
  background: var(--navy-deep);
}
.header-inner { display: flex; align-items: center; height: 80px; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 19px; font-weight: 750; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: var(--navy); background: #fff; border-radius: 10px; font-size: 23px; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a, .text-link { color: #d7ddf1; font-size: 14px; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover, .text-link:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-large { min-height: 54px; padding: 0 24px; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(37,99,235,.25); }
.button-primary:hover { color: #fff; background: var(--blue-dark); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.08); }
.button-secondary:hover { color: #fff; background: rgba(255,255,255,.14); }
.button-light { color: var(--navy); background: #fff; }
.button-light:hover { color: var(--navy); box-shadow: 0 8px 20px rgba(16,24,40,.15); }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; font-size: 23px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 50px; right: 0; display: grid; width: 230px; padding: 10px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.mobile-menu nav a { padding: 10px 12px; color: var(--ink); border-radius: 8px; text-decoration: none; font-weight: 600; }
.mobile-menu nav a:hover { background: var(--canvas); }

.hero { position: relative; overflow: hidden; padding: 150px 0 100px; color: #fff; background: radial-gradient(circle at 72% 30%, #263d82 0, transparent 36%), linear-gradient(145deg, var(--navy-deep), var(--navy)); }
.hero::after { content: ""; position: absolute; right: -180px; bottom: -300px; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.hero .eyebrow { color: #a9c7ff; }
.hero .eyebrow span { width: 7px; height: 7px; background: #60a5fa; border-radius: 50%; box-shadow: 0 0 0 5px rgba(96,165,250,.12); }
.hero h1 { margin: 22px 0; font-size: clamp(43px, 5.3vw, 70px); line-height: 1.03; letter-spacing: -.055em; }
.hero h1 em { color: #91b8ff; font-style: normal; }
.hero-copy > p { max-width: 650px; color: #c8d0e8; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-line { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #aeb9d7; font-size: 13px; }
.trust-line i { color: #86efac; font-size: 17px; }

.product-preview { position: relative; overflow: hidden; min-height: 430px; background: #f8fafc; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; box-shadow: 0 30px 80px rgba(3,7,18,.35); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.preview-top { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; color: #fff; background: var(--navy); font-size: 10px; }
.preview-brand { display: flex; align-items: center; gap: 6px; font-weight: 750; }
.preview-avatar { display: grid; width: 24px; height: 24px; place-items: center; color: var(--navy); background: #dbeafe; border-radius: 50%; font-weight: 800; }
.preview-body { display: grid; grid-template-columns: 130px 1fr; min-height: 382px; }
.preview-sidebar { display: flex; flex-direction: column; gap: 5px; padding: 18px 10px; background: #fff; border-right: 1px solid #e5e7eb; }
.preview-sidebar span { padding: 9px; color: #667085; border-radius: 6px; font-size: 8px; font-weight: 650; }
.preview-sidebar i { margin-right: 6px; }
.preview-sidebar .active { color: var(--blue-dark); background: #eff6ff; }
.preview-content { padding: 28px 24px; color: var(--ink); }
.preview-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.preview-heading div { display: grid; }
.preview-heading small { color: var(--blue); font-size: 6px; letter-spacing: .12em; }
.preview-heading strong { font-size: 19px; letter-spacing: -.04em; }
.preview-heading b { padding: 7px 10px; color: #fff; background: var(--blue); border-radius: 6px; font-size: 7px; }
.bank-card { display: inline-flex; flex-direction: column; width: 47%; min-height: 145px; padding: 15px; background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; box-shadow: 0 3px 10px rgba(16,24,40,.04); vertical-align: top; }
.bank-card.second { margin-left: 3%; }
.bank-card div { display: flex; align-items: center; justify-content: space-between; }
.bank-card div i { display: grid; width: 30px; height: 30px; place-items: center; color: var(--blue); background: #eff6ff; border-radius: 7px; }
.bank-card div span { padding: 3px 5px; color: #15803d; background: #ecfdf3; border-radius: 20px; font-size: 5px; font-weight: 800; }
.bank-card strong { margin-top: 14px; font-size: 9px; }
.bank-card small { color: #667085; font-size: 7px; }
.bank-card hr { width: 100%; margin: 14px 0 8px; border: 0; border-top: 1px solid #eef0f3; }

.confidence-strip { background: #fff; border-bottom: 1px solid var(--border); }
.confidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.confidence-grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px; border-right: 1px solid var(--border); }
.confidence-grid > div:last-child { border-right: 0; }
.confidence-grid i { color: var(--blue); font-size: 24px; }
.confidence-grid span { display: grid; }
.confidence-grid strong { font-size: 14px; }
.confidence-grid small { color: var(--muted); font-size: 12px; }

.section { padding: 105px 0; }
.section-soft { background: var(--canvas); }
.section-heading { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section h2, .cta-card h2 { margin: 14px 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading p, .feature-grid > div > p { color: var(--muted); font-size: 17px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps-grid article { position: relative; padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(16,24,40,.04); }
.steps-grid article > i { display: grid; width: 48px; height: 48px; place-items: center; color: var(--blue); background: #eff6ff; border-radius: 12px; font-size: 22px; }
.step-number { position: absolute; top: 24px; right: 28px; color: #d0d5dd; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.steps-grid h3 { margin: 24px 0 8px; font-size: 19px; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 650; }
.check-list i { margin-right: 9px; color: #16a34a; }
.code-card { overflow: hidden; color: #dbeafe; background: #101828; border: 1px solid #344054; border-radius: var(--radius); box-shadow: var(--shadow); }
.code-card > div { display: flex; align-items: center; gap: 6px; padding: 13px 16px; background: #1d2939; }
.code-card > div span { width: 8px; height: 8px; background: #667085; border-radius: 50%; }
.code-card > div span:first-child { background: #f97066; }
.code-card > div span:nth-child(2) { background: #fdb022; }
.code-card > div span:nth-child(3) { background: #32d583; }
.code-card > div small { margin-left: auto; color: #98a2b3; }
.code-card pre { overflow: auto; margin: 0; padding: 30px; font-size: 13px; line-height: 2; }
.cta-section { padding: 30px 0 100px; background: var(--canvas); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px 64px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), #233b7c); border-radius: 22px; box-shadow: var(--shadow); }
.cta-card .eyebrow { color: #a9c7ff; }
.cta-card h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 44px); }

.site-footer { padding: 60px 0 25px; color: #98a2b3; background: #101828; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-brand { color: #fff; }
.footer-grid p { max-width: 300px; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 6px; color: #fff; }
.footer-links a { color: #98a2b3; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 22px; border-top: 1px solid #344054; font-size: 12px; }

.article-shell { min-height: 70vh; padding: 130px 20px 90px; background: var(--canvas); }
.article { max-width: 850px; margin: 0 auto; padding: clamp(28px, 6vw, 64px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(16,24,40,.05); }
.article-shell + .site-footer { margin-top: 0; }
.article-shell ~ .site-footer {}
.article-heading { padding: 28px 0 36px; border-bottom: 1px solid var(--border); }
.article-heading h1 { margin: 10px 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.article-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; text-decoration: none; }
.article-content { padding-top: 28px; color: #344054; }
.article-content h2 { margin-top: 42px; color: var(--ink); font-size: 26px; letter-spacing: -.025em; }
.article-content h3 { margin-top: 32px; color: var(--ink); }
.article-content table { display: block; overflow-x: auto; width: 100%; margin: 25px 0; border-collapse: collapse; }
.article-content th, .article-content td { min-width: 140px; padding: 13px; border: 1px solid var(--border); text-align: left; }
.article-content th { color: var(--ink); background: #f9fafb; }
.article-content pre { overflow-x: auto; padding: 20px; color: #dbeafe; background: #101828; border-radius: 10px; }
.article-content blockquote { margin: 24px 0; padding: 16px 20px; background: #eff6ff; border-left: 4px solid var(--blue); }
.article-content .bi-check-circle-fill { color: #16a34a; }

@media (max-width: 900px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .hero { padding-top: 125px; }
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .product-preview { max-width: 620px; width: 100%; margin: 0 auto; transform: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 45px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 45px; }
}

@media (max-width: 650px) {
  .site-container { width: min(100% - 28px, 1160px); }
  .hero { padding: 115px 0 70px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .product-preview { min-height: 310px; }
  .preview-body { grid-template-columns: 1fr; min-height: 265px; }
  .preview-sidebar { display: none; }
  .preview-content { padding: 22px 16px; }
  .confidence-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .confidence-grid > div { justify-content: flex-start; padding: 14px 20px; border-right: 0; }
  .section { padding: 75px 0; }
  .section-heading { text-align: left; }
  .section h2 { font-size: 34px; }
  .steps-grid article { padding: 25px; }
  .code-card pre { padding: 20px; font-size: 11px; }
  .cta-section { padding-bottom: 70px; }
  .cta-card { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .article-shell { padding: 100px 12px 60px; }
  .article { padding: 25px 20px; }
}
