:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-raised: #1a1a1d;
  --text: #f5f3ef;
  --muted: #aaa7a1;
  --line: #2c2c30;
  --accent: #ff4d3d;
  --accent-dark: #d82f23;
  --max-width: 1120px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 0%, rgba(255, 77, 61, 0.11), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(79, 13, 134, 0.38);
}

.header-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--text);
}

.hero {
  max-width: 890px;
  padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 13vw, 160px);
}

.eyebrow,
.section-number {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--muted);
  font-weight: 500;
}

h2 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 38px;
  color: #c8c5bf;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.email-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(255, 77, 61, 0.38);
  outline-offset: 4px;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: #49494e;
  background: rgba(255, 255, 255, 0.055);
}

.section {
  padding: clamp(70px, 10vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 90px 1fr;
  margin-bottom: 42px;
}

.section-heading > div > p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-left: 90px;
}

.card {
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.purchase-panel {
  position: relative;
}

.purchase-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 44px;
  margin-left: 90px;
}

.purchase-content ol {
  margin: 20px 0 0;
  padding-left: 22px;
}

.purchase-content li {
  margin-bottom: 13px;
  padding-left: 7px;
  color: #cfccc6;
}

.note {
  align-self: start;
  padding: 27px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
}

.note strong {
  display: block;
  margin-bottom: 8px;
}

.note p {
  margin-bottom: 0;
  color: var(--muted);
}

.note a,
.site-footer a {
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.contact {
  text-align: center;
}

.contact .section-number {
  margin-bottom: 18px;
}

.contact p:not(.section-number) {
  max-width: 640px;
  margin: 18px auto 28px;
  color: var(--muted);
}

.email-link {
  color: var(--text);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 72px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .section-heading,
  .purchase-content {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .card-grid,
  .purchase-content {
    margin-left: 0;
  }

  .section-heading {
    gap: 0;
  }

  .section-number {
    margin-bottom: 13px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .purchase-content {
    gap: 32px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 26px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* Privacy policy page */
.policy-header {
  min-height: 84px;
}

.back-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--text);
}

.policy-main {
  max-width: 820px;
  padding: clamp(70px, 10vw, 120px) 0;
}

.policy-intro {
  padding-bottom: clamp(54px, 8vw, 82px);
}

.policy-intro h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.effective-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-summary {
  margin-top: 34px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 77, 61, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 77, 61, 0.07);
  color: #d7d3cd;
}

.policy-summary strong {
  color: var(--text);
}

.policy-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.policy-section p,
.policy-section li {
  color: #bbb8b2;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  padding-left: 22px;
}

.policy-section li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.policy-section a {
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
