:root {
  --bg: #f6f2ea;
  --paper: #fffdfa;
  --ink: #181512;
  --muted: #6f665d;
  --line: rgba(24, 21, 18, 0.12);
  --accent: #c7862f;
  --accent-strong: #9f6221;
  --dark: #1f1a15;
  --shadow: 0 24px 80px rgba(27, 19, 10, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 134, 47, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(31, 26, 21, 0.08), transparent 32%),
    var(--bg);
  line-height: 1.6;
}

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

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

.shell {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 234, 0.88);
  border-bottom: 1px solid rgba(24, 21, 18, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 16px 0;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.site-brand__eyebrow,
.section__eyebrow,
.hero__eyebrow,
.hero__panel-label,
.section__note-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent-strong);
}

.site-brand__title {
  font-size: 16px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.site-nav__link {
  font-size: 14px;
  color: var(--muted);
}

.site-nav__link:hover,
.site-header__cta:hover,
.site-footer__links a:hover,
.related-link:hover {
  color: var(--accent-strong);
}

.site-header__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.site-header__cta,
.button--primary {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 18px 40px rgba(31, 26, 21, 0.18);
}

.button--secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button--full {
  width: 100%;
}

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

.hero {
  padding: 52px 0 26px;
}

.hero__grid,
.section__grid,
.site-footer__inner {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.hero__content,
.hero__panel,
.section__note,
.related-box,
.info-card {
  background: rgba(255, 253, 250, 0.86);
  border: 1px solid rgba(24, 21, 18, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 38px;
}

.hero__content h1,
.section h2 {
  margin: 10px 0 16px;
  line-height: 1.05;
  font-size: clamp(34px, 4.8vw, 58px);
}

.hero__lead,
.info-card p,
.faq-item p,
.section__note,
.related-box,
.site-footer {
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(199, 134, 47, 0.16), transparent 30%);
}

.metric-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(31, 26, 21, 0.04);
}

.metric__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.metric__label {
  font-size: 13px;
  color: var(--muted);
}

.hero__panel-box,
.section__note,
.related-box {
  padding: 24px;
}

.hero__panel-box h2,
.section__note h2,
.related-box h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.section {
  padding: 26px 0;
}

.section--muted {
  padding: 18px 0 32px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.check-list li,
.related-link,
.faq-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

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

.info-card {
  padding: 24px;
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
}

.related-links {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.related-link {
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  padding: 18px 0 42px;
}

.site-footer__inner {
  align-items: end;
}

.site-footer__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero__grid,
  .section__grid,
  .site-footer__inner,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 28px, 1160px);
  }

  .hero__content,
  .hero__panel,
  .section__note,
  .related-box,
  .info-card {
    padding: 22px;
  }

  .hero__actions,
  .site-footer__links {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .site-header__cta {
    width: 100%;
  }
}
