:root {
  --bg: #f7f2e8;
  --surface: #fffaf1;
  --ink: #203028;
  --muted: #687367;
  --line: #ded6c5;
  --accent: #5b7d55;
  --accent-dark: #355f45;
  --accent-warm: #b27754;
  --soft: #edf2e6;
  --shadow: 0 24px 80px rgba(64, 54, 35, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 250, 241, 0.98), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(184, 203, 163, 0.26), transparent 34%),
    linear-gradient(120deg, rgba(91, 125, 85, 0.10), transparent 38%),
    linear-gradient(290deg, rgba(178, 119, 84, 0.10), transparent 42%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  line-height: 1;
}

.brand-logo {
  display: block;
  width: min(168px, 42vw);
  height: auto;
}

.footer-logo {
  display: block;
  width: 132px;
  max-width: 52vw;
  height: auto;
  margin-bottom: 8px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 680;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.nav-cta,
.primary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf1;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 16px 34px rgba(91, 125, 85, 0.18);
}

.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--accent-dark);
  font-weight: 780;
  line-height: 1.2;
}

.hero-section {
  display: grid;
  gap: 30px;
  min-height: calc(100svh - 86px);
  padding: 36px 0 72px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 12vw, 5.3rem);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.lead,
.section p,
.article-deck {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions,
.error-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-visual,
.feature-panel,
.journal-card,
.product-card,
.article-shell,
.contact-panel {
  border: 1px solid rgba(222, 214, 197, 0.9);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 16px 46px rgba(64, 54, 35, 0.06);
}

.hero-visual {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 250, 241, 0.98), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(178, 119, 84, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(237, 242, 230, 0.92), rgba(255, 250, 241, 0.88));
}

.nest-symbol {
  position: relative;
  width: min(70vw, 310px);
  aspect-ratio: 1;
}

.nest-symbol::before,
.nest-symbol::after {
  content: "";
  position: absolute;
  inset: 28%;
  border: 3px solid rgba(91, 125, 85, 0.42);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(-14deg);
}

.nest-symbol::after {
  inset: 38%;
  border-color: rgba(178, 119, 84, 0.4);
  transform: rotate(20deg);
}

.section {
  padding: 76px 0;
  border-top: 1px solid rgba(222, 214, 197, 0.58);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  gap: 16px;
}

.product-card,
.journal-card,
.feature-panel,
.contact-panel {
  padding: 26px;
}

.product-card p,
.journal-card p,
.feature-panel p,
.contact-panel p {
  margin-bottom: 0;
}

.journal-card time,
.status {
  color: var(--accent-warm);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 780;
}

.article-wrap {
  padding: 56px 0 90px;
}

.article-shell {
  max-width: 860px;
  padding: clamp(26px, 6vw, 64px);
}

.back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 36px;
  color: var(--accent-dark);
  font-weight: 780;
}

.back-link::before {
  content: "<";
  margin-right: 8px;
}

.article-hero {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(222, 214, 197, 0.86);
}

.article-hero h1 {
  font-size: clamp(2.7rem, 9vw, 5rem);
}

.article-body {
  max-width: 700px;
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.82;
}

.article-body p {
  margin-bottom: 1.25em;
}

.article-body hr {
  width: 84px;
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body h2 {
  margin-top: 36px;
  font-size: clamp(1.8rem, 6vw, 2.55rem);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(222, 214, 197, 0.82);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 820;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.94rem;
  font-weight: 680;
}

@media (min-width: 680px) {
  .site-header,
  main,
  .site-footer {
    width: min(1120px, calc(100vw - 56px));
  }

  .nav-links {
    display: flex;
  }

  .hero-actions,
  .error-actions {
    flex-direction: row;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 48px;
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
