* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #06101d;
  color: #f5fbff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body,
main {
  min-height: 100svh;
}

main {
  display: flex;
  flex-direction: column;
}

a {
  color: #76efff;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #07101f;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 8, 18, 0.88) 0%, rgba(4, 8, 18, 0.62) 46%, rgba(4, 8, 18, 0.18) 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
}

.brand {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.links {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

.links a {
  color: #d4edf4;
  text-decoration: none;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary {
  display: inline-flex;
  min-width: 112px;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(118, 239, 255, 0.34);
  border-radius: 8px;
  padding: 7px 10px 7px 12px;
  color: #f5fbff;
  background: rgba(5, 14, 26, 0.78);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  user-select: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-menu summary:focus-visible,
.language-options a:focus-visible {
  outline: 2px solid #9bf5ff;
  outline-offset: 3px;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 4;
  display: grid;
  width: min(260px, calc(100vw - 48px));
  max-height: min(420px, calc(100svh - 112px));
  overflow-y: auto;
  border: 1px solid rgba(118, 239, 255, 0.28);
  border-radius: 8px;
  padding: 6px;
  background: rgba(4, 13, 24, 0.96);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
}

.language-options a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  padding: 8px 10px;
  color: #d4edf4;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.language-options a:hover {
  color: #ffffff;
  background: rgba(118, 239, 255, 0.12);
}

.language-options .is-current {
  color: #06101d;
  background: #9bf5ff;
  font-weight: 800;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 13vh 24px 96px;
}

.hero h1,
.content h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 9vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.lead,
.summary p {
  max-width: 650px;
  color: #d9edf4;
  font-size: 21px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 1px solid rgba(118, 239, 255, 0.46);
  border-radius: 8px;
  padding: 10px 18px;
  color: #ffffff;
  background: rgba(9, 24, 42, 0.78);
  text-decoration: none;
  font-weight: 700;
}

.summary,
.content,
.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px;
}

.shell {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(238, 82, 255, 0.12) 0 28%, transparent 28% 100%),
    linear-gradient(180deg, #0d1830 0%, #06101d 100%);
}

.content {
  max-width: 860px;
}

.content h2 {
  margin-top: 38px;
  color: #9bf5ff;
  font-size: 24px;
}

.content p,
.content li {
  color: #d8eaf1;
}

.content ul {
  padding-left: 22px;
}

.panel {
  border: 1px solid rgba(118, 239, 255, 0.24);
  border-radius: 8px;
  padding: 22px;
  background: rgba(4, 13, 24, 0.72);
}

.section-title,
.contact-line,
.status-line,
.privacy-line,
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.section-title {
  align-items: center;
}

.icon,
.inline-icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-icon {
  margin-top: 0.22em;
}

.icon-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.icon-list li {
  margin: 0;
}

.icon-list strong {
  color: #f5fbff;
}

.footer {
  width: 100%;
  margin-top: auto;
  padding: 28px 24px 32px;
  color: #9eb7c4;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 780px) {
  .hero {
    min-height: 82vh;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.86) 0%, rgba(4, 8, 18, 0.52) 62%, rgba(4, 8, 18, 0.30) 100%);
  }

  .hero-copy {
    padding-top: 9vh;
  }

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

  .nav-tools {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .links {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  .language-menu {
    width: 100%;
  }

  .language-menu summary {
    width: 100%;
  }

  .language-options {
    position: static;
    width: 100%;
    max-height: min(320px, 48svh);
    margin-top: 8px;
  }
}
