:root {
  --bg: #fbfcfe;
  --surface: #fff;
  --ink: #111827;
  --muted: #5f6979;
  --line: #e2e7ef;
  --indigo: #4459dd;
  --indigo-dark: #2e3da7;
  --violet: #6a3ee2;
  --code: #111722;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; border-radius: 8px; color: #fff; background: #17205d; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(221,226,235,.8); background: rgba(251,252,254,.88); backdrop-filter: blur(18px); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 780; letter-spacing: -.04em; }
.brand-mark { display: inline-flex; width: 28px; height: 28px; align-items: end; gap: 2px; padding: 6px 5px; border-radius: 8px; background: linear-gradient(145deg, #5066ec, #783ee8); box-shadow: 0 6px 16px rgba(69,77,201,.2); }
.brand-mark i { display: block; width: 4px; border-radius: 4px 4px 1px 1px; background: #fff; transform: rotate(10deg); }
.brand-mark i:nth-child(1) { height: 7px; opacity: .7; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 16px; opacity: .86; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; color: #596273; font-size: 13px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo-dark); }
.header-actions { display: flex; align-items: center; gap: 17px; font-size: 13px; font-weight: 650; }
.menu-button { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: #303949; background: #fff; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav div { display: grid; padding-block: 11px 18px; }
.mobile-nav a { padding: 11px 3px; border-bottom: 1px solid #eef1f5; color: #4d5768; font-size: 14px; font-weight: 650; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(79,70,229,.25); outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--indigo), var(--violet)); box-shadow: 0 11px 26px rgba(65,76,205,.2); }
.button-secondary { border-color: #d7dce5; background: rgba(255,255,255,.8); }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 12px; }
.button-white { color: #222c7d; background: #fff; }
.button-ghost { border-color: rgba(255,255,255,.26); color: #fff; background: rgba(255,255,255,.05); }
.button:disabled { cursor: not-allowed; opacity: .55; }

.hero { position: relative; min-height: 700px; overflow: hidden; border-bottom: 1px solid var(--line); }
.grid-bg { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(34,44,70,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(34,44,70,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero::before, .page-hero::before { content: ""; position: absolute; width: 580px; height: 580px; right: 2%; top: -290px; border-radius: 50%; background: radial-gradient(circle, rgba(99,84,229,.17), rgba(99,84,229,0) 70%); }
.hero-grid { position: relative; display: grid; min-height: 700px; grid-template-columns: 1.12fr .88fr; gap: 88px; align-items: center; padding-block: 78px; }
.eyebrow, .label { display: inline-flex; align-items: center; gap: 9px; color: #5260b8; font-size: 10px; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6466df; box-shadow: 0 0 0 5px rgba(100,102,223,.1); }
h1 { max-width: 900px; margin: 22px 0 0; font-size: clamp(48px, 5.1vw, 72px); line-height: 1.02; letter-spacing: -.058em; font-weight: 740; }
.lede { max-width: 730px; margin: 27px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-note { margin: 31px 0 0; color: #818a99; font-size: 12px; letter-spacing: .035em; }
.flow-card { position: relative; padding: 17px; border: 1px solid #dce1ea; border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 30px 90px rgba(21,32,64,.11); }
.flow-head { display: flex; align-items: center; justify-content: space-between; padding: 3px 5px 15px; color: #687182; font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.flow-head code { font-size: 9px; text-transform: none; letter-spacing: 0; }
.status { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #29a176; box-shadow: 0 0 0 4px rgba(41,161,118,.1); }
.flow-stack { display: grid; gap: 9px; }
.flow-step { position: relative; display: grid; min-height: 56px; grid-template-columns: 38px 1fr; align-items: center; padding: 0 16px; border: 1px solid #e3e7ee; border-radius: 12px; background: #fff; font-size: 13px; }
.flow-step.accent { border-color: rgba(86,82,210,.3); color: #303eaa; background: linear-gradient(90deg, #f0f2ff, #fff); }
.flow-step small { color: #9ba3af; font: 9px ui-monospace, monospace; }
.flow-step:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -14px; z-index: 2; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #788192; background: #fafbfc; font-size: 11px; transform: translateX(-50%); }
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
.trust-grid div { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 28px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border: 0; }
.trust-grid span { color: #939ba8; font-size: 9px; font-weight: 730; letter-spacing: .08em; text-transform: uppercase; }
.trust-grid strong { color: #414958; font-size: 12px; }

.section { padding: 106px 0; }
.section-tint { border-block: 1px solid var(--line); background: #f4f6fa; }
.section-heading { max-width: 700px; }
.section-heading.center { margin: 0 auto 50px; text-align: center; }
.section-heading h2, .split h2, .cta h2 { margin: 13px 0 0; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p, .split-copy > p { margin: 19px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-4px); border-color: #cbd2de; box-shadow: 0 16px 40px rgba(31,41,66,.07); }
.icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #dbe0ed; border-radius: 11px; color: #4f5cca; background: linear-gradient(145deg, #f7f8ff, #eef1ff); font-size: 17px; }
.card h3 { margin: 30px 0 10px; font-size: 18px; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 82px; align-items: center; }
.panel { padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(31,41,66,.06); }
.diagram { display: grid; gap: 8px; }
.diagram div { position: relative; display: flex; min-height: 56px; align-items: center; gap: 22px; padding: 0 17px; border: 1px solid #dfe4ec; border-radius: 11px; background: #fff; }
.diagram div:nth-child(3) { border-color: #cbd0ef; color: #3241ad; background: #f2f3ff; }
.diagram span { color: #a0a8b5; font: 9px ui-monospace, monospace; }
.diagram div:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -14px; z-index: 2; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #858e9c; background: #fafbfc; font-size: 10px; }
.code { overflow: hidden; border: 1px solid #202737; border-radius: 13px; color: #dae1f0; background: var(--code); box-shadow: 0 14px 34px rgba(17,23,34,.14); }
.code.light { border-color: #dfe4eb; color: #303a4a; background: #f8f9fb; box-shadow: none; }
.code-head { display: flex; justify-content: space-between; padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,.08); color: #8993a8; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.code.light .code-head { border-color: var(--line); }
.code pre { margin: 0; padding: 18px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.code code { font: 11px/1.85 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-pair { display: grid; gap: 14px; }
.inline-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; color: #3e4db6; font-size: 13px; font-weight: 700; }
.inline-note { margin-top: 27px; color: #4e5767; font-size: 13px; font-weight: 650; }
.inline-note::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 5px rgba(68,89,221,.1); }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.info-card.accent { border-color: #cbd0ef; background: linear-gradient(145deg, #eef1ff, #fff 75%); }
.info-card h3 { margin: 21px 0 11px; font-size: 19px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.pill-list li { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; color: #4653b6; background: #fff; font: 11px ui-monospace, monospace; }
.cta { position: relative; overflow: hidden; color: #fff; background: #18205d; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; right: -130px; bottom: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(135,104,255,.55), transparent 69%); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; padding-block: 82px; }
.cta p { max-width: 690px; margin: 19px 0 0; color: #b9c0d5; font-size: 15px; line-height: 1.7; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }

.page-hero { position: relative; overflow: hidden; padding: 105px 0 100px; border-bottom: 1px solid var(--line); background: linear-gradient(#fbfcfe, #f5f7fa); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 960px; }
.page-hero .lede { max-width: 780px; }
.page-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 85px; align-items: center; }
.notice { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 26px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: #697284; background: #fff; font-size: 11px; }
.fact-stack { display: grid; gap: 10px; }
.fact { display: grid; grid-template-columns: 42px 1fr; gap: 2px 12px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(31,41,66,.05); }
.fact .icon { grid-row: 1/3; }
.fact span { color: #929aa6; font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.fact strong { font-size: 13px; }
.process { max-width: 920px; }
.process-step { display: grid; min-height: 140px; grid-template-columns: 48px 1fr; gap: 22px; }
.process-number { display: flex; align-items: center; flex-direction: column; }
.process-number b { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d9dee8; border-radius: 50%; color: #8d96a5; background: #fff; font: 9px ui-monospace, monospace; }
.process-number i { width: 1px; flex: 1; background: var(--line); }
.process-step h2 { margin: 3px 0 9px; font-size: 22px; letter-spacing: -.03em; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.endpoint { display: inline-flex; align-items: center; gap: 9px; margin-top: 25px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 11px; }
.endpoint code { color: #3340a4; font: 11px ui-monospace, monospace; }

.docs-hero { padding: 78px 0 62px; border-bottom: 1px solid var(--line); background: #f7f8fb; }
.docs-hero h1 { margin-top: 14px; }
.docs-layout, .legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 80px; justify-content: center; padding-block: 72px 115px; }
.sidebar { position: sticky; top: 98px; display: grid; height: fit-content; gap: 2px; }
.sidebar > span { margin-bottom: 11px; color: #9aa2b0; font-size: 9px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.sidebar a { padding: 8px 11px; border-left: 1px solid var(--line); color: #788190; font-size: 11px; }
.sidebar a:hover { border-color: #5260c6; color: #3543a5; background: linear-gradient(90deg,#f2f3ff,transparent); }
.docs-content section, .legal-content section { padding-bottom: 54px; scroll-margin-top: 96px; }
.docs-content section + section, .legal-content section + section { padding-top: 54px; border-top: 1px solid #e8ebf0; }
.docs-content h2, .legal-content h2 { margin: 11px 0 17px; font-size: 30px; letter-spacing: -.04em; }
.docs-content p, .legal-content p, .legal-content li { color: #5f6979; font-size: 13px; line-height: 1.82; }
.docs-content p, .legal-content p { margin: 0 0 17px; }
.docs-content code, .legal-content code { color: #414eaf; font: 11px ui-monospace, monospace; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { display: grid; gap: 9px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.facts span { color: #8b94a2; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 13px 15px; color: #7f8897; background: #f6f7f9; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
td { padding: 14px 15px; border-top: 1px solid #e9ecf1; color: #596272; font-size: 12px; }
.badge { display: inline-flex; padding: 4px 7px; border-radius: 5px; color: #3643a7; background: #eef0ff; font-size: 9px; font-weight: 700; }
.validation { padding: 16px; border: 1px solid #eedfbf; border-radius: 10px; color: #705d37; background: #fffaf0; font-size: 12px; line-height: 1.6; }
.legal-hero { padding: 80px 0 58px; border-bottom: 1px solid var(--line); background: #f6f7fa; }
.legal-hero h1 { margin-top: 13px; }
.legal-content h2 { display: flex; gap: 14px; align-items: baseline; font-size: 23px; }
.legal-content h2 span { color: #a1a8b4; font: 10px ui-monospace, monospace; }
.legal-content a { color: #3c4bb3; text-decoration: underline; text-underline-offset: 3px; }

.company-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(30,40,65,.09); }
.company-card h2 { margin: 0 0 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); font-size: 16px; }
.company-card address { color: #646e7e; font-size: 12px; font-style: normal; line-height: 1.7; }
.company-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; }
.company-card dl div { padding: 12px; border-radius: 8px; background: #f5f6f9; }
dt { color: #949ca8; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
dd { margin: 5px 0 0; font-size: 10px; font-weight: 700; }
.contact-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 22px; align-items: start; }
.contact-list { display: grid; gap: 9px; }
.contact-list a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.contact-list small { display: block; margin-bottom: 3px; color: #929aa7; font-size: 8px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.contact-list strong { font-size: 11px; }
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 55px rgba(28,39,66,.06); }
.form-card h2 { margin: 11px 0 7px; font-size: 31px; letter-spacing: -.04em; }
.form-card > p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-form { display: grid; gap: 17px; margin-top: 31px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 8px; color: #545e6e; font-size: 10px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d9dee7; border-radius: 9px; color: #202938; background: #fbfcfd; font-size: 13px; }
.contact-form input, .contact-form select { height: 45px; padding: 0 13px; }
.contact-form textarea { min-height: 135px; padding: 12px 13px; resize: vertical; }
.form-note { margin: 0; color: #8992a1; font-size: 10px; line-height: 1.6; }
.form-message { display: none; padding: 12px 14px; border-radius: 8px; color: #824747; background: #fff1f1; font-size: 11px; line-height: 1.5; }
.form-message.show { display: block; }

.footer { padding: 70px 0 28px; color: #cbd2e3; background: #111522; }
.footer .brand { color: #fff; }
.footer-main { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-bottom: 50px; }
.footer-intro p { max-width: 320px; margin: 20px 0 0; color: #9099ac; font-size: 14px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 30px; }
.footer-links a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.09); color: #b2bbcc; font-size: 13px; }
.footer-meta { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: #778095; font-size: 11px; line-height: 1.65; }
.footer-meta p { margin: 0; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions > a { display: none; }
  .hero-grid, .page-grid, .split, .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .features { grid-template-columns: 1fr 1fr; }
  .docs-layout, .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .sidebar { position: static; grid-template-columns: repeat(4, 1fr); }
  .sidebar > span { grid-column: 1 / -1; }
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions { max-width: 290px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1180px); }
  .header-inner { height: 64px; }
  .hero-grid { min-height: auto; padding-block: 65px; }
  h1 { font-size: clamp(42px, 13vw, 54px); }
  .lede { font-size: 16px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { border-bottom: 1px solid var(--line); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(n+3) { border-bottom: 0; }
  .section { padding: 76px 0; }
  .section-heading.center { text-align: left; }
  .features, .three-grid, .facts, .form-row, .company-card dl { grid-template-columns: 1fr; }
  .card { min-height: 210px; }
  .page-hero, .legal-hero, .docs-hero { padding-block: 70px 52px; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .docs-layout, .legal-layout { padding-block: 45px 80px; }
  .form-card { padding: 24px; }
  .footer-main, .footer-meta { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr; }
}
