:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --panel: #ffffff;
  --text: #18212f;
  --muted: #647182;
  --line: #d9dee6;
  --accent: #0f766e;
  --accent-soft: #e6f3f1;
  --warn: #8a4b0f;
  --shadow: 0 14px 36px rgba(24, 33, 47, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 750;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 6px;
}

nav a,
.filter,
.card-link {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

nav a {
  padding: 8px 10px;
  color: var(--muted);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 46px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: end;
  padding: 48px 0 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.quick-panel,
.workbench,
.deploy article,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-panel {
  padding: 20px;
  box-shadow: var(--shadow);
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.quick-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.quick-panel p,
.section-header p,
.deploy p,
.workbench li {
  color: var(--muted);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin: 28px 0 14px;
}

.section-header p {
  max-width: 480px;
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 16px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 760;
}

.tag {
  height: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f3f5;
  color: var(--muted);
  font-size: 12px;
}

.card p {
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  padding: 8px 10px;
  color: var(--accent);
  text-align: center;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter {
  padding: 8px 11px;
  color: var(--muted);
  cursor: pointer;
}

.filter.active {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.workbench,
.deploy {
  margin-top: 34px;
}

.workbench {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
}

.workbench ol {
  margin: 0;
  padding-left: 22px;
}

.workbench li + li {
  margin-top: 8px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.deploy article {
  padding: 16px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .topbar,
  .section-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: 34px;
  }
}
