/* FlowState AI — shared styles */
:root {
  /* CREAM + INK + BURNT RUST — final palette */
  --bg: #F1ECE0;
  --bg-2: #E8E2D2;
  --card: #DFD8C4;
  --line: #D0C8B4;
  --line-2: #B8AF98;
  --fg: #14100E;
  --fg-dim: #5E5348;
  --fg-mute: #8F857A;
  --accent: oklch(0.55 0.17 45);
  --accent-2: oklch(0.4 0.17 45);
  --accent-soft: oklch(0.55 0.17 45 / 0.14);
  --accent-glow: oklch(0.55 0.17 45 / 0.28);
  --cream: #14100E;
  --cream-line: #2E2621;
  --cream-fg: #F6F1E8;
  --cream-dim: #8F857A;

  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ————— TYPOGRAPHY ————— */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.mono {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px; background: var(--fg-dim);
}

/* ————— LAYOUT ————— */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ————— NAV ————— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 8%, transparent);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .nav-inner { padding: 14px 24px; }
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 22px; height: 22px;
  position: relative;
  display: inline-block;
}
.logo-mark::before, .logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--fg);
  border-radius: 2px;
}
.logo-mark::before {
  transform: rotate(45deg) scale(0.7);
  border-color: var(--accent);
}
.logo-mark::after {
  transform: scale(0.9);
}
.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--fg-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}
.nav-cta {
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ————— BUTTONS ————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--body);
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--fg);
  background: rgba(255,255,255,0.03);
}
.btn .arrow {
  width: 14px; height: 14px;
  display: inline-block;
  transition: transform 0.25s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ————— FOOTER ————— */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.footer-brand h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--fg-dim);
  max-width: 280px;
  line-height: 1.5;
  font-size: 14px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--fg-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ————— AURORA / GLOW ————— */
.aurora {
  position: absolute;
  pointer-events: none;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.6;
}

/* ————— ANIMATED GRID BG ————— */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

/* ————— REVEAL ANIMATION ————— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeUp 0.9s cubic-bezier(.2,.8,.2,1) both;
}

/* selection */
::selection { background: var(--accent); color: var(--bg); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-mute); }

/* ————— STATUS BADGES ————— */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--fg-dim);
  background: transparent;
}
.status-badge.live {
  color: var(--accent);
  border-color: var(--accent);
}
.status-badge.soon {
  color: var(--fg-dim);
  border-color: var(--line-2);
  background: var(--bg-2);
}
.status-badge .dot-s {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.status-badge.live .dot-s {
  box-shadow: 0 0 10px currentColor;
  animation: pulse 2s ease-in-out infinite;
}

/* dim the whole coming-soon service block */
/* coming-soon blocks render at full fidelity now — badge alone signals status */
