:root {
  --bg: #08111f;
  --bg-2: #0d1a2f;
  --ink: #102038;
  --muted: #5f6d80;
  --line: #dbe4ee;
  --soft: #f3f7fb;
  --white: #fff;
  --primary: #5d5fef;
  --primary-dark: #4749c4;
  --cyan: #53d4d1;
  --green: #16836d;
  --amber: #a76b00;
  --red: #b44d5b;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(6, 19, 39, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
code, pre { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; }
code {
  padding: 2px 5px;
  border-radius: 5px;
  color: #4245a8;
  background: #eef0ff;
  font-size: .88em;
}
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.container { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.narrow { max-width: 900px; }

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
}
.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  white-space: nowrap;
}
.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}
.nav nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.nav nav a {
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}
.nav nav a:hover, .footer-meta a:hover { color: var(--cyan); }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: radial-gradient(circle at 80% 18%, rgba(83, 212, 209, .18), transparent 27%), radial-gradient(circle at 18% 12%, rgba(93, 95, 239, .25), transparent 32%), linear-gradient(145deg, #07101d, #0b1830 62%, #101e35);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 76px;
  align-items: center;
  padding-top: 90px;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--primary-dark); }
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.14; letter-spacing: -.035em; }
h1 { max-width: 780px; margin: 0 0 24px; font-size: clamp(2.7rem, 5vw, 5.1rem); }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { margin: 0 0 10px; font-size: 1.2rem; }
p { margin-top: 0; }
.lead { max-width: 670px; color: rgba(255, 255, 255, .76); font-size: 1.16rem; }
.supported-summary { max-width: 670px; margin: 18px 0 0; color: rgba(255, 255, 255, .68); font-size: .92rem; }
.supported-summary strong { color: var(--cyan); }
.intro { max-width: 780px; color: var(--muted); font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 22px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { color: var(--white); background: var(--primary); }
.primary:hover { background: #7072f4; }
.secondary { border-color: rgba(255, 255, 255, .25); color: var(--white); background: rgba(255, 255, 255, .06); }
.light { color: #10172b; background: var(--white); }
.cta-note { max-width: 670px; margin: 0 0 18px; color: rgba(255, 255, 255, .65); font-size: .84rem; }
.notice { max-width: 650px; color: rgba(255, 255, 255, .52); font-size: .86rem; }

.flow-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}
.flow-label, .panel-kicker, .code-inline span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.step { display: flex; gap: 15px; align-items: center; }
.step b {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111c39;
  background: var(--cyan);
  font-size: .76rem;
}
.step strong { font-family: 'Manrope', sans-serif; font-size: 1.05rem; }
.step p { margin: 3px 0 0; color: rgba(255, 255, 255, .62); font-size: .9rem; }
.flow-icon { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }
.line { width: 1px; height: 26px; margin: 5px 0 5px 19px; background: rgba(83, 212, 209, .4); }
.example { display: grid; gap: 8px; margin-top: 26px; padding: 18px; border-radius: 15px; background: rgba(5, 12, 24, .62); }
.example small { color: rgba(255, 255, 255, .5); font-size: .69rem; text-transform: uppercase; letter-spacing: .1em; }
.example code { padding: 0; color: #b8ecdf; background: transparent; font-size: .83rem; }

.stats { padding: 34px 0 25px; color: var(--white); background: #111c35; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.stats-grid.three-stats { max-width: 820px; grid-template-columns: repeat(3, 1fr); margin: auto; text-align: center; }
.stats-grid div { display: grid; gap: 2px; }
.stats-grid.three-stats div { justify-items: center; }
.stats-grid.three-stats + .stats-note { text-align: center; }
.stats-grid strong { font-family: 'Manrope', sans-serif; font-size: 1.7rem; }
.stats-grid span, .stats-note { color: rgba(255, 255, 255, .55); font-size: .84rem; }
.stats-note { margin: 26px auto 0; font-size: .72rem; }

.section { padding: 112px 0; }
.section.alt { background: var(--soft); }
.intro-section { padding-bottom: 105px; }
.workflow { display: flex; align-items: stretch; gap: 10px; margin: 44px 0 55px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.workflow span { flex: 1; display: grid; place-items: center; min-height: 58px; padding: 7px; border-radius: 11px; color: #28324a; background: var(--white); text-align: center; font-weight: 700; box-shadow: 0 8px 20px rgba(16, 32, 56, .05); }
.workflow small { color: var(--primary-dark); font-size: .72rem; }
.workflow i { align-self: center; color: var(--primary); font-style: normal; font-weight: 800; }
.screenshot-section { background: #fbfcfe; }
.screenshot-card { min-width: 0; margin: 38px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.screenshot-wide { margin-top: 40px; }
.screenshot-frame { padding: 10px; background: #15191f; }
.screenshot-frame img { width: 100%; height: auto; display: block; border-radius: 11px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.screenshot-grid .screenshot-card { margin-top: 20px; }
.screenshot-card figcaption { display: grid; gap: 5px; padding: 18px 20px 20px; }
.screenshot-card figcaption strong { font-family: 'Manrope', sans-serif; }
.screenshot-card figcaption span { color: var(--muted); font-size: .86rem; }
.screenshot-section > .container > .mini { margin-top: 18px; }
.cards { display: grid; gap: 20px; }
.four { grid-template-columns: repeat(4, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }
.cards article { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.cards article p { color: var(--muted); font-size: .93rem; }
.cards article em { color: var(--primary); font-style: normal; font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.cards article code { font-size: .78rem; }
.callout { margin-top: 30px; padding: 17px 20px; border: 1px solid; border-radius: 14px; font-size: .91rem; }
.callout.info { border-color: #c7d5fb; color: #304778; background: #f0f4ff; }
.callout.warning { border-color: #f0d39a; color: #76551b; background: #fff8e9; }
.callout strong { color: inherit; }
.subsection { margin-top: 86px; }
.section-icon { width: 54px; height: 54px; display: block; margin: 0 0 16px; object-fit: contain; }
.split { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; }
.setup-split { align-items: start; margin-top: 45px; }
.checklist, .split aside ul, .beta-list { list-style: none; padding: 0; margin: 28px 0 0; }
.checklist li, .beta-list li { position: relative; padding: 9px 0 9px 27px; color: var(--muted); }
.checklist li::before, .beta-list li::before { content: ''; position: absolute; left: 0; top: 16px; width: 11px; height: 6px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); transform: rotate(-45deg); }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.panel .panel-kicker { color: var(--primary-dark); }
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.steps li { position: relative; padding-left: 35px; color: var(--muted); counter-increment: install; }
.steps li::before { content: counter(install); position: absolute; left: 0; top: 1px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--primary); font-size: .72rem; font-weight: 800; }
.code-card { margin-top: 25px; padding: 24px; border-radius: 17px; color: #dbe8ff; background: #101b31; box-shadow: 0 18px 40px rgba(7, 16, 31, .14); }
.code-card .panel-kicker { color: var(--cyan); }
.code-card p { color: rgba(219, 232, 255, .68); }
.code-card pre { color: #dbe8ff; font-size: .84rem; line-height: 1.65; }
.code-card code { padding: 0; color: inherit; background: transparent; font-size: inherit; }
.code-card .btn { margin-top: 20px; }
.mini { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.code-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.code-inline span { margin: 0; color: var(--primary-dark); }
.code-inline code { padding: 0; background: transparent; font-size: .84rem; }

.table-wrap { width: 100%; overflow-x: auto; margin-top: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.tbl { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.tbl th, .tbl td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .88rem; }
.tbl thead th { color: #53617a; background: #f7f9fc; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody th { width: 23%; color: var(--ink); font-weight: 700; }
.tbl td { color: var(--muted); }
.tbl.compact th, .tbl.compact td { padding: 12px 14px; font-size: .79rem; }
.tbl.compact tbody th { width: 35%; }
.detail-cards { margin-top: 35px; }
.detail-cards article, .three article { background: #fbfcfe; }
.card-number { display: block; margin-bottom: 16px; color: var(--primary); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: 25px; }
.api-grid .code-card { margin-top: 0; }
.api-grid .table-wrap { margin-top: 0; }
.region-codes { margin-top: 20px; font-size: .76rem; line-height: 1.7; }
.llm-split { align-items: start; margin-top: 35px; }
.prompt-panel blockquote { margin: 0; color: var(--muted); font-size: 1.02rem; font-style: italic; }
.restore-output { margin-top: 35px; }
.restore-output .callout { margin-top: 0; }
.lifecycle .cards { margin-top: 28px; }
.metric { display: block; margin-bottom: 15px; color: var(--primary-dark); font-family: 'Manrope', sans-serif; font-size: 1.7rem; }

.placeholder-list { display: grid; gap: 1px; margin-top: 35px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.placeholder-list div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 17px 20px; background: var(--white); }
.placeholder-list p { margin: 0; color: var(--muted); }
.placeholder-code-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.placeholder-code-grid code { padding: 13px 15px; border: 1px solid #d7dcff; color: var(--primary-dark); background: #f4f5ff; text-align: center; }
.placeholder-rules { margin-top: 25px; }
.status { display: inline-block; width: fit-content; padding: 4px 9px; border-radius: 999px; font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.status.good { color: var(--green); background: #e5f7f2; }
.status.neutral { color: #53617a; background: #edf1f6; }
.status.blocked { color: var(--red); background: #fdecef; }
.error-table tbody th { width: 70px; color: var(--primary-dark); font-family: 'Manrope', sans-serif; }
.error-table tbody tr:nth-child(3) th, .error-table tbody tr:nth-child(5) th { color: var(--red); }

.coverage-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 38px; }
.entity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.entity-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 30px rgba(16, 32, 56, .04); }
.entity-card h3 { font-size: 1.08rem; }
.entity-card p { color: var(--muted); font-size: .9rem; }
.example-list { display: grid; gap: 8px; margin: 16px 0; color: var(--muted); font-size: .78rem; }
.example-list span { padding: 7px 9px; border-radius: 8px; background: var(--soft); }
.entity-card .mini { font-size: .75rem; }
.coverage-panel { box-shadow: none; }
.out-scope { background: #fbfcfe; }
.compact-list { margin-top: 12px; }
.compact-list li { padding-top: 7px; padding-bottom: 7px; font-size: .92rem; }
.compact-list li::before { top: 14px; }
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.country-grid span { display: grid; gap: 2px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: var(--white); font-size: .78rem; }
.country-grid b { color: var(--ink); font-size: .82rem; }
.security article { min-height: 190px; }
.review-callout { max-width: 900px; }
.limit-grid article { min-height: 180px; }
.iban-registry { max-width: 900px; }
.data-hosting { max-width: 1000px; }
.hosting-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 38px; }
.hosting-highlight { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.hosting-highlight p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.azure-mark, .storage-mark { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 13px; color: var(--white); background: linear-gradient(135deg, #1478db, #33b7e8); font-family: 'Manrope', sans-serif; font-size: .8rem; font-weight: 800; }
.storage-mark { color: var(--primary-dark); background: #e8eaff; }
.data-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding: 22px 24px; border-radius: 17px; color: var(--white); background: #101b31; }
.data-contact span { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.data-contact .btn { flex: 0 0 auto; }

.troubleshoot-list { display: grid; gap: 10px; margin-top: 35px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
summary { cursor: pointer; padding: 18px 20px; font-family: 'Manrope', sans-serif; font-weight: 700; list-style-position: inside; }
details p { margin: 0; padding: 0 20px 19px 39px; color: var(--muted); font-size: .92rem; }
.support-split { align-items: start; }
.support-example { margin-top: 0; }
.support-example .panel-kicker { margin-bottom: 13px; }
.support-example .btn { color: #10172b; }
.faq code { background: #f0f3f8; }

.beta { padding: 92px 0; color: var(--white); background: radial-gradient(circle at 80% 15%, rgba(83, 212, 209, .14), transparent 26%), linear-gradient(135deg, #13144b, #161e48 55%, #102735); }
.beta-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 80px; align-items: center; }
.beta h2 { max-width: 680px; }
.beta p { color: rgba(255, 255, 255, .7); }
.beta-list { margin-top: 20px; }
.beta-list li { color: rgba(255, 255, 255, .72); }
.contact { padding: 34px; border-radius: 28px; background: rgba(5, 12, 35, .38); box-shadow: 0 25px 70px rgba(0, 0, 0, .22); }
.contact small { color: var(--cyan); font-weight: 800; letter-spacing: .12em; }
.contact span { display: block; margin-top: 14px; color: rgba(255, 255, 255, .48); font-size: .76rem; }

footer { padding: 38px 0; color: rgba(255, 255, 255, .55); background: #07101d; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
footer .brand { color: var(--white); }
footer p { margin: 10px 0 0; font-size: .82rem; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; font-size: .77rem; }
.footer-meta a { color: var(--cyan); text-decoration: none; }

@media (max-width: 980px) {
  .nav { align-items: flex-start; padding-top: 18px; }
  .nav nav { max-width: 620px; gap: 8px 14px; }
  .hero-grid, .split, .beta-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 80px; }
  .hero-grid { padding-top: 30px; }
  .hero h1 { max-width: 720px; }
  .four { grid-template-columns: repeat(2, 1fr); }
  .entity-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid, .hosting-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .beta-grid { gap: 35px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { display: block; min-height: 0; padding-top: 14px; }
  .nav nav { justify-content: flex-start; margin-top: 14px; gap: 6px 12px; }
  .nav nav a { font-size: .75rem; }
  .hero { min-height: 0; padding: 170px 0 65px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  h2 { font-size: 2.15rem; }
  .flow-card { padding: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 15px; }
  .stats-grid.three-stats { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 75px 0; }
  .workflow { align-items: stretch; flex-direction: column; margin: 30px 0 40px; }
  .workflow i { transform: rotate(90deg); }
  .four, .three, .two, .api-grid, .entity-grid { grid-template-columns: 1fr; }
  .placeholder-code-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-card { margin-top: 25px; }
  .screenshot-frame { padding: 6px; }
  .data-contact { align-items: flex-start; flex-direction: column; }
  .cards article { padding: 22px; }
  .subsection { margin-top: 60px; }
  .panel, .code-card { padding: 21px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .placeholder-list div { grid-template-columns: 1fr; gap: 8px; }
  .tbl { min-width: 580px; }
  .support-split { gap: 30px; }
  .beta { padding: 70px 0; }
  .footer-grid { display: grid; gap: 24px; }
  .footer-meta { justify-content: flex-start; }
}

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