:root {
  color-scheme: light;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --ink-faint: #7b8797;
  --paper: #f7f9fc;
  --paper-warm: #fbfcfe;
  --panel: #ffffff;
  --line: #e3e8ef;
  --line-strong: #d3dbe7;
  --night: #121a27;
  --night-2: #1f2937;
  --blue: #5da2f6;
  --blue-strong: #2f7edf;
  --blue-soft: #eaf3ff;
  --danger: #c84646;
  --danger-soft: #fff2f2;
  --success: #207a54;
  --success-soft: #eefaf4;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

a {
  color: var(--blue-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(18, 26, 39, 0.03), transparent 420px),
    var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(227, 232, 239, 0.7);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner,
.content,
.footer-inner {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(227, 232, 239, 0.85);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 720;
}

.nav a {
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 12px;
  text-decoration: none;
}

.nav a:hover {
  background: #edf2f8;
  color: var(--ink);
}

.hero {
  position: relative;
  margin-top: 26px;
  padding: clamp(44px, 7vw, 74px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 18%, rgba(93, 162, 246, 0.28), transparent 34%),
    linear-gradient(135deg, var(--night), var(--night-2));
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.16);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 6vw, 82px);
  bottom: clamp(-20px, -3vw, -10px);
  width: min(34vw, 280px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  opacity: 0.7;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: #a7cdfc;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(248, 250, 252, 0.76);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.meta {
  margin: 18px 0 0;
  color: rgba(248, 250, 252, 0.58);
  font-size: 14px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #0f172a;
}

.section {
  padding: 18px 0;
}

.section:first-of-type {
  padding-top: 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.policy-main {
  display: grid;
  gap: 14px;
}

.aside {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 14px 42px rgba(31, 41, 55, 0.05);
}

.panel.compact {
  padding: 20px;
}

.panel.tint {
  background: var(--blue-soft);
  border-color: #cfe4ff;
}

.panel.warning {
  background: var(--danger-soft);
  border-color: #f0cdcd;
}

.panel.success {
  background: var(--success-soft);
  border-color: #ccebd9;
}

.panel h2:last-child,
.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

p,
li {
  color: var(--ink-soft);
  line-height: 1.72;
}

p {
  margin: 10px 0;
}

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

strong {
  color: var(--ink);
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.list-clean {
  list-style: none;
  padding-left: 0;
}

.list-clean li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.list-clean li:first-child {
  border-top: 0;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-warm);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(93, 162, 246, 0.16);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue-strong);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

button:hover {
  background: #ad3434;
}

.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-faint);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .header-inner,
  .content,
  .footer-inner {
    width: min(100% - 28px, 1080px);
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    margin-top: 16px;
    padding: 34px 24px;
  }

  .hero::after {
    display: none;
  }

  .grid,
  .aside {
    grid-template-columns: 1fr;
  }

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