/* =========================================================================
   Kidley marketing — shared shell.
   Same palette + typography as the sales page (salespagev11.html), used by
   every supporting page (about, meet-liu, faq, privacy, terms, contact, etc).
   ========================================================================= */

:root {
  --paper:        #FAF9F5;
  --paper-dark:   #F0EFE9;
  --paper-warm:   #F7EFE6;
  --paper-cream:  #FDF7EE;
  --ink:          #0F172A;
  --ink-2:        #1F2937;
  --ink-muted:    #475569;
  --ink-soft:     #64748B;
  --terracotta:   #C84B31;
  --terracotta-deep:#A53A23;
  --terracotta-soft:#F4DED6;
  --terracotta-hot: #E55A38;
  --forest:       #2D4A3E;
  --forest-soft:  #E4EDE6;
  --navy:         #1E3A8A;
  --navy-soft:    #E7ECFA;
  --amber:        #D97706;
  --amber-2:      #F7B733;
  --amber-soft:   #FCECC8;
  --border:       #D1CFCA;
  --border-soft:  #E5E2DA;
  --border-heavy: #0F172A;
  --shadow-sharp: 6px 6px 0 rgba(15,23,42,.12);
  --shadow-card:  10px 10px 0 rgba(15,23,42,.08);
  --shadow-soft:  0 18px 40px rgba(15,23,42,.08);
  --shadow-glow:  0 22px 60px rgba(200,75,49,.18);
  --radius:       12px;
  --radius-lg:    18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(200,75,49,.10), transparent 28%),
    radial-gradient(circle at 88% 6%,  rgba(45,74,62,.10),  transparent 26%),
    radial-gradient(circle at 50% 95%, rgba(30,58,138,.06), transparent 30%),
    linear-gradient(rgba(15,23,42,.025) 1px, transparent 1px);
  background-size: auto, auto, auto, 100% 18px;
  z-index: -1;
}

h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.1;  letter-spacing: -.02em;  font-weight: 800; }
h3 { font-size: 1.4rem; line-height: 1.25; font-weight: 800; }
h4 { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); }
p  { color: var(--ink-muted); }
strong { color: var(--ink); font-weight: 800; }
em { color: var(--ink); font-style: italic; }
a  { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap         { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow  { max-width: 1080px; margin: 0 auto; padding: 0 28px; }   /* used by content pages */
.wrap-legal   { max-width: 760px;  margin: 0 auto; padding: 0 28px; }   /* used by privacy / terms */
.center       { text-align: center; }
.section      { padding: 64px 0; }
.section-tight{ padding: 48px 0; }
.section-cream{ background: var(--paper-dark); }
.section-warm { background: var(--paper-warm); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p  { color: rgba(255,255,255,.78); }

.section-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
}
.section-kicker::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 22px; height: 2px;
  background: var(--terracotta);
}

/* ===== TOP BAR (shared across all marketing pages) ===== */
.k-topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,245,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.k-topbar-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center;
  gap: 18px;
}
.k-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: -.005em;
  color: var(--ink); text-decoration: none;
  flex-shrink: 0;
}
.k-brand-tag {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-weight: 600;
  font-size: .8rem; color: var(--ink-soft);
  margin-left: 4px;
}
.k-brand-dot {
  width: 11px; height: 11px;
  background: var(--terracotta);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.k-nav {
  display: flex; align-items: center; gap: 6px;
  flex: 1; justify-content: center;
  margin: 0 8px;
}
.k-nav a {
  color: var(--ink-muted); font-weight: 700; font-size: .88rem;
  text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.k-nav a:hover { color: var(--ink); background: var(--paper-cream); text-decoration: none; }
.k-nav a.active { color: var(--terracotta); }
.k-nav a.k-nav-home {
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta-soft);
}
.k-nav a.k-nav-home:hover { background: var(--terracotta-soft); color: var(--terracotta-deep); }

/* Desktop CTA lives outside .k-nav so it doesn't inherit the muted link color */
.k-topbar .k-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: #fff !important;             /* trump any inherited link color */
  padding: 10px 18px; border-radius: 999px;
  font-weight: 800; font-size: .85rem;
  text-decoration: none;
  letter-spacing: .01em;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15,23,42,.18);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.k-topbar .k-cta:hover {
  background: var(--terracotta); color: #fff !important;
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200,75,49,.32);
}
.k-cta .k-cta-price {
  background: var(--terracotta);
  color: #fff;
  padding: 2px 8px; border-radius: 6px;
  font-size: .78rem; font-weight: 800;
}
.k-cta:hover .k-cta-price { background: rgba(255,255,255,.22); }

.k-mobile-toggle {
  display: none;
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 10px;
  width: 42px; height: 42px;
  font-size: 1.3rem; color: var(--ink);
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}

/* The mobile-CTA lives inside .k-nav so it can sit at the bottom of the mobile accordion.
   On desktop it must stay hidden (the standalone .k-cta to the right is the visible one). */
.k-nav .k-cta-mobile { display: none; }

@media (max-width: 920px) {
  .k-brand-tag { display: none; }
  .k-nav a { font-size: .82rem; padding: 6px 10px; }
  .k-topbar .k-cta { font-size: .8rem; padding: 8px 14px; }
}
@media (max-width: 820px) {
  .k-topbar-inner { gap: 8px; }
  .k-nav { display: none; }
  .k-mobile-toggle { display: inline-flex; }
  .k-topbar .k-cta:not(.k-cta-mobile) { display: none; }
  .k-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 14px 0; gap: 0; align-items: stretch;
    box-shadow: 0 12px 24px rgba(15,23,42,.10);
  }
  .k-nav.open a {
    padding: 14px 28px; font-size: 1rem;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
  }
  .k-nav.open a:last-child { border-bottom: none; }
  .k-nav.open .k-cta-mobile {
    display: inline-flex;
    margin: 14px 28px 8px;
    justify-content: center;
    border-radius: 999px;
  }
}

/* ===== DOC PAGE (about, faq, privacy, etc) ===== */
.doc-hero {
  padding: 64px 0 32px;
  text-align: center;
}
.doc-hero .section-kicker { padding-left: 0; }
.doc-hero .section-kicker::before { display: none; }
.doc-hero h1 { margin-bottom: 14px; }
.doc-hero h1 em { color: var(--terracotta); font-style: italic; }
.doc-hero .lead {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-muted);
  max-width: 580px; margin: 0 auto;
  line-height: 1.5;
}

.doc-body { padding: 32px 0 80px; }

.doc-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}
.doc-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.doc-card h2 em { color: var(--terracotta); font-style: italic; }
.doc-card h3 { font-size: 1.1rem; margin: 16px 0 8px; font-family: 'DM Sans', sans-serif; font-weight: 800; }
.doc-card p { margin: 0 0 12px; color: var(--ink); line-height: 1.65; }
.doc-card p:last-child { margin-bottom: 0; }
.doc-card ul { padding-left: 22px; margin: 8px 0 12px; color: var(--ink); }
.doc-card li { margin: 6px 0; line-height: 1.6; }
.doc-card strong { color: var(--ink); }

.doc-callout {
  background: linear-gradient(135deg, #FCECC8, #F4DED6);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 22px 0;
  text-align: center;
  box-shadow: var(--shadow-sharp);
}
.doc-callout strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.doc-callout p {
  margin: 0; color: var(--ink);
  line-height: 1.55; font-size: .95rem;
}

/* ===== FAQ COLLAPSER ===== */
.faq-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 26px;
  font-weight: 800; font-size: 1.02rem;
  color: var(--ink); cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400;
  color: var(--ink-muted); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px dashed var(--border); }
.faq-item .body {
  padding: 16px 26px 22px;
  color: var(--ink); line-height: 1.65;
}
.faq-item .body p { color: var(--ink); margin: 0 0 10px; }
.faq-item .body p:last-child { margin-bottom: 0; }

.faq-section-head {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted);
  margin: 28px 0 12px;
}
.faq-section-head:first-child { margin-top: 0; }

/* ===== CONTACT TILES ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-tile {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sharp);
}
.contact-tile .ico { font-size: 1.6rem; margin-bottom: 6px; display: block; }
.contact-tile h3 { font-size: 1.05rem; margin-bottom: 4px; font-family: 'DM Sans', sans-serif; }
.contact-tile p  { font-size: .94rem; color: var(--ink-muted); margin: 0 0 10px; line-height: 1.5; }
.contact-tile a  { font-weight: 800; color: var(--terracotta); }

/* ===== FOUNDER QUOTE / HERO IMAGE ===== */
.founder-strip {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--paper-cream), var(--paper-warm));
  border: 2px dashed var(--border-heavy);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}
@media (max-width: 600px) {
  .founder-strip { grid-template-columns: 1fr; text-align: center; }
}
.founder-strip img { width: 100%; max-width: 200px; height: auto; }
.founder-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 12px;
}
.founder-strip cite {
  display: block;
  font-style: normal;
  font-size: .85rem;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: .04em;
}

/* ===== SHARED FOOTER ===== */
.k-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 56px 28px 28px;
}
.k-footer-inner { max-width: 1180px; margin: 0 auto; }
.k-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 900px) { .k-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .k-footer-top { grid-template-columns: 1fr; gap: 22px; } }
.k-footer-brand h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 800;
  color: #fff; margin: 0 0 8px;
}
.k-footer-brand p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 36ch;
}
.k-footer-brand .stat {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}
.k-footer-brand .stat strong {
  color: var(--amber-2);
  font-weight: 800;
}
.k-footer-col h5 {
  color: var(--amber-2);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.k-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.k-footer-col li a {
  color: rgba(255,255,255,.78);
  font-size: .9rem; font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}
.k-footer-col li a:hover { color: #fff; text-decoration: underline; }
.k-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.k-footer-bottom strong { color: rgba(255,255,255,.85); font-weight: 700; }
.k-footer-bottom .heart { color: var(--terracotta-hot); }
