:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --text: #1f2933;
  --muted: #667085;
  --line: #d9dee7;
  --accent: #256f7d;
  --accent-2: #b35f33;
  --ink: #111827;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-2);
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.96);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

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

.links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 650;
}

.hero {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 730;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.lead {
  margin: 22px 0 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 680;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101820;
  color: #d7f2dc;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(31, 41, 51, 0.12);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  background: #17212b;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d56d4b;
}

.dot:nth-child(2) {
  background: #dfb84d;
}

.dot:nth-child(3) {
  background: #62b47a;
}

.terminal pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  font: 0.92rem/1.7 Consolas, "SFMono-Regular", Menlo, monospace;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head p,
.page-head p {
  margin: 0;
  color: var(--muted);
}

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

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

.tool-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  padding-left: 18px;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.page-head {
  padding: 58px 0 34px;
  max-width: 760px;
}

.page-head h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
}

.content {
  max-width: 780px;
  padding-bottom: 64px;
}

.content p,
.content li {
  color: var(--muted);
}

.tool-list {
  display: grid;
  gap: 18px;
  padding-bottom: 64px;
}

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

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

.status {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-row nav {
  display: flex;
  gap: 16px;
}

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

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1080px);
  }

  .nav,
  .links {
    align-items: flex-start;
  }

  .nav {
    padding: 14px 0;
    flex-direction: column;
  }

  .links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 44px;
  }

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

  .terminal pre {
    font-size: 0.84rem;
  }
}
