:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #fafbfe;
  --border: #e6e8ef;
  --border-strong: #d7dae4;
  --text: #0f172a;
  --text-muted: #525a6b;
  --text-subtle: #7a8193;
  --accent: #2f6bff;
  --accent-dark: #1f4fd9;
  --accent-soft: #eaf1ff;
  --green: #10b981;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 18px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }

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

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; color: var(--text-muted); }

.layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand { display: flex; align-items: center; margin-bottom: 32px; }
.brand-logo { height: 28px; width: auto; display: block; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 12px 20px; font-size: 15px; }

/* Main */
.main {
  padding: 20px 40px 64px;
  max-width: 1200px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-title { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; gap: 8px; }
.eyebrow {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 24px 0 48px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-subtle); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }

/* Hero mock */
.hero-panel { display: flex; justify-content: center; }
.mock-window {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-url { margin-left: 10px; font-size: 12px; color: var(--text-subtle); }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.mock-title { font-size: 13px; font-weight: 600; color: var(--text); }
.mock-sub { font-size: 11px; color: var(--text-subtle); margin-top: 2px; }
.mock-strip { height: 10px; background: var(--accent-soft); border-radius: 4px; }
.mock-strip-sm { width: 70%; background: #eef1f6; }
.mock-strip-xs { width: 40%; background: #eef1f6; }

/* Panels grid */
.panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.panel:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}
.panel h3 { font-size: 15px; margin-bottom: 6px; }
.panel p { font-size: 14px; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 56px;
}
.split h2 { font-size: 28px; margin: 10px 0 12px; letter-spacing: -0.015em; }
.check-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 8px;
  font-size: 14px;
}
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.check {
  width: 20px; height: 20px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.split-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.logo-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}

/* CTA */
.cta { margin-bottom: 40px; }
.cta-card {
  background: linear-gradient(135deg, #1f4fd9 0%, #2f6bff 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.cta-card h2 { font-size: 26px; margin-bottom: 8px; letter-spacing: -0.015em; }
.cta-card p { color: rgba(255,255,255,0.85); max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-actions .btn-primary {
  background: #fff; color: var(--accent-dark); border-color: #fff;
}
.cta-actions .btn-primary:hover { background: #f4f6fb; }
.cta-actions .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.cta-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Footer */
.foot {
  display: flex;
  justify-content: space-between;
  color: var(--text-subtle);
  font-size: 13px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
}
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
  }
  .sidebar-foot { flex-direction: row; margin: 0 0 0 auto; padding: 0; border: 0; }
  .nav { flex-direction: row; gap: 2px; flex: 1; overflow-x: auto; }
  .brand { margin: 0; }
  .main { padding: 20px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 16px 0 40px; }
  .panels { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; padding: 28px; }
  .cta-card { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 560px) {
  .panels { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-title { display: none; }
  .sidebar-foot .btn-ghost { display: none; }
}
