:root {
  color-scheme: dark;
  --gold: #d9ae5f;
  --gold-soft: #e8c98c;
  --ink: #0c0a09;
  --panel: rgba(17, 14, 12, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-gold: rgba(217, 174, 95, 0.24);
  --text: #f5f5f4;
  --muted: #a8a29e;
  --quiet: #78716c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 8% 5%, rgba(217, 174, 95, 0.16), transparent 28rem),
    radial-gradient(circle at 95% 8%, rgba(120, 113, 108, 0.13), transparent 28rem),
    linear-gradient(135deg, #0c0a09 0%, #181512 48%, #050505 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-shell > main {
  min-height: 0;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--gold-soft);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

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

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--gold-soft);
}

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

.button-secondary:hover {
  border-color: var(--line-gold);
}

.hero {
  display: grid;
  gap: 28px;
  padding: clamp(30px, 5vw, 54px) 0 clamp(30px, 4vw, 42px);
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(232, 201, 140, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(42px, 8vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  color: #fafaf9;
  font-size: 20px;
  line-height: 1.2;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.lead {
  max-width: 740px;
  font-size: 18px;
  line-height: 1.8;
}

.hero-panel,
.card,
.feature-card,
.plan-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.hero-panel {
  overflow: hidden;
  border-color: var(--line-gold);
  border-radius: 8px;
  padding: 22px;
}

.panel-stat-grid,
.grid,
.plans {
  display: grid;
  gap: 14px;
}

.panel-stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  padding: 14px;
}

.stat span,
.meta {
  display: block;
  color: var(--quiet);
  font-size: 12px;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.section {
  padding: 18px 0 42px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plans {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.feature-card,
.plan-card {
  border-radius: 8px;
  padding: 22px;
}

.feature-card,
.plan-card {
  min-height: 100%;
}

.plan-card.highlight {
  border-color: rgba(217, 174, 95, 0.5);
  background:
    linear-gradient(135deg, rgba(217, 174, 95, 0.14), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.price {
  margin: 14px 0 16px;
  color: #fafaf9;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.price-note {
  margin: -8px 0 12px;
  color: var(--gold-light);
  font-size: 13px;
  line-height: 1.5;
}

ul.clean {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

ul.clean li {
  position: relative;
  padding-left: 22px;
}

ul.clean li + li {
  margin-top: 10px;
}

ul.clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(217, 174, 95, 0.42);
}

.split {
  display: grid;
  gap: 20px;
}

.quote-panel {
  border: 1px solid rgba(217, 174, 95, 0.18);
  border-radius: 8px;
  background: rgba(217, 174, 95, 0.08);
  padding: 22px;
}

.legal-shell {
  padding-bottom: 42px;
}

.legal-hero {
  padding-bottom: 24px;
}

.legal-hero h1 {
  max-width: 980px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
    rgba(17, 14, 12, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: clamp(20px, 4vw, 34px);
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.legal-section h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  color: rgba(232, 201, 140, 0.88);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-section p {
  max-width: 940px;
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-meta {
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  color: var(--quiet);
  font-size: 14px;
}

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

@media (min-width: 760px) {
  .page-shell {
    display: flex;
    flex-direction: column;
  }

  .page-shell > main {
    flex: 1 0 auto;
  }

  .nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    min-height: min(620px, calc(100vh - 120px));
  }

  .split {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-top: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-subtitle {
    letter-spacing: 0.18em;
  }

  .panel-stat-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
