:root {
  --ink: #18212f;
  --muted: #5b6676;
  --blue: #2457d6;
  --blue-dark: #173c9b;
  --blue-soft: #edf3ff;
  --green: #16745a;
  --green-soft: #eaf8f3;
  --amber: #945b10;
  --amber-soft: #fff6df;
  --red: #a53838;
  --red-soft: #fff0f0;
  --line: #dce3ec;
  --surface: #ffffff;
  --background: #f6f8fb;
  --shadow: 0 18px 45px rgba(31, 48, 78, 0.09);
  --radius: 20px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(220, 227, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--green));
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(36, 87, 214, 0.22);
}

.nav-actions,
.primary-nav,
.language-switcher {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 20px;
}

.primary-nav {
  gap: 4px;
}

.primary-nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.language-switcher {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.language-switcher a,
.language-switcher span {
  min-width: 42px;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.language-switcher span {
  color: #fff;
  background: var(--blue);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 18%, rgba(36, 87, 214, 0.16), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(22, 116, 90, 0.13), transparent 30%),
    linear-gradient(145deg, #fff 0%, #f4f7ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: center;
  min-height: 620px;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--blue);
  border-radius: 13px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(36, 87, 214, 0.2);
}

.button-primary:hover {
  color: #fff;
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--blue-dark);
  background: #fff;
}

.status-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(220, 227, 236, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.status-card::before {
  position: absolute;
  inset: -13px 28px auto;
  height: 13px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
}

.status-label {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-value {
  margin: 10px 0 22px;
  color: var(--green);
  font-size: 2rem;
  font-weight: 850;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.status-row span:first-child {
  color: var(--muted);
}

.status-row strong {
  text-align: right;
}

.section {
  padding-block: 80px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading p,
.card p,
.legal-section p,
.legal-section li {
  color: var(--muted);
}

.grid-3,
.grid-2,
.support-grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2,
.support-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.support-card,
.legal-section,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 48, 78, 0.045);
}

.card,
.support-card {
  padding: 28px;
}

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 850;
}

.privacy-callout {
  color: #fff;
  background: linear-gradient(135deg, #173c9b, #12644f);
}

.privacy-callout .section-heading p,
.privacy-callout p,
.privacy-callout a {
  color: rgba(255, 255, 255, 0.86);
}

.privacy-callout a:hover {
  color: #fff;
}

.page-hero {
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #eff4ff);
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-description {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-content {
  width: min(calc(100% - 40px), 860px);
  margin: 46px auto 86px;
}

.notice {
  margin-bottom: 24px;
  padding: 24px 26px;
  border-color: #bfd8d0;
  background: var(--green-soft);
}

.notice-warning {
  border-color: #ead19c;
  background: var(--amber-soft);
}

.notice h2,
.notice p {
  margin-bottom: 0;
}

.notice h2 {
  font-size: 1.25rem;
}

.legal-section {
  margin-top: 20px;
  padding: 30px;
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: 1.42rem;
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

.legal-section li + li {
  margin-top: 8px;
}

.support-grid {
  margin-bottom: 24px;
}

.support-card > span {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.support-card h2 {
  margin: 10px 0 14px;
  font-size: 1.35rem;
}

.danger-block {
  margin-top: 20px;
  padding: 18px;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  background: var(--red-soft);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-card p {
  margin: 0;
}

.email-link {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-shell {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 24px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

@media (max-width: 900px) {
  .nav-shell {
    align-items: flex-start;
    padding-block: 14px;
  }

  .nav-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
    padding-block: 72px;
  }

  .status-card {
    max-width: 560px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .page-shell,
  .footer-shell,
  .legal-content {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    align-items: stretch;
  }

  .primary-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .primary-nav a {
    white-space: nowrap;
  }

  .language-switcher {
    align-self: flex-end;
  }

  .hero-grid {
    padding-block: 58px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 58px;
  }

  .grid-2,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 54px 0 42px;
  }

  .legal-content {
    margin-block: 30px 58px;
  }

  .legal-section,
  .notice,
  .card,
  .support-card {
    padding: 22px;
    border-radius: 16px;
  }

  .footer-shell {
    min-height: auto;
  }
}

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