:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #63706c;
  --paper: #f7f3ea;
  --panel: #fffaf0;
  --line: rgba(23, 33, 31, 0.13);
  --pine: #183b36;
  --pine-2: #0f2a28;
  --teal: #2f8f83;
  --coral: #c64e3a;
  --gold: #e1ad42;
  --blue: #5d82a8;
  --shadow: 0 18px 48px rgba(23, 33, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 143, 131, 0.08), transparent 35%),
    linear-gradient(225deg, rgba(198, 78, 58, 0.08), transparent 38%),
    var(--paper);
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.navbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pine);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 34px;
  border-radius: 5px;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--pine);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(24, 59, 54, 0.09);
}

.nav-links a:focus-visible,
.brand:focus-visible,
.read-more:focus-visible,
.back-link:focus-visible,
.team-card a:focus-visible {
  outline: 3px solid rgba(198, 78, 58, 0.45);
  outline-offset: 3px;
}

.hero-header {
  width: 100%;
  padding: 24px max(20px, calc((100% - 1180px) / 2)) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(225, 173, 66, 0.24), transparent 28%),
    linear-gradient(130deg, var(--pine-2), var(--pine) 54%, #214842);
  color: #fffaf0;
}

.hero-header .brand,
.hero-header .nav-links a {
  color: #fffaf0;
}

.hero-header .brand img {
  background: transparent;
}

.hero-header .nav-links a:hover,
.hero-header .nav-links a[aria-current="page"] {
  background: rgba(255, 250, 240, 0.13);
}

.hero {
  width: min(1180px, 100%);
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 54px 0 96px;
}

.hero-copy {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.hero-logo {
  width: min(560px, 100%);
  height: auto;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .eyebrow,
.benefit-band .section-kicker,
.problem-card .section-kicker {
  font-size: clamp(1rem, 1.7vw, 1.28rem);
}

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

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(4.25rem, 12vw, 8.6rem);
  line-height: 0.9;
  font-weight: 900;
}

.tagline {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: clamp(1.16rem, 1.9vw, 1.48rem);
  line-height: 1.4;
  font-weight: 600;
}

main {
  flex: 1;
}

.section-shell,
.subpage {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.benefit-band {
  padding: 76px 0;
  background: #f0eee3;
}

.benefit-band h2,
.page-intro h1,
.coming-soon h1 {
  max-width: 820px;
  margin-bottom: 32px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
}

.benefit-band h2 {
  max-width: none;
  white-space: nowrap;
}

.page-label {
  margin-bottom: 34px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

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

.benefit-card,
.post-card,
.team-card,
.coming-soon {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: var(--shadow);
}

.benefit-card {
  min-height: 230px;
  padding: 26px;
}

.icon-badge {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8f4ef;
  color: var(--teal);
}

.icon-badge svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.benefit-card p,
.problem-card p,
.post-card p,
.team-card p,
.blog-post p,
.trust-figure figcaption {
  color: var(--muted);
  line-height: 1.68;
}

.problem-band {
  padding: 82px 0 92px;
  background:
    linear-gradient(90deg, rgba(24, 59, 54, 0.94), rgba(24, 59, 54, 0.88)),
    var(--pine);
}

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

.problem-card {
  min-height: 360px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
}

.problem-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.problem-card-dark {
  background: #112825;
  color: #fffaf0;
}

.problem-card-dark p {
  color: rgba(255, 250, 240, 0.78);
}

.problem-card-light {
  background: #f7d7c7;
}

.subpage {
  padding: 74px 0 86px;
}

.page-intro {
  max-width: 920px;
  margin-bottom: 34px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.post-card {
  padding: clamp(24px, 4vw, 36px);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 800;
}

.post-meta span::after {
  content: "/";
  margin-left: 12px;
  color: rgba(99, 112, 108, 0.55);
}

.post-card h2,
.blog-post h1 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card h2 a:hover,
.team-card a:hover,
.back-link:hover {
  color: var(--coral);
}

.read-more,
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 6px;
  border-radius: 8px;
  color: var(--pine);
  font-weight: 900;
  text-decoration: none;
}

.read-more::after {
  content: "->";
  margin-left: 8px;
  color: var(--coral);
}

.article-layout {
  width: min(920px, calc(100% - 40px));
}

.blog-post {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.blog-post h1 {
  margin-bottom: 26px;
}

.blog-post p {
  font-size: 1.07rem;
}

.back-link {
  margin-bottom: 28px;
  color: var(--coral);
}

.trust-figure {
  margin: 46px 0;
  overflow-x: auto;
  text-align: center;
}

.trust-figure svg {
  width: 100%;
  min-width: 720px;
  height: auto;
  font-family: inherit;
}

.trust-figure figcaption {
  max-width: 690px;
  margin: 14px auto 0;
  font-size: 0.94rem;
}

.figure-panel {
  fill: rgba(255, 255, 255, 0.66);
  stroke: rgba(23, 33, 31, 0.18);
  stroke-width: 1.2;
}

.trusted-box {
  fill: #dcebd7;
  stroke: #5f8b56;
  stroke-width: 1.6;
}

.untrusted-box {
  fill: #f3c8bd;
  stroke: #c64e3a;
  stroke-width: 1.6;
}

.anchor-box {
  fill: #d4ece8;
  stroke: #2f8f83;
  stroke-width: 1.6;
}

.figure-arrow {
  stroke: #55606f;
  stroke-linecap: round;
  stroke-width: 2.4;
}

.static-arrow {
  marker-end: url(#static-arrow);
}

.dynamic-arrow {
  marker-end: url(#dynamic-arrow);
}

.figure-heading {
  font-size: 20px;
  font-weight: 800;
}

.figure-note,
.figure-label {
  fill: #55606f;
}

.figure-label {
  font-size: 16px;
  font-weight: 800;
}

.figure-leader {
  stroke: #55606f;
  stroke-dasharray: 4 4;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.coming-soon {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: rgba(255, 250, 240, 0.84);
}

.coming-soon img {
  width: 118px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 5px;
  object-fit: contain;
  background: transparent;
}

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

.team-card {
  min-height: 280px;
  padding: 22px;
}

.avatar {
  width: 116px;
  height: 116px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pine), var(--teal));
  color: #fffaf0;
  font-size: 2rem;
  font-weight: 900;
}

.avatar img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar span {
  grid-area: 1 / 1;
}

.team-card h2 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.team-heading {
  max-width: none;
  color: var(--coral);
}

.team-heading span {
  font-size: 1.12em;
}

.team-card h2 a {
  text-decoration: none;
}

.team-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero {
    min-height: 560px;
  }

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

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

@media (max-width: 680px) {
  .site-header,
  .section-shell,
  .subpage,
  .article-layout,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 0;
    padding: 44px 0 70px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.8rem);
  }

  .benefit-band h2,
  .team-heading {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
  }

  .team-heading {
    line-height: 1.12;
    white-space: normal;
    word-break: normal;
  }

  .benefit-band,
  .problem-band {
    padding: 54px 0;
  }

  .benefit-grid,
  .problem-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 0;
  }

  .post-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .post-meta span::after {
    content: "";
    margin-left: 0;
  }
}

@media (min-width: 681px) {
  .team-heading {
    white-space: nowrap;
  }
}
