:root {
  --ink: #17211f;
  --muted: #5e6c68;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d9ded8;
  --green: #1f6b57;
  --green-dark: #104d40;
  --gold: #c8982d;
  --blue: #1c4e74;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-page {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .96) 62%, rgba(236, 241, 236, .88) 100%),
    linear-gradient(135deg, rgba(31, 107, 87, .08) 0%, rgba(31, 107, 87, 0) 42%),
    repeating-linear-gradient(90deg, rgba(23, 33, 31, .035) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.strip-inner,
.method-section,
.fit-section,
.final-cta {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: end;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 72px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-family: Lora, Georgia, serif;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .96;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin-bottom: 16px;
  color: #31413d;
  font-size: 21px;
}

.lede-note {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 107, 87, .22);
}

.btn-secondary {
  background: rgba(255, 255, 255, .72);
  border-color: #b8c3bd;
  color: var(--ink);
}

.profile-panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid #d5ddd7;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(23, 33, 31, .14);
}

.profile-panel img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  border-radius: 6px;
}

.profile-panel strong,
.profile-panel span {
  display: block;
}

.profile-panel strong {
  font-size: 20px;
}

.profile-panel span {
  color: var(--muted);
}

.problem-strip {
  background: #15221f;
  color: #fff;
  padding: 34px 32px;
}

.strip-heading {
  max-width: 1160px;
  margin: 0 auto 20px;
}

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

.strip-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
  color: #fff;
  font-size: 36px;
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.strip-inner article {
  min-height: 210px;
  padding: 28px;
  background: #15221f;
}

.strip-inner span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.strip-inner h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.strip-inner p {
  margin-bottom: 0;
  color: #c8d6d0;
}

.method-section,
.fit-section,
.final-cta {
  padding: 88px 32px;
}

.method-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.method-intro h2,
.fit-copy h2,
.final-cta h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-grid article {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 255, 255, .48);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-grid h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 22px;
}

.method-grid p,
.fit-copy p {
  color: var(--muted);
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.fit-list {
  display: grid;
  gap: 12px;
}

.fit-list div {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.fit-list strong {
  margin-bottom: 6px;
  color: var(--blue);
}

.fit-list span {
  color: var(--muted);
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}

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

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 24px 18px 42px;
  }

  .hero-inner,
  .fit-section {
    grid-template-columns: 1fr;
  }

  .brand {
    margin-bottom: 48px;
  }

  .profile-panel {
    max-width: 360px;
  }

  .strip-inner,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-section,
  .fit-section,
  .final-cta {
    padding: 58px 18px;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 48px;
  }

  .lede {
    font-size: 18px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }
}


.intake-hero {
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .96) 62%, rgba(236, 241, 236, .88) 100%),
    linear-gradient(135deg, rgba(31, 107, 87, .08) 0%, rgba(31, 107, 87, 0) 42%),
    repeating-linear-gradient(90deg, rgba(23, 33, 31, .035) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
}

.intake-hero-inner,
.intake-section {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intake-hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: end;
}

.intake-hero h1 {
  max-width: 820px;
}

.intake-section {
  padding: 76px 32px 96px;
}

.problem-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(23, 33, 31, .08);
}

.form-intro {
  max-width: 760px;
  margin-bottom: 10px;
}

.form-intro h2 {
  margin-bottom: 0;
  font-family: Lora, Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 18px;
}

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

.problem-form label,
.problem-form label span {
  display: grid;
}

.problem-form label {
  gap: 8px;
}

.problem-form label span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.problem-form input,
.problem-form select,
.problem-form textarea {
  width: 100%;
  border: 1px solid #b9c5bf;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.problem-form input,
.problem-form select {
  min-height: 50px;
  padding: 0 14px;
}

.problem-form textarea {
  resize: vertical;
  padding: 14px;
}

.problem-form input:focus,
.problem-form select:focus,
.problem-form textarea:focus {
  outline: 3px solid rgba(31, 107, 87, .18);
  border-color: var(--green);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.form-actions button {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 900px) {
  .intake-hero {
    padding: 24px 18px 42px;
  }

  .intake-hero-inner,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .intake-section {
    padding: 48px 18px 68px;
  }

  .problem-form {
    padding: 22px;
  }
}


.site-footer {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 28px 32px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer-dark {
  background: var(--ink);
  color: #c8d6d0;
}

.site-footer-dark a {
  color: #fff;
}

@media (max-width: 560px) {
  .site-footer {
    padding: 24px 18px 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.blog-hero,
.article-hero {
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .96) 62%, rgba(236, 241, 236, .88) 100%),
    linear-gradient(135deg, rgba(31, 107, 87, .08) 0%, rgba(31, 107, 87, 0) 42%),
    repeating-linear-gradient(90deg, rgba(23, 33, 31, .035) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
}

.blog-hero-inner,
.blog-list-section,
.article-hero-inner,
.article-body,
.article-cta {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.blog-hero-inner,
.article-hero-inner {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-hero h1,
.article-hero h1 {
  max-width: 920px;
}

.blog-list-section {
  padding: 76px 32px 96px;
}

.blog-list-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.blog-list-intro h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.blog-list {
  border-top: 1px solid var(--line);
}

.blog-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.blog-row-index {
  color: var(--gold);
  font-weight: 900;
}

.blog-row-meta,
.article-meta {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-row h3 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.blog-row h3 a,
.text-link,
.back-link {
  text-decoration: none;
}

.blog-row-copy p {
  max-width: 760px;
  color: var(--muted);
}

.text-link,
.back-link {
  color: var(--green-dark);
  font-weight: 900;
}

.back-link {
  width: fit-content;
  margin-bottom: 24px;
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}

.article-author img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.article-author strong,
.article-author span {
  display: block;
}

.article-author strong {
  color: var(--ink);
}

.article-author span {
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  max-width: 780px;
  padding: 76px 32px 96px;
  color: #2f3f3b;
  font-size: 19px;
}

.article-body h2 {
  margin: 42px 0 14px;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: 34px;
  line-height: 1.12;
}

.article-body p,
.article-body li {
  color: #354743;
}

.article-body ol {
  padding-left: 24px;
}

.article-callout,
.benchmark-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-callout {
  display: grid;
  gap: 4px;
  margin: 28px 0;
  padding: 22px;
}

.article-callout strong,
.benchmark-grid strong {
  color: var(--blue);
}

.article-callout span,
.benchmark-grid span {
  color: var(--muted);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 34px;
}

.benchmark-grid div {
  padding: 18px;
}

.benchmark-grid strong,
.benchmark-grid span {
  display: block;
}

.benchmark-grid strong {
  margin-bottom: 6px;
}

.article-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 76px 32px;
  background: var(--ink);
  color: #fff;
}

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

.article-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.article-cta p:last-child {
  margin-bottom: 0;
  color: #c8d6d0;
}

@media (max-width: 900px) {
  .blog-hero,
  .article-hero {
    padding: 24px 18px 42px;
  }

  .blog-hero-inner,
  .article-hero-inner {
    min-height: auto;
  }

  .blog-list-section,
  .article-body,
  .article-cta {
    padding: 58px 18px;
  }

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

@media (max-width: 640px) {
  .blog-row,
  .benchmark-grid {
    grid-template-columns: 1fr;
  }

  .blog-row {
    gap: 12px;
  }
}

.article-body a {
  color: var(--green-dark);
  font-weight: 800;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.article-body code {
  padding: 2px 6px;
  background: rgba(31, 107, 87, .08);
  border: 1px solid rgba(31, 107, 87, .16);
  border-radius: 4px;
  font-size: .92em;
}

.article-body ul {
  padding-left: 24px;
}

.article-table-wrap {
  width: min(100%, 980px);
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-table-wrap.wide {
  width: min(100vw - 64px, 1060px);
  margin-left: calc((780px - min(100vw - 64px, 1060px)) / 2);
}

.article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.article-table caption {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-faq {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.article-faq h3 {
  margin: 0 0 6px;
}

.article-faq p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .article-table-wrap.wide {
    width: 100%;
    margin-left: 0;
  }
}

.review-highlight {
  position: relative;
  padding: 16px 18px;
  background: #fff7d8;
  border: 1px solid rgba(200, 152, 45, .55);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(23, 33, 31, .06);
}

.article-cred.review-highlight {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.article-insert.review-highlight {
  margin: 36px 0;
}

.article-insert.review-highlight h2 {
  margin-top: 0;
}

.article-insert.review-highlight p:last-child,
.review-highlight p:last-child {
  margin-bottom: 0;
}

.article-post-cta {
  margin-top: 6px;
}

.article-body .btn-primary {
  color: #fff;
}

.article-post-action {
  margin: -18px 0 42px;
}

@media (max-width: 720px) {
  .article-table-wrap,
  .article-table-wrap.wide {
    width: 100%;
    margin-left: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .article-table,
  .article-table caption,
  .article-table tbody,
  .article-table tr,
  .article-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .article-table thead {
    display: none;
  }

  .article-table caption {
    margin-bottom: 10px;
    padding: 0;
    font-size: 17px;
  }

  .article-table tr {
    margin-bottom: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  .article-table td {
    display: grid;
    grid-template-columns: minmax(108px, .42fr) minmax(0, 1fr);
    gap: 14px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
  }

  .article-table td:first-child {
    border-top: 0;
  }

  .article-table td::before {
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .benchmark-table td:nth-child(1)::before { content: "TTFC score"; }
  .benchmark-table td:nth-child(2)::before { content: "Level"; }
  .benchmark-table td:nth-child(3)::before { content: "Meaning"; }

  .friction-table td:nth-child(1)::before { content: "Time range"; }
  .friction-table td:nth-child(2)::before { content: "Friction"; }
  .friction-table td:nth-child(3)::before { content: "Symptoms"; }
  .friction-table td:nth-child(4)::before { content: "Root causes"; }
  .friction-table td:nth-child(5)::before { content: "Fixes"; }
}

@media (max-width: 420px) {
  .article-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.import-change-highlight {
  padding: 2px 6px;
  background: #e8f3ff;
  border: 1px solid rgba(28, 78, 116, .28);
  border-radius: 5px;
}

.article-callout.import-change-highlight {
  padding: 22px;
  border-left: 5px solid var(--blue);
}

.review-key {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.review-key span {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 900;
}

.review-key-requested {
  background: #fff7d8;
  border: 1px solid rgba(200, 152, 45, .55);
  color: #6f5111;
}

.review-key-import {
  background: #e8f3ff;
  border: 1px solid rgba(28, 78, 116, .28);
  color: var(--blue);
}

.article-toc {
  margin: 0 0 42px;
  padding: 22px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-toc h2 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.article-toc a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.article-insert {
  margin: 36px 0;
  padding: 24px;
  background: rgba(31, 107, 87, .06);
  border: 1px solid rgba(31, 107, 87, .18);
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.article-insert h2 {
  margin-top: 0;
}

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

.article-insert.review-highlight {
  background: #fff7d8;
  border-color: rgba(200, 152, 45, .55);
  border-left-color: var(--gold);
}
