:root {
  color-scheme: dark;
  --bg: #080a10;
  --panel: #101421;
  --panel-soft: #151a2a;
  --text: #f7f8ff;
  --muted: #bdc5df;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #2f80ff;
  --purple: #8d5bff;
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 128, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(141, 91, 255, 0.2), transparent 26rem),
    linear-gradient(180deg, #080a10 0%, #0b0f19 46%, #080a10 100%);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.hero {
  display: grid;
  min-height: 56vh;
  align-items: center;
  padding: 72px 0 60px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #9dbdff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 4.6rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.15;
}

.subtitle {
  margin: 18px 0 14px;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.32;
}

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

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.section {
  width: 100vw;
  margin: 12px 0 64px calc(50% - 50vw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
  background: rgba(255, 255, 255, 0.035);
}

.section-copy {
  width: min(1120px, calc(100% - 40px));
  max-width: 720px;
  margin-inline: auto;
}

.document-page,
.callback-page {
  padding: 54px 0 72px;
}

.document,
.callback-panel {
  max-width: 820px;
}

.callback-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  background: linear-gradient(145deg, rgba(16, 20, 33, 0.92), rgba(12, 15, 25, 0.82));
  box-shadow: 0 28px 80px var(--shadow);
}

.document h1,
.callback-panel h1 {
  margin-bottom: 24px;
  font-size: 3.25rem;
}

.document h2 {
  margin-top: 30px;
}

.document a,
.site-footer a {
  color: #9dbdff;
  text-decoration-color: rgba(157, 189, 255, 0.45);
  text-underline-offset: 3px;
}

.document ul {
  margin: 10px 0 24px;
  padding-left: 22px;
}

.updated,
.callback-detail {
  margin-top: 26px;
  border-left: 3px solid var(--purple);
  padding-left: 14px;
  color: var(--text);
}

.callback-panel {
  margin-inline: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding-inline: 10px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 34px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .document h1,
  .callback-panel h1 {
    font-size: 2.1rem;
  }

  .callback-panel {
    padding: 24px;
  }

  .actions,
  .button {
    width: 100%;
  }
}
