:root {
  --bg: #f6efe1;
  --bg-soft: #fdf9f0;
  --surface: rgba(255, 252, 246, 0.82);
  --surface-strong: rgba(255, 248, 238, 0.94);
  --ink: #15211f;
  --muted: #53615f;
  --line: rgba(21, 33, 31, 0.12);
  --teal: #12312f;
  --emerald: #1d5e58;
  --gold: #c28b2c;
  --gold-soft: rgba(194, 139, 44, 0.18);
  --shadow: 0 24px 70px rgba(18, 49, 47, 0.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 139, 44, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(29, 94, 88, 0.18), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 46%, #f1e7d5 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.page-glow-left {
  top: 8rem;
  left: -8rem;
  background: rgba(194, 139, 44, 0.22);
}

.page-glow-right {
  top: 20rem;
  right: -10rem;
  background: rgba(29, 94, 88, 0.24);
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

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

.brand span {
  display: grid;
  gap: 0.1rem;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a,
.text-link {
  text-decoration: none;
  color: var(--emerald);
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--teal);
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding-top: 3rem;
}

.hero-copy {
  animation: rise 700ms ease both;
}

.hero-panel {
  animation: rise 900ms ease both;
}

.eyebrow,
.panel-label,
.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--emerald);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin: 0.4rem 0 1.2rem;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0.35rem 0 1rem;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-size: 1.6rem;
}

.hero-text,
.section-heading,
.policy-card p,
.support-card p,
.app-card p,
.pillar-card p {
  color: var(--muted);
}

.hero-actions,
.card-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  color: #fffaf2;
  box-shadow: 0 12px 30px rgba(18, 49, 47, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal);
  border: 1px solid rgba(18, 49, 47, 0.16);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-highlights li,
.hero-panel-card,
.app-card,
.pillar-card,
.policy-card,
.support-card,
.legal-shell {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-highlights li {
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.hero-highlights strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel-card {
  border-radius: min(3.2rem, 12vw);
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.88), rgba(244, 235, 219, 0.86)),
    radial-gradient(circle at top right, rgba(194, 139, 44, 0.2), transparent 32%);
}

.panel-app {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(18, 49, 47, 0.08);
}

.panel-app img,
.app-card-header img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(18, 49, 47, 0.18);
}

.panel-app h2 {
  font-size: 1.55rem;
  margin: 0;
}

.panel-app p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.8rem;
}

.app-grid,
.pillar-grid,
.policy-band {
  display: grid;
  gap: 1.3rem;
}

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

.app-card,
.pillar-card,
.policy-card,
.support-card,
.legal-shell {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.app-card-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink);
}

.feature-list li + li {
  margin-top: 0.55rem;
}

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

.pillar-card {
  background:
    linear-gradient(180deg, var(--surface-strong), rgba(255, 251, 245, 0.82)),
    linear-gradient(135deg, rgba(194, 139, 44, 0.1), transparent);
}

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

.policy-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(247, 240, 227, 0.92)),
    linear-gradient(135deg, rgba(29, 94, 88, 0.08), transparent);
}

.support-card {
  background:
    linear-gradient(180deg, rgba(21, 49, 47, 0.98), rgba(19, 60, 55, 0.96)),
    linear-gradient(135deg, rgba(194, 139, 44, 0.12), transparent);
  color: #fffaf2;
}

.support-card .eyebrow,
.support-card p,
.support-card a {
  color: rgba(255, 250, 242, 0.88);
}

.support-card a {
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 0 2.5rem;
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-page {
  padding: 2rem 0 4rem;
}

.legal-shell {
  width: min(calc(100% - 2rem), 900px);
  margin: 2rem auto 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(248, 242, 230, 0.92)),
    radial-gradient(circle at top right, rgba(194, 139, 44, 0.14), transparent 30%);
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.legal-shell ul {
  padding-left: 1.15rem;
}

.legal-shell li + li {
  margin-top: 0.45rem;
}

.legal-meta {
  font-size: 0.92rem;
  color: var(--emerald);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .app-grid,
  .pillar-grid,
  .policy-band {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-top: 1rem;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .app-card,
  .pillar-card,
  .policy-card,
  .support-card,
  .legal-shell {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .hero-panel-card {
    padding: 1rem;
    border-radius: 24px;
  }
}
