:root {
  --bg: #0d1119;
  --bg-soft: #141b27;
  --surface: rgba(21, 27, 38, 0.72);
  --surface-2: rgba(26, 34, 48, 0.9);
  --line: rgba(141, 154, 180, 0.22);
  --text: #f3f6fc;
  --muted: #b3bed2;
  --accent: #ff7a1a;
  --accent-2: #ff5400;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --surface-highlight: rgba(255, 255, 255, 0.05);
}

body.light {
  --bg: #edf1f8;
  --bg-soft: #dae2f1;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-2: rgba(255, 255, 255, 0.92);
  --line: rgba(66, 85, 122, 0.22);
  --text: #172033;
  --muted: #4d5c7c;
  --shadow: 0 16px 38px rgba(20, 37, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 460px at 50% -120px, rgba(255, 122, 26, 0.24), transparent 58%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 80%);
  padding: max(20px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  display: flex;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.bg-glow--one {
  top: -120px;
  left: -80px;
  background: #ff6d00;
}

.bg-glow--two {
  bottom: -180px;
  right: -80px;
  background: #1f88ff;
}

.page {
  width: min(1100px, 100%);
  display: grid;
  gap: clamp(12px, 1.8vw, 20px);
  position: relative;
  z-index: 1;
}

.hero,
.features {
  border: 1px solid var(--line);
  border-radius: clamp(12px, 2vw, 18px);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(14px, 3.2vw, 24px);
  background: linear-gradient(155deg, rgba(255, 122, 26, 0.2), rgba(19, 24, 36, 0.82) 42%), var(--surface);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: heroShine 7.8s ease-in-out infinite;
  pointer-events: none;
}

.hero__top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffca9d;
  background: rgba(255, 122, 26, 0.16);
  border: 1px solid rgba(255, 122, 26, 0.42);
}

h1 {
  margin: clamp(12px, 2vw, 16px) 0 8px;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 21px);
  max-width: 68ch;
  line-height: 1.5;
}

.features {
  padding: clamp(14px, 2.2vw, 20px) clamp(14px, 2.2vw, 20px) clamp(10px, 1.5vw, 14px);
  background: var(--surface-2);
}

.features.policy {
  display: block;
}

.policy__section {
  padding-bottom: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(12px, 1.8vw, 18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.policy__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy__title {
  margin: 0;
  font-size: clamp(17px, 1.65vw, 24px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  text-wrap: balance;
}

.policy__title + .policy__subtitle,
.policy__title + p {
  margin-top: 0.65em;
}

.policy__subtitle {
  margin: 1.1em 0 0;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.policy__section > p:first-child {
  margin-top: 0;
}

.policy__section p {
  margin: 0.7em 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
  max-width: 72ch;
  text-wrap: pretty;
}

.policy__defs {
  margin: 0.75em 0 0;
  padding: 0;
  max-width: 72ch;
}

.policy__defs dt {
  margin: 0.85em 0 0;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 700;
  color: var(--text);
}

.policy__defs dt:first-child {
  margin-top: 0.35em;
}

.policy__defs dd {
  margin: 0.35em 0 0;
  padding: 0 0 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
}

.policy__list {
  margin: 0.65em 0 0;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
  max-width: 72ch;
}

.policy__list li {
  margin: 0.35em 0 0;
}

.policy__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy__link:hover {
  color: #ffb57e;
}

body.light .policy__section p {
  color: var(--muted);
}

body.light .policy__defs dd,
body.light .policy__list {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroShine {
  0% {
    transform: translateX(-120%);
  }
  45% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 820px) {
  body {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .bg-glow {
    width: 300px;
    height: 300px;
    filter: blur(64px);
  }
}

@media (max-width: 620px) {
  body {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .hero,
  .features {
    border-radius: 14px;
  }

  .hero__top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .badge {
    font-size: 11px;
    padding: 5px 8px;
  }

  h1 {
    letter-spacing: -0.01em;
  }
}

@media (max-width: 360px) {
  .page {
    gap: 10px;
  }
}
