:root {
  --ink: #182524;
  --muted: #5b6966;
  --paper: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #e9f0ec;
  --line: #d6dfda;
  --green: #0f5c4d;
  --green-dark: #0a4037;
  --green-soft: #dcebe4;
  --orange: #d95e25;
  --orange-dark: #b94a18;
  --yellow: #f2c65a;
  --blue: #247f91;
  --blue-soft: #dcecf0;
  --red: #b94236;
  --shadow: 0 14px 40px rgba(24, 37, 36, 0.08);
  --radius: 8px;
  --container: 1180px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-dark);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(217, 94, 37, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.reading-width {
  width: min(calc(100% - 40px), var(--reading));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  place-items: center;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 11px;
  color: #34423f;
  border-radius: 6px;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

.nav-cta {
  color: #fff !important;
  background: var(--orange);
}

.nav-cta:hover {
  color: #fff !important;
  background: var(--orange-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  place-items: center;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-sm {
  width: 17px;
  height: 17px;
}

.utility-note {
  color: #f3f7f5;
  background: var(--green-dark);
  font-size: 0.83rem;
}

.utility-note .container {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}

.hero {
  padding: 56px 0 30px;
}

.hero-grid {
  display: grid;
  align-items: end;
  gap: 42px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 20px;
  height: 2px;
  content: "";
  background: var(--orange);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  color: #43524f;
  font-size: 1.1rem;
}

.hero-aside {
  padding-left: 24px;
  border-left: 3px solid var(--yellow);
}

.hero-aside strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.hero-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 44px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  color: #eaf2ee;
  background: var(--green-dark);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: #c8d9d2;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.planner {
  padding: 0 0 44px;
}

.planner-shell {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.planner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.planner-top h2 {
  margin: 0;
  font-size: 1.28rem;
}

.mobile-result-bar {
  display: none;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.planner-body {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
}

.planner-inputs {
  padding: 26px 24px 28px;
  background: #fafbfa;
  border-right: 1px solid var(--line);
}

.field-group {
  margin-bottom: 24px;
}

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #35433f;
  font-size: 0.9rem;
  font-weight: 750;
}

.field-label small {
  color: var(--muted);
  font-weight: 500;
}

.stepper-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.stepper {
  display: grid;
  min-width: 0;
  padding: 11px 8px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
}

.stepper > span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.stepper-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stepper button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--green);
  background: #edf3f0;
  border: 0;
  border-radius: 50%;
  font-size: 1.18rem;
  font-weight: 700;
  place-items: center;
}

.stepper button:hover {
  color: #fff;
  background: var(--green);
}

.stepper input {
  width: 32px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.segmented {
  display: grid;
  padding: 4px;
  background: #e9eeeb;
  border-radius: 7px;
  grid-template-columns: repeat(4, 1fr);
}

.segmented button {
  min-height: 38px;
  padding: 7px 5px;
  color: #4b5956;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 750;
}

.segmented button:hover {
  color: var(--green);
}

.segmented button[aria-pressed="true"] {
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 2px 7px rgba(24, 37, 36, 0.08);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: #43524f;
  font-size: 0.86rem;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.field-inline {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 96px;
}

.field-inline input,
.field-inline select {
  min-height: 42px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.planner-results {
  padding: 26px 26px 30px;
}

.result-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.result-kicker {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.result-title {
  margin: 0;
  font-size: 1.46rem;
}

.result-actions {
  display: flex;
  gap: 7px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--green);
  background: #edf3f0;
  border: 1px solid transparent;
  border-radius: 6px;
  place-items: center;
}

.icon-button:hover {
  color: #fff;
  background: var(--green);
}

.metric-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.metric {
  padding: 15px;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 5px;
}

.metric.water {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.metric.food {
  background: #f8edd3;
  border-color: #c18d22;
}

.metric-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 750;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.metric small {
  color: var(--muted);
  font-size: 0.72rem;
}

.result-tabs {
  display: flex;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.result-tabs button {
  padding: 9px 11px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 0.86rem;
  font-weight: 750;
}

.result-tabs button[aria-selected="true"] {
  color: var(--green-dark);
  border-color: var(--orange);
}

.result-panel[hidden] {
  display: none;
}

.result-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.result-list li:last-child {
  border-bottom: 0;
}

.result-list .checkline {
  display: flex;
  align-items: center;
  gap: 9px;
}

.result-list input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.result-list .amount {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-weight: 800;
}

.result-note {
  margin: 16px 0 0;
  padding: 11px 12px;
  color: #5e5140;
  background: #fff7e7;
  border: 1px solid #ead5a8;
  border-radius: 5px;
  font-size: 0.78rem;
}

.source-line {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-secondary {
  color: var(--green);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: var(--green-soft);
}

.button-orange {
  background: var(--orange);
  border-color: var(--orange);
}

.button-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--orange-dark);
}

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

.resource-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 21px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.resource-card:hover {
  border-color: #9eb3a9;
}

.resource-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 7px;
  place-items: center;
}

.resource-card:nth-child(3n + 2) .resource-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.resource-card:nth-child(3n + 3) .resource-icon {
  color: #9a6b12;
  background: #f8edd3;
}

.resource-card h3 {
  margin-bottom: 7px;
  font-size: 1.06rem;
}

.resource-card p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-band {
  display: grid;
  align-items: center;
  gap: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.visual-band img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.check-list,
.prose ul,
.prose ol {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding-left: 22px;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: start;
  gap: 10px;
}

.check-list .icon {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--green);
}

.article-hero {
  padding: 42px 0 30px;
  background: #eef3f0;
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  max-width: 900px;
  margin-bottom: 15px;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.article-hero p {
  max-width: 760px;
  margin: 0;
  color: #40514d;
  font-size: 1.07rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  color: #99a5a1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-layout {
  display: grid;
  align-items: start;
  gap: 42px;
  padding: 44px 0 54px;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.prose {
  min-width: 0;
  max-width: var(--reading);
}

.prose p {
  margin: 0 0 18px;
  color: #34423f;
  font-size: 1.03rem;
}

.prose h2 {
  margin-top: 38px;
  font-size: 1.75rem;
}

.prose h3 {
  margin-top: 25px;
}

.prose a {
  font-weight: 650;
}

.prose blockquote {
  margin: 23px 0;
  padding: 16px 19px;
  color: #35453f;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 0 5px 5px 0;
}

.prose blockquote p {
  margin: 0;
}

.prose table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

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

.prose th {
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 0.8rem;
}

.prose td {
  background: #fff;
}

.callout {
  margin: 25px 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

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

.article-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-box {
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.sidebar-box-head {
  padding: 16px 18px;
  color: #fff;
  background: var(--green);
}

.sidebar-box-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
}

.sidebar-box-body {
  padding: 18px;
}

.sidebar-box-body p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.88rem;
}

.sidebar-links {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 17px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.sidebar-links a:hover {
  background: var(--green-soft);
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.91rem;
}

.inline-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 30px 0;
  padding: 21px 22px;
  color: #eef6f2;
  background: var(--green-dark);
  border-radius: 7px;
}

.inline-tool h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.25rem;
}

.inline-tool p {
  margin: 0;
  color: #c7d9d2;
  font-size: 0.88rem;
}

.tool-surface {
  margin: 30px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(24, 37, 36, 0.05);
}

.tool-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tool-head h2,
.tool-head h3 {
  margin-bottom: 5px;
}

.tool-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tool-kicker {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-summary {
  margin: 0;
  padding: 11px 13px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

.progress-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 15px 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.progress-track {
  overflow: hidden;
  height: 8px;
  background: #e2e9e5;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  border-radius: inherit;
  transition: width 180ms ease;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tool-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.reserve-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.reserve-group {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.reserve-group-title {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.98rem;
}

.reserve-item {
  display: grid;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  grid-template-columns: 20px minmax(0, 1fr) auto;
}

.reserve-item:last-child {
  border-bottom: 0;
}

.reserve-item input,
.checkline input {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
}

.reserve-item-name {
  color: #33413e;
  font-size: 0.9rem;
}

.reserve-item-amount {
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
}

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

.plan-field {
  display: grid;
  gap: 6px;
}

.plan-field.full {
  grid-column: 1 / -1;
}

.plan-field label {
  color: #35433f;
  font-size: 0.83rem;
  font-weight: 750;
}

.plan-field input,
.plan-field textarea,
.plan-field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.plan-field textarea {
  min-height: 96px;
  resize: vertical;
}

.plan-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.checklist-groups {
  display: grid;
  gap: 22px;
}

.checklist-group {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.checklist-group h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 1rem;
}

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

.checkline {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: #35433f;
  font-size: 0.88rem;
}

.checkline span {
  min-width: 0;
}

.offline-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 30px 0;
}

.offline-card {
  max-width: 620px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#minha-reserva {
  scroll-margin-top: 96px;
}

.source-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.source-list a {
  font-weight: 750;
}

.source-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.profile {
  display: grid;
  align-items: start;
  gap: 30px;
  grid-template-columns: 110px minmax(0, 1fr);
}

.profile-avatar {
  display: grid;
  width: 110px;
  height: 110px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: 800;
  place-items: center;
}

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

.principles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.principle strong {
  display: block;
  margin-bottom: 5px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-band {
  padding: 42px 0;
  color: #eff7f3;
  background: var(--green-dark);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.cta-band p {
  margin: 0;
  color: #c6d8d0;
}

.site-footer {
  padding: 46px 0 24px;
  color: #cbd7d3;
  background: #13211f;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.footer-brand {
  color: #fff;
}

.footer-brand p {
  max-width: 470px;
  margin: 13px 0 0;
  color: #aebdb8;
  font-size: 0.88rem;
}

.footer-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #b8c8c2;
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  color: #8e9f99;
  border-top: 1px solid #2c3c38;
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 12px 16px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript {
  padding: 14px;
  color: #5c4112;
  background: #f8edd3;
  text-align: center;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-grid,
  .visual-band,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: 620px;
    padding: 16px 0 0;
    border-top: 2px solid var(--yellow);
    border-left: 0;
  }

  .planner-body {
    grid-template-columns: 1fr;
  }

  .planner-inputs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-sidebar {
    position: static;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout .prose {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .reading-width {
    width: min(calc(100% - 28px), var(--reading));
  }

  .hero {
    padding: 24px 0 14px;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-aside {
    display: none;
  }

  .hero .eyebrow {
    margin-bottom: 9px;
  }

  .hero h1 {
    margin-bottom: 11px;
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .planner-shell {
    overflow: visible;
  }

  .planner-top {
    flex-direction: row;
    align-items: center;
    padding: 15px 18px;
    border-radius: 8px 8px 0 0;
  }

  .planner-top h2 {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .privacy-pill {
    flex: 0 0 auto;
    font-size: 0.72rem;
  }

  .mobile-result-bar {
    position: sticky;
    z-index: 24;
    top: 68px;
    display: grid;
    padding: 8px 10px;
    color: #eff7f3;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 7px 18px rgba(15, 49, 42, 0.16);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-result-bar span {
    display: grid;
    min-width: 0;
    padding: 2px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mobile-result-bar span:last-child {
    border-right: 0;
  }

  .mobile-result-bar small {
    color: #b8d0c7;
    font-size: 0.65rem;
  }

  .mobile-result-bar strong {
    overflow: hidden;
    color: #fff;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .planner-top,
  .result-head,
  .section-heading,
  .cta-inner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .planner-top {
    display: flex;
  }

  .result-head {
    display: flex;
  }

  .metric-grid,
  .resource-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:last-child {
    grid-column: 1 / -1;
  }

  .stepper-grid {
    gap: 7px;
  }

  .stepper {
    padding-inline: 4px;
  }

  .stepper button {
    width: 38px;
    height: 38px;
  }

  .stepper input {
    width: 36px;
    font-size: 1rem;
  }

  .field-inline {
    grid-template-columns: 1fr;
  }

  .inline-tool {
    align-items: stretch;
    flex-direction: column;
  }

  .tool-surface {
    padding: 18px;
  }

  .tool-head {
    flex-direction: column;
    gap: 8px;
  }

  .tool-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .reserve-item {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .reserve-item-amount {
    grid-column: 2;
    text-align: left;
  }

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

  .profile-avatar {
    width: 82px;
    height: 82px;
    font-size: 1.7rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .prose table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 430px) {
  .metric-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric:last-child {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: auto;
  }

  .planner-results,
  .planner-inputs {
    padding-inline: 18px;
  }
}

@media print {
  .site-header,
  .utility-note,
  .hero,
  .site-footer,
  .planner-inputs,
  .result-actions,
  .result-tabs,
  .button-row,
  .mobile-result-bar,
  .tool-actions,
  .article-sidebar,
  .inline-tool,
  .cta-band {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .planner {
    padding: 0;
  }

  .planner-shell {
    border: 0;
    box-shadow: none;
  }

  .planner-body,
  .planner-results {
    display: block;
    padding: 0;
  }

  .result-panel[hidden] {
    display: block;
  }

  .metric,
  .result-note {
    background: #fff;
    border: 1px solid #999;
  }

  a {
    color: #000;
  }
}
