/* =====================================================================
   Kippera — shared landing stylesheet
   Themed entirely through CSS custom properties in :root.
   To spin up a different vertical page, reuse this file as-is.
   To re-skin for a different brand (e.g. Vocuity), override the
   :root variables in a small per-page <style> block or a sibling theme file.
   ===================================================================== */

:root {
  /* Brand palette — Kippera (warm, friendly workhorse) */
  --brand-1: #ff9f43;          /* amber  */
  --brand-2: #ff6b6b;          /* coral  */
  --brand-grad: linear-gradient(120deg, #ff9f43 0%, #ff6b6b 100%);
  /* Amber Discipline: gradient is reserved for buttons/CTAs/highlights.
     Light-section accents use a single rich, readable amber instead. */
  --brand-ink: #92400e;        /* amber-800 — readable brand text on light bg */
  --brand-amber: #f59e0b;      /* amber-400 — for warm borders */
  --brand-amber-bg: #fff7ed;   /* amber-50  — for soft amber fills */

  /* Neutrals */
  --ink:      #1a140f;         /* near-black, warm */
  --ink-soft: #6b6055;
  --ink-faint:#9a8d7e;
  --cream:    #fdfaf6;         /* page background */
  --cream-2:  #f6efe6;         /* alt section background */
  --card:     #ffffff;
  --line:     #ece2d6;

  /* Dark bands (hero, CTA, footer) */
  --dark:   #1a140f;
  --dark-2: #14110d;
  --dark-line: rgba(255,255,255,.10);
  --on-dark:      #fdf6ee;
  --on-dark-soft: #c9bcae;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 30px 70px -34px rgba(40,20,0,.45);
  --shadow-sm: 0 10px 30px -14px rgba(40,20,0,.25);
  --shadow-card: 0 2px 8px rgba(40,20,0,.06), 0 1px 2px rgba(40,20,0,.04);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -.5px; font-weight: 800; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -.3px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); }
/* Amber Discipline: .accent (gradient) is for dark backgrounds, where it pops.
   On light backgrounds use .accent-light — a single solid amber that reads as
   serious business software, not neon. */
.accent { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-light { color: var(--brand-ink); -webkit-text-fill-color: var(--brand-ink); font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .3px;
  text-transform: uppercase; color: var(--brand-ink);
  background: var(--brand-amber-bg); border: 1px solid rgba(180,83,9,.25);
  padding: 8px 15px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-1); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 16px; font-weight: 700;
  padding: 15px 28px; border-radius: 12px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-grad); color: #2a1404; box-shadow: 0 16px 32px -12px rgba(255,107,107,.55); }
.btn-primary:hover { box-shadow: 0 20px 40px -12px rgba(255,107,107,.65); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
/* Amber Discipline: ghost on light bg is warm amber, not cold gray */
.btn-ghost { background: var(--brand-amber-bg); border: 2px solid var(--brand-amber); color: var(--brand-ink); }
.btn-ghost:hover { background: #fef3c7; }
.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: var(--on-dark); }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,250,246,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(26,20,15,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -.5px; }
.mark-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; border: none; background: none; cursor: pointer; color: var(--ink); border-radius: 10px; }
.nav-toggle:hover { background: rgba(26,20,15,.05); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 460px at 82% -8%, rgba(255,159,67,.20), transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
  padding: 84px 0 96px;
}
.hero .eyebrow { color: #ffc078; background: rgba(255,159,67,.12); border-color: rgba(255,159,67,.28); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--on-dark); }
.hero .lead { color: var(--on-dark-soft); margin: 24px 0 34px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 26px; font-size: 14px; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-trust b { color: var(--on-dark); }

/* device / chat card */
.device { background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); max-width: 360px; margin-left: auto; }
.device-head { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.device-head b { display: block; color: var(--ink); font-size: 15px; }
.device-head span { font-size: 12.5px; color: var(--brand-ink); font-weight: 600; }
.bubble { padding: 11px 15px; border-radius: 15px; font-size: 14.5px; line-height: 1.45; margin-bottom: 10px; max-width: 85%; }
.bubble.them { background: #f1ece5; color: #2a2620; border-bottom-left-radius: 4px; }
.bubble.me { background: var(--brand-grad); color: #fff; font-weight: 500; margin-left: auto; border-bottom-right-radius: 4px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px; background: #fff3e6; color: var(--brand-ink); margin-top: 4px; }

/* typing indicator — makes the hero chat card feel alive */
.typing { display: flex; align-items: center; gap: 5px; padding: 10px 14px; background: #f1ece5; border-radius: 15px; border-bottom-left-radius: 4px; width: fit-content; margin-bottom: 10px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #a08778; animation: typingBounce 1.2s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }

/* ---------- Logo / trust strip ---------- */
.strip { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; font-weight: 700; color: var(--ink-soft); font-size: 15px; }
.strip-inner .sep { color: var(--brand-1); }

/* ---------- FAQ (native <details> accordion) ---------- */
.faq-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand-1); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }  /* minus */
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Integration logo marquee (auto-scroll under the trust strip) ---------- */
.logo-marquee { overflow: hidden; background: var(--card); border-bottom: 1px solid var(--line); padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: logo-scroll 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { font-weight: 700; font-size: 15px; color: var(--ink-faint); white-space: nowrap; letter-spacing: -.2px; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } .logo-marquee { overflow-x: auto; } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--cream); }
.manifesto-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 64px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.manifesto-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--brand-grad); }
.manifesto-card h2 { margin-bottom: 22px; }
.manifesto-card p { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); margin-bottom: 18px; max-width: 760px; }
.manifesto-card p strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
/* Amber Discipline: step numbers are a dark square with an amber numeral,
   not a full gradient tile */
.step-num { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--brand-1); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Feature grid (what we do that they don't) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .15s ease, box-shadow .15s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feat .ico { font-size: 26px; margin-bottom: 14px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--ink-soft); font-size: 15px; }
/* Amber Discipline: feature tags are a quiet dark-bordered pill, not an orange fill */
.feat .tag { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; color: #3d2a15; background: transparent; border: 1.5px solid rgba(26,20,15,.18); padding: 4px 11px; border-radius: 100px; }

/* ---------- Comparison ---------- */
.compare { background: var(--cream-2); }
.cmp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: stretch; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-cell { padding: 18px 22px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.cmp-head .cmp-cell { font-weight: 800; font-size: 15px; }
.cmp-head { background: var(--ink); color: var(--on-dark); }
.cmp-head .cmp-cell.us { background: var(--brand-grad); color: #2a1404; }
.cmp-cell.feature { font-weight: 700; color: var(--ink); background: var(--cream); }
.cmp-cell.us { background: rgba(255,159,67,.07); color: var(--ink); font-weight: 600; }
.cmp-cell.them { color: var(--ink-soft); }
.cmp-cell .ck { color: #15803d; font-weight: 800; }
.cmp-cell .x { color: #b91c1c; font-weight: 800; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
/* contained, amber-tinted icon box */
.trust-item .ico { background: var(--brand-amber-bg); width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.trust-item b { display: block; margin-bottom: 4px; }
.trust-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Pricing ---------- */
/* subtle warm gradient lifts the pricing band off the cream page */
.pricing-section { background: linear-gradient(180deg, #fdfaf6 0%, #f3ece0 100%); padding: 92px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.price.featured { border: 2px solid transparent; background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--brand-grad) border-box; box-shadow: var(--shadow); position: relative; }
.price .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-grad); color: #2a1404; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 100px; }
.price h3 { font-size: 19px; }
.price .amt { font-size: 46px; font-weight: 800; letter-spacing: -1px; margin: 10px 0 2px; }
.price .amt span { font-size: 16px; font-weight: 600; color: var(--ink-faint); }
.price .who { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; min-height: 42px; }
.price ul { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price li { font-size: 14.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.price li::before { content: "✓"; color: var(--brand-ink); font-weight: 800; }
.price .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: 14.5px; }
.price-note b { color: var(--ink); }

/* ---------- Industry chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 100px; padding: 11px 22px; font-weight: 700; font-size: 15px; display: inline-flex; gap: 9px; align-items: center; }

/* ---------- Integration showcase ---------- */
.int-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px 32px; margin-top: 44px; }
.int-cat h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-faint); margin-bottom: 14px; }
.int-cat .chips { justify-content: flex-start; gap: 9px; }
.int-cat .chip { font-size: 14px; padding: 8px 15px; font-weight: 600; }

/* ---------- Founder note ---------- */
.founder { background: var(--cream-2); }
.founder-card { max-width: 820px; margin: 0 auto; text-align: center; }
.founder-card .quote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.4px; line-height: 1.3; color: var(--ink); margin-bottom: 24px; }
.founder-card .quote .accent { font-weight: 800; }
.sig { display: flex; align-items: center; justify-content: center; gap: 14px; }
.sig .avatar { width: 52px; height: 52px; font-size: 20px; box-shadow: 0 0 0 3px rgba(255,159,67,.30); }
.sig .who { text-align: left; }
.sig .who b { display: block; }
.sig .who span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.cta {
  background: radial-gradient(900px 400px at 50% 120%, rgba(255,107,107,.28), transparent 60%),
              linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  color: var(--on-dark); text-align: center;
}
.cta h2 { color: var(--on-dark); margin-bottom: 16px; }
.cta .lead { color: var(--on-dark-soft); margin: 0 auto 32px; max-width: 560px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: var(--on-dark-soft); padding: 56px 0 34px; border-top: 1px solid var(--dark-line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.footer .wordmark { color: var(--on-dark); }
.footer-tag { margin-top: 12px; max-width: 320px; font-size: 14.5px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--on-dark); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; margin-bottom: 9px; color: var(--on-dark-soft); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.disclosure { color: var(--on-dark-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .device { margin: 8px auto 0; }
  .steps, .feat-grid, .trust-grid, .price-grid { grid-template-columns: 1fr; }

  /* Mobile nav: hamburger reveals a full-width dropdown panel (links + Sign in + CTA). */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fdfaf6;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(26,20,15,.35);
    padding: 6px 0 14px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; font-size: 16px; min-height: 44px; }
  .nav-links a.btn { margin: 8px 20px 0; justify-content: center; }
  .nav-cta-mobile { display: flex; }

  .cmp-row { grid-template-columns: 1.2fr 1fr 1fr; }
  .cmp-cell { padding: 14px; font-size: 13.5px; }
  .section { padding: 64px 0; }
  .pricing-section { padding: 64px 0; }
}

@media (max-width: 600px) {
  /* Comparison table → stacked cards (3 cramped columns are unreadable on phones). */
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-cell { padding: 11px 18px; font-size: 14.5px; }
  .cmp-cell.feature { padding-top: 16px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
  .cmp-cell.them { padding-bottom: 16px; }

  /* Full-width primary CTAs on phones. */
  .hero-cta, .cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .cta-row .btn { width: 100%; justify-content: center; }

  /* Footer stacks cleanly. */
  .footer-cols { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
