:root {
  --background: #f2eee4;
  --surface: rgba(255, 252, 246, 0.78);
  --surface-strong: #fffaf2;
  --border: rgba(30, 29, 26, 0.12);
  --border-strong: rgba(30, 29, 26, 0.18);
  --text: #1a1713;
  --muted: #5b534a;
  --accent: #9d5f2e;
  --accent-deep: #71411c;
  --shadow: 0 24px 70px rgba(53, 35, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(219, 171, 108, 0.35), transparent 32%),
    radial-gradient(circle at top right, rgba(108, 131, 156, 0.18), transparent 28%),
    linear-gradient(180deg, #f7f3eb 0%, var(--background) 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  margin-bottom: 32px;
}

.brand {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.footer-links a,
.legal-links a,
.back-link,
.legal-section a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hero-card,
.legal-page main {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  margin-bottom: 32px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -26% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 95, 46, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 10vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy,
.section-summary,
.legal-summary {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

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

.button.secondary {
  background: rgba(255, 250, 242, 0.92);
  border-color: var(--border-strong);
}

.legal-grid {
  padding: 8px 0 20px;
}

.section-heading {
  margin-bottom: 20px;
}

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

.info-card {
  padding: 24px;
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--border);
  border-radius: 22px;
}

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

.info-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.site-footer {
  margin-top: 28px;
  padding: 20px 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-page .page-shell {
  width: min(960px, calc(100% - 32px));
}

.legal-page main {
  padding: clamp(26px, 5vw, 46px);
}

.legal-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.back-link {
  font-weight: 700;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 24px;
  padding-top: 28px;
}

.legal-section {
  padding: 22px 24px;
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

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

.legal-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid rgba(157, 95, 46, 0.45);
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .legal-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .hero-card,
  .legal-page main {
    border-radius: 22px;
  }

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

  .button {
    width: 100%;
  }

  .legal-section {
    padding: 20px 18px;
  }
}
