:root {
  color-scheme: light;
  --bg: #f6f1ea;
  --panel: #ffffff;
  --ink: #161616;
  --muted: #5a5a5a;
  --line: #e7ddd2;
  --accent: #1f1f1f;
  --accent-soft: #f1e7dc;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(246, 241, 234, 0.95) 45%, rgba(240, 231, 220, 0.92) 100%),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 234, 0.88);
  border-bottom: 1px solid rgba(231, 221, 210, 0.85);
}

.site-header .wrap,
.footer-grid,
.hero,
.card-grid,
.policy-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.site-header .wrap {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  padding: 5px;
  border: 1px solid var(--line);
}

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

.header-links a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.header-links a:hover,
.footer-links a:hover,
.cta-link:hover {
  color: var(--accent);
}

main {
  padding: 40px 0 72px;
}

.hero {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.hero-card,
.panel,
.policy-block,
.contact-card,
.notice {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(65, 39, 16, 0.07);
}

.hero-card,
.panel,
.policy-block,
.contact-card {
  padding: 30px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #6e5842;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

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

.lead {
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

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

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

.button-secondary {
  border: 1px solid var(--line);
  color: var(--accent);
  background: #fff;
}

.card-grid,
.policy-grid,
.contact-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.list {
  padding-left: 18px;
  margin: 14px 0 0;
}

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

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

.policy-block h3,
.contact-card h3 {
  margin-bottom: 8px;
}

.policy-block h4 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.policy-block ol,
.policy-block ul {
  padding-left: 20px;
}

.contact-meta {
  display: grid;
  gap: 16px;
}

.notice {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(31, 31, 31, 0.97), rgba(62, 44, 30, 0.96));
  color: rgba(255, 255, 255, 0.92);
}

.notice p,
.notice li,
.notice a,
.notice h2,
.notice h3 {
  color: inherit;
}

.notice .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

footer {
  border-top: 1px solid rgba(231, 221, 210, 0.9);
  background: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  padding: 32px 0 48px;
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(2, 1fr) 1.2fr;
}

.footer-column h3 {
  font-size: 0.98rem;
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-column p,
.footer-column li {
  font-size: 0.95rem;
}

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

.footer-column li + li {
  margin-top: 10px;
}

.eyebrow {
  font-size: 0.92rem;
  font-weight: 700;
  color: #6e5842;
}

@media (max-width: 920px) {
  .hero,
  .card-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header .wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 26px;
  }

  .hero-card,
  .panel,
  .policy-block,
  .contact-card {
    padding: 22px;
    border-radius: 22px;
  }

  .header-links,
  .footer-links,
  .cta-row {
    gap: 12px;
  }
}
