:root {
  --bg: #f4f6fa;
  --bg-strong: #e6edf8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #111a27;
  --text-muted: #586476;
  --border: rgba(20, 34, 52, 0.12);
  --primary: #2b61c9;
  --secondary: #2f7d94;
  --accent: #cc8c2c;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(19, 44, 81, 0.08);
  --font-head: "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans Pro", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  background:
    radial-gradient(circle at 12% 12%, var(--bg-strong), transparent 44%),
    linear-gradient(170deg, var(--bg) 12%, #eef2f7 78%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: linear-gradient(130deg, var(--primary), transparent);
  top: -70px;
  right: -70px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: linear-gradient(130deg, var(--secondary), transparent);
  bottom: -130px;
  left: -100px;
}

.shell {
  width: min(1080px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 1.2rem 0 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 0.8rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.app-switcher-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.app-switcher {
  min-width: 160px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.48rem 0.7rem;
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.3fr 1fr;
  padding: 1.8rem;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--text-muted);
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 0.2rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
}

h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.subtitle {
  margin: 0.8rem 0 1rem;
  max-width: 56ch;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(140deg, var(--primary), color-mix(in srgb, var(--primary) 74%, #ffffff));
  color: #ffffff;
  border: none;
}

.hero-panel {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.metric {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  background: color-mix(in srgb, var(--surface-strong) 85%, transparent);
}

.metric-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.metric-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.5rem 0 1.5rem;
}

.grid .card {
  padding: 1.1rem 1.15rem;
}

.full {
  grid-column: 1 / -1;
}

.clean-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.clean-list li {
  margin-bottom: 0.4rem;
}

.link-list {
  display: grid;
  gap: 0.45rem;
}

.link-list a,
a {
  color: color-mix(in srgb, var(--primary) 85%, #00398e);
  text-decoration: none;
}

.link-list a:hover,
a:hover {
  text-decoration: underline;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  margin-bottom: 0.65rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 0.85rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  color: var(--text-muted);
}

.footer {
  color: var(--text-muted);
  padding: 0.25rem 0 2.4rem;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .topbar .brand {
    grid-column: 1 / -1;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
