:root {
  --bg: #0a0d12;
  --bg-elev: #11151c;
  --bg-card: #161b24;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7eaef;
  --text-dim: rgba(231, 234, 239, 0.65);
  --text-muted: rgba(231, 234, 239, 0.45);
  --accent: #8b9dff;
  --accent-dim: rgba(139, 157, 255, 0.16);
  --max-width: 720px;
  --hero-max-width: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
a:hover { border-bottom-color: var(--accent); }

main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 64px 24px 96px;
  max-width: var(--max-width);
}

main.wide {
  max-width: var(--hero-max-width);
}

main.wide > :not(.hero) {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

header {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}

header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  border: none;
}

header .brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

header nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

header nav a {
  color: var(--text-dim);
  border-bottom: none;
}

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

footer {
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

footer a {
  color: var(--text-muted);
  border-bottom: none;
}
footer a:hover { color: var(--text-dim); }

h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 10px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--text);
}

p { margin: 0 0 14px; color: var(--text-dim); }

ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-dim);
}

li { margin-bottom: 4px; }

.lede {
  font-size: 18px;
  color: var(--text);
}

.meta {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero {
  width: 100%;
  max-width: var(--hero-max-width);
  margin: 0 auto 56px;
  padding: 12px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-copy p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.hero-copy p.fine {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--accent);
  color: #0a0d12;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  font-size: 15px;
}
.cta-primary:hover { border-bottom-color: transparent; opacity: 0.92; }

.cta-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.window-mock {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: #1c1f26;
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -10px rgba(139, 157, 255, 0.14);
}

.window-mock .titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #15181f;
  border-bottom: 1px solid var(--border);
}

.window-mock .titlebar .dot {
  width: 12px; height: 12px; border-radius: 50%;
}

.window-mock .titlebar .dot.r { background: #ff5f57; }
.window-mock .titlebar .dot.y { background: #febc2e; }
.window-mock .titlebar .dot.g { background: #28c840; }

.window-mock .titlebar .title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.window-mock .body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 240px;
}

.window-mock .sidebar {
  background: #0e1117;
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  font-size: 11px;
  color: var(--text-dim);
}

.window-mock .sidebar .row {
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 2px;
}

.window-mock .sidebar .row.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.window-mock .sidebar .ad-slot {
  margin-top: 14px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
}

.window-mock .pane {
  padding: 14px 16px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  background: #11141a;
}

.window-mock .pane .seg-time {
  color: var(--text-muted);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

.window-mock .pane .speaker {
  color: var(--accent);
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .hero-copy { order: 2; }
  .window-mock { order: 1; margin: 0 auto; }
  .hero-copy h1 { font-size: 32px; }
}

@media (max-width: 560px) {
  main { padding: 40px 20px 64px; }
  h1 { font-size: 28px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy p { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  header nav { gap: 14px; }
}
