:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #536170;
  --line: #d9dee6;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --blue: #1c64f2;
  --green: #177245;
  --amber: #a45b00;
  --red: #b42318;
  --terminal: #11161d;
  --terminal-soft: #1d2630;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

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

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--terminal);
  color: #9ef0b6;
  font-family: Menlo, Consolas, monospace;
  font-size: 15px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

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

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 34px;
  align-items: center;
  padding: 56px 0 36px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: #334155;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #1b4fd7;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.visual img {
  display: block;
  width: 100%;
  height: auto;
}

.quick-tool {
  margin: 20px 0 36px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

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

.radio-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  font-weight: 650;
}

.command-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--terminal);
  color: #e8edf5;
}

.command-box pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-button {
  min-width: 64px;
  min-height: 36px;
  border: 1px solid #394556;
  border-radius: 8px;
  background: var(--terminal-soft);
  color: #e8edf5;
  font-weight: 700;
  cursor: pointer;
}

.band {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section {
  padding: 42px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section h3 {
  margin: 22px 0 8px;
  font-size: 20px;
}

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

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

.card h3 {
  margin-top: 0;
}

.pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #ecfdf3;
  color: #14532d;
  font-size: 12px;
  font-weight: 760;
}

.warning {
  border-left: 4px solid var(--amber);
  padding: 12px 14px;
  background: #fff7ed;
  border-radius: 0 8px 8px 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}

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

th {
  background: #edf2f7;
}

.content {
  max-width: 850px;
  padding: 46px 0;
}

.content h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.content p,
.content li {
  color: #334155;
}

.content pre,
.snippet {
  overflow-x: auto;
  padding: 14px;
  border-radius: 8px;
  background: var(--terminal);
  color: #e8edf5;
}

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

.related-list a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 760;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #11161d;
  color: #d9e1ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 20px;
  padding: 34px 20px;
}

.site-footer a {
  color: #b9d8ff;
}

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

.site-footer .small {
  color: #aeb9c7;
}

@media (max-width: 820px) {
  .hero,
  .tool-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }
}
