/* Inclyne — shared site styles. Dark-only, mirrors the app theme. */

:root {
  --bg: #010101;
  --surface: #161616;
  --surface-alt: #1a1a1a;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --text: #ffffff;
  --text-2: #aaaaaa;
  --text-3: #888888;
  --primary: #2979ff;
  --accent: #00c2ff;
  --gradient: linear-gradient(120deg, #2979ff 0%, #00c2ff 100%);
  --container: 760px;
  --radius: 16px;
  font-synthesis-weight: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 1, 1, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(41, 121, 255, 0.22) 0%, rgba(0, 194, 255, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .updated {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 14px;
}

/* ---------- Prose ---------- */
.prose {
  padding: 32px 0 80px;
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  scroll-margin-top: 84px;
}
.prose h2:first-child { margin-top: 8px; }
.prose h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.prose p, .prose li {
  color: var(--text-2);
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
/* Contact / callout card */
.prose .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.prose .card p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-3);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer .foot-links { display: flex; gap: 20px; }
.site-footer .foot-links a { color: var(--text-2); }
.site-footer .foot-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Home ---------- */
.home {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.home::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(41,121,255,0.20) 0%, rgba(0,194,255,0.05) 42%, transparent 70%);
  pointer-events: none;
}
.home > * { position: relative; z-index: 1; }
.home img.logo { width: 84px; height: 84px; margin-bottom: 20px; }
.home h1 {
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home p.tagline { color: var(--text-2); font-size: 18px; margin: 0 0 32px; max-width: 460px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary {
  border: none;
  background: var(--gradient);
  color: #fff;
}
.btn.primary:hover { opacity: 0.92; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .hero { padding-top: 72px; }
}
