:root {
  --bg: #050505;
  --surface: #0c0d0f;
  --text: #f5f7fa;
  --muted: #a4a8b0;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #8bdcff;
  --max: 940px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 7%, rgba(19, 153, 255, 0.11), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  width: 172px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.back::before {
  content: "←";
  color: var(--blue);
}

.back:hover,
.back:focus-visible {
  color: white;
}

main {
  padding: clamp(76px, 11vw, 132px) 0 96px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 670;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.lead {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.legal-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(54px, 8vw, 84px);
}

.legal-section {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 13, 15, 0.78);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 1.04rem;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 14px;
}

.legal-section p,
.legal-section li,
.address {
  color: #c7cad0;
}

.legal-section ul {
  padding-left: 1.2em;
}

.legal-section a {
  color: white;
  text-decoration-color: rgba(139, 220, 255, 0.55);
  text-underline-offset: 4px;
}

.address {
  font-style: normal;
}

.address strong {
  color: white;
}

footer {
  padding-bottom: 34px;
  color: #747881;
  font-size: 0.8rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-row a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #a4a8b0;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar {
    min-height: 72px;
  }

  .brand {
    width: 122px;
    padding: 8px 10px;
    border-radius: 11px;
  }

  .back {
    font-size: 0.78rem;
  }

  main {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .footer-row {
    flex-direction: column;
  }
}
