:root {
  --ink: #1a1715;
  --paper: #faf6f1;
  --dim: #7a7067;
  --accent: #c96442;
  --accent-light: #faf0eb;
  --border: #e8e0d8;
  --card-bg: #ffffff;
  --green: #5a8a6a;
  --green-bg: #eef5f0;
  --orange: #c96442;
  --orange-bg: #faf0eb;
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'General Sans', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,246,241,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; letter-spacing: -0.5px;
  text-decoration: none; color: var(--ink);
}
.logo-mark {
  width: 32px; height: 32px; background: var(--ink); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--dim); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.25s ease;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover {
  background: #222; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-large { padding: 14px 32px; font-size: 16px; }

/* ─── ANIMATIONS ─── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes msgIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── HERO ─── */
.hero {
  padding: 160px 40px 80px;
  max-width: 1200px; margin: 0 auto; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: var(--accent-light); color: var(--accent);
  border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s ease infinite;
}
.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(48px, 7vw, 84px); font-weight: 400;
  line-height: 1.05; letter-spacing: -2px;
  max-width: 900px; margin: 0 auto 28px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  font-size: 19px; line-height: 1.6; color: var(--dim);
  max-width: 620px; margin: 0 auto 40px;
  animation: fadeUp 0.6s ease 0.2s both;
}
.hero-ctas {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* ─── SECTION SHARED ─── */
.section {
  max-width: 1100px; margin: 120px auto 0; padding: 0 40px;
}
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 16px;
}
.section-heading {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px); font-weight: 400;
  line-height: 1.1; letter-spacing: -1.5px;
  max-width: 750px; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--dim); line-height: 1.6;
  max-width: 600px; margin-bottom: 56px;
}

/* ─── HUMAN SETUP ─── */
.human-setup {
  max-width: 1100px; margin: 120px auto 0; padding: 0 40px;
}
.setup-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.setup-text h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 44px); font-weight: 400;
  line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px;
}
.setup-text p {
  font-size: 16px; color: var(--dim); line-height: 1.65; margin-bottom: 20px;
}
.setup-steps {
  display: flex; flex-direction: column; gap: 0;
}
.setup-step {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.setup-step:last-child { border-bottom: none; }
.setup-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.setup-step-content h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.setup-step-content p {
  font-size: 13px; color: var(--dim); line-height: 1.5; margin-bottom: 0;
}

/* ─── CTA ─── */
.final-cta {
  max-width: 1100px; margin: 120px auto 0; padding: 0 40px;
}
.cta-box {
  background: var(--ink); border-radius: 24px; padding: 80px 60px;
  text-align: center; color: white; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(201,100,66,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px); font-weight: 400;
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 16px;
  position: relative;
}
.cta-box p {
  font-size: 17px; color: rgba(255,255,255,0.6);
  margin-bottom: 36px; position: relative;
}
.btn-white {
  background: white; color: var(--ink);
  padding: 14px 32px; font-size: 16px; position: relative;
}
.btn-white:hover {
  background: #f0f0f0; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ─── FOOTER ─── */
footer {
  max-width: 1100px; margin: 80px auto 0; padding: 40px 40px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
footer .logo { font-size: 16px; }
footer .logo .logo-mark { width: 26px; height: 26px; font-size: 11px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  text-decoration: none; color: var(--dim); font-size: 13px;
  font-weight: 500; transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: #c4bab0; }

/* --- PROPERTY TYPES --- */
.property-types-expanded {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 48px;
}
.prop-card-exp {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative; transition: all 0.3s ease;
}
.prop-card-exp:hover {
  border-color: #ccc; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.prop-card-exp.featured {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--card-bg) 60%);
  padding: 36px 32px;
}
.prop-card-exp.highlight {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-light) 100%);
  padding: 36px 32px;
}
.prop-card-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 10px; border-radius: 100px;
  background: var(--green-bg); color: var(--green);
  margin-bottom: 16px;
}
.accent-tag { background: var(--accent-light); color: var(--accent); }
.featured-tag { background: var(--accent); color: #fff; }
.prop-card-exp h3 {
  font-family: 'Instrument Serif', serif; font-size: 24px;
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.prop-card-exp.featured h3,
.prop-card-exp.highlight h3 { font-size: 28px; }
.prop-card-exp > p {
  font-size: 14px; color: var(--dim); line-height: 1.6;
  margin-bottom: 18px;
}
.prop-workers {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pw-chip {
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: 100px; background: #f3ede7; color: var(--dim);
  border: 1px solid var(--border); white-space: nowrap;
}
.pw-chip.active {
  background: var(--green-bg); color: var(--green);
  border-color: transparent;
}
.prop-card-exp.featured .pw-chip.active,
.prop-card-exp.highlight .pw-chip.active {
  background: var(--accent-light); color: var(--accent);
}

/* --- VOICE AI --- */
.voice-section {
  background: var(--ink); color: #fff; padding: 80px 40px;
  max-width: 100%; margin-top: 120px;
}
.voice-section .section-label { color: var(--accent); }
.voice-section .section-heading { color: #fff; }
.voice-section .section-sub { color: rgba(255,255,255,0.6); }
.voice-inner { max-width: 1100px; margin: 0 auto; }
.voice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.voice-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all 0.3s ease;
}
.voice-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.voice-card-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.voice-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(90,138,106,0.3);
  animation: pulse 2s ease infinite;
}
.voice-pulse.outbound { background: var(--accent); box-shadow: 0 0 0 3px rgba(201,100,66,0.3); }
.voice-pulse.multilingual { background: #6b9fd4; box-shadow: 0 0 0 3px rgba(107,159,212,0.3); }
.voice-card h4 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.2px; color: #fff;
}
.voice-card p {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.voice-demo-bar {
  margin-top: 40px; padding: 24px 28px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 20px;
}
.voice-demo-left {
  display: flex; align-items: center; gap: 20px; flex: 1;
}
.voice-wave {
  display: flex; align-items: center; gap: 3px; flex-shrink: 0;
}
.voice-wave span {
  width: 3px; border-radius: 2px;
  background: var(--accent);
  animation: wave 1.2s ease infinite;
}
.voice-wave span:nth-child(1) { height: 12px; animation-delay: 0.0s; }
.voice-wave span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 22px; animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { height: 16px; animation-delay: 0.5s; }
.voice-wave span:nth-child(7) { height: 24px; animation-delay: 0.6s; }
.voice-wave span:nth-child(8) { height: 14px; animation-delay: 0.7s; }
.voice-demo-text { display: flex; flex-direction: column; gap: 4px; }
.voice-demo-text strong {
  font-size: 15px; color: #fff; font-style: italic; font-weight: 500;
}
.voice-demo-text span {
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* --- REVENUE UNLOCK --- */
.unlock-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 48px;
}
.unlock-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all 0.3s ease;
}
.unlock-card:hover {
  border-color: #ccc; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.unlock-card.main-unlock {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--card-bg) 100%);
  padding: 36px 32px;
}
.unlock-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 10px; border-radius: 100px;
  background: var(--accent); color: #fff;
  margin-bottom: 16px;
}
.unlock-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.unlock-card.main-unlock h3 {
  font-family: 'Instrument Serif', serif; font-size: 24px;
}
.unlock-card p {
  font-size: 14px; color: var(--dim); line-height: 1.6;
}

/* --- TICKER --- */
.ticker-wrapper {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}
.ticker-track {
  display: flex; align-items: center; gap: 24px;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--dim);
}
.ticker-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; opacity: 0.5;
}

/* --- CAPABILITIES --- */
.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--card-bg); margin-top: 48px;
}
.cap-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.cap-cell:nth-child(4n) { border-right: none; }
.cap-cell:nth-child(n+5) { border-bottom: none; }
.cap-cell:hover { background: var(--accent-light); }
.cap-title {
  font-size: 15px; font-weight: 700; margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.cap-desc {
  font-size: 13px; color: var(--dim); line-height: 1.5;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 140px 24px 60px; }
  .agent-demo { padding: 0 16px; }
  .section, .human-setup, .agents-section, .quote-section, .final-cta { padding: 0 24px; }
  .property-types { grid-template-columns: 1fr 1fr; }
  .prop-card.featured { grid-column: span 2; }
  .setup-layout { grid-template-columns: 1fr; gap: 40px; }
  .agent-roster { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-cell:nth-child(2n) { border-right: none; }
  .cap-cell:nth-child(n+3) { border-bottom: none; }
  .voice-grid { grid-template-columns: 1fr; }
  .voice-section { padding: 60px 24px; }
  .unlock-grid { grid-template-columns: 1fr; }
  .voice-demo-left { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .property-types-expanded { grid-template-columns: 1fr; }
  .prop-card-exp.featured, .prop-card-exp.highlight { grid-column: 1; }
  .prop-card.featured { grid-column: span 1; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-cell { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .cap-cell:last-child { border-bottom: none !important; }
  .cta-box { padding: 60px 32px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
}