:root {
  color-scheme: dark;
  --background: #05090d;
  --surface: #0d1620;
  --surface-raised: #142131;
  --border: #263d54;
  --text: #f5f7fa;
  --muted: #a9b7c7;
  --accent: #ff1f3d;
  --accent-hover: #ff4962;
  --focus: #66b7ff;
  --success: #36c98f;
  --max-width: 960px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(155deg, rgba(255, 31, 61, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 7%, rgba(38, 92, 136, 0.2), transparent 26rem),
    var(--background);
  line-height: 1.65;
}

a {
  color: #8bc7ff;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #c4e3ff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(139, 199, 255, 0.18);
  background: rgba(5, 9, 13, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 31, 61, 0.14);
  color: white;
  font-weight: 900;
}

.language-switch {
  display: flex;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}

.language-switch button {
  min-width: 3.1rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.language-switch button[aria-pressed="true"] {
  color: white;
  background: var(--accent);
}

.page {
  padding-block: 4.5rem 5rem;
}

.hero {
  margin-bottom: 2.75rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.75rem 0 0.9rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.08rem;
}

.lede {
  max-width: 68ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-card,
.contact-card,
.link-card,
.notice {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(20, 33, 49, 0.97), rgba(11, 20, 29, 0.97));
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.22);
}

.content-card {
  padding: clamp(1.25rem, 4vw, 2.4rem);
}

.content-card > :first-child {
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.link-card,
.contact-card {
  display: flex;
  min-height: 100%;
  padding: 1.35rem;
  flex-direction: column;
}

.link-card {
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--text);
  background: linear-gradient(145deg, rgba(36, 48, 66, 0.98), rgba(14, 23, 34, 0.98));
}

.link-card h2,
.contact-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.link-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.link-card .arrow {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--accent-hover);
  font-weight: 850;
}

.notice {
  margin-block: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--accent);
}

.notice strong {
  display: block;
  margin-bottom: 0.25rem;
}

.success {
  border-left-color: var(--success);
}

ul,
ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.4rem;
}

.steps {
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 3rem;
  padding: 0.6rem 0 0.9rem 3.6rem;
  border-bottom: 1px solid rgba(38, 61, 84, 0.7);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  content: counter(step);
  color: white;
  font-weight: 850;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 0.7rem;
}

.contact-list strong {
  display: inline-block;
  min-width: 6.5rem;
  color: var(--muted);
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.page-nav a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 22, 32, 0.88);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.page-nav a:hover {
  border-color: var(--accent);
  color: white;
}

.lang-panel[hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(139, 199, 255, 0.14);
  background: #030608;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding-top: 3rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .page,
  .footer-inner {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .brand-text {
    max-width: 10rem;
    line-height: 1.15;
  }

  .content-card {
    border-radius: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

