:root {
  --ink: #160b04;
  --ember: #ff7a1a;
  --ember-deep: #d94708;
  --sun: #ffb23f;
  --cream: #fff6e7;
  --muted: rgba(255, 246, 231, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--ember-deep);
  overscroll-behavior: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--cream);
  background-color: var(--ember-deep);
  background:
    radial-gradient(circle at 50% 120%, rgba(22, 11, 4, 0.78), transparent 42%),
    radial-gradient(circle at 18% 18%, rgba(255, 178, 63, 0.82), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(255, 244, 210, 0.22), transparent 24%),
    linear-gradient(135deg, #ff9d2e 0%, var(--ember) 38%, var(--ember-deep) 100%),
    var(--ember-deep);
}

html {
  scroll-behavior: smooth;
}

body::before {
  position: fixed;
  inset: -20vmax;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0 48px,
      rgba(43, 16, 2, 0.18) 48px 70px,
      transparent 70px 118px
    );
  mix-blend-mode: multiply;
  opacity: 0.72;
  transform: rotate(-4deg);
}

body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(22, 11, 4, 0.16) 56%, rgba(22, 11, 4, 0.42) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px;
}

.hero {
  position: relative;
  width: min(100%, 1120px);
  min-height: min(calc(100dvh - 56px), 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px 48px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: auto 8% 4% 8%;
  height: 34%;
  content: "";
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(22, 11, 4, 0.46), transparent 68%);
  filter: blur(34px);
}

.brand {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  color: var(--cream);
  background: rgba(22, 11, 4, 0.28);
  border: 1px solid rgba(255, 246, 231, 0.18);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 18px 48px rgba(92, 29, 0, 0.22);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(91, 24, 0, 0.34);
}

.hero-copy {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 74px);
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 34px rgba(65, 20, 0, 0.34);
}

.subhead {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.26;
  font-weight: 500;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 238px;
  margin-top: 44px;
  padding: 16px 26px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 999px;
  font-size: 21px;
  font-weight: 760;
  box-shadow:
    inset 0 -2px 0 rgba(22, 11, 4, 0.12),
    0 20px 48px rgba(90, 25, 0, 0.35);
}

.legal {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  color: rgba(255, 246, 231, 0.62);
  font-size: 14px;
  font-weight: 600;
}

.legal a:hover {
  color: var(--cream);
}

.policy-section {
  width: min(100%, 840px);
  margin: 28px auto;
  padding: 34px;
  color: var(--cream);
  background: rgba(22, 11, 4, 0.34);
  border: 1px solid rgba(255, 246, 231, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(90, 25, 0, 0.22);
}

.policy-page {
  align-items: stretch;
  padding-top: 104px;
}

.policy-brand {
  position: fixed;
  z-index: 3;
}

.legal-document {
  margin-top: 0;
}

.legal-document h1,
.policy-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
}

.legal-document h2 {
  margin-top: 30px;
  font-size: 22px;
}

.policy-section .updated {
  color: var(--ink);
  font-weight: 800;
}

.policy-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.policy-section a {
  color: var(--cream);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-contact {
  margin: 26px 0;
  font-size: 22px;
}

@media (max-width: 700px) {
  .page-shell {
    min-height: 100dvh;
    padding: 12px;
  }

  .hero {
    min-height: calc(100dvh - 24px);
    padding: 78px 18px 36px;
    border-radius: 24px;
  }

  .brand {
    top: 30px;
  }

  .hero-copy {
    margin-top: 36px;
  }

  .download-button {
    min-width: 196px;
    margin-top: 34px;
    padding: 14px 22px;
    font-size: 19px;
  }

  .policy-section {
    padding: 24px;
    border-radius: 18px;
  }

  .policy-page {
    padding-top: 96px;
  }
}
