
:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #242424;
  background: #faf9f7;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #315f68;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: #1f3438;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

h3 {
  margin-top: 0;
}

p,
li {
  font-size: 1.05rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dedbd4;
}

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

.site-name {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: #1f3438;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-name-text {
  position: relative;
  top: -0.15em;
}

.site-name:hover,
.site-name:focus-visible {
  color: #315f68;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-logo {
  width: auto;
  height: 2.25rem;
  flex-shrink: 0;
}

.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation a {
  color: #32484c;
  text-decoration: none;
}

.navigation a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  color: #32484c;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::marker {
  content: "";
}

.nav-dropdown summary[aria-current="true"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  margin: 0.5rem 0 0;
  padding: 0.5rem;
  min-width: 220px;
  max-width: calc(100vw - 2rem);
  background: #ffffff;
  border: 1px solid #dedbd4;
  border-radius: 0.4rem;
  box-shadow: 0 8px 20px rgba(31, 52, 56, 0.12);
  list-style: none;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 0.25rem;
}

.nav-dropdown-menu a:hover {
  background: #f0eeea;
}

.page-hero {
  padding-block: clamp(4rem, 10vw, 8rem);
  background:
    linear-gradient(rgba(232, 239, 236, 0.88), rgba(232, 239, 236, 0.88)),
    url("/assets/tree.jpeg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #d5dfdb;
}

.hero-photo {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 0 1.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(31, 52, 56, 0.15);
}

.author-bio-photo {
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #426c65;
}

.page-summary {
  max-width: 62ch;
  margin-top: 1.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: #3d5154;
}

.article-metadata,
.metadata {
  color: #657174;
  font-size: 0.95rem;
}

.hero-cta {
  margin-top: 2rem;
}

.page-content {
  padding-block: 4rem;
}

.content-section {
  padding-block: 2.5rem;
  border-bottom: 1px solid #dedbd4;
}

.content-section:first-child {
  padding-top: 0;
}

.feature-list {
  padding-left: 1.4rem;
}

.feature-list li {
  margin-bottom: 0.65rem;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.callout {
  margin-block: 2.5rem;
  padding: 1.5rem;
  background: #eef3f1;
  border-left: 5px solid #5f837b;
  border-radius: 0.25rem;
}

.callout-warning {
  background: #fff6df;
  border-left-color: #a87916;
}

.callout-reassuring {
  background: #eaf3ee;
  border-left-color: #4e7a69;
}

.card-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #dedbd4;
  border-radius: 0.4rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #315f68;
  box-shadow: 0 4px 14px rgba(31, 52, 56, 0.1);
}

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

.card a {
  text-decoration: none;
}

.card-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.faq-section details {
  padding-block: 1rem;
  border-bottom: 1px solid #dedbd4;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: #1f3438;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem;
  font: inherit;
  color: inherit;
  background: #ffffff;
  border: 1px solid #a9afac;
  border-radius: 0.3rem;
}

.form-field input.field-invalid {
  border-color: #a3341f;
}

.form-field input.field-valid {
  border-color: #2f6b4f;
}

button,
.button-primary,
.button-secondary {
  display: inline-block;
  width: fit-content;
  padding: 0.8rem 1.1rem;
  border-radius: 0.3rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

button,
.button-primary {
  color: #ffffff;
  background: #315f68;
  border: 1px solid #315f68;
}

.button-secondary {
  color: #315f68;
  background: transparent;
  border: 1px solid #315f68;
}

.form-notice,
.footer-disclaimer {
  color: #657174;
  font-size: 0.9rem;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status-success {
  color: #2f6b4f;
  font-weight: 600;
}

.form-status-error {
  color: #a3341f;
  font-weight: 600;
}

.page-cta {
  margin-top: 3rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: #1f3438;
  color: #ffffff;
  border-radius: 0.5rem;
}

.page-cta h2 {
  color: #ffffff;
}

.page-cta .button-primary {
  color: #1f3438;
  background: #ffffff;
  border-color: #ffffff;
}

.page-cta .button-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.author-bio {
  margin-block: 2.5rem;
  padding: 1.5rem;
  background: #f0eeea;
  border-radius: 0.4rem;
}

.site-footer {
  padding-block: 3rem;
  color: #dce5e2;
  background: #1f3438;
}

.site-footer p:first-child {
  margin-top: 0;
}

.site-footer .footer-disclaimer {
  color: #bac9c5;
}

.footer-nav {
  margin-top: 1.5rem;
}

.footer-nav a {
  color: #dce5e2;
  text-decoration-thickness: 0.06em;
}

.footer-nav a:hover {
  color: #ffffff;
}

code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  .navigation {
    gap: 0.8rem 1rem;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
  }
}
