:root {
  --bg: #f4efe7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fffdf9;
  --text: #1f1a17;
  --muted: #6f655d;
  --accent: #b7791f;
  --accent-deep: #8b5e16;
  --border: rgba(58, 42, 25, 0.12);
  --shadow: 0 20px 50px rgba(58, 42, 25, 0.1);
  --max-width: 1120px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(223, 186, 120, 0.28), transparent 28%),
    radial-gradient(circle at bottom right, rgba(183, 121, 31, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  min-height: 100vh;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(244, 239, 231, 0.72);
  border-bottom: 1px solid rgba(58, 42, 25, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #f6db9f, #b7791f);
  color: #fffaf0;
  box-shadow: 0 10px 24px rgba(183, 121, 31, 0.24);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

main {
  padding: 32px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  min-height: 72vh;
}

.panel,
.hero-card,
.section-card,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  border-radius: 36px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(183, 121, 31, 0.1);
  color: var(--accent-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
}

h1 {
  margin-top: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 9ch;
}

.lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, #d29a38, #9f6818);
  color: #fffaf0;
  box-shadow: 0 12px 28px rgba(159, 104, 24, 0.24);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(58, 42, 25, 0.1);
}

.hero-card {
  border-radius: 36px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.94), rgba(255, 245, 227, 0.88)),
    var(--surface);
}

.metric {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(58, 42, 25, 0.08);
}

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

.metric span,
.hero-card p,
.feature p,
.legal-card p,
.legal-card li,
.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.section-card {
  border-radius: 32px;
  padding: clamp(28px, 3.5vw, 40px);
  margin-top: 28px;
}

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

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

.feature {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 42, 25, 0.08);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

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

.legal-layout {
  max-width: 860px;
  margin: 0 auto;
}

.legal-hero {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  margin-bottom: 22px;
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.legal-card {
  border-radius: 28px;
  padding: clamp(24px, 3vw, 34px);
  margin-bottom: 18px;
}

.legal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.site-footer {
  padding: 12px 0 40px;
}

.site-footer .page-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .feature-list,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .site-header .page-shell,
  .section-heading,
  .site-footer .page-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header .page-shell {
    padding: 14px 0;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding: 8px 12px;
  }

  main {
    padding-top: 22px;
  }

  .hero-copy,
  .hero-card,
  .section-card,
  .legal-hero,
  .legal-card {
    border-radius: 24px;
  }
}
