/* ── flow8.ai shared stylesheet ──────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

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

:root {
  --navy:      #111322;
  --navy-2:    #161929;
  --navy-3:    #1c2038;
  --navy-4:    #222640;
  --red:       #fa243c;
  --red-dim:   #f0565d;
  --red-glow:  rgba(250,36,60,.18);
  --white:     #ffffff;
  --gray-50:   #eeeff5;
  --gray-200:  #d3d5e7;
  --gray-400:  #9b9dab;
  --green:     #52c41a;
  --gold:      #faad14;
  --blue:      #2f54eb;
  --radius:    12px;
  --font:      'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--red-dim);
  background: rgba(250,36,60,.1); border: 1px solid rgba(250,36,60,.22);
  padding: 5px 13px; border-radius: 100px; margin-bottom: 22px;
}

.section-h {
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.08;
}
.section-h .accent { color: var(--red); }

.section-sub {
  font-size: 17px; color: var(--gray-400);
  line-height: 1.72; max-width: 600px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-p:hover { background: #e01e34; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(250,36,60,.3); }

.btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-g:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }

.arrow-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,19,34,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1140px; margin: 0 auto;
}
.nav-logo { display: block; height: 25px; }
.nav-logo svg { height: 25px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--gray-400); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 80px 0 64px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 400px at 50% -60px, rgba(250,36,60,.14) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  margin-bottom: 18px;
}
.page-hero h1 .accent { color: var(--red); }
.page-hero .lead {
  font-size: clamp(16px, 2vw, 20px); color: var(--gray-400);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.65;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06); padding: 56px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand p { font-size: 13px; color: var(--gray-400); line-height: 1.65; max-width: 220px; margin-top: 14px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--gray-200); text-decoration: none; font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray-400); flex-wrap: wrap; gap: 10px; }

/* ── Common components ──────────────────────────────────────── */
.chip {
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 6px; background: rgba(255,255,255,.07);
  color: var(--gray-200); display: inline-block;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); display: inline-block;
  animation: blink 2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.divider { height: 1px; background: rgba(255,255,255,.07); margin: 0; }
