:root {
  --gold: #E8C547;
  --leaf: #7AAD7A;
  --text: #2A2A2A;
  --muted: #5b6470;
  --border: #E8E0D0;
  --bg: #ffffff;
  --sand: #FFF8E7;
}
* { box-sizing: border-box; }
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
a { color: #2f6b3a; }
a:hover { color: #1f4d28; }
.topbar {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar-inner, .wrap, .foot-inner {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.85rem 1.15rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-width: 0;
}
.brand span:last-child { color: var(--leaf); }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5D76E, var(--gold));
  color: #2A231C;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
}
.cta:hover { filter: brightness(1.05); color: #2A231C; }
h1 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.7rem;
}
h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.12rem;
  margin: 1.6rem 0 0.5rem;
}
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1rem;
  margin: 1.1rem 0 0.3rem;
}
p { margin: 0.55rem 0; color: var(--text); }
.lead { font-size: 1.02rem; }
.muted, .updated { color: var(--muted); font-size: 0.85rem; }
.box {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  margin: 1rem 0;
}
.box strong { display: block; margin-bottom: 0.25rem; }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.8rem 0 1rem;
}
table {
  width: 100%;
  min-width: 20rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0;
}
th, td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.45rem;
  vertical-align: top;
}
th { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
ul, ol { padding-left: 1.2rem; }
li { margin: 0.28rem 0; }
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.dl { display: grid; grid-template-columns: 1fr; gap: 0.2rem 0.8rem; font-size: 0.92rem; }
.dl dt { color: var(--muted); }
@media (min-width: 640px) {
  .topbar-inner, .wrap, .foot-inner { max-width: 42rem; }
  h1 { font-size: 1.6rem; }
  .dl { grid-template-columns: 8.5rem 1fr; }
}
@media (min-width: 768px) {
  .topbar-inner, .wrap, .foot-inner { max-width: 46rem; padding: 1.1rem 1.5rem; }
  h1 { font-size: 1.75rem; }
  .lead { font-size: 1.08rem; }
}
@media (min-width: 1024px) {
  .topbar-inner, .wrap, .foot-inner { max-width: 48rem; }
}
