:root {
  --bg: #07131a;
  --bg-deep: #041018;
  --surface: rgba(8, 24, 33, 0.72);
  --surface-strong: rgba(11, 31, 42, 0.96);
  --line: rgba(212, 160, 57, 0.18);
  --line-strong: rgba(212, 160, 57, 0.34);
  --text: #f4efe5;
  --muted: #b4c0c7;
  --gold: #d4a039;
  --gold-soft: #f0d28c;
  --teal: #8ed2c9;
  --emerald: #74c69d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 160, 57, 0.17), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(142, 210, 201, 0.12), transparent 24%),
    linear-gradient(180deg, #091821 0%, #051018 46%, #030b11 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
  pointer-events: none;
}

.page-shell::before {
  width: 280px;
  height: 280px;
  top: 110px;
  left: -90px;
  background: radial-gradient(circle, rgba(212, 160, 57, 0.22), transparent 68%);
}

.page-shell::after {
  width: 340px;
  height: 340px;
  top: 520px;
  right: -130px;
  background: radial-gradient(circle, rgba(116, 198, 157, 0.14), transparent 68%);
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 11, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(212, 160, 57, 0.22), rgba(116, 198, 157, 0.14));
  border: 1px solid rgba(212, 160, 57, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--gold-soft);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav .button {
  color: #08131a;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #e0b45a, #f3d490);
  box-shadow: 0 14px 34px rgba(212, 160, 57, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 78px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(212, 160, 57, 0.22);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(212, 160, 57, 0.07);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.legal-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  max-width: 10ch;
}

.hero h1 span {
  color: var(--gold-soft);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 61ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-notes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.card,
.legal-card {
  background: linear-gradient(180deg, rgba(12, 32, 42, 0.92), rgba(8, 20, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto auto 16px 18px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212, 160, 57, 0.16), transparent 68%);
  pointer-events: none;
}

.phone-shell {
  position: relative;
  border-radius: 30px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #08131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-shell::before {
  content: "";
  position: absolute;
  width: 38%;
  height: 18px;
  top: 8px;
  left: 31%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.screen {
  min-height: 540px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(212, 160, 57, 0.14), transparent 30%),
    linear-gradient(180deg, #091821, #07131a 64%, #050f15);
  padding: 26px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.screen-top,
.mini-card,
.message,
.screen-footer {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
}

.screen-top {
  padding: 16px;
}

.screen-top strong,
.mini-card strong,
.message strong {
  display: block;
}

.screen-top span,
.mini-card p,
.message p,
.screen-footer span {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-card {
  padding: 14px;
}

.message {
  padding: 14px;
}

.message.user {
  background: rgba(212, 160, 57, 0.11);
  border-color: rgba(212, 160, 57, 0.18);
  margin-left: 26px;
}

.message.ai {
  margin-right: 22px;
}

.screen-footer {
  margin-top: auto;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.section {
  padding: 34px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.section-heading p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

.feature-grid,
.stats-grid,
.policy-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 160, 57, 0.24);
  background: rgba(212, 160, 57, 0.08);
  color: var(--gold-soft);
  font-weight: 800;
}

.card h3,
.policy-card h3,
.legal-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p,
.policy-card p,
.legal-copy p,
.legal-copy li,
.footer-copy p {
  color: var(--muted);
}

.highlight {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(16, 38, 50, 0.96), rgba(9, 22, 30, 0.96)),
    rgba(255, 255, 255, 0.02);
}

.stat {
  text-align: left;
}

.stat strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--gold-soft);
  line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.stat span {
  display: block;
  color: var(--muted);
  margin-top: 10px;
}

.story-block {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.quote-card {
  position: relative;
  padding-top: 66px;
}

.quote-mark {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(212, 160, 57, 0.24);
}

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

.bullet-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 35, 46, 0.94), rgba(8, 20, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.policy-card a {
  color: var(--gold-soft);
  font-weight: 700;
}

.cta {
  padding: 42px 0 64px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 30px;
}

.cta-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.cta-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 48ch;
}

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

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px 0 40px;
  background: rgba(0, 0, 0, 0.08);
}

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

.footer-copy h3,
.footer-links h4 {
  margin: 0 0 10px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

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

.footer-note {
  color: #89a0aa;
  font-size: 0.9rem;
  margin-top: 18px;
}

.legal-page {
  min-height: 100vh;
  padding-bottom: 44px;
}

.legal-hero {
  padding: 70px 0 26px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.legal-hero p,
.legal-meta {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
}

.legal-card {
  padding: 24px;
}

.legal-nav a {
  display: block;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav .active {
  color: var(--gold-soft);
}

.legal-copy section + section {
  margin-top: 24px;
}

.legal-copy h2 {
  color: var(--text);
}

.legal-copy ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.legal-copy strong {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .story-block,
  .legal-layout,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stats-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 44px;
  }

  .feature-grid,
  .stats-grid,
  .policy-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .card,
  .legal-card,
  .policy-card,
  .cta-panel {
    border-radius: 22px;
  }

  .screen {
    min-height: auto;
  }

  .hero h1 {
    max-width: none;
  }
}