:root {
  --bg: #f4eee4;
  --bg-strong: #efe4d4;
  --panel: rgba(255, 251, 244, 0.8);
  --panel-strong: #fffaf1;
  --ink: #2f2a24;
  --muted: #6d6254;
  --line: rgba(80, 61, 39, 0.12);
  --kraft: #c99250;
  --kraft-dark: #9f6e34;
  --amber: #f3bc44;
  --green: #35ba52;
  --shadow: 0 24px 60px rgba(86, 62, 28, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(243, 188, 68, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(120, 84, 34, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(92, 69, 45, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.panel {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(255, 246, 232, 0.78));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px 34px 30px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.55), transparent 48%),
    radial-gradient(circle at right top, rgba(243, 188, 68, 0.12), transparent 34%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(243, 188, 68, 0.16);
  color: #7a5a18;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.content h1 {
  margin: 18px 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero p,
.content p,
.content li {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #3fce5c 0%, var(--green) 100%);
  color: white;
  box-shadow: 0 16px 34px rgba(53, 186, 82, 0.24);
}

.button-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  border: 1px solid rgba(92, 69, 45, 0.1);
}

.hero-aside {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.62);
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid rgba(92, 69, 45, 0.08);
}

.hero-icon {
  width: min(100%, 360px);
  align-self: center;
  border-radius: 26px;
  box-shadow: 0 24px 54px rgba(107, 76, 28, 0.18);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(92, 69, 45, 0.08);
}

.stat strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

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

.panel {
  padding: 24px;
}

.panel h2,
.content h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.25fr);
  gap: 24px;
  margin-top: 24px;
}

.content {
  padding: 30px;
}

.content section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.content h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b704d;
}

.content ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar .panel {
  padding: 22px;
}

.sidebar p,
.sidebar li {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(243, 188, 68, 0.13);
  color: #7a5a18;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .hero,
  .content-wrap,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    padding-top: 12px;
  }
}

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

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card,
  .content,
  .panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero h1,
  .content h1 {
    font-size: 2.3rem;
  }

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