/* BoundFlow — Dark editorial insurance tech */

:root {
  --bg: #0A0E1A;
  --surface: #111827;
  --surface-2: #1a2332;
  --accent: #E8A838;
  --accent-dim: rgba(232, 168, 56, 0.15);
  --text: #F0ECE4;
  --text-muted: #8A9AB0;
  --border: rgba(240, 236, 228, 0.08);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Navigation */
.site-nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.btn-nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-nav-cta:hover { background: #d4962f; }

/* Buttons */
.btn-primary {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.85rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: #d4962f; }
.btn-ghost {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(240, 236, 228, 0.25); }

/* Hero CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Closing CTA */
.closing-cta {
  margin-top: 2.5rem;
}

/* Hero */
.hero {
  padding: 6rem 3rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 16ch;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}
.hero-workflow-strip {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.wf-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.wf-step.active { border-color: var(--accent); color: var(--accent); }
.wf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.wf-arrow {
  width: 1.5rem;
  height: 1px;
  background: var(--border);
  margin: 0 0.25rem;
}

/* Workflow Section */
.workflow-section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 20ch;
}
.section-body {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 55ch;
  line-height: 1.75;
  margin-bottom: 4rem;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.wf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.wf-card:hover { border-color: var(--accent); }
.wf-card-icon {
  margin-bottom: 1.25rem;
}
.wf-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.wf-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Outcomes Section */
.outcomes-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 3rem;
}
.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.outcomes-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--text);
  margin-bottom: 1.5rem;
}
.outcomes-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 46ch;
}
.outcomes-text p + p { margin-top: 1rem; }
.outcomes-metrics {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 28ch;
  line-height: 1.5;
}

/* Manifesto */
.manifesto-section {
  padding: 7rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
  max-width: 52ch;
  font-style: italic;
}
.manifesto-inner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 58ch;
}
.manifesto-inner p + p { margin-top: 1.25rem; }
.manifesto-emphasis {
  font-size: 1.15rem !important;
  color: var(--text) !important;
  font-weight: 600;
  margin-top: 2rem !important;
}

/* Closing */
.closing-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 7rem 3rem;
  text-align: center;
}
.closing-section h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}
.closing-section p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 0.75rem;
  line-height: 1.65;
}
.closing-detail {
  font-size: 0.85rem !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1.5rem !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}
.footer-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}
.footer-links span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile */
@media (max-width: 768px) {
  .site-nav, .hero, .workflow-section, .manifesto-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .outcomes-section, .closing-section, .site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding-top: 4rem; }
  .hero-headline { font-size: 2.75rem; }
  .workflow-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-workflow-strip { gap: 0.5rem; }
  .wf-step { font-size: 0.7rem; padding: 0.6rem 0.9rem; }
}