:root {
  --bg: #f8f4ea;
  --paper: #fffdf8;
  --paper-soft: #fff7e7;
  --text: #2f2a24;
  --text-soft: #645a4d;
  --line: #e8dece;
  --gold: #f2c14f;
  --gold-deep: #e2ad2f;
  --mint: #dceee5;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(83, 64, 33, 0.08);
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "DM Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 100% 0%, #fff4d6 0%, transparent 38%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 9px;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 234, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 222, 206, 0.8);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

.brand-dot {
  color: var(--gold-deep);
  font-size: 1.35rem;
}

.main-nav {
  display: inline-flex;
  gap: 1.15rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1.18rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid #9bbcf2;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(180deg, #f8d474, var(--gold));
  color: #302208;
  box-shadow: 0 8px 22px rgba(149, 109, 27, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f8dd8d, var(--gold-deep));
}

.btn-secondary {
  border-color: var(--line);
  background: #fffaf0;
}

.btn-secondary:hover {
  background: #fff4dd;
}

.section {
  padding: 4.4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 252, 243, 0.95), rgba(255, 249, 236, 0.75));
  border-block: 1px solid rgba(232, 222, 206, 0.7);
}

.hero {
  padding-top: 5.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-soft);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.14;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.lead {
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.panel,
.card,
.step,
.faq details,
.metric,
.cta-band,
.sitemap,
.page-nav {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: -56px;
  right: -44px;
  width: 170px;
  height: 170px;
  background: rgba(242, 193, 79, 0.15);
  border-radius: 50%;
}

.panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  position: relative;
}

.panel li + li {
  margin-top: 0.62rem;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card,
.step,
.metric {
  padding: 1.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  border: 1px solid #d8c8a4;
  background: #fff7e8;
  color: #735620;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-head {
  margin-bottom: 1.25rem;
}

.step-number {
  color: #886324;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.sitemap {
  padding: 1rem;
}

.sitemap strong {
  display: block;
  margin-bottom: 0.45rem;
}

.sitemap ul {
  margin: 0;
  padding-left: 1rem;
}

.sitemap li + li {
  margin-top: 0.35rem;
}

.page-nav {
  padding: 0.65rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.page-nav a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fffaf0;
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.page-nav a.active {
  background: #ffe9b8;
  border-color: #e5bf66;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  padding: 0.92rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin-top: 0.68rem;
}

.metric {
  background: linear-gradient(180deg, #fffdf8, #fff6df);
}

.metric .value {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
  color: #5d4718;
  margin-bottom: 0.4rem;
}

.cta-band {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, #fffaf0, #fff3d4);
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-wrap {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-wrap p,
.footer-wrap a {
  color: var(--text-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.muted {
  color: #887a67;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 930px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    backdrop-filter: none;
  }

  .nav-wrap {
    min-height: auto;
    flex-wrap: wrap;
    padding: 0.78rem 0;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
