:root {
  --ink: #14233c;
  --muted: #627087;
  --blue: #1e5ee8;
  --blue-dark: #153e9f;
  --blue-soft: #eaf1ff;
  --navy: #0e213d;
  --teal: #25a89a;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dfe6ef;
  --shadow: 0 24px 70px rgba(20, 35, 60, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-header, .site-footer, .hero, .section, .attorney-band { max-width: 1240px; margin-inline: auto; }
.site-header { min-height: 82px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.brand, .law-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.16rem; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, var(--blue), var(--teal)); font-family: Georgia, serif; font-size: 1.35rem; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.text-link { color: var(--muted); font-weight: 650; }
.button { display: inline-flex; min-height: 48px; padding: 0 21px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 720; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 16px; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 25px rgba(30,94,232,.22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--line); background: white; }
.button-ghost { color: var(--blue); border-color: #bfcff2; background: transparent; }
.button-light { color: var(--navy); background: white; }
.button-full { width: 100%; }
.hero { min-height: 670px; padding: 76px 48px 92px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 86px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .78rem; font-weight: 820; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow.light { color: #8fc8ff; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
h3 { font-size: 1.15rem; line-height: 1.3; }
.hero-lede { max-width: 610px; margin-bottom: 32px; color: var(--muted); font-size: 1.22rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-line { margin: 22px 0 0; color: #748197; font-size: .86rem; }
.path-card { position: relative; padding: 26px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.path-card::before { position: absolute; z-index: -1; inset: -52px -45px; border-radius: 50%; background: radial-gradient(circle, rgba(30,94,232,.19), rgba(37,168,154,.04) 52%, transparent 70%); content: ""; }
.path-card-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 760; }
.status-pill { padding: 5px 10px; border-radius: 999px; color: #176f65; background: #dcf6f1; font-size: .78rem; }
.path-list { margin: 10px 0; padding: 0; list-style: none; }
.path-list li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 13px 0; color: #8994a5; }
.path-list li:not(:last-child)::after { position: absolute; left: 19px; top: 48px; width: 2px; height: 22px; background: var(--line); content: ""; }
.path-list li.complete, .path-list li.active { color: var(--ink); }
.step-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-weight: 750; }
.complete .step-icon { color: white; border-color: var(--teal); background: var(--teal); }
.active .step-icon { color: var(--blue); border: 2px solid var(--blue); }
.path-list strong, .path-list small { display: block; }
.path-list small { color: var(--muted); }
.path-note { margin-top: 16px; padding: 13px 15px; border-radius: 12px; color: #34527d; background: var(--blue-soft); font-size: .83rem; }
.proof-strip { max-width: 1160px; margin: 0 auto 110px; padding: 24px 34px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 45px rgba(20,35,60,.06); }
.proof-strip div { padding: 4px 28px; }
.proof-strip div + div { border-left: 1px solid var(--line); }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip span { color: var(--muted); font-size: .9rem; }
.section { padding: 0 48px 120px; }
.section-intro { max-width: 820px; margin-bottom: 50px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature-number { color: var(--blue); font-family: Georgia, serif; font-size: 1.5rem; }
.feature-card h3 { margin: 45px 0 12px; }
.feature-card p { color: var(--muted); }
.attorney-band { margin-bottom: 36px; padding: 55px; display: grid; grid-template-columns: 1fr .8fr auto; align-items: center; gap: 50px; border-radius: 28px; color: white; background: var(--navy); }
.attorney-band h2 { margin: 0; font-size: 2.5rem; }
.attorney-band > p { margin: 0; color: #c2cee0; }
.site-footer { padding: 38px 32px 55px; display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer .legal { grid-column: 2; font-size: .8rem; }
.footer-brand { grid-row: span 2; color: var(--ink); }

/* Vincent Wood portal */
.portal-page { background: #f3f6fa; }
.portal-header { height: 78px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--navy); }
.law-monogram { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-family: Georgia, serif; }
.law-brand span:last-child, .client-mini div { display: flex; flex-direction: column; }
.law-brand small { color: #b9c8dc; font-size: .71rem; font-weight: 500; letter-spacing: .05em; }
.powered-by { color: #aebcd0; font-size: .8rem; }
.powered-by a { color: white; font-weight: 750; }
.demo-banner { padding: 7px 20px; color: #584813; background: #fff1b8; text-align: center; font-size: .78rem; font-weight: 700; }
.portal-shell { min-height: calc(100vh - 110px); display: grid; grid-template-columns: 255px 1fr; }
.portal-sidebar { padding: 28px 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: white; }
.client-mini { padding: 0 10px 24px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: #557092; font-size: .8rem; font-weight: 780; }
.client-mini small { color: var(--muted); font-size: .73rem; }
.portal-nav { margin-top: 22px; display: grid; gap: 5px; }
.portal-nav a { min-height: 44px; padding: 0 12px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; border-radius: 9px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.portal-nav a.selected { color: var(--blue); background: var(--blue-soft); }
.portal-nav b { min-width: 21px; padding: 1px 6px; border-radius: 20px; color: white; background: var(--blue); text-align: center; font-size: .67rem; }
.sidebar-help { margin-top: auto; padding: 16px; display: flex; flex-direction: column; border-radius: 12px; color: #dce8fa; background: var(--navy); font-size: .78rem; }
.sidebar-help strong { color: white; font-size: .9rem; }
.portal-content { width: min(1120px, 100%); margin: 0 auto; padding: 44px 42px 70px; }
.portal-title-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.portal-title-row h1 { margin-bottom: 9px; font-family: inherit; font-size: 2.35rem; font-weight: 780; letter-spacing: -.04em; line-height: 1.15; }
.portal-title-row p:last-child { color: var(--muted); }
.progress-panel, .panel { border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 25px rgba(20,35,60,.04); }
.progress-panel { margin: 28px 0 20px; padding: 24px 26px; }
.progress-copy { display: flex; justify-content: space-between; }
.progress-copy div { display: flex; flex-direction: column; }
.progress-copy span { color: var(--muted); font-size: .76rem; }
.progress-percent { color: var(--blue) !important; font-weight: 800; }
.progress-track { height: 8px; margin: 15px 0 20px; overflow: hidden; border-radius: 5px; background: #e7edf5; }
.progress-track span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.milestones { margin: 0; padding: 0; display: flex; justify-content: space-between; list-style: none; }
.milestones li { display: flex; align-items: center; gap: 7px; color: #9aa4b2; font-size: .72rem; font-weight: 700; }
.milestones li span { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .65rem; }
.milestones .done, .milestones .current { color: var(--ink); }
.milestones .done span { color: white; border-color: var(--teal); background: var(--teal); }
.milestones .current span { color: var(--blue); border-color: var(--blue); }
.portal-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 20px; }
.lower-grid { grid-template-columns: 1fr 1fr; margin-top: 20px; }
.panel { padding: 24px; }
.panel-head { margin-bottom: 14px; display: flex; justify-content: space-between; align-items: start; }
.panel h2 { margin-bottom: 5px; font-family: inherit; font-size: 1.25rem; font-weight: 780; letter-spacing: -.02em; }
.count-badge { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: .8rem; font-weight: 800; }
.task-row { padding: 14px 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 11px; border-top: 1px solid var(--line); }
.task-row small, .document-row small, .message-preview small { display: block; color: var(--muted); font-size: .75rem; }
.task-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-weight: 800; }
.task-icon.urgent { color: #aa5a1b; background: #fff0df; }
.conversation-panel { color: white; background: var(--navy); }
.conversation-panel .eyebrow { color: #8fc8ff; }
.conversation-panel h2 { font-size: 1.4rem; }
.conversation-panel p { color: #c2cee0; font-size: .88rem; }
.conversation-panel > small { margin-top: 10px; display: block; color: #97aac5; text-align: center; font-size: .69rem; }
.ai-orb { width: 46px; height: 46px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--blue), var(--teal)); font-family: Georgia, serif; font-size: 1.25rem; }
.document-row { padding: 14px 0; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.doc-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: #b24141; background: #ffeded; font-size: .62rem; font-weight: 850; }
.good { color: #188071; font-size: .75rem; font-weight: 750; }
.link-button { padding: 0; border: 0; color: var(--blue); background: transparent; cursor: pointer; font-weight: 730; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.message-preview { margin-bottom: 16px; padding-top: 14px; display: flex; gap: 12px; border-top: 1px solid var(--line); }
.small-avatar { width: 36px; height: 36px; }
.message-preview p { margin: 7px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.portal-footer { padding: 18px 30px; display: flex; justify-content: space-between; color: var(--muted); background: white; font-size: .78rem; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; grid-template-columns: 1fr; gap: 55px; }
  .path-card { max-width: 620px; }
  .attorney-band { margin-inline: 20px; grid-template-columns: 1fr; gap: 20px; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .portal-grid, .lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header { padding: 0 18px; }
  .header-actions .text-link { display: none; }
  .hero { min-height: auto; padding: 48px 22px 70px; }
  h1 { font-size: 3.25rem; }
  .hero-actions { display: grid; }
  .proof-strip { margin: 0 18px 80px; grid-template-columns: 1fr; }
  .proof-strip div { padding: 14px 5px; }
  .proof-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 0 22px 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer { margin-inline: 0; grid-template-columns: 1fr; }
  .site-footer .legal { grid-column: 1; }
  .footer-brand { grid-row: auto; }
  .portal-header { height: auto; padding: 15px 18px; }
  .powered-by { display: none; }
  .portal-content { padding: 30px 17px 50px; }
  .portal-title-row { align-items: start; flex-direction: column; }
  .portal-title-row .button { width: 100%; }
  .progress-panel { overflow: hidden; }
  .milestones { width: 600px; }
  .portal-footer { gap: 15px; flex-direction: column; }
}
