:root {
  --bg: #07111f;
  --bg-soft: #0c1830;
  --card: #12233c;
  --card-hover: #173052;
  --line: rgba(148, 186, 232, 0.18);
  --text: #f4f7fb;
  --muted: #a9bdd4;
  --accent: #3d8bfd;
  --accent-strong: #1f6fe0;
  --accent-soft: rgba(61, 139, 253, 0.16);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(61, 139, 253, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 280px);
  line-height: 1.6;
}

a {
  color: #8ec2ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #c5e0ff;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #5aa2ff, var(--accent-strong));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31, 111, 224, 0.35);
}

.nav {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero,
.panel,
.topic,
.policy section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 36px 28px 30px;
  margin-bottom: 18px;
}

.kicker {
  margin: 0 0 10px;
  color: #8ec2ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 148px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.action:hover {
  background: var(--card-hover);
  border-color: rgba(61, 139, 253, 0.55);
  color: var(--text);
  transform: translateY(-2px);
}

.action strong {
  font-size: 1.25rem;
}

.action span {
  color: var(--muted);
  margin-top: 8px;
}

.action em {
  margin-top: 18px;
  font-style: normal;
  color: #8ec2ff;
  font-weight: 700;
}

.panel {
  padding: 24px 24px 8px;
  margin-bottom: 16px;
}

.panel h2,
.policy h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.panel p,
.policy p,
.policy li {
  color: var(--muted);
}

.mail {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.mail:hover {
  background: var(--accent-strong);
  color: #fff;
}

.email {
  color: var(--text);
  font-weight: 700;
}

.topics {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.topic {
  padding: 14px 16px;
  box-shadow: none;
}

.topic h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.topic p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy {
  padding-bottom: 8px;
}

.policy section {
  padding: 22px 24px 6px;
  margin-bottom: 12px;
  box-shadow: none;
}

.policy ul {
  margin: 0 0 14px;
  padding-left: 1.2rem;
}

.back {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.back:hover {
  color: var(--text);
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid #8ec2ff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, var(--max));
    padding-top: 18px;
  }

  .hero,
  .panel,
  .policy section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .action {
    min-height: 0;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
