:root {
  --background: #0b1020;
  --background-secondary: #111a33;
  --panel: rgba(20, 34, 70, 0.88);
  --text: #edf3ff;
  --muted: #aab8d3;
  --blue: #62a5ff;
  --purple: #a78bfa;
  --green: #4ade80;
  --red: #fb7185;
  --border: rgba(125, 159, 220, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 5%, rgba(79, 70, 229, 0.4), transparent 28rem),
    radial-gradient(circle at 95% 10%, rgba(37, 99, 235, 0.28), transparent 26rem),
    linear-gradient(135deg, var(--background), var(--background-secondary));
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  width: min(1050px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 38px;
}

.hero {
  max-width: 800px;
  margin-bottom: 42px;
}

.badge {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid rgba(96, 165, 250, 0.65);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(30, 58, 138, 0.28);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 14px;
  color: #dbeafe;
  font-size: 1.18rem;
}

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

.subtitle {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 1.12rem;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  color: #07111f;
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.button:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  text-decoration: none;
}

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

.card,
.panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.card {
  padding: 22px;
}

.panel {
  margin-top: 16px;
  padding: 28px;
}

.highlight {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 700;
}

code {
  padding: 3px 6px;
  border-radius: 6px;
  color: #dbeafe;
  background: rgba(2, 6, 23, 0.7);
  font-family: "Courier New", monospace;
  font-size: 0.88em;
}

.workflow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 22px;
}

.step {
  flex: 1;
  min-width: 120px;
  padding: 18px 14px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  text-align: center;
}

.step span {
  display: grid;
  width: 31px;
  height: 31px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 50%;
  color: #081426;
  background: #93c5fd;
  font-weight: 700;
}

.step p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.arrow {
  align-self: center;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
}

table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  text-align: left;
}

th {
  color: #dbeafe;
  background: rgba(30, 58, 138, 0.45);
}

tr:last-child td {
  border-bottom: 0;
}

.to-fill {
  color: #fde68a;
  font-weight: 700;
}

.examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.examples > div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
}

.review {
  margin-bottom: 12px;
  color: #e2e8f0;
  font-style: italic;
}

.positive {
  color: var(--green);
  font-weight: 700;
}

.negative {
  color: var(--red);
  font-weight: 700;
}

.note {
  margin-top: 18px;
  font-size: 0.92rem;
}

.repository a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.repository a:hover {
  text-decoration: underline;
}

footer {
  padding: 34px 0 10px;
  color: #7f8ca8;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 860px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    flex-direction: column;
  }

  .arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1050px);
    padding-top: 42px;
  }

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

  .panel,
  .card {
    padding: 20px;
  }
}