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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.45;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  background: #0f172a;
  color: #facc15;
  font-weight: 800;
  font-size: 14px;
  padding: 7px 9px;
  border-radius: 7px;
  letter-spacing: 0.5px;
}

.brand-name {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.brand-sub {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.nav-tab.active {
  background: #0f172a;
  color: #ffffff;
}

.nav-link-ext {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  padding: 7px 12px;
}

/* Hero */
.hero {
  padding: 20px 0 14px;
}

.hero-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 14px;
}

.window-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.window-pill .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.hero-copy h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
  margin-bottom: 6px;
}

.hero-copy p {
  font-size: 14.5px;
  color: #475569;
}

/* 3-Step Strip */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.step-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.step-pill .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.step-pill strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.step-pill div span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

/* Search Bar Card */
.search-bar-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.search-row {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 300px;
}

.search-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.demo-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Main Two-Column Split */
.main-split {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: 16px;
  padding-bottom: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.prop-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 3px;
}

.prop-top h2,
.sign-header h2,
.status-top h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.owner-line {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}

.code-badge {
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
}

/* Metrics Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.metric-box {
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.box-red {
  background: #fef2f2;
  border-color: #fecaca;
}

.box-green {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.box-dark {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.m-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.box-red .m-label { color: #991b1b; }
.box-green .m-label { color: #166534; }
.box-dark .m-label { color: #facc15; }

.m-val {
  font-size: 24px;
  font-weight: 800;
  margin: 3px 0;
}

.box-red .m-val { color: #b91c1c; }
.box-green .m-val { color: #15803d; }
.box-dark .m-val { color: #ffffff; }

.m-sub {
  display: block;
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
}

.box-dark .m-sub { color: #cbd5e1; }

/* Comps Table */
.comps-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 14px;
}

.comps-title-row {
  background: #f8fafc;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.info-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.clean-table th {
  text-align: left;
  padding: 7px 10px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}

.clean-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.clean-table tr.subject-row {
  background: #eff6ff;
  font-weight: 700;
}

.clean-table .r {
  text-align: right;
}

/* Packet Bottom Bar */
.packet-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.packet-bar strong {
  display: block;
  font-size: 12.5px;
  color: #0f172a;
}

.packet-bar span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.btn-secondary {
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Right Column: Sign Card */
.sign-header p {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
  margin-bottom: 12px;
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.price-option {
  border: 2px solid #e2e8f0;
  border-radius: 9px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
}

.price-option.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.price-option input {
  display: none;
}

.po-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-pop {
  background: #16a34a;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

.po-sub {
  font-size: 11.5px;
  color: #475569;
  margin-top: 2px;
}

.po-right {
  text-align: right;
}

.po-amt {
  font-size: 18px;
  font-weight: 800;
  color: #1e3a8a;
}

.po-note {
  font-size: 10.5px;
  color: #64748b;
}

.net-keep-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 7px;
  margin-bottom: 12px;
  text-align: center;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.input-grid label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.input-grid input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.signature-box {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 7px;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.sig-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.sig-display {
  font-family: "Georgia", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  color: #1d4ed8;
  padding-top: 3px;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: #475569;
  margin-bottom: 12px;
}

.consent-line input {
  margin-top: 3px;
}

.consent-line a {
  color: #2563eb;
}

.btn-cta {
  width: 100%;
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}

/* Status Tracker View */
.status-tracker-card {
  margin-bottom: 32px;
}

.status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.status-pill-large {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}

.progress-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.rail-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 12px;
  text-align: center;
}

.rail-step.done {
  background: #f0fdf4;
  border-color: #86efac;
}

.rail-step.current {
  background: #eff6ff;
  border-color: #3b82f6;
  border-width: 2px;
}

.rail-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12.5px;
  background: #e2e8f0;
  color: #475569;
}

.rail-step.done .rail-circle {
  background: #16a34a;
  color: #ffffff;
}

.rail-step.current .rail-circle {
  background: #2563eb;
  color: #ffffff;
}

.rail-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
}

.rail-meta {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.status-details-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.status-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 14px 16px;
}

.status-info-box h4 {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}

.status-info-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}

.status-info-box li {
  display: flex;
  justify-content: space-between;
}

.status-info-box li span {
  color: #64748b;
}

.green-txt {
  color: #15803d;
}

.status-info-box p {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 12px;
}

.status-doc-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost {
  font-size: 12.5px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

/* Details & FAQ Page */
.details-page {
  padding: 28px 24px 40px;
}

.hero-compact {
  max-width: 720px;
  margin-bottom: 22px;
}

.hero-compact h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-compact p {
  font-size: 14.5px;
  color: #475569;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.faq-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
}

.faq-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  color: #ffffff;
}

.cta-strip h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 3px;
}

.cta-strip p {
  font-size: 13px;
  color: #cbd5e1;
}

/* Footer */
.footer {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  padding: 14px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.badge-muted {
  background: #e2e8f0;
  color: #475569;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Search Autocomplete Dropdown & Live Sync Banner */
.search-row-wrap {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
  z-index: 50;
  max-height: 310px;
  overflow-y: auto;
}

.sugg-item {
  width: 100%;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.sugg-item:last-child {
  border-bottom: none;
}

.sugg-item:hover {
  background: #eff6ff;
}

.sugg-left strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.sugg-left span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.sugg-right {
  text-align: right;
  flex-shrink: 0;
}

.sugg-sav {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #15803d;
}

.sugg-code {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 4px;
}

.submit-success-banner {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 13px;
  margin-bottom: 16px;
}
