:root {
  --bg-top: #0b1f46;
  --bg-mid: #15376f;
  --bg-bottom: #244f82;
  --text: #eef5ff;
  --muted: #c9d9ee;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.14);
  --input: rgba(255, 255, 255, 0.10);
  --input-focus: rgba(255, 255, 255, 0.16);
  --button: rgba(255, 255, 255, 0.18);
  --button-hover: rgba(255, 255, 255, 0.24);
  --button-glow: rgba(238, 245, 255, 0.12);
  --max: 1180px;
  --legal-max: 980px;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.10), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

body {
  min-height: 100svh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(5, 14, 28, 0.72) 0%,
      rgba(5, 14, 28, 0.50) 20%,
      rgba(5, 14, 28, 0.18) 42%,
      rgba(5, 14, 28, 0.00) 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='rgba(255,255,255,0.07)'%3E%3Crect x='40' y='510' width='90' height='390'/%3E%3Crect x='120' y='430' width='120' height='470'/%3E%3Crect x='245' y='560' width='75' height='340'/%3E%3Crect x='330' y='360' width='125' height='540'/%3E%3Crect x='470' y='500' width='80' height='400'/%3E%3Crect x='560' y='290' width='150' height='610'/%3E%3Crect x='730' y='470' width='110' height='430'/%3E%3Crect x='850' y='340' width='145' height='560'/%3E%3Crect x='1010' y='530' width='90' height='370'/%3E%3Crect x='1120' y='260' width='165' height='640'/%3E%3Crect x='1310' y='460' width='120' height='440'/%3E%3Crect x='1445' y='390' width='95' height='510'/%3E%3C/g%3E%3C/svg%3E") center bottom / cover no-repeat;
  opacity: 0.48;
  filter: blur(1px);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
p {
  margin: 0;
}

.site {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.header,
.footer {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.header {
  border-bottom: 1px solid var(--line);
}

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

.nav,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--header-h);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.main {
  flex: 1;
}

.card,
.panel {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--text);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .main {
  display: flex;
  align-items: center;
  padding: clamp(46px, 7vh, 70px) 0 clamp(56px, 8vh, 86px);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.tag {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home h1 {
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.page-home .intro {
  margin-top: 28px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
}

.btn-primary {
  background: var(--button);
}

.btn:hover {
  background: var(--button-hover);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 2px var(--button-glow);
}

.btn:active {
  transform: translateY(1px);
}

.page-home .card {
  width: 100%;
  padding: 40px 28px;
}

.card h2 {
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.12;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.info strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.98rem;
}

.info span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.status {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.status-item {
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.status-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.status-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner {
  min-height: 132px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: start;
  gap: 34px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-logo {
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
}

.footer-baseline {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-brand + .footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, auto));
  align-items: start;
  gap: 12px 30px;
}

.footer-column {
  position: relative;
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column + .footer-column {
  padding-left: 30px;
}

.footer-column + .footer-column::before {
  content: "";
  position: absolute;
  left: 0;
  top: 31px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.footer-column strong {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.footer-column a {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 500;
}

.page-contact {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.10), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
}

.page-contact::before {
  background:
    linear-gradient(to top,
      rgba(10, 20, 35, 0.55) 0%,
      rgba(10, 20, 35, 0.35) 18%,
      rgba(10, 20, 35, 0.10) 36%,
      rgba(10, 20, 35, 0.00) 56%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg fill='rgba(255,255,255,0.07)'%3E%3Crect x='40' y='510' width='90' height='390'/%3E%3Crect x='120' y='430' width='120' height='470'/%3E%3Crect x='245' y='560' width='75' height='340'/%3E%3Crect x='330' y='360' width='125' height='540'/%3E%3Crect x='470' y='500' width='80' height='400'/%3E%3Crect x='560' y='290' width='150' height='610'/%3E%3Crect x='730' y='470' width='110' height='430'/%3E%3Crect x='850' y='340' width='145' height='560'/%3E%3Crect x='1010' y='530' width='90' height='370'/%3E%3Crect x='1120' y='260' width='165' height='640'/%3E%3Crect x='1310' y='460' width='120' height='440'/%3E%3Crect x='1445' y='390' width='95' height='510'/%3E%3C/g%3E%3C/svg%3E") center bottom / cover no-repeat;
  opacity: 0.45;
}

.page-contact .main {
  display: grid;
  place-items: center;
  padding: clamp(46px, 7vh, 70px) 20px clamp(56px, 8vh, 86px);
}

.contact-card {
  width: min(760px, 100%);
  padding: 40px 28px;
}

.page-contact h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.02;
}

.page-contact .intro {
  margin-bottom: 28px;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  background: var(--input);
  color: var(--text);
  font: inherit;
  transition: 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(238, 245, 255, 0.60);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--input-focus);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 6px;
}

.contact-form button {
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--button);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
}

.contact-form button:hover {
  background: var(--button-hover);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 2px var(--button-glow);
}

.contact-form button:active {
  transform: translateY(1px);
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-legal .main {
  padding: clamp(44px, 7vh, 70px) 0 clamp(56px, 8vh, 86px);
}

.legal {
  width: min(var(--legal-max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.legal-header {
  display: grid;
  gap: 12px;
}

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

.page-legal h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
}

.page-legal .intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.panel {
  padding: clamp(26px, 4vw, 38px);
}

.content {
  display: grid;
  gap: 30px;
}

.section {
  display: grid;
  gap: 10px;
}

.section h2 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.section p,
.section li {
  color: var(--muted);
  line-height: 1.7;
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.placeholder {
  color: var(--text);
  font-weight: 700;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-links a,
.breadcrumb a {
  color: var(--text);
}

@media (max-width: 900px) {
  .page-home .main {
    align-items: flex-start;
    padding: 54px 0 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .page-home .card {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 58px;
  }

  .nav,
  .hero,
  .footer-inner,
  .legal {
    width: min(100% - 28px, var(--legal-max));
  }

  .brand {
    min-height: var(--header-h);
    font-size: 0.86rem;
    letter-spacing: 0.16em;
  }

  .page-home .main {
    padding: clamp(34px, 6vh, 50px) 0 clamp(44px, 8vh, 64px);
  }

  .page-contact .main {
    padding: clamp(34px, 6vh, 50px) 14px clamp(44px, 8vh, 64px);
  }

  .page-legal .main {
    padding: clamp(34px, 6vh, 50px) 0 clamp(44px, 8vh, 64px);
  }

  .page-home h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .card h2 {
    font-size: clamp(1.6rem, 3vw, 1.8rem);
  }

  .page-home .intro {
    font-size: 1.02rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn,
  .contact-form button {
    width: 100%;
  }

  .page-home .card,
  .contact-card {
    padding: 30px 20px;
  }

  .panel {
    padding: 26px 20px;
  }

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

  .footer-inner {
    min-height: auto;
    padding: 18px 0;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-brand + .footer-menu {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-column + .footer-column {
    padding-left: 0;
  }

  .footer-column + .footer-column::before {
    display: none;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .page-home .main {
    align-items: flex-start;
    padding: 46px 0 56px;
  }
}
