:root {
  --navy: #0D1B2A;
  --gold: #C9A84C;
  --cream: #F8F6F1;
  --cream-dark: #EDE9E0;
  --ink: #1C2833;
  --ink-light: #4A5568;
  --border: #D4C9B5;
  --white: #FFFFFF;
  --vc: #8B5CF6;
  --co: #10B981;
  --exp: #F59E0B;
  --dc: #EF4444;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 80px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-wordmark { color: var(--navy); }
.nav-suffix { color: var(--gold); }
.nav-tagline {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 80px 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-light);
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-light);
  max-width: 480px;
}

/* OS MOCKUP */
.os-mockup {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(13, 27, 42, 0.12), 0 4px 12px rgba(13, 27, 42, 0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}
.os-titlebar {
  background: var(--navy);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.os-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.os-title {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  margin-left: 8px;
  font-family: 'DM Sans', sans-serif;
}
.os-body {
  display: flex;
  height: 340px;
}
.os-sidebar {
  width: 130px;
  background: var(--cream);
  border-right: 1px solid var(--border);
  padding: 20px 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--ink-light);
  cursor: default;
}
.sidebar-item.active {
  color: var(--navy);
  font-weight: 600;
  background: var(--white);
  border-left: 2px solid var(--gold);
}
.sidebar-icon { font-size: 14px; }
.os-main { flex: 1; padding: 20px; overflow: hidden; }
.os-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.os-section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.os-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.case-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.case-color {
  width: 4px;
  height: 36px;
  border-radius: 2px;
  flex-shrink: 0;
}
.case-color.vc { background: var(--vc); }
.case-color.co { background: var(--co); }
.case-color.exp { background: var(--exp); }
.case-color.dc { background: var(--dc); }
.case-info { flex: 1; min-width: 0; }
.case-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-meta {
  display: block;
  font-size: 10px;
  color: var(--ink-light);
  margin-top: 2px;
}
.case-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-light);
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.os-footer-row {
  margin-top: 16px;
}
.ai-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--co);
  font-weight: 500;
}
.ai-dot {
  width: 6px;
  height: 6px;
  background: var(--co);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* DASHBOARD PREVIEW */
.dashboard-preview {
  background: var(--navy);
  padding: 80px;
}
.dp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dp-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}
.dp-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.6);
}
.dp-stats {
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.dp-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dp-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.dp-label {
  font-size: 13px;
  color: rgba(248, 246, 241, 0.5);
  line-height: 1.4;
}
.dp-divider {
  width: 1px;
  background: rgba(248, 246, 241, 0.1);
  align-self: stretch;
}

/* FEATURES */
.features {
  padding: 100px 80px;
  background: var(--cream);
}
.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--cream);
  padding: 40px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--white); }
.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* PRACTICE AREAS */
.practice-areas {
  background: var(--cream-dark);
  padding: 100px 80px;
}
.pa-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.practice-areas .section-eyebrow { display: block; }
.practice-areas .section-headline {
  margin-bottom: 60px;
}
.pa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.pa-card {
  background: var(--cream-dark);
  padding: 40px;
}
.pa-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.pa-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}
.pa-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pa-list li {
  font-size: 14px;
  color: var(--ink-light);
  padding-left: 16px;
  position: relative;
}
.pa-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 80px;
  background: var(--cream);
}
.hiw-inner { max-width: 900px; margin: 0 auto; }
.how-it-works .section-eyebrow { display: block; }
.hiw-steps {
  display: flex;
  align-items: stretch;
  margin-top: 60px;
}
.hiw-step {
  flex: 1;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.hiw-connector {
  width: 40px;
  background: linear-gradient(to right, var(--gold), var(--gold));
  background-clip: content-box;
  flex-shrink: 0;
  position: relative;
}
.hiw-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.hiw-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--cream-dark);
  margin-bottom: 16px;
  line-height: 1;
}
.hiw-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.hiw-desc {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* CLOSING */
.closing {
  background: var(--navy);
  padding: 100px 80px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 48px;
}
.closing-quote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 16px;
  color: rgba(248, 246, 241, 0.5);
  margin-bottom: 48px;
}
.closing-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sig-line {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}
.sig-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(248, 246, 241, 0.4);
}

/* FOOTER */
.footer {
  background: var(--cream-dark);
  padding: 48px 80px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
}
.footer-wordmark { color: var(--navy); }
.footer-suffix { color: var(--gold); }
.footer-tagline {
  font-size: 13px;
  color: var(--ink-light);
}
.footer-legal {
  font-size: 12px;
  color: var(--ink-light);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 60px 40px; gap: 40px; }
  .hero-visual { display: none; }
  .nav { padding: 20px 40px; }
  .features, .practice-areas, .how-it-works, .closing { padding: 60px 40px; }
  .features-grid, .pa-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { flex-direction: column; }
  .hiw-connector { width: 100%; height: 24px; }
  .hiw-connector::before { top: 50%; left: 0; right: 0; height: 1px; transform: none; }
  .dp-container { grid-template-columns: 1fr; gap: 40px; }
  .dashboard-preview { padding: 60px 40px; }
  .dp-stats { flex-wrap: wrap; }
  .dp-stat { flex: 1; min-width: 120px; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 40px 24px; }
  .features, .practice-areas, .how-it-works, .closing, .dashboard-preview, .footer { padding: 48px 24px; }
  .features-grid, .pa-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 36px; }
  .dp-stats { flex-direction: column; gap: 24px; }
  .dp-divider { width: 100%; height: 1px; }
  .footer { padding: 32px 24px; }
}