:root {
  --paper: #fffaf0;
  --paper-deep: #f3ead7;
  --ink: #20362f;
  --muted: #617268;
  --green: #385743;
  --green-soft: #dfe8d4;
  --brick: #8f3f2f;
  --brick-soft: #f2ddd5;
  --line: rgba(32, 54, 47, 0.16);
  --shadow: 0 20px 55px rgba(32, 54, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--green-soft);
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: calc(84svh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 6vw, 72px) clamp(28px, 4vw, 44px);
}

.hero-copy {
  max-width: 820px;
  min-width: 0;
}

.preview-note {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--brick);
  font-size: 0.88rem;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 6.15rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 span {
  display: block;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: var(--paper);
}

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

.hero-panel {
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
}

.map-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf4e5;
  box-shadow: var(--shadow);
}

.map-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-card div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.map-card span {
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--green);
  color: var(--paper);
}

.trust-band div {
  padding: 20px clamp(18px, 4vw, 44px);
  border-right: 1px solid rgba(255, 250, 240, 0.22);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 4px;
}

.trust-band span {
  color: rgba(255, 250, 240, 0.74);
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 6vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 28px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.form-panel h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading p,
.form-panel p,
.editorial-note p,
.held-back p {
  color: var(--muted);
  font-size: 1.03rem;
}

.editorial-note,
.held-back {
  border-left: 4px solid var(--brick);
  background: var(--brick-soft);
  padding: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.editorial-note p,
.held-back p {
  margin-bottom: 0;
}

.guide-section {
  background: #f8f0df;
}

.blog-section {
  background: var(--paper);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 24px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 780;
  padding: 8px 14px;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}

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

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.portal-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.portal-card,
.feature-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  text-decoration: none;
}

.portal-card:hover {
  border-color: rgba(56, 87, 67, 0.42);
  box-shadow: 0 14px 38px rgba(32, 54, 47, 0.08);
}

.portal-card h3,
.feature-card h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.15;
}

.portal-card p,
.feature-card p {
  color: var(--muted);
}

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

.source-list a {
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-card {
  display: grid;
  align-content: start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  padding: 22px;
}

.post-card h3 {
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.post-card p {
  color: var(--muted);
}

.post-card a {
  width: fit-content;
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.guide-card h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.guide-card p {
  color: var(--muted);
}

.guide-card .button {
  width: fit-content;
}

.guide-card.is-muted {
  background: rgba(255, 250, 240, 0.52);
}

.listing-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
}

.listing-card header {
  display: grid;
  gap: 10px;
}

.category-tag {
  width: fit-content;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 6px 9px;
}

.listing-card h3 {
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.16;
}

.listing-card p {
  color: var(--muted);
}

.listing-meta {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.listing-actions a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
}

.status-line {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--brick);
  font-size: 0.88rem;
  font-weight: 760;
}

.held-back {
  margin-top: 26px;
  max-width: 870px;
}

.held-back h3 {
  margin-bottom: 8px;
}

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

.form-panel {
  display: grid;
  gap: 26px;
  align-content: start;
  border-block: 1px solid var(--line);
  padding: 28px 0;
}

.placeholder-form {
  display: grid;
  gap: 14px;
}

.placeholder-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.placeholder-form input,
.placeholder-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4ecdc;
  color: var(--muted);
  font: inherit;
  padding: 12px;
}

.placeholder-form textarea {
  min-height: 104px;
  resize: vertical;
}

.placeholder-form button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-deep);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
}

.page-hero {
  display: grid;
  gap: 20px;
  padding: clamp(54px, 8vw, 98px) clamp(18px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-heading {
  max-width: 860px;
}

.page-hero h1 {
  max-width: 900px;
}

.article {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 6vw, 72px);
}

.article-header {
  max-width: 920px;
}

.article-header p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.article-body {
  max-width: 760px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.article-body h2 {
  margin: 34px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.article-body p {
  color: var(--muted);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  padding: 24px;
}

.content-panel h2,
.content-panel h3 {
  margin-bottom: 10px;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel ul,
.content-panel ol {
  margin: 0;
  padding-left: 20px;
}

.placeholder-form.is-live-layout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

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

.readiness-list {
  display: grid;
  max-width: 880px;
  gap: 10px;
  margin: 28px 0 0;
  padding-left: 24px;
  color: var(--ink);
}

.readiness-list li {
  padding-left: 6px;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 32px clamp(18px, 6vw, 72px);
  background: var(--ink);
  color: rgba(255, 250, 240, 0.76);
}

.site-footer p {
  max-width: 960px;
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro-section,
  .forms-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    align-self: auto;
  }

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

  .guide-cards,
  .blog-grid,
  .portal-grid,
  .feature-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.86rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10.4vw, 2.65rem);
    line-height: 0.98;
  }

  .hero {
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-copy,
  .hero-panel,
  .section-heading,
  .page-hero .section-heading,
  .article-header,
  .article-body,
  .feature-card,
  .portal-card,
  .post-card,
  .content-panel {
    width: 330px;
    max-width: 330px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .map-card {
    max-width: 100%;
  }

  @media (max-width: 360px) {
    .hero-copy,
    .hero-panel,
    .section-heading,
    .page-hero .section-heading,
    .article-header,
    .article-body,
    .feature-card,
    .portal-card,
    .post-card,
    .content-panel {
      width: 284px;
      max-width: 284px;
    }
  }

  .trust-band,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.22);
  }

  .listing-card {
    min-height: auto;
  }

  .guide-card .button {
    width: 100%;
  }
}
