:root {
  --bg: #02090d;
  --panel: #071820;
  --line: rgba(190, 224, 235, .15);
  --text: #f4f8f9;
  --muted: #91a5ad;
  --blue: #00a4ca;
  --green: #b8e339;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(0,164,202,.12), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--green);
  color: #071014;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 220px;
  height: auto;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.back span {
  margin-left: 8px;
  color: var(--green);
}

.back:hover { color: var(--text); }

main {
  padding: 85px 0 120px;
}

.title {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.title > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #4ed5ef;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.title > p span {
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -.065em;
}

.title > strong {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(50px, 9vw, 130px);
  padding-top: 64px;
}

aside {
  position: sticky;
  top: 40px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7,24,32,.62);
}

aside span {
  color: var(--green);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
}

aside p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
}

article {
  min-width: 0;
}

section {
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

section:last-child { margin-bottom: 0; }

h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

article p,
article li {
  color: var(--muted);
  font-size: .94rem;
}

article p { margin: 0 0 16px; }
article p:last-child { margin-bottom: 0; }

article strong { color: var(--text); }

article a {
  color: #52d6f0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

article ul {
  margin: 16px 0 22px;
  padding-left: 20px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  border-top: 1px solid var(--line);
  color: #7f939b;
  font-size: .72rem;
}

footer nav {
  display: flex;
  gap: 22px;
}

footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

footer a:hover { color: var(--green); }

@media (max-width: 760px) {
  header,
  main,
  footer { width: calc(100% - 30px); }

  header { min-height: 78px; }
  .brand img { width: 176px; }
  .back { font-size: 0; }
  .back span { font-size: 1rem; }

  main { padding: 65px 0 90px; }

  .title { padding-bottom: 42px; }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 42px;
  }

  aside { position: static; }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
  }
}

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