:root {
  color-scheme: dark;
  --bg: #0b100d;
  --text: #f2efe4;
  --muted: #c4beaf;
  --green: #a8cfa2;
  --line: rgba(242, 239, 228, 0.22);
  --panel: rgba(11, 16, 13, 0.88);
  --max: 760px;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(8, 12, 10, 0.82), rgba(8, 12, 10, 0.92)),
    url("/assets/openoak_bg.webp") center / cover fixed no-repeat,
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--green);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.site-header,
main,
footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  font-size: 1.65rem;
  font-weight: 850;
  text-decoration: none;
}

main {
  padding: clamp(48px, 9vw, 88px) 0 72px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 9vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.intro {
  max-width: 620px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.1rem;
}

.setup {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: clamp(22px, 5vw, 32px);
}

ol {
  margin: 0 0 26px;
  padding-left: 1.3rem;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #080b09;
  padding: 12px;
}

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

button {
  min-height: 40px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
  padding: 0 16px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.prompt-label {
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.clients {
  padding: 54px 0 36px;
}

.clients ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients li {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.clients li:last-child {
  border-bottom: 1px solid var(--line);
}

.clients span,
.manage {
  color: var(--muted);
}

.clients code {
  color: var(--text);
  font-size: 0.85em;
}

.manage {
  max-width: 620px;
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 620px) {
  body {
    background:
      linear-gradient(rgba(8, 12, 10, 0.84), rgba(8, 12, 10, 0.94)),
      url("/assets/openoak_bg-mobile.webp") center / cover no-repeat,
      var(--bg);
  }

  .copy-row,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-row button {
    width: 100%;
  }

  .clients li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
