:root {
  --bg: #07060b;
  --bg-elevated: #12101a;
  --text: #f5f3ff;
  --muted: rgba(245, 243, 255, 0.58);
  --gold: #d4af6a;
  --gold-soft: rgba(212, 175, 106, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 6, 11, 0.72);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #f0e2c0, var(--gold));
  color: #1a1408;
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 72px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto;
  height: 520px;
  background: radial-gradient(circle at 30% 20%, rgba(120, 90, 200, 0.22), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(212, 175, 106, 0.12), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 500;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 28px;
}

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

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.phone-stack {
  position: relative;
  min-height: 520px;
}

.phone {
  width: min(280px, 72vw);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-main {
  position: relative;
  z-index: 2;
  margin-left: auto;
}

.phone-secondary {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: min(220px, 58vw);
  opacity: 0.92;
  transform: rotate(-6deg);
  z-index: 1;
}

.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 12px;
  font-weight: 500;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stories {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.story-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.story-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0c0a12;
}

.story-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.story-card span {
  display: block;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  background: var(--bg-elevated);
}

.price-card.featured {
  border-color: rgba(212, 175, 106, 0.45);
  background: linear-gradient(180deg, rgba(212, 175, 106, 0.1), var(--bg-elevated));
}

.price-card h3 {
  margin: 0 0 6px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px 0;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  text-align: center;
  padding: 72px 0 96px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Legal pages */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  margin-top: 36px;
  font-size: 1.25rem;
}

.legal-page h3 {
  margin-top: 24px;
  color: var(--gold);
  font-size: 1rem;
}

.legal-page p,
.legal-page li {
  color: rgba(245, 243, 255, 0.82);
}

.legal-page ul {
  padding-left: 20px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

  .phone-stack {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .phone-secondary {
    position: static;
    transform: none;
  }

  .nav {
    display: none;
  }
}
