:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-alt: #111827;
  --surface: rgba(17, 24, 39, 0.82);
  --surface-strong: rgba(15, 23, 42, 0.96);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #f7b955;
  --accent-strong: #ff9f1c;
  --accent-soft: rgba(247, 185, 85, 0.16);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247, 185, 85, 0.14), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(255, 159, 28, 0.12), transparent 28%),
    linear-gradient(180deg, #070b10 0%, var(--bg) 42%, #090d13 100%);
  overflow-x: hidden;
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
  position: relative;
  z-index: 1;
}

.page-shell.narrow {
  width: min(840px, calc(100% - 32px));
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  opacity: 0.65;
}

.bg-orb-1 {
  top: -120px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(247, 185, 85, 0.24);
}

.bg-orb-2 {
  right: -100px;
  top: 180px;
  width: 320px;
  height: 320px;
  background: rgba(255, 159, 28, 0.16);
}

.hero,
.panel,
.card,
.footer-note {
  animation: rise 0.7s ease both;
}

.hero {
  padding: 52px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.4rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 16px;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 18px 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.button,
.text-link,
.back-link {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button {
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.button:hover,
.text-link:hover,
.back-link:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111827;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
}

.hero-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.card,
.panel,
.footer-note {
  background: linear-gradient(180deg, rgba(19, 28, 41, 0.94), rgba(12, 18, 28, 0.94));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card {
  padding: 18px;
  min-height: 160px;
}

.card-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card strong {
  display: block;
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.card p,
.panel p,
.footer-note p,
.bullets,
.steps {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.panel {
  padding: 24px;
}

.panel.accent {
  background: linear-gradient(135deg, rgba(247, 185, 85, 0.16), rgba(19, 28, 41, 0.95));
}

.steps,
.bullets {
  padding-left: 20px;
}

.steps li + li,
.bullets li + li {
  margin-top: 10px;
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-row span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.text-link,
.back-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 700;
  margin-top: 18px;
}

.footer-note {
  margin-top: 18px;
  padding: 18px 24px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }

  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  .page-shell.narrow {
    width: min(100% - 20px, 840px);
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(247, 185, 85, 0.12), transparent 30%),
      linear-gradient(180deg, #070b10 0%, var(--bg) 100%);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .panel,
  .card,
  .footer-note {
    border-radius: 20px;
  }

  .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
