:root {
  --ink: #1c2420;
  --mid: #4a5552;
  --soft: #8a9896;
  --paper: #faf8f4;
  --cream: #f5f0e8;
  --white: #ffffff;
  --line: #dbe5e1;
  --line-strong: #d1ddda;
  --holdon-teal: #2a8b8b;
  --holdon-blue: #5a7eb8;
  --holdon-rose: #c4636f;
  --kw-teal: #2d7a62;
  --kw-forest: #1e4d3a;
  --kw-sage: #7ab89a;
  --kw-amber: #c8773a;
  --shadow-sm: 0 10px 26px rgba(28, 36, 32, 0.05);
  --shadow-lg: 0 28px 72px rgba(28, 36, 32, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

p,
blockquote {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── Layout ──────────────────────────────────────────── */

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

/* ─── Header ──────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(244, 248, 247, 0.88);
  border-bottom: 1px solid rgba(209, 221, 218, 0.6);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--holdon-teal), var(--kw-teal));
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand-mark img {
  width: 22px;
  height: 22px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-text span {
  color: var(--kw-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.nav-links a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--kw-teal);
}

/* ─── Home Page Hero ──────────────────────────────────── */
/* Matches the live HoldOn site: full-viewport, centered,
   generous whitespace, organic gradient orbs, large serif h1 */

.hero-home {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 80px 0 60px;
  text-align: center;
}

/* Organic gradient orbs — matching the live site's decorative circles */
.hero-home::before,
.hero-home::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-home::before {
  top: -6%;
  right: -4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(42, 139, 139, 0.1), rgba(42, 139, 139, 0.03) 50%, transparent 72%);
}

.hero-home::after {
  bottom: -8%;
  left: -6%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(90, 126, 184, 0.08), rgba(90, 126, 184, 0.02) 50%, transparent 72%);
}

/* Third orb via the inner wrapper */
.hero-home-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-home-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(122, 184, 154, 0.06), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.hero-home .eyebrow {
  margin-bottom: 24px;
}

.hero-home h1 {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: 1.06;
  margin-bottom: 28px;
  color: var(--holdon-teal);
}

.hero-home .lede {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  color: var(--mid);
}

.hero-home .hero-actions {
  margin-top: 36px;
  justify-content: center;
  gap: 16px;
}

.hero-home .button {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

/* Scroll hint at bottom of home hero */
.scroll-hint {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
  color: var(--kw-teal);
}

/* ─── Product Hero (single-column, compressed) ────────── */

.hero-product {
  position: relative;
  overflow: hidden;
  padding: 44px 0 20px;
}

.hero-product::before,
.hero-product::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-product::before {
  top: -60px;
  right: 2%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(42, 139, 139, 0.08), transparent 68%);
}

.hero-product::after {
  bottom: -80px;
  left: 4%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(90, 126, 184, 0.06), transparent 70%);
}

.hero-product .shell {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.hero-product .logo-lockup {
  max-width: 170px;
  margin: 0 auto 12px;
}

.hero-product .eyebrow,
.hero-product .eyebrow-pill {
  margin-bottom: 10px;
}

.hero-product h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 12px;
}

.hero-product .lede {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.hero-product .body-copy {
  font-size: 0.98rem;
  line-height: 1.68;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-product .hero-actions {
  margin-top: 20px;
  justify-content: center;
}

/* ─── Shared Card Styles ──────────────────────────────── */

.section-card,
.product-card,
.quote-band,
.cta-block,
.founder-card,
.highlight-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 229, 225, 0.96);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.section-card,
.product-card,
.quote-band,
.cta-block,
.highlight-card {
  padding: 30px;
}

/* ─── Typography ──────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(45, 122, 98, 0.1);
  color: var(--kw-teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.85rem, 6vw, 4.8rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  margin-bottom: 16px;
}

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

.lede,
.body-copy,
.bullet-list li,
.step-copy,
.stat-copy {
  color: var(--mid);
  font-size: 1.02rem;
  line-height: 1.75;
}

.body-copy + .body-copy {
  margin-top: 12px;
}

/* ─── Buttons ─────────────────────────────────────────── */

.hero-actions,
.button-row,
.badge-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--kw-teal), var(--kw-forest));
  box-shadow: var(--shadow-sm);
}

.button-primary:hover,
.button-primary:focus {
  box-shadow: 0 18px 36px rgba(30, 77, 58, 0.18);
}

.button-secondary {
  color: var(--kw-teal);
  border-color: rgba(45, 122, 98, 0.28);
  background: rgba(255, 255, 255, 0.74);
}

.button-secondary:hover,
.button-secondary:focus {
  box-shadow: 0 14px 30px rgba(28, 36, 32, 0.08);
  border-color: rgba(45, 122, 98, 0.42);
}

.button-holdon {
  color: var(--white);
  background: linear-gradient(135deg, var(--holdon-teal), var(--holdon-blue));
}

.button-holdon:hover,
.button-holdon:focus {
  box-shadow: 0 18px 36px rgba(42, 139, 139, 0.2);
}

/* CTA block light buttons */
.cta-button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.cta-button-light:hover,
.cta-button-light:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* ─── Hover transitions ───────────────────────────────── */

.section-card,
.product-card,
.step-card,
.feature-card,
.principle-card,
.quote-band,
.founder-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.section-card:hover,
.product-card:hover,
.step-card:hover,
.feature-card:hover,
.principle-card:hover,
.quote-band:hover,
.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

/* ─── Logo lockup ─────────────────────────────────────── */

.logo-lockup {
  max-width: 220px;
  margin-bottom: 18px;
}

/* ─── Grids ───────────────────────────────────────────── */

.grid-2,
.grid-3,
.founder-card {
  display: grid;
  gap: 24px;
}

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

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

/* ─── Card link ───────────────────────────────────────── */

.card-link {
  margin-top: 18px;
}

.card-link a {
  color: var(--kw-teal);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.card-link a:hover {
  text-decoration: underline;
}

.product-card-holdon .card-link a {
  color: var(--holdon-teal);
}

/* ─── Stat cards ──────────────────────────────────────── */

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.stat-label {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stat-value {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

/* ─── Sections ────────────────────────────────────────── */

.section {
  padding: 52px 0 60px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-card.holdon-card {
  border-top: 4px solid var(--holdon-teal);
}

.section-card.knowwell-card {
  border-top: 4px solid var(--kw-teal);
}

/* ─── Product comparison cards (home page) ────────────── */

.product-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.product-card-holdon {
  border-top: 4px solid var(--holdon-teal);
}

.product-card-knowwell {
  border-top: 4px solid var(--kw-teal);
  background:
    linear-gradient(180deg, rgba(122, 184, 154, 0.06), rgba(255, 255, 255, 0.95)),
    rgba(255, 255, 255, 0.92);
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(244, 248, 247, 0.9);
  color: var(--kw-teal);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-card-holdon .product-tag {
  color: var(--holdon-teal);
}

.bullet-list {
  margin: 14px 0 0 18px;
  padding: 0;
}

.bullet-list li + li {
  margin-top: 8px;
}

/* ─── Step and feature grids ──────────────────────────── */

.step-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.step-card,
.feature-card,
.route-card,
.principle-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.step-card-visual {
  padding: 0;
  overflow: hidden;
}

.step-card-visual .step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.step-card-visual .step-body {
  padding: 20px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kw-teal), var(--kw-forest));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.step-card.holdon-step .step-number {
  background: linear-gradient(135deg, var(--holdon-teal), var(--holdon-blue));
}

.mini-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

/* ─── Quote band ──────────────────────────────────────── */

.quote-band {
  background:
    linear-gradient(135deg, rgba(42, 139, 139, 0.08), rgba(90, 126, 184, 0.05)),
    rgba(255, 255, 255, 0.88);
}

.quote-band blockquote {
  margin: 0 0 14px;
  color: var(--holdon-teal);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.quote-band p {
  margin: 0;
}

/* ─── Founder card ────────────────────────────────────── */

.founder-card {
  grid-template-columns: 300px 1fr;
  align-items: start;
  padding: 0;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.founder-copy {
  padding: 36px;
}

.founder-name {
  margin-bottom: 4px;
}

.founder-role {
  margin: 0 0 16px;
  color: var(--kw-teal);
  font-size: 0.98rem;
  font-weight: 700;
}

/* ─── Badges ──────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 122, 98, 0.1);
  color: var(--kw-teal);
  font-size: 0.82rem;
  font-weight: 700;
}

.badge.holdon-badge {
  background: rgba(42, 139, 139, 0.1);
  color: var(--holdon-teal);
}

/* ─── CTA block ───────────────────────────────────────── */

.cta-block {
  background:
    linear-gradient(135deg, rgba(30, 77, 58, 0.96), rgba(45, 122, 98, 0.88)),
    var(--kw-forest);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(30, 77, 58, 0.18);
}

.cta-block h2,
.cta-block p,
.cta-block a {
  color: var(--white);
}

.cta-block .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.cta-block .body-copy {
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Footer ──────────────────────────────────────────── */

.footer-block {
  margin-top: 20px;
  background: rgba(235, 240, 238, 0.7);
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 34px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.footer-note {
  color: var(--kw-teal);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.footer-links a {
  color: var(--kw-teal);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--holdon-blue);
  text-decoration: underline;
}

.footer-block .brand-text {
  font-size: 1.25rem;
}

.footer-copy {
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover,
.footer-copy a:focus {
  color: var(--mid);
  text-decoration: underline;
}

/* ─── Utilities ───────────────────────────────────────── */

.muted {
  color: var(--soft);
}

.accent-holdon {
  color: var(--holdon-teal);
}

.accent-knowwell {
  color: var(--kw-teal);
}

.stack {
  display: grid;
  gap: 18px;
}

/* ─── Responsive ──────────────────────────────────────── */

@media (max-width: 1040px) {
  .grid-2,
  .grid-3,
  .step-grid,
  .step-grid-4,
  .feature-grid,
  .founder-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .nav {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-home {
    min-height: auto;
    padding: 52px 0 40px;
  }

  .hero-home h1 {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .hero-product {
    padding: 28px 0 12px;
  }

  .section-card,
  .product-card,
  .quote-band,
  .cta-block,
  .highlight-card {
    border-radius: 24px;
    padding: 22px;
  }

  .founder-copy {
    padding: 22px;
  }

  .button,
  .hero-actions a,
  .button-row a {
    width: 100%;
  }

  .step-card-visual .step-image {
    height: 180px;
  }

  .scroll-hint {
    margin-top: 36px;
  }

  .footer-block {
    margin-top: 16px;
  }

  .footer-inner {
    padding: 24px 0 16px;
  }
}
