/* Number Path — site styles. Brand tokens shared across all Hadify sites.
   (Will move into @hadify/design-system when the monorepo is formalized.) */
:root {
  --bg: #0f172a;
  --bg-deep: #020617;
  --card: #1e293b;
  --border: #243352;
  --text: #e8eef9;
  --text-dim: #9fb0cb;
  --accent: #6c8cff;
  --accent-2: #9b6cff;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  background: radial-gradient(120% 120% at 50% 0%, #1e293b 0%, var(--bg) 55%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: 64px;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
a { color: var(--accent); }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; max-width: 880px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 15px; }
.brand .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px rgba(108,140,255,.4); }
.topnav { display: flex; gap: 8px; flex-wrap: wrap; }
.topnav a { color: var(--text-dim); text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.topnav a:hover { color: var(--text); background: rgba(255,255,255,.05); }

/* Hero */
.hero { text-align: center; padding: 40px 22px 30px; }
.app-icon { width: 104px; height: 104px; border-radius: 26px; margin: 0 auto 22px; display: block; box-shadow: 0 16px 44px rgba(108,140,255,.35); border: 1px solid var(--border); }
.hero h1 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -.5px; }
.hero .tagline { color: var(--text-dim); margin-top: 12px; font-size: clamp(15px, 3vw, 18px); }

/* Buttons */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 14px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 26px rgba(108,140,255,.4); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border); }

/* Feature graphic */
.showcase { margin: 36px auto 0; max-width: 760px; }
.showcase img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }

/* Sections */
section.block { margin-top: 44px; }
section.block h2 { font-size: 24px; margin-bottom: 6px; text-align: center; }
section.block .lead { color: var(--text-dim); text-align: center; margin-bottom: 22px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px; }
.feature .emoji { font-size: 22px; }
.feature h3 { font-size: 16px; margin: 8px 0 4px; }
.feature p { color: var(--text-dim); font-size: 14px; }

/* Steps */
.steps { counter-reset: step; max-width: 620px; margin: 0 auto; display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.step::before { counter-increment: step; content: counter(step); flex: 0 0 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.step p { font-size: 15px; }

/* Legal page */
.legal-header { text-align: center; padding: 40px 22px 10px; }
.legal-header .logo { width: 66px; height: 66px; border-radius: 18px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(108,140,255,.35); }
.legal-header .logo svg { width: 38px; height: 38px; }
.legal-header h1 { font-size: 28px; }
.legal-header .sub { color: var(--text-dim); margin-top: 8px; font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; margin-top: 22px; }
.card h2 { font-size: 20px; margin: 6px 0 12px; }
.card h3 { font-size: 16px; margin: 18px 0 6px; color: #cdd9f0; }
.card p, .card li { color: #d6e0f2; font-size: 15.5px; }
.card ul { margin: 8px 0 8px 20px; } .card li { margin: 5px 0; }
.muted { color: var(--text-dim); font-size: 14px; }
.pill-nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 6px; }
.pill-nav a { color: var(--accent); text-decoration: none; font-size: 14px; border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }
.pill-nav a:hover { background: rgba(108,140,255,.12); }

/* Footer */
footer.site { text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--border); }
footer.site a { color: var(--text-dim); text-decoration: none; margin: 0 8px; }
footer.site a:hover { color: var(--text); }
footer.site .row { margin-bottom: 8px; }
