:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #151a22;
  --ink: #f6f8fc;
  --muted: #a8b2c3;
  --line: #273141;
  --accent: #5b82ff;
  --accent-ink: #ffffff;
  --soft-blue: #172a4e;
  --shadow: 0 30px 90px rgba(0, 0, 0, .34);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 18px 24px;
}

.brand,
.nav nav,
.actions,
footer {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 700;
  gap: 10px;
}

.brand-mark,
.app-icon,
.favicon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.brand-mark {
  border-radius: 8px;
  height: 28px;
  overflow: hidden;
  width: 28px;
}

.nav nav {
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta {
  background: var(--ink);
  border-radius: 999px;
  color: #111722;
  padding: 9px 14px;
}

.hero {
  margin: 10px auto 0;
  max-width: 1120px;
  min-height: calc(100vh - 96px);
  padding: 0 24px 48px;
  text-align: center;
}

.app-icon {
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(47, 111, 237, .32);
  height: 72px;
  margin: 10px auto 18px;
  overflow: hidden;
  width: 72px;
}

.brand-mark img,
.app-icon img {
  display: block;
  height: 100%;
  width: 100%;
}

.eyebrow,
.section-label,
.meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 8vw, 84px);
  letter-spacing: 0;
  line-height: .9;
  margin: 10px auto 18px;
  max-width: 760px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 720px;
}

.actions {
  gap: 12px;
  justify-content: center;
  margin: 22px 0 10px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  padding: 12px 18px;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.secondary {
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
}

.product {
  background: #171b22;
  border: 1px solid #2a3444;
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: #f4f5f7;
  margin: 26px auto 0;
  max-width: 660px;
  overflow: hidden;
  text-align: left;
}

.window-bar {
  align-items: center;
  background: #252b36;
  border-bottom: 1px solid #10141c;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 12px) 1fr;
  padding: 10px 14px;
}

.window-bar span {
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.window-bar span:nth-child(1) {
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #febc2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window-bar strong {
  color: #c6c9d0;
  font-size: 13px;
  justify-self: center;
  padding-right: 60px;
}

.search-row {
  align-items: center;
  border-bottom: 1px solid #303948;
  color: #b9bfca;
  display: flex;
  gap: 12px;
  padding: 15px 18px;
}

.search-row svg {
  fill: currentColor;
  height: 19px;
  width: 19px;
}

.tab-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.tab-list li {
  align-items: center;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 8px 12px;
}

.tab-list li.selected {
  background: #2b4779;
  box-shadow: inset 3px 0 0 #8fb0ff;
}

.favicon {
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  width: 24px;
}

.red {
  background: #ff3030;
}

.blue {
  background: #3b82f6;
}

.green {
  background: #10b981;
}

.pink {
  background: #d946ef;
}

.slate {
  background: #64748b;
}

.tab-list strong,
.tab-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-list small {
  color: #aeb5c1;
  margin-top: 2px;
}

kbd {
  background: #e7e7ea;
  border: 1px solid #bfc2ca;
  border-radius: 5px;
  color: #24262b;
  font: 800 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  min-width: 28px;
  padding: 4px 8px;
  text-align: center;
}

.features,
.shortcuts,
.open-source,
.policy-page {
  margin: 0 auto;
  max-width: 980px;
  padding: 80px 24px;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: 0;
  line-height: .98;
  margin: 12px 0 28px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

h3 {
  font-size: 24px;
  line-height: 1;
  margin: 0 0 12px;
}

article p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.policy-page {
  padding-top: 72px;
}

.policy-hero {
  padding-bottom: 46px;
}

.policy-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  margin-left: 0;
  margin-right: 0;
  max-width: 820px;
  text-align: left;
}

.policy-hero .lede {
  margin-left: 0;
  max-width: 780px;
}

.policy-hero .meta {
  margin-top: 18px;
}

.policy-content {
  border-top: 1px solid var(--line);
}

.policy-content article {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.policy-content h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 14px;
}

.policy-content p + p {
  margin-top: 12px;
}

.policy-content a {
  color: #9db6ff;
  font-weight: 700;
}

.shortcut-table {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.shortcut-table div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto auto;
  padding: 16px 0;
}

.shortcut-table div:last-child {
  border-bottom: 0;
}

.shortcut-table span {
  font-weight: 750;
}

.open-source {
  text-align: center;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 18px;
  justify-content: center;
  padding: 28px 24px 42px;
}

@media (max-width: 760px) {
  .nav,
  .nav nav,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    gap: 18px;
  }

  .nav nav {
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(44px, 16vw, 76px);
  }

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

  .shortcut-table div {
    grid-template-columns: 1fr auto auto;
  }
}
