* {
  box-sizing: border-box;
}

html {
  background: #f4ead8;
  color: #2b2620;
}

body.public-page {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(180deg, #f4ead8 0%, #fff8ec 48%, #e8e0cc 100%);
  color: #2b2620;
  -webkit-font-smoothing: antialiased;
}

.site-hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  color: #f7f1e6;
  background-image:
    linear-gradient(180deg, rgba(29, 40, 28, 0.46) 0%, rgba(29, 40, 28, 0.16) 38%, rgba(43, 38, 32, 0.76) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, center);
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  color: #f7f1e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav-links a,
.scene-links a,
.text-link {
  color: #2f6b47;
  text-decoration-color: rgba(47, 107, 71, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-hero .nav-links a {
  color: #f7f1e6;
  text-decoration-color: rgba(247, 241, 230, 0.42);
}

a:hover {
  text-decoration-color: currentColor;
}

.hero-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 72px;
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0d29a;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.25rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.34);
}

.hero-copy {
  max-width: 690px;
  margin: 18px 0 0;
  color: #fff8ec;
  font-size: 1.18rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.36);
}

.page-main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.page-main section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(80, 93, 65, 0.24);
}

.page-main section:first-child {
  padding-top: 0;
}

.page-main section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  color: #315941;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

code {
  color: #6c4b1f;
  background: rgba(224, 164, 88, 0.12);
  border-radius: 4px;
  padding: 0 4px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 0 0 0 16px;
  border-left: 3px solid #e0a458;
}

.action-row,
.scene-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #4f7f52;
  color: #fff8ec;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(61, 92, 58, 0.18);
}

.button:hover {
  background: #3f6f49;
  text-decoration: none;
}

.quiet-note {
  margin-top: 18px;
  color: #6b5f4f;
  font-size: 0.95rem;
}

.license-note {
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(80, 93, 65, 0.24);
  color: #4b4338;
  font-size: 0.95rem;
}

.site-footer {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
  color: #5d5143;
  font-size: 0.92rem;
}

.site-footer a {
  color: #2f6b47;
}

@media (max-width: 720px) {
  .site-hero {
    min-height: 520px;
  }

  .site-nav {
    align-items: flex-start;
    padding-top: 18px;
  }

  .brand-link {
    font-size: 1.08rem;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.94rem;
  }

  .hero-inner {
    padding: 104px 0 46px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .page-main {
    padding: 36px 0 52px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
