:root {
  color-scheme: light;
  --ink: #2d1b10;
  --muted: #6f5846;
  --paper: #fffaf2;
  --paper-deep: #f4e7d5;
  --card: #fffdf8;
  --line: #dbc6aa;
  --accent: #9f3f1d;
  --accent-dark: #6f260f;
  --green: #365b3b;
  --shadow: 0 18px 50px rgba(71, 37, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(221, 163, 85, 0.18), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 0.5rem;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid rgba(159, 63, 29, 0.18);
  background: rgba(255, 250, 242, 0.94);
}

.nav-wrap {
  width: min(1120px, calc(100% - 2rem));
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

main {
  display: block;
}

.landing-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.hero {
  overflow: hidden;
  border: 1px solid rgba(111, 38, 15, 0.2);
  border-radius: 1.5rem;
  background: #2c160a;
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  aspect-ratio: 1842 / 854;
  min-height: 18rem;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(26, 11, 4, 0.82) 100%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3.5rem);
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.2rem, 4vw, 3.2rem);
  z-index: 1;
  margin: 0;
  color: #fff9ed;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.intro {
  width: min(850px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 1rem 2.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro h2,
.legal-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.intro-copy {
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0 3rem;
}

.feature-card {
  min-height: 11rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.88);
  padding: 1.35rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 1.25rem;
  background: var(--ink);
  color: #fff8ed;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.link-panel h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.link-panel p {
  margin: 0;
  color: #e8d8c5;
}

.button-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button-link {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  padding: 0.65rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button-link:hover,
.button-link:focus-visible {
  border-color: white;
  background: white;
  color: var(--ink);
}

.legal-main {
  width: min(820px, calc(100% - 2rem));
  margin: clamp(2rem, 6vw, 5rem) auto;
}

.legal-header {
  border-bottom: 2px solid var(--line);
  padding-bottom: 2rem;
}

.updated {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.legal-section {
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

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

.legal-section h2 {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  line-height: 1.25;
}

.legal-section h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1.05rem;
}

.legal-section p,
.legal-section ul {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.legal-section li + li {
  margin-top: 0.55rem;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--paper-deep);
  padding: 1rem 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #2d1b10;
  color: #eadcca;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
}

.site-footer a {
  color: #fff7e9;
}

@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-wrap,
  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }

  .landing-main {
    margin-top: 1rem;
  }

  .hero-media {
    min-height: 16rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
