:root {
  --green-950: #123d33;
  --green-800: #1f604f;
  --green-700: #2e7d6b;
  --green-100: #dcece6;
  --cream: #f5f1e8;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #17201d;
  --muted: #5b6863;
  --line: #d9dfdb;
  --amber: #f2a900;
  --focus: #2f66c4;
  --shadow-soft: 0 18px 54px rgba(18, 61, 51, 0.12);
  --shadow-photo: 0 28px 70px rgba(18, 38, 32, 0.2);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; background: var(--white); border-radius: 10px; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(18, 61, 51, 0.12);
  background: rgba(245, 241, 232, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--green-950); font-weight: 850; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.wordmark img { border-radius: 11px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 25px; margin-left: auto; }
.desktop-nav a { color: #34423d; font-size: 14px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover { color: var(--green-800); }
.header-cta { margin-left: 8px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { color: var(--white); background: var(--green-800); box-shadow: 0 12px 28px rgba(31, 96, 79, 0.2); }
.button-primary:hover { background: var(--green-950); }
.button-secondary { color: var(--green-950); background: rgba(255, 255, 255, 0.72); border-color: rgba(18, 61, 51, 0.2); }
.button-light { color: var(--green-950); background: var(--white); }
.button-block { width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(47, 102, 196, 0.42);
  outline-offset: 3px;
}

.hero { padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 58px; }
.hero-copy { position: relative; z-index: 2; }
.kicker { margin: 0 0 13px; color: var(--green-700); font-size: 13px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.kicker-light { color: #bfe2d6; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 690px; font-size: clamp(44px, 6.1vw, 74px); line-height: 0.99; letter-spacing: -0.057em; font-weight: 850; }
h2 { margin: 0; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.06; letter-spacing: -0.043em; font-weight: 830; }
h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.022em; }
.hero-lead { max-width: 660px; margin: 23px 0 0; color: #4f5c57; font-size: 20px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 30px 0 22px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0; padding: 0; list-style: none; color: #34423d; font-size: 14px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--green-700); }
.fine-print { max-width: 630px; margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-photo { position: relative; margin: 0; }
.hero-photo::before { content: ""; position: absolute; inset: -18px 20% 18px -18px; z-index: -1; border-radius: 34px; background: var(--green-100); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-photo); }
.hero-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 11px 13px; border-radius: 12px; color: var(--white); background: rgba(18, 38, 32, 0.82); font-size: 13px; line-height: 1.4; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.section { padding: 88px 0; }
.section-light { background: var(--paper); }
.section-dark { color: var(--white); background: var(--green-950); }
.section-heading { max-width: 820px; }
.section-heading > p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.journey-card { position: relative; min-height: 302px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgba(18, 61, 51, 0.05); }
.journey-card:nth-child(2) { transform: translateY(18px); }
.journey-number { display: block; color: var(--green-700); font-size: 13px; font-weight: 850; letter-spacing: 0.08em; }
.journey-card h3 { margin-top: 52px; font-size: 24px; }
.journey-card > p:not(.journey-result) { color: var(--muted); }
.journey-result { position: absolute; left: 26px; right: 26px; bottom: 20px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--green-800); font-size: 14px; font-weight: 800; }

.process-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 72px; align-items: start; }
.process-intro { position: sticky; top: 112px; }
.process-intro > p:not(.kicker) { color: var(--muted); font-size: 18px; }
.text-link { display: inline-block; margin-top: 10px; color: var(--green-800); font-weight: 800; text-underline-offset: 4px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(18, 61, 51, 0.2); }
.process-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(18, 61, 51, 0.2); }
.process-list li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--green-950); background: var(--green-100); font-weight: 850; }
.process-list h3 { margin-top: 3px; }
.process-list p { margin: 7px 0 0; color: var(--muted); }

.report-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.report-lead { color: #d2ded9; font-size: 18px; }
.report-features { margin: 26px 0 0; padding: 0; list-style: none; }
.report-features li { padding: 11px 0 11px 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); position: relative; }
.report-features li::before { content: "✓"; position: absolute; left: 2px; color: #8fd0ba; font-weight: 900; }
.report-paper { color: var(--ink); background: var(--white); border-radius: 14px; padding: 32px; box-shadow: 0 30px 75px rgba(0, 0, 0, 0.25); transform: rotate(1.1deg); }
.report-brand { display: flex; align-items: center; gap: 10px; color: var(--green-800); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.05em; }
.report-brand img { border-radius: 8px; }
.report-address { margin-top: 34px; font-size: 27px; font-weight: 850; line-height: 1.28; }
.report-address small { color: var(--muted); font-size: 13px; font-weight: 600; }
.report-rule { width: 74px; height: 5px; margin: 20px 0; background: var(--amber); }
.report-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.report-summary span { padding: 12px; border-radius: 10px; background: #f1f4f2; font-size: 13px; }
.report-summary b { display: block; font-size: 20px; }
.report-room { display: flex; justify-content: space-between; align-items: end; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.report-room small { color: var(--green-700); font-size: 12px; font-weight: 850; }
.report-room h3 { margin-top: 2px; }
.report-status { color: var(--muted); font-size: 13px; }
.report-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.report-photo-row span { min-height: 122px; border-radius: 8px; background: linear-gradient(145deg, #dde5e1, #f5f1e8 55%, #cad8d1); }
.report-note { margin: 15px 0 0; font-size: 14px; font-weight: 700; }
.report-meta { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.plan-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.plan-card-accent { border-color: rgba(31, 96, 79, 0.55); box-shadow: inset 0 5px 0 var(--green-700); }
.plan-name { margin: 0 0 28px; color: var(--green-700); font-size: 13px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.plan-card li { margin: 8px 0; }

.planner-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 52px; align-items: start; }
.planner-copy > p:not(.kicker) { color: var(--muted); font-size: 18px; }
.planner-panel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); border: 1px solid rgba(18, 61, 51, 0.18); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); }
.planner-panel form { padding: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 0.7fr; gap: 12px; }
label, legend { color: #2e3935; font-size: 14px; font-weight: 780; }
label { display: block; }
input, select { width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 12px; color: var(--ink); background: var(--white); border: 1px solid #bdc8c3; border-radius: 11px; }
fieldset { min-width: 0; margin: 22px 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; }
.room-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.room-choice { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 650; cursor: pointer; }
.room-choice input { width: 18px; min-height: 18px; margin: 0; flex: 0 0 auto; }
.planner-result { min-width: 0; padding: 26px; color: var(--white); background: var(--green-800); }
.planner-result h3 { font-size: 25px; }
.planner-result > p { color: #d6e6e0; }
.planner-result ol { margin: 19px 0 0; padding-left: 20px; }
.planner-result li { margin: 10px 0; padding-left: 3px; }
.planner-result strong { color: var(--white); }

.local-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 58px; align-items: start; }
.local-grid > div:first-child > p:not(.kicker) { color: var(--muted); font-size: 18px; }
.local-links { border-top: 1px solid var(--line); }
.local-links a { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 15px; padding: 18px 3px; border-bottom: 1px solid var(--line); text-decoration: none; }
.local-links a:hover strong { color: var(--green-700); }
.local-links span { color: var(--muted); font-size: 13px; }
.local-links strong { font-size: 16px; transition: color 140ms ease; }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 58px; align-items: start; }
.faq-list { border-top: 1px solid rgba(18, 61, 51, 0.2); }
.faq-list details { border-bottom: 1px solid rgba(18, 61, 51, 0.2); }
.faq-list summary { position: relative; padding: 20px 40px 20px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; color: var(--green-700); font-size: 24px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 48px 20px 0; color: var(--muted); }

.closing-section { padding: 0 0 78px; }
.closing-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 46px; color: var(--white); background: var(--green-800); border-radius: 26px; }
.closing-card h2 { font-size: clamp(32px, 4vw, 48px); }
.closing-card p:not(.kicker) { margin-bottom: 0; color: #d5e7e0; }
.closing-card .button { flex: 0 0 auto; }

.resources-section { padding: 54px 0; background: var(--paper); border-top: 1px solid var(--line); }
.resources-row { display: grid; grid-template-columns: 0.4fr 1.6fr; gap: 36px; align-items: start; }
.resources-row h2 { font-size: 22px; }
.resources-row nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.resources-row nav a { color: var(--green-800); font-size: 14px; font-weight: 750; text-underline-offset: 4px; }

.site-footer { padding: 34px 0 104px; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; }
.footer-inner .wordmark { font-size: 17px; }
.footer-inner p { margin: 0; text-align: center; font-size: 13px; }
.footer-inner nav { display: flex; justify-content: flex-end; gap: 18px; font-size: 13px; }
.mobile-action { display: none; }

/* Editorial guides and legal pages */
.guide-hero { padding: 66px 0 46px; }
.guide-hero h1 { max-width: 880px; font-size: clamp(42px, 6vw, 68px); }
.guide-lead { max-width: 780px; margin: 22px 0 0; color: var(--muted); font-size: 20px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 24px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 68px; align-items: start; padding: 30px 0 88px; }
.guide-aside { position: sticky; top: 110px; }
.guide-aside-card { padding: 24px; border: 1px solid rgba(18, 61, 51, 0.17); border-radius: 18px; background: rgba(255, 253, 249, 0.78); }
.guide-aside-card h2 { font-size: 21px; letter-spacing: -0.02em; }
.guide-aside-card p { color: var(--muted); font-size: 14px; }
.guide-aside nav { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.guide-aside nav a { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--green-800); font-size: 14px; font-weight: 750; text-underline-offset: 3px; }
.guide-content { min-width: 0; }
.guide-section { padding: 34px 0; border-top: 1px solid rgba(18, 61, 51, 0.18); }
.guide-section:first-child { padding-top: 0; border-top: 0; }
.guide-section h2 { font-size: clamp(28px, 3vw, 38px); }
.guide-section h3 { margin-top: 26px; }
.guide-section p { margin: 15px 0 0; color: #39453f; }
.guide-section ul, .guide-section ol { margin: 17px 0 0; padding-left: 24px; }
.guide-section li { margin: 9px 0; padding-left: 4px; }
.guide-callout { margin-top: 24px; padding: 20px 22px; border-left: 5px solid var(--amber); border-radius: 0 14px 14px 0; background: var(--paper); }
.guide-callout strong { display: block; color: var(--green-950); }
.guide-callout p { margin-top: 5px; font-size: 14px; }
.source-list { margin-top: 18px; padding: 0; list-style: none; }
.source-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.source-list a { color: var(--green-800); font-weight: 750; text-underline-offset: 3px; overflow-wrap: anywhere; }
.related-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.related-guides a { min-height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--green-950); font-weight: 800; text-decoration: none; }
.related-guides a:hover { border-color: var(--green-700); }
.guide-cta { margin-top: 32px; padding: 28px; border-radius: 20px; color: var(--white); background: var(--green-800); }
.guide-cta h2 { font-size: 30px; }
.guide-cta p { color: #d5e7e0; }
.guide-cta .button { margin-top: 12px; }
.legal-content { max-width: 850px; margin: 0 auto; padding: 24px 0 88px; }
.legal-content .guide-section { padding: 30px 0; }
.status-panel { max-width: 620px; margin: 20px auto 90px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-soft); }
.status-panel label { display: block; }
.status-panel .button { margin-top: 12px; }
.status-note { min-height: 25px; color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid, .report-grid, .planner-grid, .local-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero-copy { max-width: 760px; }
  .hero-photo { max-width: 780px; }
  .process-grid { grid-template-columns: 1fr; gap: 38px; }
  .process-intro { position: static; max-width: 760px; }
  .report-grid { gap: 44px; }
  .report-paper { max-width: 700px; transform: none; }
  .planner-grid { gap: 34px; }
  .planner-copy { max-width: 760px; }
  .guide-layout { grid-template-columns: 1fr; gap: 34px; }
  .guide-aside { position: static; }
  .guide-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .shell { width: min(100% - 28px, 1160px); }
  .site-header .header-cta { display: none; }
  .header-inner { min-height: 68px; }
  .hero { padding: 48px 0 62px; }
  h1 { font-size: clamp(42px, 13vw, 59px); }
  .hero-lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-photo::before { inset: -10px 14% 12px -10px; }
  .hero-photo figcaption { position: static; margin-top: 10px; color: var(--muted); background: transparent; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .section { padding: 66px 0; }
  .journey-grid, .plan-grid { grid-template-columns: 1fr; }
  .journey-card, .journey-card:nth-child(2) { min-height: 258px; transform: none; }
  .journey-card h3 { margin-top: 34px; }
  .planner-panel { grid-template-columns: 1fr; }
  .local-links a { grid-template-columns: 1fr; gap: 3px; }
  .closing-section { padding: 0; }
  .closing-card { width: 100%; border-radius: 0; padding: 42px 20px; flex-direction: column; align-items: stretch; }
  .closing-card .button { width: 100%; }
  .resources-row, .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p { text-align: left; }
  .footer-inner nav { justify-content: flex-start; }
  .mobile-action { position: fixed; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40; display: block; }
  .guide-hero { padding: 46px 0 30px; }
  .guide-hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .guide-lead { font-size: 18px; }
  .guide-layout { padding-bottom: 66px; }
  .guide-aside nav, .related-guides { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .wordmark { font-size: 18px; }
  .hero { padding-top: 38px; }
  .trust-list { display: grid; gap: 7px; }
  .report-paper { padding: 22px; }
  .report-summary { grid-template-columns: 1fr 1fr; }
  .report-summary span:last-child { grid-column: 1 / -1; }
  .report-photo-row { grid-template-columns: 1fr; }
  .field-row, .room-options { grid-template-columns: 1fr; }
  .planner-panel form, .planner-result { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
