:root {
  color-scheme: light;
  --brand-navy: #13233a;
  --brand-blue: #0b67d1;
  --brand-teal: #1f8a70;
  --text: #172033;
  --muted: #667085;
  --line: #d6dfeb;
  --surface: #ffffff;
  --surface-alt: #f3f6fa;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: Inter, "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 8px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
}

.brand { display: inline-flex; align-items: center; width: 150px; }
.brand img { display: block; width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--brand-blue); }
.header-action { padding: 11px 16px; background: var(--brand-blue); color: white !important; border-radius: 6px; }
.language-control select { min-width: 64px; height: 38px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--text); font-weight: 700; }
.menu-button { display: none; border: 1px solid var(--line); background: white; color: var(--text); padding: 9px 12px; border-radius: 6px; font-weight: 700; }

.hero { border-bottom: 1px solid var(--line); background: #f5f8fc; }
.hero-inner { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 64px 0 48px; }
.eyebrow { margin: 0 0 12px; color: var(--brand-teal); font-size: 13px; font-weight: 800; letter-spacing: 0; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 760px; margin: 0; color: var(--brand-navy); font-size: clamp(48px, 7vw, 84px); line-height: 1; }
.hero-lead { max-width: 760px; margin: 24px 0 0; color: #40506a; font-size: 21px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--brand-blue); border-radius: 6px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--brand-blue); color: white; }
.button-secondary { background: white; color: var(--brand-blue); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts div { min-height: 88px; padding: 20px 22px 12px 0; }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.facts dd { margin: 7px 0 0; color: var(--brand-navy); font-size: 16px; font-weight: 800; }

.section { padding: 72px max(24px, calc((100vw - var(--content)) / 2)); }
.section-alt { background: var(--surface-alt); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section h2 { margin: 0; color: var(--brand-navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.section-heading > p:last-child, .security-section > div > p:last-child, .documents-section > div > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--brand-blue); border-left: 1px solid var(--line); }
.module-grid article { min-height: 210px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module-grid span { color: var(--brand-teal); font-size: 12px; font-weight: 800; }
.module-grid h3 { margin: 34px 0 10px; color: var(--brand-navy); font-size: 21px; }
.module-grid p { margin: 0; color: #4b5b73; line-height: 1.6; }

.workflow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; counter-reset: step; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { position: relative; min-height: 154px; padding: 28px 24px 24px 58px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-increment: step; }
.workflow-list li::before { position: absolute; left: 18px; top: 27px; content: counter(step, decimal-leading-zero); color: var(--brand-blue); font-weight: 900; }
.workflow-list strong, .workflow-list span { display: block; }
.workflow-list strong { margin-bottom: 8px; color: var(--brand-navy); font-size: 19px; }
.workflow-list span { color: #4b5b73; line-height: 1.55; }

.policy-list { border-top: 3px solid var(--brand-teal); }
.policy-list p { display: grid; grid-template-columns: minmax(230px, .8fr) 1.6fr; gap: 24px; margin: 0; padding: 15px 12px; border-bottom: 1px solid var(--line); }
.policy-list span { color: #4b5b73; }
.policy-note { margin: 22px 0 0; padding-left: 16px; border-left: 4px solid var(--brand-teal); color: var(--muted); line-height: 1.55; }

.security-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; background: var(--brand-navy); color: white; }
.security-section h2 { color: white; }
.security-section > div > p:last-child { color: #c9d7e8; }
.security-section ul { margin: 0; padding: 0; list-style: none; }
.security-section li { position: relative; padding: 18px 0 18px 30px; border-bottom: 1px solid #334762; line-height: 1.55; }
.security-section li::before { position: absolute; left: 0; content: "✓"; color: #55c2a7; font-weight: 900; }

.documents-section { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 50px; }
.document-actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.text-action { color: var(--brand-blue); font-weight: 800; text-align: center; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px max(24px, calc((100vw - var(--content)) / 2)); background: #09121f; color: #dbe6f3; }
.site-footer div { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.site-footer a { color: white; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 880px) {
  .site-header { min-height: 64px; padding-inline: 18px; }
  .brand { width: 126px; }
  .brand img { width: 126px; }
  .menu-button { display: inline-flex; }
  .main-nav { position: absolute; inset: 64px 14px auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--line); background: white; box-shadow: 0 18px 40px rgba(19, 35, 58, .15); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .language-control { padding: 8px 12px; }
  .header-action { text-align: center; }
  .hero { background: #f5f8fc; }
  .hero-inner { width: min(100% - 36px, var(--content)); padding: 42px 0 34px; }
  h1 { font-size: 50px; }
  .hero-lead { font-size: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 54px 18px; }
  .module-grid, .workflow-list { grid-template-columns: 1fr 1fr; }
  .security-section, .documents-section { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .hero-actions, .button { width: 100%; }
  .facts, .module-grid, .workflow-list { grid-template-columns: 1fr; }
  .facts div { min-height: 72px; }
  .module-grid article { min-height: 168px; }
  .policy-list p { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { flex-direction: column; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
}
