/* ============================================================
   ROOT CAPITAL DEVELOPMENT — SHARED DESIGN SYSTEM
   Brand sheet v1.0 · 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500&display=swap');

/* ===== TOKENS ===== */
:root {
  --midnight:     #0B1726;
  --royal-navy:   #0E1C2E;
  --steel-navy:   #16273B;
  --antique-gold: #CDA24E;
  --light-gold:   #EAD09A;
  --champagne:    #F4EEE1;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --max-width:  1160px;
  --nav-height: 72px;
  --radius:     2px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--midnight);
  color: var(--champagne);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--midnight);
  border-bottom: 1px solid var(--steel-navy);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--champagne);
  text-transform: uppercase;
}
.nav-brand-sub {
  font-size: 7.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--light-gold);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.nav-login {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--antique-gold);
  border: 1px solid rgba(205,162,78,0.45);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-login:hover {
  background: var(--antique-gold);
  color: var(--midnight);
  border-color: var(--antique-gold);
}

/* ===== PAGE BODY OFFSET ===== */
main { padding-top: var(--nav-height); }

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(205,162,78,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* ===== HERO DASHBOARD PREVIEW ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.hero-mock {
  display: block;
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.hero-mock:hover {
  border-color: rgba(205,162,78,0.5);
  transform: translateY(-3px);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--midnight);
  border-bottom: 1px solid var(--steel-navy);
}
.mock-bar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(244,238,225,0.18);
}
.mock-title {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.55);
  margin-left: 8px;
}
.mock-live {
  margin-left: auto;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7BB37B;
}
.mock-body { padding: 18px 18px 16px; }
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 14px;
}
.mock-stat {
  background: var(--midnight);
  border: 1px solid var(--steel-navy);
  border-radius: 3px;
  padding: 13px 11px;
}
.mock-stat .mv {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--antique-gold);
  line-height: 1;
}
.mock-stat .ml {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.5);
  margin-top: 7px;
}
.mock-panel {
  background: var(--midnight);
  border: 1px solid var(--steel-navy);
  border-radius: 3px;
  padding: 14px 14px;
}
.mock-panel-head {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 11px;
}
.mock-panel-head span { color: #7BB37B; }
.mock-row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--steel-navy);
}
.mock-row:last-child { border-bottom: none; padding-bottom: 0; }
.mock-row .rd {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--antique-gold);
  margin-top: 4px;
  flex-shrink: 0;
}
.mock-row .rt {
  font-size: 10.5px;
  color: rgba(244,238,225,0.72);
  line-height: 1.4;
}
.mock-row .rt b { color: var(--light-gold); font-weight: 500; }
.mock-foot {
  text-align: center;
  padding: 12px;
  border-top: 1px solid var(--steel-navy);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--antique-gold);
}

/* ===== SECTIONS ===== */
.section { padding: 96px 40px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section--navy   { background: var(--royal-navy); }
.section--steel  { background: var(--steel-navy); }
.section--dark   { background: var(--midnight); }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 20px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.08;
  color: var(--champagne);
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  color: var(--champagne);
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
  color: var(--champagne);
}
.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(244,238,225,0.8);
  max-width: 580px;
}
p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244,238,225,0.7);
}
.text-gold { color: var(--antique-gold); }
.text-champagne { color: var(--champagne); }

/* ===== DIVIDER ===== */
.divider {
  width: 40px;
  height: 1px;
  background: var(--antique-gold);
  margin: 22px 0;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
}
.btn-primary {
  background: var(--antique-gold);
  color: var(--midnight);
}
.btn-primary:hover { background: var(--light-gold); }
.btn-outline {
  background: transparent;
  color: var(--champagne);
  border: 1px solid rgba(244,238,225,0.28);
}
.btn-outline:hover { border-color: var(--champagne); }
.btn-gold-outline {
  background: transparent;
  color: var(--antique-gold);
  border: 1px solid rgba(205,162,78,0.45);
}
.btn-gold-outline:hover {
  background: var(--antique-gold);
  color: var(--midnight);
  border-color: var(--antique-gold);
}
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--antique-gold);
  border: 1px solid rgba(205,162,78,0.38);
  padding: 5px 12px;
  border-radius: var(--radius);
}

/* ===== CARDS ===== */
.card {
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  padding: 36px 32px;
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.card:hover { border-color: rgba(205,162,78,0.5); }
.card-icon {
  color: var(--antique-gold);
  font-size: 22px;
  margin-bottom: 20px;
  line-height: 1;
}
.card h3 { margin-bottom: 12px; }
.card p  { font-size: 14px; }

/* ===== GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

/* ===== STEPS ===== */
.steps { margin-top: 12px; }
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--steel-navy);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  color: var(--antique-gold);
  opacity: 0.28;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  padding-top: 4px;
}
.step-body h3  { margin-bottom: 8px; }
.step-body p   { font-size: 14px; }

/* ===== SECTION HEADER ===== */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 520px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--royal-navy);
  border-top: 1px solid var(--steel-navy);
  border-bottom: 1px solid var(--steel-navy);
  padding: 80px 40px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p  { max-width: 480px; margin: 0 auto; }
.cta-band .btn-group { justify-content: center; }

/* ===== STAT ROW ===== */
.stat-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.stat {
  flex: 1;
  padding: 32px 28px;
  border-right: 1px solid var(--steel-navy);
  background: var(--royal-navy);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: var(--antique-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.5);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  padding: 40px 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.pricing-card.featured {
  border-color: var(--antique-gold);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; right: 28px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--antique-gold);
  color: var(--midnight);
  padding: 4px 12px;
  font-weight: 500;
}
.pricing-card:hover { border-color: rgba(205,162,78,0.5); }
.pricing-card.featured:hover { border-color: var(--antique-gold); }
.pricing-tier {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(244,238,225,0.5);
}
.pricing-desc {
  font-size: 13px;
  color: rgba(244,238,225,0.6);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--steel-navy);
}
.pricing-features {
  flex: 1;
  margin-bottom: 32px;
}
.pricing-features li {
  font-size: 13px;
  color: rgba(244,238,225,0.75);
  padding: 8px 0;
  border-bottom: 1px solid rgba(22,39,59,0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '◆';
  font-size: 6px;
  color: var(--antique-gold);
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--steel-navy);
  border: 1px solid rgba(244,238,225,0.1);
  color: var(--champagne);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  padding: 13px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(244,238,225,0.28);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--antique-gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-info-block {
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  padding: 36px 32px;
  border-radius: var(--radius);
}
.contact-info-block h3 { margin-bottom: 24px; font-size: 22px; }
.contact-item {
  margin-bottom: 24px;
}
.contact-item-label {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 6px;
}
.contact-item-value {
  font-size: 14px;
  color: rgba(244,238,225,0.75);
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mark-display {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  min-height: 340px;
  position: relative;
}
.mark-display::after {
  content: 'Root Capital Development';
  position: absolute;
  bottom: 24px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.3);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--steel-navy);
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.value-cell {
  background: var(--royal-navy);
  padding: 32px 28px;
}
.value-cell h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 10px;
}
.value-cell p { font-size: 13px; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  padding: 80px 40px 64px;
  border-bottom: 1px solid var(--steel-navy);
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 600px; }

/* ===== FOOTER ===== */
footer {
  background: var(--royal-navy);
  border-top: 1px solid var(--steel-navy);
  padding: 64px 40px 40px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--steel-navy);
  gap: 40px;
  flex-wrap: wrap;
}
.footer-tagline {
  max-width: 280px;
  font-size: 13px;
  color: rgba(244,238,225,0.5);
  margin-top: 16px;
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--champagne); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy, .footer-address {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(244,238,225,0.3);
}

/* ===== GOLD RULE ===== */
.gold-rule {
  border: none;
  border-top: 1px solid var(--steel-navy);
  margin: 0;
}

/* ============================================================
   INTERACTIVE AGENT DEMO
   ============================================================ */
.demo-shell {
  background: var(--midnight);
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.demo-title {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.4);
}
.demo-status-pill {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--antique-gold);
  border: 1px solid rgba(205,162,78,0.4);
  padding: 4px 12px;
  border-radius: 999px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.demo-relay { display: flex; flex-direction: column; gap: 0; }
.agent-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: var(--steel-navy);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.agent-node .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244,238,225,0.25);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.agent-node .agent-name {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(244,238,225,0.85);
}
.agent-node .agent-state {
  margin-left: auto;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.35);
  transition: color 0.3s;
}
.agent-node.active {
  border-color: rgba(205,162,78,0.55);
  background: #1b3149;
}
.agent-node.active .dot {
  background: var(--antique-gold);
  box-shadow: 0 0 0 4px rgba(205,162,78,0.18);
  animation: pulse 0.9s ease-in-out infinite;
}
.agent-node.active .agent-state { color: var(--antique-gold); }
.agent-node.done { border-color: rgba(120,180,120,0.3); }
.agent-node.done .dot { background: #7BB37B; box-shadow: none; animation: none; }
.agent-node.done .agent-state { color: #7BB37B; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(205,162,78,0.18); }
  50%     { box-shadow: 0 0 0 7px rgba(205,162,78,0.06); }
}
.relay-arrow {
  text-align: center;
  color: rgba(205,162,78,0.35);
  font-size: 12px;
  padding: 3px 0;
}
.demo-log {
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
}
.demo-log-label {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.35);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.demo-log-stream {
  flex: 1;
  overflow-y: auto;
  font-family: 'Jost', monospace;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 220px;
  max-height: 300px;
}
.log-line {
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(244,238,225,0.7);
  opacity: 0;
  transform: translateY(4px);
  animation: logIn 0.35s forwards;
}
.log-line .ts { color: rgba(205,162,78,0.6); margin-right: 8px; font-size: 10px; }
.log-line .who { color: var(--light-gold); }
.log-line.summary { color: var(--champagne); border-top: 1px solid var(--steel-navy); padding-top: 10px; margin-top: 2px; }
@keyframes logIn { to { opacity: 1; transform: translateY(0); } }
.demo-log-empty {
  font-size: 11.5px;
  color: rgba(244,238,225,0.3);
  font-style: italic;
}
.demo-controls {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   COMMAND CENTER PREVIEW DASHBOARD
   ============================================================ */
.cc-banner {
  background: rgba(205,162,78,0.08);
  border-bottom: 1px solid var(--steel-navy);
  text-align: center;
  padding: 9px 20px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--antique-gold);
}
.cc-wrap { max-width: var(--max-width); margin: 0 auto; padding: 40px 40px 80px; }
.cc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cc-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.cc-head .sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,238,225,0.45); margin-top: 6px; }
.cc-clock { font-size: 12px; color: var(--antique-gold); letter-spacing: 0.1em; }
.cc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.cc-stat {
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  padding: 22px 22px;
}
.cc-stat .v { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--antique-gold); line-height: 1; }
.cc-stat .l { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,238,225,0.5); margin-top: 10px; }
.cc-stat .delta { font-size: 10px; color: #7BB37B; margin-top: 6px; letter-spacing: 0.06em; }
.cc-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.cc-panel {
  background: var(--royal-navy);
  border: 1px solid var(--steel-navy);
  border-radius: var(--radius);
  padding: 24px 24px;
}
.cc-panel-title {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cc-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cc-pipe-col { background: var(--midnight); border: 1px solid var(--steel-navy); border-radius: var(--radius); padding: 12px 11px; }
.cc-pipe-col h5 { font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,238,225,0.45); margin-bottom: 12px; display: flex; justify-content: space-between; }
.cc-pipe-col h5 span { color: var(--antique-gold); }
.cc-deal {
  background: var(--steel-navy);
  border-radius: var(--radius);
  padding: 10px 11px;
  margin-bottom: 8px;
}
.cc-deal .name { font-size: 11.5px; color: var(--champagne); }
.cc-deal .meta { font-size: 9.5px; color: rgba(244,238,225,0.45); margin-top: 4px; letter-spacing: 0.04em; }
.cc-feed { display: flex; flex-direction: column; gap: 0; max-height: 320px; overflow-y: auto; }
.cc-feed-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--steel-navy); }
.cc-feed-item:last-child { border-bottom: none; }
.cc-feed-item .fdot { width: 7px; height: 7px; border-radius: 50%; background: var(--antique-gold); margin-top: 5px; flex-shrink: 0; }
.cc-feed-item .ftext { font-size: 11.5px; color: rgba(244,238,225,0.72); line-height: 1.45; }
.cc-feed-item .ftext b { color: var(--light-gold); font-weight: 500; }
.cc-feed-item .ftime { font-size: 9px; color: rgba(244,238,225,0.35); margin-top: 3px; letter-spacing: 0.06em; }
.cc-table { width: 100%; border-collapse: collapse; }
.cc-table th {
  text-align: left;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,238,225,0.4);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--steel-navy);
  font-weight: 500;
}
.cc-table td { font-size: 12px; color: rgba(244,238,225,0.78); padding: 13px 0; border-bottom: 1px solid var(--steel-navy); }
.cc-table tr:last-child td { border-bottom: none; }
.pill { font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.pill-paid { color: #7BB37B; border: 1px solid rgba(123,179,123,0.4); }
.pill-pending { color: var(--antique-gold); border: 1px solid rgba(205,162,78,0.4); }
.pill-overdue { color: #C97B6B; border: 1px solid rgba(201,123,107,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid     { grid-template-columns: 1fr; gap: 44px; }
  .demo-grid     { grid-template-columns: 1fr; }
  .cc-stats      { grid-template-columns: repeat(2, 1fr); }
  .cc-cols       { grid-template-columns: 1fr; }
  .cc-pipeline   { grid-template-columns: repeat(2, 1fr); }
  :root { --nav-height: 64px; }
  .grid-3        { grid-template-columns: 1fr; }
  .grid-2        { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-intro   { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .stat-row      { flex-direction: column; }
  .stat          { border-right: none; border-bottom: 1px solid var(--steel-navy); }
  .stat:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .section       { padding: 64px 20px; }
  .hero          { padding: 60px 20px; }
  .page-hero     { padding: 60px 20px 48px; }
  .nav           { padding: 0 20px; }
  .cta-band      { padding: 64px 20px; }
  footer         { padding: 48px 20px 32px; }
  .nav-links     { display: none; }
  .form-row      { grid-template-columns: 1fr; }
  .pricing-card  { padding: 32px 24px; }
  .footer-top    { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-address { text-align: center; }
}
