/* SignalMojo — Brex-inspired design system */

:root {
  --primary: #FF5900;
  --accent-hover: #E65000;
  --accent-pressed: #CC4700;
  --ink: #15191E;
  --body: #33383F;
  --muted: #60646C;
  --canvas: #FCFCFD;
  --surface: #FFFFFF;
  --surface-alt: #F6F7F9;
  --border: #E6E8EB;
  --border-strong: #C9CDD2;
  --soft-orange: #FFF3EC;
  --footer-bg: #15191E;
  --on-primary: #FFFFFF;
  --on-dark: #FCFCFD;
  --logo-gray: #A5A9B1;
  --success: #138A43;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --max-width: 1280px;
  --section-pad: 120px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* Announcement bar */
.announcement-bar {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.announcement-bar a {
  color: var(--on-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announcement-bar a:hover {
  color: var(--primary);
}

.announcement-bar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Navigation */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background 0.15s;
}

.nav-links a:hover {
  background: var(--surface-alt);
}

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

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-menu .btn-primary {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
  border: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  background: var(--accent-pressed);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
}

.btn-link-arrow {
  background: transparent;
  color: var(--ink);
  padding: 0;
  min-height: auto;
  font-weight: 600;
  gap: 6px;
}

.btn-link-arrow:hover {
  color: var(--primary);
}

.btn-link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}

.btn-link-arrow:hover svg {
  transform: translateX(3px);
}

/* Hero */
.hero {
  padding: 64px 0 80px;
}

@media (min-width: 768px) {
  .hero {
    padding: 80px 0 var(--section-pad);
  }
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-eyebrow-badge {
  background: var(--soft-orange);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.hero-brand {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 16px;
}

.hero-brand .accent {
  color: var(--primary);
}

.hero-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--body);
}

.hero-bullets svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-media {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-panel {
  padding: 24px;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hero-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.hero-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: rgba(19, 138, 67, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.hero-panel-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hero-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.hero-metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}

.hero-metric-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.hero-metric-value.orange {
  color: var(--primary);
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* Sections */
.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-pad) 0;
  }
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--body);
  margin: 0;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-orange);
  border-radius: var(--radius-md);
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

/* Metrics panel */
.metrics-row {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .metrics-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.metric-panel .metric-value {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1;
}

.metric-panel .metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.metric-panel .metric-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Split section */
.split-section {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.split-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

.split-content p {
  font-size: 16px;
  color: var(--body);
  margin: 0 0 24px;
}

.check-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--body);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.product-panel {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.product-panel-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.panel-row:last-child {
  border-bottom: none;
}

.panel-row-label {
  color: var(--body);
}

.panel-row-value {
  font-weight: 600;
  color: var(--ink);
}

.panel-row-value.active {
  color: var(--primary);
}

/* Trust logos */
.trust-strip {
  text-align: center;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--logo-gray);
  margin: 0 0 32px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
}

.trust-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--logo-gray);
  opacity: 0.7;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card blockquote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.testimonial-card cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.testimonial-card .role {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--primary);
}

.stars svg {
  width: 16px;
  height: 16px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: left;
  min-height: 44px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-band {
    padding: 64px 48px;
  }
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--on-dark);
}

.cta-band p {
  font-size: 16px;
  color: rgba(252, 252, 253, 0.8);
  margin: 0 0 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  font-size: 16px;
  padding: 14px 28px;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0 0 12px;
}

.footer-brand span {
  color: var(--primary);
}

.footer-desc {
  font-size: 14px;
  color: rgba(252, 252, 253, 0.7);
  margin: 0;
  max-width: 320px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(252, 252, 253, 0.5);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(252, 252, 253, 0.8);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(252, 252, 253, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(252, 252, 253, 0.5);
  margin: 0;
}

.footer-bottom a {
  font-size: 12px;
  color: rgba(252, 252, 253, 0.5);
}

.footer-bottom a:hover {
  color: var(--on-dark);
}
