:root {
  color-scheme: light;
  --ink: #29231d;
  --muted: #74695d;
  --soft: #9a8d7e;
  --paper: #fffaf3;
  --card: #fffdf8;
  --warm: #f5eee5;
  --line: #e5d8c7;
  --accent: #9a641c;
  --accent-dark: #714511;
  --green: #2f624f;
  --shadow: 0 18px 50px rgba(75, 53, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 216, 199, 0.8);
  background: rgba(255, 250, 243, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero,
.section,
.legal-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  width: min(1500px, calc(100% - 48px));
  grid-template-columns: minmax(420px, 0.58fr) minmax(0, 1.42fr);
  gap: 36px;
  align-items: center;
  padding: 74px 0 62px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 76px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.lead {
  margin: 22px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.hero-art {
  width: min(100%, 980px);
  justify-self: end;
  border-radius: 22px;
  background: transparent;
  filter: drop-shadow(0 28px 54px rgba(87, 66, 42, 0.13));
  overflow: hidden;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 58px 0;
}

.section.intro {
  border-top: 1px solid var(--line);
}

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

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(75, 53, 28, 0.055);
}

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

.card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f1e4d2;
  color: var(--accent-dark);
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

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

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--warm);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  text-decoration: none;
}

.legal-page {
  padding: 58px 0 34px;
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.legal-page h2 {
  margin-top: 38px;
  font-size: 27px;
}

.legal-page .updated {
  margin-top: 12px;
  color: var(--soft);
}

.legal-page a {
  color: var(--accent-dark);
}

@media (max-width: 820px) {
  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .nav-links .optional {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 19px;
  }

  .hero,
  .section,
  .legal-page,
  .nav,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
