/* Brand palette — see PLAN.md Section 2 for the revision history and
   where these values came from (sampled from screenshots, 2026-09-12). */
:root {
  --color-ink: #231f1c;
  --color-page-background: #f7f4ee;
  --color-card-background: #e5e2dd;
  --color-icon-chip: #d7cac0;
  --color-copper-accent: #8a5a3a;
  --color-cta-brown: #473527;
  --color-cta-copper: #96623f;
  --color-taupe: #a79e94;
  --color-on-dark: #f7f4ee;
  --color-on-dark-muted: #b8b0a6;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --content-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-page-background);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem); }
h3 { font-size: 1.4rem; }

p {
  line-height: 1.65;
  margin: 0 0 16px;
}

img {
  max-width: 100%;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-copper-accent);
  font-weight: 600;
  margin: 0 0 12px;
}

/* Header / nav — always dark, per the design reference across every page */
.site-header {
  background: var(--color-ink);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px 24px;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.site-nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav-links a {
  color: var(--color-on-dark);
  text-decoration: none;
  font-size: 15px;
}

.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Generic content wrapper, used by simple/stub pages */
.page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.page--article {
  max-width: 720px;
}

.page--article h2 {
  margin-top: 40px;
}

.page--article a {
  color: var(--color-copper-accent);
}

/* Section system for built-out pages (home/features/about/pricing) */
.section {
  padding: 72px 24px;
}

.section--card {
  background: var(--color-card-background);
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-inner--narrow {
  max-width: 760px;
}

.section-inner--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.dark-band {
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.dark-band h2 {
  color: var(--color-on-dark);
}

.dark-band .eyebrow {
  color: var(--color-cta-copper);
}

.dark-band p {
  color: var(--color-on-dark-muted);
}

/* Hero: two-column split (home) or centered (features/pricing) */
.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.hero > * {
  flex: 1 1 360px;
}

.hero-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-media,
.split-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-card-background);
}

.hero-media img,
.split-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inline content image within a text column (full column width, natural
   aspect ratio, uncropped) */
.content-image {
  display: block;
  width: 100%;
  border-radius: 8px;
  margin: 4px 0 20px;
}

/* Split-media variant matching a square source image 1:1, instead of
   cropping it down to the default 4:3 landscape */
.split-media--square {
  aspect-ratio: 1 / 1;
}

/* Split-media variant for a tall, uncropped screenshot (e.g. a phone/panel
   UI) instead of the default 4:3 cropped photo */
.split-media--contain {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.split-media--contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(35, 31, 28, 0.18);
}

/* Buttons */
.cta {
  display: inline-block;
  background: var(--color-cta-brown);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cta:hover {
  opacity: 0.92;
}

.cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cta--on-dark {
  background: var(--color-cta-copper);
}

/* Card grid (feature cards, testimonials) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--color-card-background);
  border-radius: 12px;
  padding: 32px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-icon-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.quote-card cite {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-copper-accent);
  font-style: normal;
}

/* Numbered step list ("Our Method") */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step-number {
  display: block;
  font-family: var(--font-body);
  color: var(--color-copper-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Alternating image/text rows (features/about) */
.split-row {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.split-row.reverse {
  flex-direction: row-reverse;
}

.split-row > * {
  flex: 1 1 360px;
}

/* CTA strip: heading/copy left, button right, on light background */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.cta-strip h3 {
  margin-bottom: 8px;
}

.cta-strip p {
  margin-bottom: 0;
}

/* Pricing comparison table */
.pricing-table-wrap {
  background: var(--color-card-background);
  border-radius: 12px;
  padding: 8px 8px 0;
  margin-top: 40px;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 14px 18px;
  font-size: 15px;
}

.pricing-table thead th {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--color-ink);
}

.pricing-table tbody td:first-child {
  font-weight: 600;
}

.pricing-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--color-taupe);
}

.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
  background: var(--color-icon-chip);
}

.pricing-notes {
  margin-top: 24px;
  padding-left: 20px;
}

.pricing-notes li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* FAQ accordion */
.faq-list {
  margin-top: 32px;
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--color-taupe);
  padding: 18px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-copper-accent);
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item p {
  margin: 12px 0 0;
}

/* Footer — dark, matches header */
.site-footer {
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.site-footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.site-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.site-footer-accent-line {
  width: 64px;
  height: 3px;
  background: var(--color-cta-copper);
  border: none;
  margin: 0 0 20px;
}

.site-footer-brand {
  max-width: 360px;
}

.site-footer-brand h2 {
  color: var(--color-on-dark);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.site-footer-brand p {
  color: var(--color-on-dark-muted);
  margin: 0;
}

.site-footer-links {
  display: flex;
  gap: 6px 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer-links a {
  color: var(--color-on-dark);
  text-decoration: none;
}

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

.site-footer-support {
  text-align: right;
  margin-top: 16px;
}

.site-footer-support-label {
  color: var(--color-cta-copper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.site-footer-support p {
  margin: 0 0 4px;
  color: var(--color-on-dark);
  font-size: 14px;
}

.site-footer-divider {
  border: none;
  border-top: 1px solid #423d38;
  margin: 32px 0 16px;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-on-dark-muted);
}

.site-footer-bottom .tagline {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cta-copper);
}

@media (max-width: 640px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer-top {
    flex-direction: column;
  }

  .site-footer-links,
  .site-footer-support {
    justify-content: flex-start;
    text-align: left;
  }

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