:root {
  color-scheme: dark;
  --bg: #050b16;
  --surface: #0a1426;
  --surface-soft: #0e1b31;
  --border: #243653;
  --text: #edf4ff;
  --muted: #a9b8cf;
  --accent: #6da9ff;
  --accent-strong: #9bc4ff;
  --focus: #b7d6ff;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(35, 87, 153, 0.2), transparent 35rem),
    linear-gradient(180deg, #07101f 0%, var(--bg) 24rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #d4e6ff;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 0 0 8px 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  border-bottom: 1px solid rgba(109, 169, 255, 0.18);
  background: rgba(5, 11, 22, 0.78);
  backdrop-filter: blur(16px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(155, 196, 255, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #16335d, #091428);
  box-shadow: 0 0 0 5px rgba(109, 169, 255, 0.07);
  color: #dcecff;
  font-size: 1.4rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(109, 169, 255, 0.1);
  color: var(--text);
}

.page-shell {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  color: #f5f8ff;
  line-height: 1.2;
}

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

.lead {
  max-width: 68ch;
  margin: 1.3rem 0 0;
  color: #c6d3e6;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.document {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding: clamp(1.4rem, 5vw, 3.2rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(14, 27, 49, 0.96), rgba(8, 17, 32, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.document section + section {
  margin-top: 2.7rem;
  padding-top: 2.7rem;
  border-top: 1px solid rgba(169, 184, 207, 0.14);
}

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

p,
ul {
  margin-block: 0.9rem;
}

ul {
  padding-left: 1.35rem;
}

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

.notice,
.contact-card {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--accent);
  border-radius: 6px 12px 12px 6px;
  background: rgba(109, 169, 255, 0.08);
}

.contact-placeholder {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.25rem 0.55rem;
  border: 1px dashed rgba(155, 196, 255, 0.58);
  border-radius: 6px;
  color: #d9e9ff;
  font-weight: 700;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.route-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 27, 49, 0.96), rgba(8, 17, 32, 0.96));
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.route-card:hover {
  border-color: rgba(155, 196, 255, 0.7);
  color: var(--text);
  transform: translateY(-3px);
}

.route-card h2,
.route-card p {
  margin: 0;
}

.route-card p {
  color: var(--muted);
}

.route-card .route-action {
  color: var(--accent-strong);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(109, 169, 255, 0.14);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  font-size: 0.86rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 1rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  .document {
    border-radius: 14px;
  }

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

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