/* Spire marketing + compliance site — twilight theme mirroring the app's brand.config. */
:root {
  --bg: #0a0e24;
  --surface: #141a3a;
  --surface-alt: #1d2550;
  --primary: #ffd37e;
  --secondary: #7cc9ff;
  --text: #eef1ff;
  --muted: #8e96c8;
  --success: #7be0a8;
  --border: #2a3360;
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(120% 90% at 50% -10%, #243086 0%, #141c48 38%, #0a0e24 72%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 24px; }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .word { font-family: 'Space Grotesk', system-ui, sans-serif; letter-spacing: 0.5px; }

/* nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.word { font-size: 24px; font-weight: 700; letter-spacing: 4px; color: var(--text); }
nav .links a { color: var(--muted); margin-left: 22px; font-size: 15px; font-weight: 500; }
nav .links a:hover { color: var(--text); text-decoration: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; font-weight: 700; }
.hero .tag { font-size: 19px; color: var(--muted); margin: 18px 0 28px; max-width: 460px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px;
  border-radius: 14px; font-weight: 700; font-size: 15px;
}
.badge.primary { background: linear-gradient(180deg, #ffe6ae, #ffd37e); color: #0a0e24; }
.badge.ghost { background: var(--surface-alt); color: var(--text); border: 1px solid var(--border); }
.badge:hover { text-decoration: none; transform: translateY(-1px); }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,211,126,0.28), transparent 65%);
  top: 40px; z-index: 0;
}
.hero-art img { position: relative; z-index: 1; width: 210px; height: 210px; border-radius: 46px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

/* features */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); text-align: center; margin-bottom: 10px; }
.section .lead { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, #1a2247, #121738);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.card .emoji { font-size: 30px; }
.card h3 { font-size: 19px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* gallery */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 16px; justify-content: center; flex-wrap: wrap; }
.shots img { width: 200px; border-radius: 26px; border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0,0,0,0.45); }

/* footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 56px; margin-top: 40px; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot-row .links a { color: var(--muted); margin-left: 18px; font-size: 14px; }
footer .copy { color: var(--muted); font-size: 14px; }

/* legal pages */
.legal { padding: 40px 0 64px; max-width: 760px; }
.legal h1 { font-size: 40px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal p, .legal li { color: #cfd5f2; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--secondary); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 28px; padding: 32px 0 48px; }
  .hero .tag { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  nav .links a { margin-left: 14px; font-size: 14px; }
}
