*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; overflow-x: clip; background: #e6eeea; color: #1a2420; font-family: "Avenir Next", "Segoe UI", sans-serif; font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem); }
img, svg { display: block; max-width: 100%; height: auto; }
input, button { font: inherit; }
p, h1, h2, td, a { overflow-wrap: anywhere; }
:root {
  --ink: #1a2420;
  --paper: #f5f8f6;
  --line: #c5d4cc;
  --green: #14352c;
  --moss: #0f6e56;
  --space: clamp(0.75rem, 0.6rem + 1vw, 1.5rem);
}
.shell { display: grid; min-height: 100dvh; min-width: 0; max-width: 100%; grid-template-rows: auto auto 1fr auto; grid-template-areas: "top" "nav" "main" "bottom"; }
.top { grid-area: top; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; padding: var(--space); padding-top: calc(var(--space) + env(safe-area-inset-top)); background: var(--green); color: #f3f6f4; }
.brand { color: inherit; font-weight: 700; text-decoration: none; }
.nav-toggle, .top .status { margin: 0; }
.nav-toggle { min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 0 1rem; }
.status { font-size: 0.9rem; }
.nav { grid-area: nav; display: none; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem var(--space); background: #dce7e2; }
.nav[data-open="true"] { display: flex; }
.nav a, .bottom-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 0.75rem; color: var(--ink); text-decoration: none; }
.main { grid-area: main; min-width: 0; width: min(100% - 2rem, 72rem); margin-inline: auto; padding-block: var(--space); display: grid; gap: var(--space); }
.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem); line-height: 1.1; margin: 0 0 0.5rem; }
.eyebrow { letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss); margin: 0; }
.lede { max-width: 65ch; }
section { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: var(--space); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); margin: 0 0 0.75rem; }
.table-wrap { overflow-x: auto; max-width: 100%; min-width: 0; }
table { width: 100%; border-collapse: collapse; min-width: 36rem; }
th, td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans { white-space: pre-wrap; margin: 0; font-family: inherit; }
.form-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
label { display: grid; gap: 0.35rem; }
input { width: 100%; min-height: 44px; font-size: 16px; padding: 0.5rem 0.75rem; border: 1px solid var(--line); border-radius: 0.6rem; background: #fff; }
button[type="submit"] { min-height: 44px; border: 0; border-radius: 999px; background: var(--moss); color: white; padding: 0 1.25rem; }
.bottom-nav { grid-area: bottom; display: flex; justify-content: space-around; gap: 0.25rem; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav { display: flex; }
}
@media (min-width: 1024px) {
  .shell { grid-template-columns: clamp(220px, 18vw, 280px) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "nav top" "nav main"; }
  .nav { flex-direction: column; align-content: start; padding-top: var(--space); }
  .bottom-nav { display: none; }
  .top { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
