@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;700&display=swap");

:root{
  --site-bg:#f3efe6;
  --site-bg-top:#f7f2e9;
  --site-bg-bottom:#f7f4ec;
  --site-surface:#fffaf1;
  --site-surface-strong:#efe8da;
  --site-ink:#13261f;
  --site-muted:#5e6d63;
  --site-line:rgba(19,38,31,.14);
  --site-brand:#1a6b58;
  --site-brand-deep:#0d3b31;
  --site-accent:#d9a441;
  --site-white:#ffffff;
  --site-shadow:0 28px 70px rgba(13,33,28,.12);
  --site-shadow-soft:0 18px 40px rgba(13,33,28,.08);
  --site-radius-xl:34px;
  --site-radius-lg:24px;
  --site-radius-md:18px;
  --site-container:1180px;
  --site-reading:920px;
  --site-gutter:clamp(20px,4vw,48px);
  --site-nav-h:82px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--site-nav-h) + 12px);
}

body{
  margin:0;
  color:var(--site-ink);
  background:
    radial-gradient(circle at top left, rgba(217,164,65,.16), transparent 28%),
    linear-gradient(180deg, var(--site-bg-top) 0%, var(--site-bg) 45%, var(--site-bg-bottom) 100%);
  font:16px/1.6 "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing:antialiased;
}

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

img{
  display:block;
  max-width:100%;
  height:auto;
}

.shell-header{
  position:sticky;
  top:0;
  z-index:18;
  backdrop-filter:blur(18px);
  background:rgba(243,239,230,.78);
  border-bottom:1px solid rgba(19,38,31,.08);
}

.shell-bar,
.shell-main,
.shell-footer-inner{
  width:min(var(--site-container), calc(100% - (var(--site-gutter) * 2)));
  margin:0 auto;
}

.shell-bar{
  min-height:var(--site-nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.shell-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.shell-brand img{
  width:42px;
  height:42px;
  border-radius:13px;
  box-shadow:0 10px 24px rgba(26,107,88,.24);
}

.shell-brand-kicker{
  display:block;
  margin:0 0 2px;
  color:var(--site-muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.shell-brand-name{
  display:block;
  font-size:15px;
  font-weight:700;
  letter-spacing:.01em;
}

.shell-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 20px;
  color:var(--site-muted);
  font-size:14px;
}

.shell-links a{
  transition:color .2s ease, opacity .2s ease;
}

.shell-links a:hover,
.shell-links a:focus-visible{
  color:var(--site-ink);
}

.shell-links a[aria-current="page"]{
  color:var(--site-brand-deep);
  font-weight:700;
}

.shell-main{
  padding:clamp(32px, 5vw, 56px) 0 72px;
}

.page-hero{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:32px;
  align-items:end;
  margin-bottom:40px;
}

.page-hero--wide{
  grid-template-columns:minmax(0, 1.12fr) minmax(260px, .88fr);
}

.page-hero-copy{
  max-width:54rem;
}

.page-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
  color:var(--site-brand);
  font-size:12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.page-eyebrow::before{
  content:"";
  width:36px;
  height:1px;
  background:currentColor;
}

.page-title,
.surface h2,
.surface h3,
.editorial-heading{
  margin:0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  line-height:.96;
  letter-spacing:-.03em;
}

.page-title{
  font-size:clamp(48px, 8vw, 92px);
  max-width:10ch;
}

.page-title--wide{
  max-width:12ch;
}

.page-subtitle{
  margin:18px 0 0;
  max-width:44rem;
  color:var(--site-muted);
  font-size:clamp(18px,2vw,21px);
  line-height:1.62;
}

.surface{
  padding:28px;
  border:1px solid var(--site-line);
  border-radius:var(--site-radius-xl);
  background:rgba(255,250,241,.82);
  box-shadow:var(--site-shadow);
}

.surface--soft{
  background:rgba(255,255,255,.76);
  box-shadow:var(--site-shadow-soft);
}

.surface--compact{
  padding:22px 24px;
  border-radius:var(--site-radius-lg);
}

.surface h2{
  font-size:clamp(32px, 4.5vw, 52px);
  margin-bottom:14px;
}

.surface h3{
  font-size:28px;
  margin-bottom:10px;
}

.surface p{
  margin:0 0 14px;
  color:var(--site-muted);
}

.surface p:last-child{
  margin-bottom:0;
}

.surface ul,
.surface ol{
  margin:0;
  padding-left:20px;
  color:var(--site-muted);
}

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

.meta-stack{
  display:grid;
  gap:10px;
  color:var(--site-muted);
  font-size:15px;
}

.meta-row{
  padding-bottom:10px;
  border-bottom:1px solid var(--site-line);
}

.meta-row:last-child{
  padding-bottom:0;
  border-bottom:none;
}

.meta-label{
  display:block;
  margin-bottom:4px;
  color:var(--site-brand-deep);
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.button-primary,
.button-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  font-weight:700;
  transition:transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

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

.button-secondary{
  border:1px solid var(--site-line);
  color:var(--site-ink);
  background:transparent;
}

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

.page-grid{
  display:grid;
  gap:22px;
}

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

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

.page-grid--sidebar{
  grid-template-columns:minmax(0, 1.08fr) minmax(280px, .92fr);
}

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

.stat-tile{
  padding:20px;
  border-radius:var(--site-radius-lg);
  border:1px solid var(--site-line);
  background:rgba(255,255,255,.78);
}

.stat-tile strong{
  display:block;
  margin-bottom:8px;
  color:var(--site-brand);
  font-size:28px;
  line-height:1.08;
}

.stat-tile span{
  display:block;
  color:var(--site-muted);
  font-size:14px;
  line-height:1.55;
}

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

.resource-card{
  display:grid;
  gap:16px;
}

.resource-preview{
  aspect-ratio:1.22;
  overflow:hidden;
  border-radius:28px;
  background:var(--site-surface-strong);
  border:1px solid rgba(19,38,31,.08);
}

.resource-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chip{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--site-line);
  background:rgba(255,255,255,.82);
  color:var(--site-muted);
  font-size:13px;
}

.link-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.link-pill{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--site-line);
  background:rgba(255,255,255,.82);
  color:var(--site-brand-deep);
  font-size:13px;
  font-weight:600;
}

.table-wrap{
  overflow:auto;
}

.editorial-table{
  width:100%;
  border-collapse:collapse;
}

.editorial-table th,
.editorial-table td{
  text-align:left;
  vertical-align:top;
  padding:12px 0;
  border-bottom:1px solid var(--site-line);
}

.editorial-table th{
  width:34%;
  color:var(--site-muted);
  font-size:14px;
  font-weight:700;
}

.editorial-quote{
  margin:0;
  padding:24px;
  border-radius:var(--site-radius-lg);
  background:rgba(19,38,31,.94);
  color:var(--site-white);
}

.editorial-quote p{
  margin:0 0 12px;
  color:inherit;
  font-size:20px;
  line-height:1.4;
}

.editorial-quote cite{
  color:rgba(255,255,255,.72);
  font-style:normal;
  font-size:14px;
}

.faq-stack{
  display:grid;
  gap:14px;
}

.faq-item-shared{
  padding:22px;
  border-radius:var(--site-radius-lg);
  border:1px solid var(--site-line);
  background:rgba(255,255,255,.76);
  box-shadow:var(--site-shadow-soft);
}

.faq-item-shared h3{
  margin-bottom:8px;
}

.faq-item-shared p{
  margin:0;
}

.shell-footer{
  padding:0 0 48px;
}

.shell-footer-inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:16px 24px;
  padding-top:24px;
  border-top:1px solid var(--site-line);
  color:var(--site-muted);
  font-size:14px;
}

.shell-footer-block{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
}

.shell-footer a{
  color:inherit;
}

@media (max-width: 980px){
  .shell-bar,
  .page-hero,
  .page-grid--two,
  .page-grid--three,
  .page-grid--sidebar,
  .resource-grid,
  .stats-grid{
    grid-template-columns:1fr;
  }

  .shell-bar{
    min-height:auto;
    padding:18px 0;
    align-items:flex-start;
    flex-direction:column;
  }

  .shell-links{
    gap:10px 16px;
  }
}
