:root {
  --bg: #faf9f5;
  --surface: #f5f4ef;
  --surface-soft: #faf9f5;
  --ink: #3d3929;
  --muted: #6e6d68;
  --line: #dad9d4;
  --accent: #c96442;
  --accent-soft: #f5f4ef;
  --brand: #c96442;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 8px 18px;
  color: var(--ink);
  background: rgba(245, 244, 239, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-header-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header-link {
  opacity: 0.96;
}

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

.site-header-call {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand);
  border: 1px solid #a84f22;
  color: #fff !important;
  font-weight: 800 !important;
}

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 30px 22px 72px;
}

.back-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 14px;
}

.back-link:hover {
  color: #a84f22;
  text-decoration: underline;
}

.legal-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-header {
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

h1 {
  margin: 6px 0 4px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 24px 30px 30px;
}

.section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
}

.section + .section {
  margin-top: 10px;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: #3d3929;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

p + p {
  margin-top: 8px;
}

ul {
  margin: 8px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

li + li {
  margin-top: 5px;
}

strong {
  color: var(--ink);
}

.notice {
  margin-top: 14px;
  border: 1px solid #dad9d4;
  background: #f5f4ef;
  border-radius: 12px;
  padding: 10px 12px;
  color: #535146;
  font-size: 0.92rem;
}

.footer-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.global-site-footer {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
}

.global-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.global-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #535146;
  text-decoration: none;
  font-weight: 800;
}

.global-footer-brand img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.global-footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  border-radius: 999px;
  padding: 0 12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
}

.global-footer-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.global-footer-grid h3 {
  margin: 0 0 6px;
  color: #535146;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
}

.global-footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-footer-grid li {
  margin-top: 6px;
}

.global-footer-grid a {
  color: #6e6d68;
  font-size: 0.9rem;
  text-decoration: none;
}

.global-footer-grid a:hover {
  color: #3d3929;
}

@media (max-width: 760px) {
  .site-header {
    padding: 8px 12px;
  }

  .site-header-nav {
    gap: 6px;
  }

  .site-header-nav a {
    font-size: 0.84rem;
  }

  .page {
    padding: 22px 12px 52px;
  }

  .legal-header,
  .legal-content {
    padding: 18px;
  }

  .section {
    padding: 14px;
  }

  .global-footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
