:root {
  color-scheme: light;
  --ink: #101823;
  --muted: #5d6877;
  --soft: #f5f8fc;
  --line: #dfe7f1;
  --blue: #1478ff;
  --blue-dark: #0d4fb6;
  --green: #168a63;
  --paper: #ffffff;
  --shadow: 0 24px 80px rgba(15, 35, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 228, 238, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 650;
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 32px rgba(20, 120, 255, 0.22);
}

.button.green {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(52px, 8vw, 118px) clamp(20px, 5vw, 72px) 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 120, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #fff 72%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-weight: 850;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
}

.lead {
  margin: 24px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(208, 220, 236, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 22px 38px rgba(13, 50, 110, 0.22));
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.section.soft {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.content p {
  color: var(--muted);
  font-size: 18px;
}

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

.tile {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.tile h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.content {
  max-width: 900px;
  padding: 70px clamp(20px, 5vw, 72px);
}

.content h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.content h2 {
  margin-top: 42px;
  font-size: 30px;
}

.content ul {
  color: var(--muted);
  font-size: 18px;
}

.code {
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f9fc;
  color: #263142;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7f9fc;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

  .nav {
    flex-wrap: wrap;
  }

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

  .hero {
    padding-top: 40px;
  }
}
