/* Launchcast shared styles */
:root {
  --amber: #FF9500;
  --amber-deep: #EB5F15;
  --amber-glow: rgba(255, 149, 0, 0.35);
  --cosmic: #0099FF;
  --aurora: #33D159;
  --coral: #FF3B30;
  --ink-0: #050510;
  --ink-1: #0A0A1C;
  --ink-2: #0F0F28;
  --text: #F5F5F0;
  --text-muted: rgba(245, 245, 240, 0.65);
  --text-dim: rgba(245, 245, 240, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink-0);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 149, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 153, 255, 0.04) 0%, transparent 50%),
    var(--ink-0);
  pointer-events: none;
  z-index: -1;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 32px;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5, 5, 16, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: url('/assets/icon.png') center/cover no-repeat, #0A0A1C;
  font-size: 0;
  overflow: hidden;
  box-shadow: 0 0 20px var(--amber-glow);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: white !important;
  border-radius: 100px;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(255, 149, 0, 0.25);
}

.nav-cta.is-disabled,
.is-disabled {
  cursor: not-allowed !important;
  opacity: 0.55;
  filter: grayscale(0.2);
  pointer-events: none;
  background: rgba(255,255,255,0.06) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: none !important;
  text-decoration: none;
}

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

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}

.page-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.page h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #A8A8B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page .updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 56px;
  letter-spacing: 0.05em;
}

.page h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  color: var(--text);
}

.page h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}

.page p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
}

.page ul, .page ol {
  color: var(--text-muted);
  margin: 0 0 24px 24px;
  font-size: 16px;
  line-height: 1.75;
}

.page li {
  margin-bottom: 10px;
  padding-left: 8px;
}

.page ul li::marker { color: var(--amber); }
.page ol li::marker { color: var(--amber); font-weight: 700; }

.page a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 149, 0, 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.page a:hover {
  color: var(--amber-deep);
  border-bottom-color: var(--amber-deep);
}

.page strong { color: var(--text); font-weight: 700; }

.tldr {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.08), rgba(235, 95, 21, 0.02));
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: 20px;
  margin: 40px 0 56px;
}

.tldr h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 600;
}

.tldr p, .tldr ul { margin-bottom: 10px; color: var(--text); }
.tldr ul li { margin-bottom: 6px; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 640px) { .support-grid { grid-template-columns: 1fr; } }

.support-card {
  padding: 28px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.support-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.support-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.support-card p { font-size: 15px; margin-bottom: 16px; }

.support-card a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.accessibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0 56px;
}

@media (max-width: 640px) { .accessibility-grid { grid-template-columns: 1fr; } }

.a11y-feature {
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.a11y-feature .check {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(51, 209, 89, 0.15);
  color: var(--aurora);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.a11y-feature h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.a11y-feature p {
  font-size: 13px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

footer {
  padding: 60px 32px 40px;
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 16, 0.6);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
