/* Design tokens — Brex-inspired 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;
  --success: #138A43;
  --logo-gray: #A5A9B1;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --max-width: 1280px;
  --section-pad: 120px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  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, svg {
  display: block;
  max-width: 100%;
}

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: 200;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-md);
  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 {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.announcement a {
  color: var(--on-dark);
  font-weight: 600;
}

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

.announcement-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.15s ease;
}

.announcement a:hover .announcement-arrow {
  transform: translateX(3px);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.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 ease;
}

.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;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  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;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  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 {
  background: transparent;
  color: var(--ink);
  padding: 0;
  min-height: auto;
  font-weight: 600;
  gap: 6px;
}

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

.btn-link .arrow {
  transition: transform 0.15s ease;
}

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

/* Typography */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.card-title {
  font-size: 24px;
  line-height: 1.21;
  letter-spacing: -0.02em;
}

.card-title-sm {
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--body);
  margin: 0;
}

.caption {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--muted);
}

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

@media (min-width: 1024px) {
  .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-content {
  max-width: 580px;
}

.hero-tagline {
  margin-top: 20px;
  color: var(--ink);
}

.hero-subtitle {
  margin-top: 16px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-bullets {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

/* Product panel mockup */
.hero-media {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}

.dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.dashboard-dots span:first-child { background: #FF5F57; }
.dashboard-dots span:nth-child(2) { background: #FFBD2E; }
.dashboard-dots span:nth-child(3) { background: #28CA41; }

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

.dashboard-body {
  padding: 20px;
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

.dashboard-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.domain-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.domain-score {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.score-buy {
  background: #E8F5EE;
  color: var(--success);
}

.score-strong {
  background: var(--soft-orange);
  color: var(--primary);
}

.domain-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.dashboard-stat {
  text-align: center;
}

.dashboard-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.dashboard-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

/* Trust strip */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

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

.trust-logos span {
  font-size: 15px;
  font-weight: 600;
  color: var(--logo-gray);
  letter-spacing: -0.01em;
}

/* Sections */
.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-header .lead {
  margin-top: 16px;
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--soft-orange);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.step-card p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--body);
}

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

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

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

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

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

.feature-card p {
  margin: 12px 0 0;
  color: var(--body);
}

.feature-card .btn-link {
  margin-top: 20px;
}

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

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

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

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

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

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

/* Compare section */
.compare-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

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

.compare-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.compare-list .icon-fail {
  color: #C92A2A;
  flex-shrink: 0;
}

.compare-list .icon-win {
  color: var(--success);
  flex-shrink: 0;
}

.highlight-card {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.highlight-card .eyebrow {
  margin-bottom: 12px;
}

.highlight-card p {
  margin: 16px 0 24px;
  color: var(--body);
}

/* Workflow panel */
.workflow-panel {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.phase-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

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

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

.phase-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.phase-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--soft-orange);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.phase-item span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* 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: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  min-height: 44px;
}

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

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

.faq-answer {
  display: none;
  padding: 0 0 24px;
  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);
  padding: var(--section-pad) 0;
  text-align: center;
}

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

.cta-band .lead {
  color: rgba(252, 252, 253, 0.8);
  margin: 16px auto 0;
  max-width: 520px;
}

.cta-band .btn-primary {
  margin-top: 32px;
}

.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(252, 252, 253, 0.6);
}

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

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

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

.footer-brand p {
  margin: 16px 0 0;
  font-size: 14px;
  color: rgba(252, 252, 253, 0.7);
  max-width: 320px;
}

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

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(252, 252, 253, 0.1);
  font-size: 12px;
  color: rgba(252, 252, 253, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

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

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