/* ==========================================================================
   BuildSignal — October 2026 updates
   Loaded after styles.css. Keeps the original design tokens and visual
   identity; only tightens spacing, adds feature-status badges, and
   improves the mobile layout. Remove this file to revert the styling.
   ========================================================================== */

/* ---------- Tighter vertical rhythm ---------- */
.hero { padding: calc(var(--header-h) + 48px) 0 72px; }
.hero-title { font-size: clamp(2.3rem, 4.2vw, 3.3rem); margin-bottom: 18px; }
.hero-sub { margin-bottom: 20px; }
.hero-actions { margin-bottom: 14px; }
.proof-strip { padding: 20px 0; }
.section { padding: 84px 0; }
.section-head { margin-bottom: 44px; }
.feature-row { padding: 40px 0; }
.cta-panel { padding: 44px; }
.site-footer { padding: 52px 0 24px; }
.footer-inner { margin-bottom: 32px; }

@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 20px) 0 48px; }
  .hero-title { font-size: 2.05rem; margin-bottom: 16px; }
  .hero .eyebrow { font-size: 0.68rem; letter-spacing: 0.05em; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 30px; }
  .feature-row { padding: 32px 0; }
  .cta-panel { padding: 28px 18px; gap: 28px; }
  .site-footer { padding: 40px 0 20px; }
}

/* ---------- Feature status badges ---------- */
.status {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; border: 1px solid;
  white-space: nowrap; vertical-align: middle; line-height: 1.4;
}
.status-pilot { color: var(--cyan); border-color: rgba(34,211,238,0.38); background: rgba(34,211,238,0.08); }
.status-dev { color: #a998ff; border-color: rgba(110,86,248,0.45); background: rgba(110,86,248,0.1); }
.status-soon { color: var(--amber); border-color: rgba(255,138,61,0.35); background: rgba(255,138,61,0.08); }

.status-legend {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px;
  font-size: 0.82rem; color: var(--text-muted);
}
.status-legend > span { display: inline-flex; align-items: center; gap: 8px; }

.flow-step .status { margin-bottom: 8px; }
.flow-step h4 { margin-bottom: 6px; }

.feature-copy > .status { margin-left: 6px; position: relative; top: -9px; }
.feature-list .status, .price-features .status { margin-left: 6px; }

/* ---------- Hero additions ---------- */
.hero-problems { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.hero-problems li {
  position: relative; padding-left: 20px;
  font-size: 0.95rem; color: var(--text); font-weight: 500;
}
.hero-problems li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px rgba(34,211,238,0.6);
}
.hero-note { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 30px; line-height: 1.9; }
.hero-note .status { margin-left: 4px; }

/* Old #system links still land on How It Works */
.anchor-alias { position: absolute; top: 0; left: 0; }

/* ---------- Industries: denser grid ---------- */
.industry-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-card { padding: 22px; }
@media (max-width: 1024px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .industry-card { padding: 16px; }
  .industry-icon { width: 40px; height: 40px; }
  .industry-card h4 { margin: 12px 0 4px; font-size: 0.98rem; }
  .industry-card p { font-size: 0.82rem; }
}
@media (max-width: 360px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-card h3 { margin-top: 2px; }
.price-features li.is-soon { color: var(--text-faint); }
.price-features li.is-soon::before { content: "–"; color: var(--text-faint); }
.price-notes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin-top: 30px; font-size: 0.88rem; color: var(--text-muted);
}
.price-notes li { position: relative; padding-left: 22px; }
.price-notes li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
@media (max-width: 640px) { .price-notes { flex-direction: column; align-items: flex-start; } }

/* ---------- Book a Demo: next steps + form ---------- */
.next-steps {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 20px;
}
.next-steps-head {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 12px;
}
.next-steps ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.next-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text); }
.next-steps li span {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #08090c; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
}

.form-row textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; color: var(--text); font: inherit; font-size: 0.9rem;
  resize: vertical; min-height: 76px; transition: border-color 0.3s;
}
.form-row textarea:focus { outline: none; border-color: var(--cyan); }
.form-row textarea::placeholder, .form-row input::placeholder { color: var(--text-faint); }
.form-row select:invalid { color: var(--text-faint); }
.optional { color: var(--text-faint); font-size: 0.75rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Mobile navigation ---------- */
.site-header.scrolled .mobile-nav { top: 64px; }
.mobile-nav { max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-nav a { padding: 14px 4px; font-size: 1rem; }
.mobile-nav a:not(.btn):hover { color: var(--text); }

/* Keep the header "Book a Demo" visible on tablets / large phones */
@media (max-width: 900px) and (min-width: 480px) {
  .nav-cta .btn-small { display: inline-flex; }
}

/* ---------- Mobile sticky Book a Demo bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10,12,16,0.9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .mobile-cta.visible { transform: translateY(0); }
  body { padding-bottom: 72px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .trust-track, .flow-line-fill, .lj-connector-fill, .hero-product-card, .flow-node, .lj-icon-hot { animation: none !important; }
}

/* ==========================================================================
   Free trial + onboarding (Oct 11 second pass)
   ========================================================================== */
.trial-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 30px; }
.trial-points li { position: relative; padding-left: 22px; font-size: 0.88rem; color: var(--text-muted); }
.trial-points li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.onboard-tag {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-faint); border: 1px dashed var(--border-strong); border-radius: 100px; padding: 3px 9px;
}
.onboard-note {
  font-size: 0.84rem; color: var(--text-faint); border-left: 2px solid rgba(34,211,238,0.4);
  padding-left: 12px; margin-top: 18px; margin-bottom: 0 !important;
}

/* Pricing trial banner */
.trial-banner {
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  background: linear-gradient(120deg, rgba(110,86,248,0.16), rgba(34,211,238,0.10));
  border: 1px solid rgba(110,86,248,0.45); border-radius: var(--radius-lg);
  padding: 30px 34px; margin-bottom: 30px; box-shadow: var(--shadow-glow);
}
.trial-banner-kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.trial-banner h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 6px 0 10px; }
.trial-banner p { color: var(--text-muted); font-size: 0.95rem; max-width: 600px; }
.trial-banner-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trial-banner-link { font-size: 0.85rem; color: var(--cyan); }
.trial-banner-link:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .trial-banner { grid-template-columns: 1fr; padding: 24px 20px; }
  .trial-banner-cta { align-items: stretch; }
  .trial-banner-cta .btn { width: 100%; }
}

.price-features sup, .price-footnote sup { color: var(--cyan); font-weight: 700; margin-left: 1px; }
.price-footnote { margin-top: 22px; font-size: 0.8rem; color: var(--text-faint); max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 640px) { .price-footnote { text-align: left; } }

.acc-panel a, .cta-alt a, .trial-terms a { color: var(--cyan); }
.acc-panel a:hover, .cta-alt a:hover { text-decoration: underline; }
.cta-alt { margin-top: 18px; font-size: 0.88rem; color: var(--text-muted); }

/* Checkbox group in forms */
.check-group { display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.check-options { display: flex; flex-wrap: wrap; gap: 8px; }
.check-options label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px;
  padding: 7px 12px; font-size: 0.82rem; color: var(--text); transition: border-color 0.25s, background 0.25s;
}
.check-options input { accent-color: var(--cyan); margin: 0; }
.check-options label:has(input:checked) { border-color: var(--cyan); background: rgba(34,211,238,0.08); }
.form-fine { font-size: 0.76rem; color: var(--text-faint); text-align: center; }

/* ---------- Free trial page ---------- */
.trial-hero .hero-title { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.glance-card .glance-list { padding: 8px 24px 20px; }
.glance-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.glance-row:last-child { border-bottom: none; }
.glance-row span { color: var(--text-muted); font-size: 0.9rem; }
.glance-row strong { font-family: var(--font-head); font-size: 1.05rem; text-align: right; }
.glance-row strong.big { font-size: 1.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.included-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.included-card .industry-icon { margin-bottom: 14px; }
.included-card h4 { font-size: 1rem; margin-bottom: 6px; }
.included-card p { font-size: 0.86rem; color: var(--text-muted); }
.included-extra {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-soft);
  font-size: 0.88rem; color: var(--text-muted);
}
.included-extra strong { color: var(--text); font-weight: 600; margin-right: 4px; }
.included-extra span { position: relative; padding-left: 20px; }
.included-extra span::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
@media (max-width: 1024px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .included-grid { grid-template-columns: 1fr; gap: 12px; }
  .included-card { padding: 18px; }
}

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 860px; }
.timeline li {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px;
}
.timeline .t-num {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #08090c; font-family: var(--font-mono); font-weight: 700;
}
.timeline h4 { font-size: 1.08rem; margin-bottom: 6px; }
.timeline p { color: var(--text-muted); font-size: 0.92rem; }
.timeline .t-when { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
@media (max-width: 480px) {
  .timeline li { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
}

.needs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; }
.needs-grid li { position: relative; padding: 16px 18px 16px 44px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-muted); font-size: 0.92rem; }
.needs-grid li::before { content: "→"; position: absolute; left: 18px; top: 15px; color: var(--cyan); font-weight: 700; }
.needs-grid strong { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .needs-grid { grid-template-columns: 1fr; } }

.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.term-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 24px; }
.term-card h4 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.term-card h4::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.term-card p { color: var(--text-muted); font-size: 0.9rem; }
.term-card.term-highlight { border-color: rgba(34,211,238,0.45); background: linear-gradient(180deg, rgba(34,211,238,0.06), var(--panel) 60%); }
@media (max-width: 760px) { .terms-grid { grid-template-columns: 1fr; } }
.form-row .check-options label { flex-direction: row; gap: 7px; font-size: 0.82rem; color: var(--text); }

/* ---------- How It Works: 8-step workflow (adds Review Requests) ---------- */
.flow-stepper { grid-template-columns: repeat(8, 1fr); gap: 12px; }
.flow-line { left: calc(100% / 16); right: calc(100% / 16); }
@media (max-width: 1180px) {
  .flow-stepper { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .flow-line { display: none; }
}
@media (max-width: 640px) {
  .flow-stepper { grid-template-columns: repeat(2, 1fr); gap: 12px; row-gap: 32px; }
}
