:root {
  --bg0: #f5f3ee;
  --bg1: #e7efe9;
  --ink: #141414;
  --muted: #47514c;
  --line: rgba(17, 17, 17, 0.1);
  --card: rgba(255, 255, 255, 0.8);
  --soft: rgba(255, 255, 255, 0.55);
  --accent: #1c8078;
  --accent-2: #d9653b;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 12% 12%, rgba(28, 128, 120, 0.15), transparent 60%),
    radial-gradient(840px 480px at 88% 18%, rgba(217, 101, 59, 0.12), transparent 52%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 18px 84px;
}

.page {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

h1,
h2,
h3 {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
}

h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.22;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

.lead {
  max-width: 760px;
  font-size: 1.06rem;
}

.meta-row,
.cta-row,
.link-row,
.card-grid,
.article-grid,
.quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-row {
  margin-top: 18px;
  gap: 10px;
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 600;
}

.badge {
  font-size: 13px;
}

.pill:hover {
  border-color: rgba(28, 128, 120, 0.35);
}

.hero-note,
.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 128, 120, 0.15);
  background: rgba(28, 128, 120, 0.08);
}

.callout.warm {
  border-color: rgba(217, 101, 59, 0.18);
  background: rgba(217, 101, 59, 0.09);
}

.card-grid,
.article-grid,
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 22px;
}

.card,
.article-card,
.qa,
.info-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 16px;
  background: var(--soft);
}

.article-card p,
.info-card p,
.qa p,
.card p {
  margin-bottom: 0;
}

.section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.section:first-of-type {
  margin-top: 30px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}

.toc,
.side-card {
  position: sticky;
  top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.toc ul,
.side-card ul {
  display: grid;
  gap: 8px;
  padding-left: 1rem;
}

.toc a,
.side-card a {
  text-decoration: none;
}

.toc a:hover,
.side-card a:hover {
  text-decoration: underline;
}

.number-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.number-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.number-item strong {
  display: block;
  margin-bottom: 6px;
}

.footer {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.56);
}

.breadcrumbs {
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc,
  .side-card {
    position: static;
  }
}
