:root {
  --bg: #f5efe6;
  --bg-accent: #efe3d1;
  --surface: rgba(255, 251, 245, 0.84);
  --surface-strong: rgba(255, 251, 245, 0.94);
  --border: rgba(123, 98, 62, 0.18);
  --text: #201912;
  --text-muted: #65574a;
  --gold: #b78b42;
  --gold-soft: #d8c09a;
  --shadow: 0 18px 48px rgba(42, 31, 16, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1120px;
  --nav-height: 78px;
  --font-sans: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top right, rgba(215, 188, 145, 0.34), transparent 28%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.62), transparent 24%),
    linear-gradient(180deg, #f7f3ed 0%, var(--bg) 52%, #f1e6d5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(300deg, rgba(183, 139, 66, 0.08), transparent 28%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(247, 243, 237, 0.72);
  border-bottom: 1px solid rgba(123, 98, 62, 0.08);
}

.site-header__inner {
  width: min(calc(100% - 32px), var(--content-width));
  min-height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(42, 31, 16, 0.16);
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__tag {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.header-links a:hover,
.header-links a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transform: translateY(-1px);
}

.header-links .is-active {
  background: rgba(183, 139, 66, 0.14);
  color: var(--text);
}

.main {
  padding: 42px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.panel {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(183, 139, 66, 0.12);
  color: #8a6428;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section-header h1,
.section-header h2 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p,
.section-header p,
.card p,
.faq p,
.policy p,
.policy li,
.support-list li {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-actions,
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.button-link {
  color: #17120c;
  background: linear-gradient(180deg, #efd8b4, #d7b274);
  box-shadow: 0 14px 28px rgba(183, 139, 66, 0.22);
}

.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(183, 139, 66, 0.28);
}

.ghost-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(123, 98, 62, 0.14);
}

.ghost-link:hover,
.ghost-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
}

.hero__visual {
  padding: 24px;
  display: flex;
  align-items: stretch;
}

.hero-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 35%),
    linear-gradient(150deg, #1f1a15 0%, #3b3128 48%, #816137 100%);
  padding: 28px;
  color: #f8f2e9;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.hero-card h2 {
  margin: 10px 0 10px;
  font-size: 1.9rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-card p {
  max-width: 34ch;
  color: rgba(248, 242, 233, 0.82);
}

.metric-grid,
.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.metric {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(123, 98, 62, 0.12);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.56));
  border: 1px solid rgba(123, 98, 62, 0.12);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.section {
  margin-top: 24px;
  padding: 34px;
}

.section-header {
  max-width: 70ch;
  margin-bottom: 24px;
}

.section-header h2,
.section-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.support-list,
.policy-list {
  display: grid;
  gap: 14px;
  padding-left: 22px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(123, 98, 62, 0.12);
}

.faq h3,
.policy h2,
.policy h3 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.policy h3:not(:first-child) {
  margin-top: 22px;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.policy-blocks {
  display: grid;
  gap: 18px;
}

.policy {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(123, 98, 62, 0.12);
}

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

.callout {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(242, 227, 201, 0.6), rgba(255, 255, 255, 0.52));
  border: 1px solid rgba(183, 139, 66, 0.2);
}

.callout h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.footer {
  padding: 28px 0 44px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.footer__inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

@media (max-width: 980px) {
  .hero,
  .support-layout,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .section,
  .hero__visual {
    padding: 26px;
  }

  .hero h1,
  .section-header h1,
  .section-header h2 {
    line-height: 1;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-links {
    width: 100%;
    justify-content: flex-start;
  }

  .main {
    padding-top: 28px;
  }

  .brand__tag {
    font-size: 0.84rem;
  }

  .hero-card h2 {
    font-size: 1.55rem;
  }

  .hero p,
  .section-header p,
  .card p,
  .faq p,
  .policy p,
  .policy li,
  .support-list li {
    font-size: 1rem;
  }
}
