/* Kakt.ai v2 — locked design system, matched to the live site (Sept 2026)
   Desert green + cactus-bloom purple. Bricolage Grotesque headlines, Public Sans body.
   Cactus-spine bullet ticks are the signature brand detail. */

:root {
  --ink: #22201B;
  --soft: #5C574C;
  --green: #1F5C43;
  --green-deep: #123D2C;
  --bloom: #8A3FFC;
  --bloom-soft: #F1E9FF;
  --sand: #F6F1E7;
  --line: #E4DDCF;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 61, 44, 0.08);
}

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

body {
  font-family: 'Public Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--bloom); transform: rotate(-8deg); }

/* Nav */
.nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1100px; margin: 0 auto; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 56px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.nav-cta { background: var(--green); color: var(--white) !important; padding: 9px 18px; border-radius: 999px; }

/* Hero / bridge intro */
.hero { padding: 88px 0 64px; }
.hero h1 { max-width: 22ch; margin-bottom: 18px; }
.hero .lede { max-width: 640px; font-size: 18px; color: var(--soft); }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--green-deep); color: #F2EFE7; }
.section.alt .eyebrow { color: #B9E3CE; }
.section.alt h2 { color: #fff; }
.section.alt p { color: #C9D8CE; }
.section.sand { background: var(--sand); }

/* Two-track cards */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--bloom); transform: translateY(-3px); }
.card--partner { background: var(--sand); border-color: var(--sand); }
.card--partner:hover { border-color: var(--green); }
.card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.card--biz .tag { background: var(--bloom-soft); color: var(--bloom); }
.card--partner .tag { background: var(--green); color: #fff; }
.card p { color: var(--soft); }
.card .cta { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--green); text-decoration: none; }
.card .cta:hover { color: var(--bloom); }

/* Cactus-spine bullets, the signature detail */
.spines { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.spines li { position: relative; padding-left: 26px; font-weight: 500; font-size: 16px; }
.spines li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 13px; height: 2px;
  background: var(--green); transform: rotate(-32deg); border-radius: 2px;
}
.spines li::after {
  content: ""; position: absolute; left: 2px; top: .62em; width: 13px; height: 2px;
  background: var(--bloom); transform: rotate(32deg); border-radius: 2px;
}

/* How I work / partner grid */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 44px; }
.partner-grid .num {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15px;
  color: var(--green-deep); background: #B9E3CE; width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* Owners strip */
.owners-strip {
  background: var(--green-deep); color: #fff; border-radius: var(--radius);
  padding: 34px 36px; margin: 56px auto; max-width: 1052px; box-shadow: var(--shadow);
}
.owners-strip strong { color: #B9E3CE; }
.owners-strip a { color: #B9E3CE; font-weight: 600; }

/* Milestone strip */
.milestones { background: var(--green-deep); color: #F2EFE7; padding: 64px 0; }
.mile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.mile-grid .year { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 34px; color: #B9E3CE; margin-bottom: 8px; }
.mile-grid h3 { color: #fff; margin-bottom: 6px; }
.mile-grid p { color: #C9D8CE; font-size: 15px; }

/* CTA */
.cta-block { text-align: center; padding: 56px 0; }
.cta-block p { color: var(--soft); max-width: 560px; margin: 14px auto 26px; }
.btn-primary {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 14px 30px; border-radius: 100px; background: var(--green); color: #fff !important;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--green-deep); }

/* Blog */
.post-list { margin-top: 32px; display: grid; gap: 18px; }
.post-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.post-item a { text-decoration: none; }
.post-meta { font-size: 0.85rem; color: var(--soft); margin-top: 6px; }
.post-meta .cat { color: var(--bloom); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; margin-right: 10px; }

/* Blog post: two-column layout, narrow main column + sticky sidebar */
.post-layout {
  max-width: 1100px; margin: 0 auto; padding: 48px 22px 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start;
}
.post-main h1 { margin-bottom: 10px; }
.post-main .post-meta { margin-bottom: 24px; }
.post-main p { margin: 18px 0; line-height: 1.75; }
.post-main::after { content: ""; display: table; clear: both; }
.post-main h2 { margin: 36px 0 12px; }
.post-main h3 { margin: 28px 0 10px; }
.post-main ul, .post-main ol { margin: 14px 0 14px 24px; }

/* Small inline feature image, not a hero. Floats so text wraps beside it. */
.post-figure { float: left; width: 220px; margin: 4px 24px 16px 0; }
.post-figure img { width: 100%; border-radius: 12px; display: block; }
.post-figure figcaption { font-size: 0.78rem; color: var(--soft); margin-top: 8px; font-style: italic; line-height: 1.4; }

/* Sidebar: sticky, stacked cards */
.post-sidebar { position: sticky; top: 88px; display: grid; gap: 20px; }
.sidebar-card { background: var(--sand); border-radius: var(--radius); padding: 24px 22px; }
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.related-list { list-style: none; display: grid; gap: 10px; }
.related-list a { font-weight: 600; text-decoration: none; color: var(--green); }
.related-list .cat { display: block; font-size: 0.68rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.partners-box p { color: var(--soft); font-size: 0.92rem; }

/* Key-point pull quotes pulled from the post body */
.keypoints-box { background: var(--white); border: 1px solid var(--line); }
.keypoint-quote {
  margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--bloom);
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 0.98rem;
  color: var(--ink); line-height: 1.5; font-style: normal;
}
.keypoint-quote:last-child { margin-bottom: 0; }

.newsletter-form { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.newsletter-form input[type=email] {
  flex: 1; min-width: 200px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; background: var(--white);
}
.newsletter-form button {
  background: var(--green); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; cursor: pointer;
}
.newsletter-status { font-size: 0.85rem; margin-top: 10px; font-weight: 600; display: none; }
.newsletter-status.is-ok { display: block; color: var(--green); }
.newsletter-status.is-err { display: block; color: #B3261E; }

/* Contact */
.contact-card { max-width: 640px; margin: 40px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.contact-card label { display: block; font-weight: 600; font-size: 0.9rem; margin: 16px 0 6px; }
.contact-card input, .contact-card select, .contact-card textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; background: var(--sand);
}
.contact-card button {
  margin-top: 22px; background: var(--green); color: #fff; border: 0;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer;
}

/* Footer */
.footer { background: var(--green-deep); color: rgba(255,255,255,0.8); margin-top: 64px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding: 40px 22px; flex-wrap: wrap; font-size: 0.92rem; max-width: 1100px; margin: 0 auto; }
.footer-logo { height: 26px; width: auto; display: block; margin-bottom: 10px; }
.footer-links { display: flex; gap: 18px; align-items: center; }
.footer-links a { color: #B9E3CE; text-decoration: none; font-weight: 500; }

/* Blog thumbnails */
.post-item--with-image { display: flex; gap: 22px; align-items: flex-start; }
.post-thumb { flex-shrink: 0; width: 160px; height: 110px; border-radius: 12px; overflow: hidden; display: block; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Cactus mascot corner accent, hero only */
.hero-mascot { position: absolute; right: 8px; top: 18px; width: 84px; opacity: 0.9; }
.hero { position: relative; }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

@media (max-width: 560px) {
  .post-figure { float: none; width: 100%; max-width: 280px; margin: 4px 0 20px; }
}

@media (max-width: 800px) {
  .card-grid, .partner-grid, .mile-grid { grid-template-columns: 1fr; }
  .post-item--with-image { flex-direction: column; }
  .post-thumb { width: 100%; height: 160px; }
  .hero-mascot { display: none; }
  .nav-links { gap: 14px; font-size: 0.88rem; flex-wrap: wrap; justify-content: flex-end; }
}
