/* Simple TV Remote — site styles. Palette mirrors the app (src/theme.ts). */
:root {
  --bg: #0b0d10;
  --bg-raised: #12151a;
  --surface: #191d24;
  --border: #262c35;
  --edge: #2e3540;
  --text: #f4f6f8;
  --text-dim: #9aa3af;
  --text-faint: #5c6570;
  --accent: #e5484d;
  --ok: #30d07e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.2; }
a { color: inherit; }

.container { width: min(1080px, 100% - 3rem); margin-inline: auto; }

/* nav */
.navbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 0;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; }
.nav-links a { color: var(--text-dim); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { padding: 5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 1.2rem 0 1rem; }
.hero h1 span { color: var(--accent); }
.hero p.lede { color: var(--text-dim); font-size: 1.12rem; max-width: 34rem; }
.hero-shot { justify-self: center; }
.hero-shot img {
  width: min(300px, 70vw); border-radius: 32px;
  border: 1px solid var(--edge); box-shadow: var(--shadow);
}

/* sections */
section { padding: 3.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.section-head p { color: var(--text-dim); margin-top: 0.7rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-top-color: var(--edge);
  border-radius: var(--radius); padding: 1.4rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.shots img { width: 100%; border-radius: 24px; border: 1px solid var(--edge); box-shadow: var(--shadow); }

.note {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; color: var(--text-dim);
}

/* long-form pages */
.prose { padding: 3.5rem 0 4rem; max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.4rem; }
.prose .updated { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.2rem; margin: 2.2rem 0 0.6rem; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }

.faq { border-top: 1px solid var(--border); padding: 1.3rem 0; }
.faq h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.faq p { color: var(--text-dim); }

footer { border-top: 1px solid var(--border); padding: 2.5rem 0 3rem; color: var(--text-faint); font-size: 0.9rem; }
footer .links { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .nav-links a:not(.nav-cta) { display: none; }
}

.email { color: var(--accent); font-weight: 500; white-space: nowrap; }
