:root {
  color-scheme: dark;
  --canvas: #09111f;
  --surface: rgba(17, 33, 55, 0.74);
  --text: #f3f7ff;
  --muted: #aebcd0;
  --line: rgba(192, 216, 248, 0.16);
  --accent: #7de6d5;
  --accent-soft: rgba(125, 230, 213, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 0.2rem solid var(--accent);
  outline-offset: 0.22rem;
  border-radius: 0.3rem;
}

.ambient {
  position: fixed;
  z-index: -1;
  inset: -20rem -18rem auto;
  height: 31rem;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(85, 191, 185, 0.16), transparent 44%);
}

.site-header,
.landing-main,
.site-footer,
.legal-page {
  width: min(100% - 2.5rem, 44rem);
  margin-inline: auto;
}

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

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

.brand-mark {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid rgba(125, 230, 213, 0.63);
  border-radius: 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.language-switcher {
  display: inline-flex;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(7, 16, 30, 0.35);
}

.language-switcher a {
  min-width: 2.35rem;
  padding: 0.26rem 0.48rem;
  border-radius: 0.34rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  background: var(--accent);
  color: #06241f;
}

.landing-main {
  padding: clamp(3.25rem, 10vw, 6.5rem) 0 clamp(3.5rem, 9vw, 5.5rem);
}

.landing-intro {
  max-width: 39rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 9vw, 4.65rem);
}

h2 {
  font-size: 1.05rem;
}

.intro-copy {
  max-width: 35rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
}

.link-panel {
  margin-top: clamp(2.6rem, 7vw, 4.25rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.link-panel h2 {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.link-row:hover {
  border-color: rgba(125, 230, 213, 0.52);
  background: rgba(21, 47, 72, 0.88);
  transform: translateY(-0.08rem);
}

.link-row__body {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.link-row__meta {
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.link-row strong {
  overflow-wrap: anywhere;
  font-size: 1.02rem;
}

.link-row__description {
  color: var(--muted);
  font-size: 0.88rem;
}

.link-row__arrow {
  color: var(--accent);
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.legal-page {
  min-height: calc(100vh - 11rem);
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
}

.legal-page h1 {
  font-size: clamp(2.35rem, 7vw, 4.2rem);
}

.legal-page section {
  padding-top: 2.2rem;
}

.legal-page h2 {
  font-size: 1.18rem;
}

.legal-page p,
.legal-page address {
  margin: 0.72rem 0 0;
  color: var(--muted);
  font-style: normal;
}

.legal-notice {
  margin-top: 1.8rem;
  padding: 0.9rem 1rem;
  border-left: 0.2rem solid var(--accent);
  border-radius: 0 0.42rem 0.42rem 0;
  background: var(--accent-soft);
  color: #dcfff9;
}

@media (max-width: 34rem) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    padding-top: 1.1rem;
  }

  .site-footer {
    gap: 0.75rem;
  }

  .link-row {
    padding: 0.9rem;
  }
}

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