/*
Theme Name:  Kiwi Systems AI
Theme URI:   https://ai.kiwisystems.net
Author:      Kiwi Systems
Author URI:  https://kiwisystems.net
Description: Custom landing page theme for Kiwi Systems AI Agent Shop. Warm editorial design with copper accents, serif display typography, and full single-page layout.
Version:     1.0.3
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiwi-ai
Tags:        one-page, landing-page, business, custom-colors
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --cream:       #fdf8f0;
  --cream-deep:  #f5ece0;
  --cream-card:  #fffdf9;
  --ink:         #1a120a;
  --ink-2:       #4a3828;
  --ink-3:       #9a7d66;
  --copper:      #c8501a;
  --copper-dim:  #a83f12;
  --copper-glow: rgba(200,80,26,0.15);
  --copper-tint: rgba(200,80,26,0.07);
  --gold:        #e8a020;
  --border:      #e8d8c4;
  --border-dark: #c8b09a;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Sora', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(80,40,10,0.08);
  --shadow-md: 0 6px 24px rgba(80,40,10,0.12);
  --shadow-lg: 0 16px 48px rgba(80,40,10,0.16);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: white; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; }
h4 { font-family: var(--font-sans); font-weight: 700; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--copper); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(30px, 4.5vw, 54px); margin-bottom: 18px; font-style: italic; }
.section-header p { color: var(--ink-2); font-size: 17px; max-width: 540px; margin: 0 auto; }

/* ============================================================
   NAVIGATION
============================================================ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px;
  background: rgba(253,248,240,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-emblem {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-emblem img { display: block; }
.logo-wordmark { font-family: var(--font-serif); font-size: 18px; font-style: italic; color: var(--ink); }
.logo-wordmark span { color: var(--copper); }

/* WordPress menu reset */
#primary-menu {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
#primary-menu li { margin: 0; }
#primary-menu a {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 0.02em; transition: color 0.2s;
}
#primary-menu a:hover { color: var(--copper); }
#primary-menu .current-menu-item > a { color: var(--copper); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  background: var(--ink); color: white; border: none; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.02em; text-decoration: none;
}
.nav-cta:hover { background: var(--copper); transform: translateY(-1px); box-shadow: 0 6px 20px var(--copper-glow); color: white; }

/* Hamburger (mobile) */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink); font-size: 22px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.22s; border: none; outline: none;
  letter-spacing: 0.01em; text-decoration: none;
}
.btn-copper { background: var(--copper); color: white; }
.btn-copper:hover { background: var(--copper-dim); transform: translateY(-2px); box-shadow: 0 10px 28px var(--copper-glow); color: white; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border-dark); }
.btn-outline:hover { border-color: var(--copper); color: var(--copper); }
.btn-ink { background: var(--ink); color: white; }
.btn-ink:hover { background: #2d1f12; transform: translateY(-2px); color: white; }

/* ============================================================
   HERO
============================================================ */
#hero {
  padding-top: 140px; padding-bottom: 0;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.hero-bg-text {
  position: absolute; top: 60px; right: -20px;
  font-family: var(--font-serif); font-size: 200px; font-style: italic;
  color: rgba(200,80,26,0.05); line-height: 1; pointer-events: none;
  user-select: none; white-space: nowrap;
}

.hero-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}

.hero-left { padding-bottom: 80px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 16px 7px 8px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 32px; box-shadow: var(--shadow-sm);
  animation: fadeUp 0.6s ease both;
}
.hero-pill-dot {
  width: 28px; height: 28px; background: var(--copper);
  border-radius: 100px; display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.hero-pill span { color: var(--copper); font-weight: 700; }

.hero-h1 {
  font-size: clamp(40px, 5.5vw, 68px); font-style: italic;
  margin-bottom: 28px; color: var(--ink);
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-h1 em { color: var(--copper); font-style: italic; }

.hero-sub {
  font-size: 17px; color: var(--ink-2); line-height: 1.75;
  margin-bottom: 40px; max-width: 440px; font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }

.hero-right { align-self: end; animation: fadeUp 0.8s 0.2s ease both; }

.hero-card-stack { position: relative; height: 420px; }

.hcard {
  position: absolute; background: var(--cream-card);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 28px; box-shadow: var(--shadow-md); transition: all 0.3s ease;
}
.hcard-main { width: 100%; left: 0; bottom: 0; z-index: 3; }
.hcard-mid  { width: 90%; left: 5%; bottom: 60px; z-index: 2; transform: rotate(-1.5deg); opacity: 0.85; }
.hcard-back { width: 82%; left: 9%; bottom: 110px; z-index: 1; transform: rotate(2.5deg); opacity: 0.6; }

.hcard-tag {
  display: inline-block; background: var(--copper-tint);
  border: 1px solid rgba(200,80,26,0.2); color: var(--copper);
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px;
  border-radius: 4px; margin-bottom: 16px;
}
.hcard-title { font-family: var(--font-serif); font-size: 22px; font-style: italic; margin-bottom: 12px; }
.hcard-body { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-bottom: 20px; }
.hcard-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.hcard-stat { text-align: center; }
.hcard-stat-num { display: block; font-family: var(--font-serif); font-size: 26px; font-style: italic; color: var(--copper); }
.hcard-stat-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.hcard-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #16a34a; }
.hcard-status::before { content: ''; width: 7px; height: 7px; background: #16a34a; border-radius: 50%; animation: pulse 2s infinite; }

/* ============================================================
   PROBLEM
============================================================ */
#problem { background: var(--cream); }

.problem-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem-left h2 { font-size: clamp(28px, 3.5vw, 46px); font-style: italic; margin-bottom: 20px; }
.problem-left p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 32px; }

.stat-row { display: flex; gap: 32px; }
.stat-box { padding: 20px 24px; background: var(--cream-card); border: 1px solid var(--border); border-radius: var(--radius-lg); flex: 1; box-shadow: var(--shadow-sm); }
.stat-box-num { font-family: var(--font-serif); font-size: 36px; font-style: italic; color: var(--copper); display: block; }
.stat-box-label { font-size: 12px; color: var(--ink-2); font-weight: 500; display: block; margin-top: 4px; }

.problem-right { display: flex; flex-direction: column; gap: 16px; }
.pain-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.pain-item:hover { border-color: var(--border-dark); box-shadow: var(--shadow-md); transform: translateX(4px); }
.pain-num { font-family: var(--font-serif); font-size: 32px; font-style: italic; color: var(--border-dark); line-height: 1; flex-shrink: 0; width: 36px; }
.pain-item-body h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.pain-item-body p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   AGENTS
============================================================ */
#agents { background: var(--cream-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.agents-sidebar-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.agents-sidebar { position: sticky; top: 100px; height: fit-content; }
.sidebar-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-btn {
  width: 100%; text-align: left; padding: 10px 14px;
  border-radius: var(--radius-sm); border: none; background: transparent;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all 0.18s; display: flex; align-items: center; gap: 10px;
}
.sidebar-btn:hover { background: rgba(200,80,26,0.06); color: var(--copper); }
.sidebar-btn.active { background: var(--copper); color: white; font-weight: 700; }
.sb-icon { font-size: 14px; }

.agents-content { min-height: 400px; }
.cat-panel { display: none; }
.cat-panel.active { display: block; }

.cat-header { margin-bottom: 28px; }
.cat-header h3 { font-family: var(--font-serif); font-size: 32px; font-style: italic; margin-bottom: 8px; }
.cat-header p { font-size: 14px; color: var(--ink-2); }

.agents-list { display: flex; flex-direction: column; gap: 12px; }
.agent-row {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 28px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  transition: all 0.22s; cursor: pointer; box-shadow: var(--shadow-sm);
}
.agent-row:hover { border-color: var(--copper); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.agent-row-icon {
  width: 48px; height: 48px; background: var(--cream-deep);
  border: 1px solid var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.agent-row-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.agent-row-body p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.agent-row-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.agent-tag {
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 4px; background: var(--cream-deep);
  border: 1px solid var(--border); color: var(--ink-2);
}
.agent-link { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--copper); white-space: nowrap; }

/* ============================================================
   HOW IT WORKS
============================================================ */
#how-it-works { background: var(--ink); color: white; }
#how-it-works .eyebrow { color: var(--gold); }
#how-it-works .eyebrow::before { background: var(--gold); }
#how-it-works .section-header h2 { color: white; }
#how-it-works .section-header p { color: rgba(255,255,255,0.6); }

.steps-timeline { max-width: 860px; margin: 0 auto; position: relative; }
.steps-timeline::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.12);
}

.step-row { display: flex; gap: 36px; align-items: flex-start; margin-bottom: 48px; }
.step-row:last-child { margin-bottom: 0; }

.step-marker {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-marker-num { font-family: var(--font-serif); font-size: 22px; font-style: italic; color: var(--gold); }

.step-body { padding-top: 12px; }
.step-body h3 { font-family: var(--font-sans); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-body p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 560px; }
.step-duration {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============================================================
   WHY US
============================================================ */
#why-us { background: var(--cream); }

.trust-asymm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trust-item {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}
.trust-item:hover { border-color: var(--border-dark); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trust-item.wide {
  grid-column: span 2; display: flex; gap: 48px; align-items: center;
  background: var(--copper); border-color: var(--copper); color: white;
}
.trust-item.wide:hover { transform: translateY(-3px); box-shadow: 0 12px 36px var(--copper-glow); }
.trust-item.wide .trust-headline { color: white; }
.trust-item.wide .trust-body-text { color: rgba(255,255,255,0.8); }
.trust-item.wide .trust-icon { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }

.trust-icon {
  width: 52px; height: 52px; background: var(--cream-deep);
  border: 1px solid var(--border); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px; flex-shrink: 0;
}
.trust-headline { font-family: var(--font-serif); font-size: 22px; font-style: italic; margin-bottom: 10px; }
.trust-body-text { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ============================================================
   PRICING
============================================================ */
#pricing { background: var(--cream-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.pricing-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.price-card {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px; position: relative;
  transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.highlight { background: var(--ink); border-color: var(--ink); color: white; }

.price-flag {
  position: absolute; top: -1px; right: 28px; background: var(--gold); color: var(--ink);
  font-family: var(--font-sans); font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px;
  border-radius: 0 0 8px 8px;
}
.price-tier {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px;
}
.price-card.highlight .price-tier { color: rgba(255,255,255,0.5); }

.price-amount { font-family: var(--font-serif); font-size: 52px; font-style: italic; line-height: 1; margin-bottom: 6px; }
.price-amount sup { font-size: 22px; }
.price-amount sub { font-size: 16px; color: var(--ink-3); font-style: normal; }
.price-card.highlight .price-amount sub { color: rgba(255,255,255,0.4); }

.price-desc {
  font-size: 13px; color: var(--ink-2); padding-bottom: 24px;
  margin-bottom: 24px; border-bottom: 1px solid var(--border); line-height: 1.5;
}
.price-card.highlight .price-desc { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.12); }

.price-features { list-style: none; margin-bottom: 32px; padding: 0; }
.price-features li { font-size: 13px; color: var(--ink-2); padding: 7px 0; display: flex; align-items: flex-start; gap: 10px; }
.price-features li::before { content: '✓'; color: var(--copper); font-weight: 800; flex-shrink: 0; }
.price-card.highlight .price-features li { color: rgba(255,255,255,0.8); }
.price-card.highlight .price-features li::before { color: var(--gold); }

.price-btn { width: 100%; border-radius: 100px; padding: 13px; font-size: 14px; font-weight: 700; justify-content: center; }
.price-card.highlight .btn-copper { background: white; color: var(--copper); }
.price-card.highlight .btn-copper:hover { background: var(--cream); }

.pricing-footnote { text-align: center; margin-top: 28px; font-size: 13px; color: var(--ink-3); }

/* ============================================================
   DEMO
============================================================ */
#demo { background: var(--cream); }

.demo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.demo-left h2 { font-size: clamp(28px, 3.5vw, 44px); font-style: italic; margin-bottom: 18px; }
.demo-left p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 32px; }

.demo-right { background: var(--ink); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.demo-topbar {
  background: rgba(255,255,255,0.06); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }
.demo-title { font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); margin-left: 8px; }

.demo-messages { padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }

.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg.user { flex-direction: row-reverse; }
.msg-av { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.msg-av.bot { background: rgba(200,80,26,0.3); border: 1px solid rgba(200,80,26,0.4); }
.msg-av.user-av { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
.msg-bubble { border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.5; max-width: 240px; }
.msg.bot .msg-bubble { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.msg.user .msg-bubble { background: var(--copper); color: white; }

.typing-row { display: flex; gap: 10px; align-items: flex-start; }
.typing-bubbles { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 16px; display: flex; gap: 4px; }
.t-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.5); border-radius: 50%; animation: typing 1.2s ease-in-out infinite; }
.t-dot:nth-child(2) { animation-delay: 0.2s; }
.t-dot:nth-child(3) { animation-delay: 0.4s; }

.demo-input-row {
  display: flex; gap: 10px; padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.demo-input-row input {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 10px 16px; font-family: var(--font-sans);
  font-size: 13px; color: rgba(255,255,255,0.7); outline: none;
}
.demo-input-row input::placeholder { color: rgba(255,255,255,0.3); }
.demo-send {
  width: 36px; height: 36px; background: var(--copper); border-radius: 100px;
  border: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 14px; transition: all 0.2s; color: white;
}
.demo-send:hover { background: var(--copper-dim); transform: scale(1.1); }

/* ============================================================
   CASE STUDIES
============================================================ */
#case-studies { background: var(--cream-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.cases-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-tile {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.25s;
}
.case-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-dark); }
.case-tile-top { padding: 28px 28px 20px; border-bottom: 1px solid var(--border); }
.case-cat-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.case-tile h3 { font-family: var(--font-serif); font-size: 18px; font-style: italic; line-height: 1.4; }

.case-tile-body { padding: 20px 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.case-row { display: flex; gap: 12px; }
.case-row-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; width: 42px; flex-shrink: 0; padding-top: 3px; }
.case-row-label.b { color: #dc2626; }
.case-row-label.a { color: #16a34a; }
.case-row p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.case-roi-bar { margin-top: 8px; background: rgba(200,80,26,0.08); border: 1px solid rgba(200,80,26,0.2); border-radius: 8px; padding: 10px 14px; font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--copper); }

/* ============================================================
   FAQ
============================================================ */
#faq { background: var(--cream); }

.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.faq-intro h2 { font-size: clamp(28px, 3.5vw, 44px); font-style: italic; margin-bottom: 20px; }
.faq-intro p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 32px; }

.faq-items { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--cream-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--border-dark); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 18px 22px; background: transparent; border: none;
  cursor: pointer; text-align: left; font-family: var(--font-sans);
  font-size: 14px; font-weight: 700; color: var(--ink); transition: color 0.2s;
}
.faq-item.open .faq-q { color: var(--copper); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 6px; background: var(--cream-deep);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: transform 0.25s, background 0.2s; color: var(--ink-2); flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--copper-tint); border-color: rgba(200,80,26,0.3); color: var(--copper); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner { padding: 0 22px 18px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }

/* ============================================================
   CONTACT
============================================================ */
#contact { background: var(--ink); color: white; }
#contact .eyebrow { color: var(--gold); }
#contact .eyebrow::before { background: var(--gold); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-left h2 { font-family: var(--font-serif); font-size: 42px; font-style: italic; margin-bottom: 18px; color: white; }
.contact-left > p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 40px; }

.contact-details-list { display: flex; flex-direction: column; gap: 16px; }
.c-detail { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,0.6); }
.c-detail-icon {
  width: 38px; height: 38px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.c-detail a:hover { color: var(--gold); transition: color 0.2s; }

.contact-form-box { background: var(--cream-card); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.cf-title { font-family: var(--font-serif); font-size: 22px; font-style: italic; color: var(--ink); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cream-deep); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-tint); }
.form-group select option { background: white; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; border-radius: 100px; padding: 14px; font-size: 15px; font-weight: 700; margin-top: 8px; justify-content: center; }

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--cream-deep); border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-logo .logo-emblem img { display: block; }
.footer-brand-logo .logo-wordmark { font-family: var(--font-serif); font-size: 18px; font-style: italic; }
.footer-brand-logo .logo-wordmark span { color: var(--copper); }
.footer-brand-desc { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; max-width: 240px; }

.int-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.int-chip {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 10px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--ink-2);
}
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--ink-2); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--copper); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-3); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--copper); }

/* ============================================================
   CHAT WIDGET
============================================================ */
.chat-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.chat-label {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.chat-btn {
  width: 56px; height: 56px; background: var(--ink); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  cursor: pointer; box-shadow: var(--shadow-md); transition: all 0.2s;
  border: none;
}
.chat-btn:hover { background: var(--copper); transform: scale(1.08); box-shadow: 0 12px 32px var(--copper-glow); }

/* ============================================================
   ANIMATIONS & UTILITIES
============================================================ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes typing   { 0%,60%,100% { transform:translateY(0); opacity:0.4; } 30% { transform:translateY(-5px); opacity:1; } }

.reveal { opacity:0; transform:translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ============================================================
   WORDPRESS ADMIN BAR OFFSET
============================================================ */
.admin-bar #site-nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-nav { top: 46px; } }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-right, .hero-bg-text { display: none; }
  .hero-left { padding-bottom: 60px; }
}

@media (max-width: 900px) {
  .problem-layout,
  .demo-split,
  .faq-cols,
  .contact-layout { grid-template-columns: 1fr; }

  .agents-sidebar-layout { grid-template-columns: 1fr; }
  .agents-sidebar { position: static; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }

  .trust-item.wide { grid-column: span 1; flex-direction: column; gap: 20px; }
  .trust-asymm,
  .pricing-row,
  .cases-layout { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #primary-menu { display: none; }
  #primary-menu.toggled { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 12px 0; }
  #primary-menu.toggled li { width: 100%; }
  #primary-menu.toggled a { display: block; padding: 12px 32px; font-size: 15px; }
  .menu-toggle { display: block; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; gap: 12px; }
}

/* ============================================================
   GUTENBERG / CLASSIC EDITOR COMPATIBILITY
============================================================ */
.wp-block-image img { height: auto; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
