:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-soft: #f3efe7;
  --text: #26211b;
  --text-soft: #5d564d;
  --border: #d9d0c3;
  --dark: #1f1a15;
  --dark-soft: #342d27;
  --light: #f6f2ec;
  --shadow: 0 14px 35px rgba(34, 28, 23, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

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

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

.section-alt {
  background: rgba(235, 228, 217, 0.45);
}

.bg-white {
  background: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.eyebrow,
.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #736a5f;
}

.section-label.light {
  color: #c7bcaf;
}

.brand h1,
.hero h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
}

.brand h1 {
  margin-top: 8px;
  font-size: 1.85rem;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.pill {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}

.hero h2 {
  margin-top: 22px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
}

.lead,
.panel p,
.card p,
.contact-box p {
  color: var(--text-soft);
}

.lead {
  margin-top: 24px;
  max-width: 780px;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--dark);
  color: white;
}

.button-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.button-secondary.small {
  margin-top: 22px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.stack,
.mini-grid {
  display: grid;
  gap: 16px;
}

.card,
.panel,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.panel {
  padding: 28px;
}

.card-dark,
.panel-dark,
.contact-box {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--light);
}

.motto {
  margin: 12px 0 0;
  font-size: 1.8rem;
  line-height: 1.4;
  color: white;
  font-weight: 700;
}

.feature-list,
.mini-card p {
  margin: 16px 0 0;
  padding-left: 18px;
}

.feature-list li,
.mini-card p,
.mini-card h4,
.panel-dark p,
.contact-box p {
  color: #e1d7cb;
}

.soft-panel {
  background: var(--surface-soft);
}

.narrow {
  max-width: 860px;
}

.panel h3,
.contact-box h3,
.section-header h3,
.articles-head h3 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.mini-grid {
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card {
  padding: 20px;
  border: 1px solid #4b433a;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-card.wide {
  grid-column: span 2;
}

.mini-card h4,
.card h4 {
  font-size: 1.3rem;
}

.section-header {
  margin-bottom: 36px;
}

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

.muted-card {
  background: #f4f1ea;
}

.articles-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ded5c7;
  font-size: 0.78rem;
  font-weight: 700;
  color: #564f46;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--text-soft);
}

.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 36px;
}

.contact-button {
  background: white;
  color: var(--dark);
}

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

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.94rem;
  color: #7a7268;
}

@media (max-width: 920px) {
  .hero-grid,
  .two-col,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .contact-box,
  .articles-head,
  .footer-wrap,
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
  }

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

  .mini-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .card,
  .panel,
  .contact-box {
    padding: 22px;
  }

  .brand h1 {
    font-size: 1.55rem;
  }

  .hero h2,
  .panel h3,
  .contact-box h3,
  .section-header h3,
  .articles-head h3 {
    font-size: 2rem;
  }
}
