:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-muted: #eef4f2;
  --text: #18222f;
  --muted: #5f6e7d;
  --line: #dce4e8;
  --teal: #087f78;
  --teal-dark: #075f5a;
  --blue: #2f64b8;
  --amber: #b76f00;
  --red: #c9364a;
  --green: #248549;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--teal-dark);
  font-weight: 700;
}

p,
li {
  line-height: 1.7;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-weight: 900;
}

.brand strong {
  display: block;
  line-height: 1.1;
}

.brand > span:not(.brand-mark) {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.brand .brand-mark {
  color: var(--teal);
  display: grid;
  font-size: 15px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #344255;
  text-decoration: none;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #243242;
  font-weight: 800;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 58px 20px 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.preview-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(26, 40, 52, 0.12);
}

.preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.preview-caption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: 28px;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  max-width: 640px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.card h3 {
  font-size: 18px;
  letter-spacing: 0;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step h2 {
  font-size: 22px;
  letter-spacing: 0;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

.terminal {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  overflow-x: auto;
  color: #f5fbff;
  background: #172230;
  border: 1px solid #29394a;
  font-size: 13px;
  line-height: 1.6;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.status strong {
  display: block;
}

.status span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.callout {
  border-left: 4px solid var(--teal);
  background: #eff8f7;
  border-radius: 8px;
  padding: 16px;
}

.callout.warning {
  border-left-color: var(--amber);
  background: #fff8ed;
}

.callout p {
  color: #455362;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.doc-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
}

.doc-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.package-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.package-card h2 {
  border-top: 0;
  font-size: 21px;
  margin-top: 0;
  padding-top: 0;
}

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

.artifact-table {
  border-collapse: collapse;
  margin-top: 14px;
  width: 100%;
}

.artifact-table th,
.artifact-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.artifact-table th {
  background: var(--surface-muted);
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer .section {
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.article {
  max-width: 920px;
  padding-top: 44px;
}

.article .breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.article h1 {
  font-size: 40px;
  line-height: 1.14;
  margin-bottom: 22px;
}

.article h2 {
  border-top: 1px solid var(--line);
  font-size: 25px;
  margin-top: 34px;
  padding-top: 24px;
}

.article h3,
.article h4 {
  font-size: 19px;
  margin-top: 24px;
}

.article p,
.article ul,
.article ol,
.article pre {
  margin-top: 14px;
}

.article ul,
.article ol {
  padding-left: 24px;
}

.article li + li {
  margin-top: 6px;
}

.article code:not(pre code) {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #233044;
  font-size: 0.92em;
  padding: 1px 5px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .grid,
  .status-list,
  .doc-list,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

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