:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5a5a57;
  --accent: #8e6a2e;
  --accent-soft: #e8dfc8;
  --nav: #101312;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #6f5224;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(244, 243, 239, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.site-header-inner,
.page-shell,
.site-footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

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

.site-nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #4f3d1d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 28px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(17, 17, 17, 0.12);
}

.hero-mockup {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup img {
  width: min(100%, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 48px rgba(16, 19, 18, 0.18));
}

.section {
  padding: 28px 0 64px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.section-copy {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 62ch;
}

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

.feature-card,
.legal-card {
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 22px;
  padding: 22px;
}

.feature-card h3,
.legal-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

.legal-page {
  padding: 48px 0 72px;
}

.legal-card h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.legal-meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.15rem;
  color: var(--text);
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

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

  .hero {
    padding-top: 48px;
  }
}
