/* YourStrat — yourstrat.xaeryx.com
 * Themed to match the Xaeryx family (monochrome white-on-near-black, Inter,
 * subtle dot-grid + top vignette, glass panels, shimmer eyebrow text, pill CTAs).
 * Self-contained: no build step. Drop site/ onto any static host (Cloudflare Pages). */

:root {
  --bg: #0a0a0a;
  --panel: #171717;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --border-subtle: #1f1f1f;
  --text: #fafafa;
  --text-2: #a3a3a3;
  --text-muted: #737373;
  --maxw: 880px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  line-height: 1.6;
}

/* Dot-grid + top vignette, fixed behind content (Xaeryx motif) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

::selection { background: rgba(255, 255, 255, 0.18); color: #fafafa; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.45); outline-offset: 2px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }

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

/* Top bar — family nav back to xaeryx.com */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.topbar .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.topbar .brand .star { width: 20px; height: 20px; }
.topbar .home { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.topbar .home:hover { color: var(--text-2); }

/* Eyebrow chip + shimmer (Xaeryx signature) */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-2);
}
.shimmer {
  background-image: linear-gradient(100deg,
    rgba(255, 255, 255, 0.3) 35%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.3) 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 50%; } 100% { background-position: -200% 50%; } }

/* Hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero .star-hero { width: 84px; height: 84px; margin: 0 auto 26px; filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.22)); }
.hero h1 {
  font-size: clamp(40px, 8vw, 72px); line-height: 1.02; margin: 14px 0 0;
  font-weight: 800; letter-spacing: -0.03em;
}
.hero .tagline { color: var(--text-2); font-size: clamp(16px, 3.4vw, 20px); margin: 18px auto 0; max-width: 540px; }

/* Buttons */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-size: 15px; font-weight: 600; transition: all 0.2s ease; border: 1px solid transparent; }
.btn-primary { background: #fafafa; color: #0a0a0a; box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 8px 32px rgba(255,255,255,0.10); }
.btn-primary:hover { background: #fff; color: #000; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: rgba(255, 255, 255, 0.12); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Feature grid (glass panels) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 24px 0 8px; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.card {
  background: rgba(23, 23, 23, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }

.note { color: var(--text-muted); font-size: 13px; text-align: center; max-width: 560px; margin: 22px auto 0; line-height: 1.55; }

/* Footer */
footer { border-top: 1px solid var(--border-subtle); margin-top: 56px; padding: 28px 0 48px; }
.footer-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: center; color: var(--text-muted); font-size: 13px; }
.footer-row a { color: var(--text-2); }
.footer-row .dot { color: var(--border); }

/* Prose (privacy policy) */
.prose { padding: 8px 0 16px; max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 4px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text-2); font-size: 15.5px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose .meta { color: var(--text-muted); font-size: 13px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.todo { color: #fde68a; background: rgba(253, 230, 138, 0.08); border-radius: 4px; padding: 0 4px; }

@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); }
  .btn:hover { transform: none; }
}
