:root {
  color-scheme: light;
  --ink: #1f1d1a;
  --muted: #6d6860;
  --line: #e9e3da;
  --paper: #fffdf9;
  --soft: #f6f1ea;
  --accent: #9b5c38;
  --accent-dark: #5d3523;
  --blue: #2f5e88;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 42px;
  overflow: hidden;
}

.hero-copy {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 0 28px;
  text-align: center;
}

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

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

h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(46px, 7vw, 76px);
  overflow-wrap: break-word;
}

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

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

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

.hero-result {
  display: block;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 28px 80px rgba(31, 29, 26, 0.13);
}

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

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
}

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

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature h3 {
  font-size: 22px;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-layout {
  max-width: 840px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

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

.legal-layout h2 {
  margin-top: 34px;
  font-size: 26px;
}

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

.legal-layout ul {
  padding-left: 22px;
}

.updated {
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}

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

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero {
    padding-top: 18px;
  }

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

@media (max-width: 560px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
  }

  h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  .lead {
    font-size: 17px;
  }

  .hero-result {
    aspect-ratio: 4 / 5;
  }

  .button {
    text-align: center;
  }
}
