/* ==========================================================================
   HOMEPAGE LAYOUT
   ========================================================================== */

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: #000;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero-glow {
  display: none;
}

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

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 18px;
}
.hero-h1-break {
  display: inline;
}
.hero-h1-break::before {
  content: '\A';
  white-space: pre;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-proof-stat {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-proof-cta {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .hero-h1-break::before {
    content: none;
  }
}
@media (max-width: 480px) {
  .hero-h1-break::before {
    content: none;
  }
}

/* ── Mockup (Proto-style Project Room) ───────────────────── */
.hero-visual {
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-app-mockup {
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Chrome header */
.mockup-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 20px;
}
.bc-slash {
  color: #cbd5e1;
}
.bc-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0f172a;
}
.bc-current {
  color: #0f172a;
  font-weight: 600;
}

.mockup-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
}
.mockup-header-right i,
.mockup-header-right svg {
  width: 14px;
  height: 14px;
}
.mockup-avatar {
  width: 22px;
  height: 22px;
  background: #0f172a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
}

/* Body layout */
.mockup-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 340px;
}

/* Sidebar */
.mockup-sidebar {
  padding: 12px 10px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mockup-nav-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 10px 6px;
}

.mockup-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #475569;
}
.mockup-nav i,
.mockup-nav svg {
  width: 13px;
  height: 13px;
}
.mockup-nav.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mockup-badge {
  margin-left: auto;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.6rem;
  font-weight: 600;
  color: #475569;
  padding: 1px 5px;
  border-radius: 99px;
}

/* Main feed area */
.mockup-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid #e2e8f0;
}
.mockup-toolbar strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #0f172a;
}

.mockup-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-search-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #94a3b8;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 5px;
}
.mockup-search-pill i,
.mockup-search-pill svg {
  width: 11px;
  height: 11px;
}
.mockup-add-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-primary);
  border-radius: 5px;
  padding: 4px 10px;
}
.mockup-add-btn i,
.mockup-add-btn svg {
  width: 11px;
  height: 11px;
}

.mockup-feed {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.mockup-date {
  font-size: 0.62rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

.mockup-feed-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.mockup-feed-card:hover {
  border-color: #cbd5e1;
}

.feed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  margin-right: 8px;
}
.feed-badge i,
.feed-badge svg {
  width: 10px;
  height: 10px;
}
.badge-purple {
  background: #faf5ff;
  color: #7e22ce;
}
.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
}
.badge-green {
  background: #ecfdf5;
  color: #047857;
}
.badge-amber {
  background: #fffbeb;
  color: #b45309;
}

.card-time {
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 500;
}

.feed-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.feed-audio {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 5px;
  margin-bottom: 8px;
  width: fit-content;
}
.audio-btn {
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audio-bars {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 14px;
}
.audio-bars span {
  width: 2px;
  background: #cbd5e1;
  border-radius: 1px;
}
.audio-bars span:nth-child(1) {
  height: 4px;
}
.audio-bars span:nth-child(2) {
  height: 9px;
}
.audio-bars span:nth-child(3) {
  height: 13px;
}
.audio-bars span:nth-child(4) {
  height: 7px;
}
.audio-bars span:nth-child(5) {
  height: 11px;
}
.audio-bars span:nth-child(6) {
  height: 5px;
}
.audio-bars span:nth-child(7) {
  height: 12px;
}
.audio-bars span:nth-child(8) {
  height: 8px;
}
.feed-audio span:last-child {
  font-size: 0.65rem;
  font-weight: 600;
  color: #475569;
}

.feed-quote {
  border-left: 2px solid #e2e8f0;
  padding-left: 10px;
  font-size: 0.7rem;
  color: #475569;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 8px;
}

.feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.62rem;
  color: #94a3b8;
}
.feed-user {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.micro-av {
  width: 16px;
  height: 16px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 600;
  color: #0f172a;
}
.feed-action {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}
.feed-action i,
.feed-action svg {
  width: 11px;
  height: 11px;
}

.feed-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  border-radius: 5px;
  margin-bottom: 4px;
}
.feed-data div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dl {
  font-size: 0.58rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}
.dv {
  font-size: 0.72rem;
  color: #0f172a;
  font-weight: 500;
}

.feed-desc {
  font-size: 0.68rem;
  color: #475569;
  margin-bottom: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-red {
  background: #ef4444;
}
.dot-green {
  background: #22c55e;
}
.dot-amber {
  background: #f59e0b;
}
.dot-blue {
  background: #3b82f6;
}

@media (max-width: 640px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    flex-direction: row;
    padding: 8px 10px;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .mockup-nav {
    white-space: nowrap;
    padding: 6px 8px;
  }
  .mockup-nav-label {
    display: none;
  }
  .mockup-breadcrumbs {
    display: none;
  }
  .mockup-header-right {
    display: none;
  }
}

/* ── Problem (Split Layout) ─────────────────────────────── */
.problem {
  padding: 100px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
}

.problem-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.problem-left h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.problem-lead {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.problem-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.problem-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-primary);
  line-height: 1;
  flex-shrink: 0;
}
.stat-pct {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
  margin-left: 1px;
}
.problem-stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Right side - stacked items with a connecting line */
.problem-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.problem-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.problem-item:first-child {
  padding-top: 0;
}
.problem-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
  border: 2px solid #475569;
  flex-shrink: 0;
  margin-top: 6px;
  transition: all 0.2s ease;
}
.problem-item:hover .problem-marker {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 8px rgba(224, 93, 54, 0.3);
}

.problem-item-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.problem-item-content p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .problem {
    padding: 72px 0;
  }
  .problem-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .problem-left {
    text-align: center;
  }
  .problem-left h2 br {
    display: none;
  }
  .problem-stat {
    text-align: left;
  }
  .problem-item {
    text-align: left;
  }
}

/* ── How It Works ───────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.how-it-works .section-header {
  margin-bottom: 48px;
}
.how-it-works .section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  color: var(--text-light);
  flex-shrink: 0;
}
.step-connector i,
.step-connector svg {
  width: 20px;
  height: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-main);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.step-visual {
  margin-bottom: 24px;
}

.step-illustration {
  width: 100%;
  height: 120px;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
}

/* Step illustrations */
.il-doc {
  width: 72px;
  padding: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  position: relative;
}
.il-line {
  height: 5px;
  background: var(--border-light);
  border-radius: 3px;
  margin-bottom: 7px;
}
.il-line:last-of-type {
  margin-bottom: 0;
}
.il-line.w80 {
  width: 80%;
}
.il-line.w60 {
  width: 60%;
}
.il-line.w70 {
  width: 70%;
}

.il-pin {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(224, 93, 54, 0.3);
}
.il-pin i,
.il-pin svg {
  width: 12px;
  height: 12px;
}

.il-handoff {
  display: flex;
  align-items: center;
  gap: 14px;
}
.il-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.il-person i,
.il-person svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-muted);
}
.il-person-accent i,
.il-person-accent svg {
  background: var(--accent-subtle);
  border-color: rgba(224, 93, 54, 0.12);
  color: var(--accent-primary);
}
.il-person span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.il-timeline {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px 20px;
}
.il-event {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.il-event:last-child {
  border-bottom: none;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 72px 0;
  }
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .step-connector {
    display: none;
  }
  .step-card {
    max-width: 380px;
  }
}

/* ── How-it-works: cost-library stage (compact) ───────── */
.costlib-stage {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.cls-panel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.cls-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  color: var(--text-light);
}
.cls-connector i,
.cls-connector svg {
  width: 20px;
  height: 20px;
}

.cls-cap {
  margin-bottom: 14px;
}
.cls-cap-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.cls-cap-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Panel 1 — spreadsheet preview */
.cls-sheet-wrap {
  margin-top: auto;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
}
.cls-sheet {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.cls-sheet col.cls-col-a {
  width: 9%;
}
.cls-sheet col.cls-col-c {
  width: 20%;
}
.cls-sheet col.cls-col-d {
  width: 21%;
}
.cls-sheet thead th {
  height: 16px;
  padding: 3px 0;
  background: var(--bg-subtle);
  color: var(--text-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}
.cls-sheet thead th:last-child {
  border-right: none;
}
.cls-sheet td {
  height: 20px;
  padding: 3px 6px;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}
.cls-sheet td:last-child {
  border-right: none;
}
.cls-sheet tbody tr:last-child td {
  border-bottom: none;
}
.cls-row-section td {
  background: var(--accent-subtle);
  font-weight: 700;
  font-size: 10px;
  color: var(--text-main);
}
.cls-num {
  text-align: right;
  font-weight: 500;
  color: var(--text-main);
}

/* Panel 2 — BidFlow reads it */
.cls-ai-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}
.cls-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
}
.cls-logo img {
  display: block;
  width: 40px;
  height: 40px;
}
.cls-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--accent-primary);
  border-radius: 16px;
  opacity: 0;
  animation: cls-pulse 2.8s ease-out infinite;
}
.cls-pulse-2 {
  animation-delay: 1.4s;
}
@keyframes cls-pulse {
  0% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.85);
  }
  100% {
    opacity: 0;
  }
}

/* Panel 3 — preserved cost library tree */
.cls-tree {
  display: flex;
  flex-direction: column;
}
.cls-tree-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}
.cls-tree-section:not(:first-child) {
  margin-top: 4px;
}
.cls-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.cls-bullet[data-c='1'] {
  background: var(--accent-primary);
}
.cls-bullet[data-c='2'] {
  background: #3b82f6;
}
.cls-bullet[data-c='3'] {
  background: #15803d;
}
.cls-tree-leaf {
  padding: 3px 0 3px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .cls-pulse {
    display: none;
  }
}

@media (max-width: 768px) {
  .costlib-stage {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 420px;
  }
  .cls-connector {
    display: none;
  }
  .cls-panel {
    width: 100%;
  }
}

/* ── Features ─────────────────────────────────────────── */
.features {
  padding: 96px 0;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-light);
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}
.features-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
}
.features-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Showcase cards - the 2 hero features */
.features-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 16px;
}

.feature-showcase-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.15s ease;
}
.feature-showcase-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.06);
}

.fsc-content {
  padding: 28px 28px 20px;
}
.fsc-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.fsc-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.fsc-visual {
  padding: 0 20px 20px;
}

/* Timeline visual */
.fsc-timeline {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 4px 0;
}
.fsc-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.fsc-event:last-child {
  border-bottom: none;
}
.fsc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fsc-event-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.fsc-event-body strong {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fsc-event-body span {
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
  margin-left: 8px;
  flex-shrink: 0;
}

/* Meeting visual */
.fsc-meeting {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
}
.fsc-meeting-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.fsc-meeting-avatars {
  display: flex;
}
.fsc-meeting-avatars span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-right: -6px;
}
.fsc-meeting-avatars span:last-child {
  margin-right: 0;
}
.fsc-meeting-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fsc-meeting-meta strong {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
}
.fsc-meeting-meta span {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
}

.fsc-meeting-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fsc-note-line {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  width: 85%;
}
.fsc-note-line.short {
  width: 55%;
}
.fsc-note-tag {
  margin-top: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fsc-note-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #059669;
  border-radius: 50%;
}

/* Smaller feature grid - 4 cards below */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.feature-card {
  padding: 24px 22px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-base);
  transition: all 0.15s ease;
}
.feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.06);
}

.feature-icon-wrap {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  background: var(--accent-subtle);
  border: 1px solid rgba(224, 93, 54, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}
.feature-icon-wrap i,
.feature-icon-wrap svg {
  width: 15px;
  height: 15px;
}

.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .features {
    padding: 72px 0 64px;
  }
  .features-showcase {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature-card {
    padding: 20px 18px;
  }
  .features-header h2 br {
    display: none;
  }
  .fsc-content {
    padding: 22px 22px 16px;
  }
  .fsc-visual {
    padding: 0 16px 16px;
  }
}

/* ── Final CTA ─────────────────────────────────────────── */
.final-cta {
  padding: 96px 0 100px;
  background: var(--bg-dark);
  background-image: radial-gradient(
    ellipse 60% 40% at 50% 100%,
    rgba(224, 93, 54, 0.06) 0%,
    transparent 60%
  );
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}

.final-cta p {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 32px;
}

.final-cta-actions {
  margin-bottom: 24px;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1rem;
}

.final-cta-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.proof-avatars {
  display: flex;
}
.proof-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-dark);
  margin-right: -8px;
}
.proof-av:last-child {
  margin-right: 0;
}

.proof-text {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  margin-left: 4px;
}

@media (max-width: 640px) {
  .final-cta {
    padding: 72px 0;
  }
  .final-cta-proof {
    flex-direction: column;
    gap: 8px;
  }
}

/* ── Responsive hero ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 92px 0 56px;
  }
  .hero-content {
    margin-bottom: 36px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
  }
}

/* ── Oneliner Band ──────────────────────────────────────── */
.oneliner-band {
  padding: 56px 0;
  background: var(--accent-primary);
  background-image: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.oneliner-band-text {
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 auto;
  max-width: 940px;
}
.oneliner-band-text .ol-faded {
  opacity: 0.78;
  font-weight: 600;
}
.oneliner-band-text .ol-divider {
  display: inline-block;
  margin: 0 14px;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .oneliner-band {
    padding: 40px 0;
  }
  .oneliner-band-text .ol-divider {
    display: none;
  }
  .oneliner-band-text .ol-faded,
  .oneliner-band-text .ol-bold {
    display: block;
  }
  .oneliner-band-text .ol-faded {
    margin-bottom: 8px;
  }
}

/* ── Anti-Positioning (What You Don't Have To Do) ───────── */
.anti-positioning {
  padding: 96px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}
.anti-pos-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.anti-pos-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.anti-pos-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-main);
  margin: 0 0 14px;
}
.anti-pos-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.anti-pos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}
.anti-pos-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.anti-pos-item:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 93, 54, 0.3);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.anti-pos-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent-primary);
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 2px;
}
.anti-pos-text {
  flex: 1;
  min-width: 0;
}
.anti-pos-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.anti-pos-text span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .anti-positioning {
    padding: 64px 0;
  }
  .anti-pos-header {
    margin-bottom: 32px;
  }
  .anti-pos-header h2 br {
    display: none;
  }
  .anti-pos-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .anti-pos-item {
    padding: 18px;
  }
}

/* ── Matthew Martin Pull-Quote ──────────────────────────── */
.martin-quote {
  padding: 110px 0 100px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.martin-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.6;
}
.martin-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}
.martin-quote-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 28px;
  letter-spacing: 0;
}
.martin-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 0.4;
  display: block;
  margin-bottom: 12px;
  user-select: none;
  opacity: 0.85;
}
.martin-quote-text {
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.32;
  letter-spacing: -0.018em;
  margin: 0 0 32px;
  font-style: italic;
}
.martin-quote-attribution {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}
.martin-quote-attribution .author {
  display: block;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
@media (max-width: 768px) {
  .martin-quote {
    padding: 72px 0 64px;
  }
  .martin-quote-mark {
    font-size: 4rem;
  }
}

/* ── Redesign hero (faithful port, scoped under .rd-hero) ── */
.rd-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f7f6 0%, #eef2f1 44%, #e4ece9 100%);
}
.rd-band {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
  background:
    radial-gradient(125% 62% at 50% -4%, rgba(46, 140, 128, 0.3), transparent 60%),
    linear-gradient(180deg, #0e3a37 0%, #0d3431 100%);
}
.rd-stage {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(56px, 8vh, 112px) 24px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(104px, 14vh, 216px);
}
.rd-copy {
  position: relative;
  z-index: 8;
  text-align: left;
  align-self: flex-start;
  max-width: 1040px;
}
.rd-copy h1 {
  margin: 0;
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: #f4faf8;
  max-width: 20ch;
  text-wrap: balance;
}
.rd-sub {
  margin: 22px 0 0;
  max-width: 46em;
  color: #c4dcd6;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.018em;
}
.rd-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.rd-btn {
  height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 690;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.rd-btn-primary {
  color: #fff;
  background: #b9603a;
  box-shadow: 0 16px 34px rgba(120, 58, 34, 0.4);
}
.rd-btn-secondary {
  color: #f0f7f5;
  border: 1px solid rgba(186, 220, 213, 0.5);
  background: rgba(255, 255, 255, 0.08);
}
.rd-scene {
  position: relative;
  z-index: 4;
  width: 100%;
}
.rd-desk {
  position: absolute;
  left: 50%;
  top: -72px;
  bottom: -28px;
  width: 132vw;
  transform: translateX(-50%);
  border-top: 1px solid rgba(150, 220, 208, 0.36);
  box-shadow: 0 -2px 54px rgba(14, 96, 86, 0.3);
}
.rd-desk::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #0c4a45;
  background-image: url('/media/images/redesign/blueprint-teal.svg');
  background-size: cover;
  background-position: center 42%;
  filter: saturate(1.2) brightness(1.13);
  pointer-events: none;
}
.rd-desk::after {
  content: '';
  position: absolute;
  inset: -1px 0;
  background: radial-gradient(
    ellipse 94% 126% at 50% 46%,
    transparent 58%,
    rgba(6, 26, 24, 0.4) 100%
  );
  pointer-events: none;
}
.rd-paper {
  position: absolute;
  z-index: 6;
  left: min(-40px, calc(676px - 50vw));
  top: -24px;
  width: clamp(200px, 13vw, 260px);
  aspect-ratio: 1500 / 2515;
  pointer-events: none;
  filter: drop-shadow(2px 7px 10px rgba(16, 24, 42, 0.34))
    drop-shadow(20px 32px 44px rgba(12, 20, 38, 0.26));
}
.rd-paper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.rd-shot {
  position: relative;
  z-index: 7;
  display: block;
  width: calc(100% + 44px);
  height: auto;
  margin: 0 -44px 0 0;
  border-radius: 12px;
  border: 1px solid #d4dee0;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(6, 24, 22, 0.5),
    0 4px 10px rgba(6, 24, 22, 0.34),
    0 26px 52px -20px rgba(6, 26, 24, 0.5),
    0 90px 150px -46px rgba(5, 22, 20, 0.66);
}
@media (max-width: 980px) {
  .rd-stage {
    gap: clamp(28px, 5vw, 44px);
    padding-top: 24px;
  }
  .rd-paper {
    display: none;
  }
  /* Stop the desk from overhanging upward into the buttons; it sits behind
     the product shot instead of floating above the copy. */
  .rd-desk {
    top: 0;
    bottom: -24px;
  }
}
@media (max-width: 680px) {
  .rd-copy {
    margin-top: 38px;
  }
  .rd-copy h1 {
    font-size: 40px;
  }
  .rd-sub {
    font-size: 17px;
  }
  /* Tighter side gutters + edge-to-edge product shot so the estimate sheet
     reads larger on phones instead of shrinking inside a padded column. */
  .rd-stage {
    padding-left: 18px;
    padding-right: 18px;
  }
  .rd-shot {
    width: calc(100% + 36px);
    margin: 0 -18px;
  }
}

/* ── Bid Leveling — coming-soon teaser (matches /solutions/bid-leveling) ── */
.bl-coming {
  padding: 72px 0;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-light);
}
.bl-coming-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}
.bl-coming-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.bl-coming-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #e7e5e4;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1c1917;
}
.bl-coming-pill-meta {
  font-size: 12.5px;
  color: #78716c;
  font-variant-numeric: tabular-nums;
}
.bl-coming-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
}
.bl-coming-copy p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.bl-coming-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
}
.bl-coming-link i,
.bl-coming-link svg {
  width: 16px;
  height: 16px;
}
.bl-coming-scene {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.bl-coming-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px 13px 16px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 8px 24px -10px rgba(15, 23, 42, 0.06);
}
.bl-coming-prompt-app {
  flex-shrink: 0;
}
.bl-coming-prompt-text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #1c1917;
}
.bl-coming-prompt-send {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-primary);
  color: #fff;
}
.bl-coming-files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bl-coming-file {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.bl-coming-file-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.bl-coming-file-icon svg {
  width: 20px;
  height: 20px;
}
.bl-coming-file-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.bl-coming-fname {
  font-size: 11.5px;
  font-weight: 500;
  color: #0a0a0a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bl-coming-fsize {
  margin-top: 1px;
  font-size: 10.5px;
  color: #78716c;
  font-variant-numeric: tabular-nums;
}
.bl-coming-result {
  position: relative;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -12px rgba(15, 23, 42, 0.08);
}
.bl-coming-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid #e7e5e4;
}
.bl-coming-result-title {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  line-height: 1.2;
}
.bl-coming-result-sub {
  margin: 0;
  font-size: 12px;
  color: #78716c;
}
.bl-coming-result-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.bl-coming-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.bl-coming-tag-ok {
  background: #dcfce7;
  color: #15803d;
}
.bl-coming-tag-warn {
  background: #fef1ec;
  color: #c2410c;
}
.bl-coming-recommend {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 11px 18px;
  border-bottom: 1px solid #f5f5f4;
  border-left: 2px solid var(--accent-primary);
}
.bl-coming-rec-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
}
.bl-coming-rec-total {
  font-size: 12px;
  color: #78716c;
}
.bl-coming-rec-amt {
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.bl-coming-rec-sub {
  margin-left: auto;
  font-size: 11.5px;
  color: #a8a29e;
  font-variant-numeric: tabular-nums;
}
.bl-coming-table {
  width: 100%;
  border-collapse: collapse;
}
.bl-coming-table th {
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: right;
  color: #a8a29e;
  background: #fafaf9;
  border-bottom: 1px solid #f5f5f4;
  white-space: nowrap;
}
.bl-coming-table th.lbl {
  text-align: left;
}
.bl-coming-table td {
  padding: 9px 14px;
  font-size: 12.5px;
  text-align: right;
  color: #1c1917;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid #f5f5f4;
}
.bl-coming-table td:first-child {
  text-align: left;
}
.bl-coming-table tbody tr:last-child td {
  border-bottom: none;
}
.bl-coming-table td.miss span {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #fef1ec;
  color: #c2410c;
  border-radius: 4px;
}
.bl-coming-table td.miss-x {
  color: #c2410c;
  font-weight: 700;
}

/* Liveness — staggered entrance on scroll-in (homepage IO adds .visible to
   .fade-up), a one-time scan sweep over the result, and a quiet send pulse.
   Content is fully visible by default, so no-JS / reduced-motion is safe. */
@keyframes bl-coming-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bl-coming-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes bl-coming-sweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
@keyframes bl-coming-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 93, 54, 0.4);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(224, 93, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(224, 93, 54, 0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bl-coming-scene.visible .bl-coming-prompt {
    animation: bl-coming-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
  }
  .bl-coming-scene.visible .bl-coming-file {
    animation: bl-coming-up 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .bl-coming-scene.visible .bl-coming-file:nth-child(1) {
    animation-delay: 0.42s;
  }
  .bl-coming-scene.visible .bl-coming-file:nth-child(2) {
    animation-delay: 0.54s;
  }
  .bl-coming-scene.visible .bl-coming-file:nth-child(3) {
    animation-delay: 0.66s;
  }
  .bl-coming-scene.visible .bl-coming-result {
    animation: bl-coming-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
  }
  .bl-coming-result::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-120%);
    background: linear-gradient(
      100deg,
      transparent 35%,
      rgba(224, 93, 54, 0.12) 50%,
      transparent 65%
    );
  }
  .bl-coming-scene.visible .bl-coming-result::before {
    animation: bl-coming-sweep 1s cubic-bezier(0.4, 0, 0.2, 1) 1.3s 1;
  }
  .bl-coming-prompt-send {
    animation: bl-coming-pulse 2.6s ease-out infinite;
  }
}
@media (max-width: 768px) {
  .bl-coming {
    padding: 56px 0;
  }
  .bl-coming-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 460px;
  }
  .bl-coming-files {
    grid-template-columns: 1fr;
  }
}
