/* Kindred rOS — light, copy-led redesign (WEB-6 direction, WEB-7 build).
   Warm paper base, editorial black buttons, brand gold as the single accent.
   Strategy-tier colors are scoped to the one section where color carries meaning. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #FAF7F1;       /* warm off-white base */
  --paper-alt: #F2ECE1;   /* quiet section band */
  --ink: #211C16;         /* warm near-black, primary text + buttons */
  --ink-soft: #3A332B;
  --muted: #6A6053;       /* secondary text */
  --line: #E4DCCE;        /* hairline borders */
  --accent: #B8862B;      /* brand gold, readable on paper (links, CARE letters) */
  --accent-deep: #946A1C;
  /* strategy tiers — used only in the strategy section */
  --tier-personal: #B24A33;
  --tier-letter: #C2731F;
  --tier-group: #3F7A52;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .pull-quote, .care-letter, .price-amount {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
}

a { color: var(--accent-deep); }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.container--wide { max-width: 1000px; }

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark { height: 26px; width: auto; margin-right: 9px; }
.logo-ros { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 26px;
  flex: 1;
}
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { gap: 0; justify-content: space-between; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: block; text-align: center; }

/* ---------- SHARED SECTION RHYTHM ---------- */
section { padding: 92px 0; }
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.3px;
  margin-bottom: 22px;
}
.lead {
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 38ch;
}
.body-copy {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 65ch;
  margin-bottom: 18px;
}
.body-copy:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.band { background: var(--paper-alt); }
.divider { border-top: 1px solid var(--line); }

/* ---------- LEAF DIVIDER (botanical section break) ---------- */
/* Full-bleed decorative band placed where the paper/band tone shifts.
   Cropped to keep both the leaf shadow and the gold rule in view. */
.leaf-divider {
  height: clamp(120px, 15vw, 220px);
  background-color: var(--paper);
  background-repeat: no-repeat;
  background-position: center 55%;
  background-size: cover;
}
.leaf-divider--canopy { background-image: url('divider-canopy.jpg'); }
.leaf-divider--leaf   { background-image: url('divider-leaf.jpg'); }
@media (max-width: 640px) {
  .leaf-divider { height: clamp(86px, 24vw, 150px); }
}

/* ---------- ILLUSTRATIVE IMAGERY ---------- */
.fig {
  display: block;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.fig--hero {
  width: 100%;
  margin-top: 44px;
}
.fig--inline {
  width: 100%;
  max-width: 560px;
  margin-top: 34px;
}

/* ---------- HERO ---------- */
.hero { padding: 104px 0 88px; }
.hero h1 { max-width: 16ch; }
.hero-sub {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.66;
  margin-bottom: 36px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.proof-line {
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}
.proof-line strong { color: var(--ink); font-weight: 600; }

/* ---------- THE REAL PROBLEM ---------- */
.pull-quote {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.3px;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 32px;
}

/* ---------- CONTRAST (CRM vs Kindred) ---------- */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 560px) { .contrast-grid { grid-template-columns: 1fr; } }
.contrast-col { padding: 30px 28px; }
.contrast-col + .contrast-col {
  border-left: 1px solid var(--line);
}
@media (max-width: 560px) {
  .contrast-col + .contrast-col { border-left: 0; border-top: 1px solid var(--line); }
}
.contrast-col--kindred { background: rgba(184, 134, 43, 0.06); }
.contrast-head {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.contrast-col--kindred .contrast-head { color: var(--accent-deep); }
.contrast-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contrast-list li { font-size: 16px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- CARE ---------- */
.care-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.care-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.care-item:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 540px) {
  .care-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}
.care-letter {
  font-size: 52px;
  font-weight: 400;
  color: var(--accent);
  line-height: 0.9;
}
.care-item h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.care-item p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; max-width: 60ch; }
.care-close {
  margin-top: 32px;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 44ch;
  font-family: 'Fraunces', serif;
  font-weight: 400;
}

/* ---------- STRATEGY (the one place tier color is used) ---------- */
.strategy-grid {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 700px) { .strategy-grid { grid-template-columns: 1fr; } }
.strategy-card {
  padding: 26px 24px;
  border-radius: 8px;
  border-left: 3px solid var(--line);
  background: var(--paper);
}
.strategy-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.strategy-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.strategy-card--personal { border-left-color: var(--tier-personal); background: rgba(178, 74, 51, 0.06); }
.strategy-card--personal h3 { color: var(--tier-personal); }
.strategy-card--letter { border-left-color: var(--tier-letter); background: rgba(194, 115, 31, 0.06); }
.strategy-card--letter h3 { color: var(--tier-letter); }
.strategy-card--group { border-left-color: var(--tier-group); background: rgba(63, 122, 82, 0.06); }
.strategy-card--group h3 { color: var(--tier-group); }

/* ---------- OUTCOMES (what changes in your week) ---------- */
.outcomes {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.outcome {
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 58ch;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

/* ---------- PROOF ---------- */
.proof-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  max-width: 30ch;
}
.proof-note { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 60ch; }

/* ---------- BETA ---------- */
.beta { font-size: 17px; color: var(--muted); max-width: 60ch; line-height: 1.7; }

/* ---------- CLOSING CTA ---------- */
.closing { text-align: center; }
.closing .container { display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: 18ch; }
.closing .hero-sub { margin-left: auto; margin-right: auto; }
.closing .cta-row { justify-content: center; }
.reassure { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------- PRODUCT / GENERIC FEATURE BLOCKS ---------- */
.feature { padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature h3 { font-size: 24px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.2px; }
.feature .body-copy { margin-bottom: 12px; }
.feature .outcome-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.pricing-name { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.price { margin-bottom: 14px; }
.price-amount { font-size: 40px; font-weight: 400; color: var(--ink); }
.price-period { font-size: 15px; color: var(--muted); margin-left: 4px; font-family: 'Inter', sans-serif; }
.price-custom { font-size: 28px; font-weight: 400; color: var(--ink); font-family: 'Fraunces', serif; }
.pricing-tagline { font-size: 16px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 22px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pricing-features li { font-size: 15px; color: var(--ink-soft); padding-left: 22px; position: relative; line-height: 1.5; }
.pricing-features li::before { content: '+'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-card .btn { margin-top: auto; }
.pricing-aside { margin-top: 44px; font-size: 16px; color: var(--muted); max-width: 60ch; line-height: 1.7; }

/* ---------- ABOUT ---------- */
.about-section { padding: 40px 0; border-top: 1px solid var(--line); }
.about-section:first-of-type { border-top: 0; }
.about-section h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }

/* ---------- DEMO FORM ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 8px; }
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; gap: 36px; } }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.expect-list li { font-size: 18px; color: var(--ink-soft); line-height: 1.5; padding-left: 22px; border-left: 2px solid var(--accent); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0; }
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.footer-tagline { font-size: 15px; color: var(--muted); flex: 1 1 240px; max-width: 32ch; line-height: 1.5; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { width: 100%; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
