/* mixlink.one/developers — technical landing */

.dev-page {
  background-color: #000;
}

.dev-hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 65px - var(--announce-h, 0px));
  padding: 72px 0 80px;
  box-sizing: border-box;
}

.dev-hero h1 {
  font-size: clamp(34px, 6.4vw, 68px);
  line-height: 1.08;
  max-width: 16ch;
  letter-spacing: -0.05em;
}

.dev-hero__lead {
  margin: 28px 0 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-secondary);
}

.dev-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.dev-code__lead {
  margin: 0 0 28px;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.dev-ide {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: #0d0d0d;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.dev-ide__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid #1f1f1f;
  background: #141414;
}

.dev-ide__dots {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #febc2e 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #28c840 4px, transparent 5px);
}

.dev-ide__path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #8a8a8a;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-ide__panes {
  display: grid;
  grid-template-columns: 1fr;
}

.dev-ide__pane {
  margin: 0;
  padding: 18px 18px 22px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #d6d6d6;
}

.dev-ide__pane + .dev-ide__pane {
  border-top: 1px solid #1f1f1f;
}

.dev-ide__label {
  display: block;
  margin-bottom: 12px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.dev-ide code {
  display: block;
  font: inherit;
  white-space: pre;
}

.tok-cmt { color: #6b6b6b; }
.tok-key { color: #9cdcfe; }
.tok-str { color: #ce9178; }
.tok-num { color: #b5cea8; }
.tok-bool { color: #569cd6; }

.dev-cards {
  display: grid;
  gap: 14px;
}

.dev-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dev-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border: 0;
  border-radius: 0;
  color: var(--bone);
}

.dev-card h3 {
  margin: 0 0 10px;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dev-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.dev-install {
  text-align: center;
}

.dev-install h2 {
  margin: 0 auto 14px;
  max-width: 18ch;
  white-space: pre-line;
}

.dev-install__lead {
  margin: 0 auto 28px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(232, 224, 212, 0.72);
}

.dev-install .oss__cmd {
  display: inline-flex;
  align-items: flex-start;
  text-align: left;
}

.dev-install .oss__cmd code {
  white-space: normal;
  line-height: 1.7;
}

.dev-install__note {
  margin: 20px auto 0;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(232, 224, 212, 0.72);
}

.dev-install__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dev-roadmap {
  border-top: 1px solid var(--border-color);
}

.dev-roadmap__stack {
  display: grid;
  gap: 1.5rem;
}

.dev-roadmap__card {
  padding: 36px 28px;
  border: 1px solid rgba(232, 224, 212, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(232, 224, 212, 0.08) 0%, rgba(17, 17, 17, 0.4) 100%),
    #111;
}

.dev-roadmap__card h2 {
  max-width: none;
  margin-bottom: 16px;
}

.dev-roadmap__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dev-roadmap__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  color: var(--bone, #e8e0d4);
}

.dev-roadmap__card p {
  margin: 0 0 28px;
  max-width: 48em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.dev-roadmap__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

html.agent-day .dev-ide,
html.agent-day .dev-roadmap__card {
  background: #fffdf8;
  border-color: var(--border-color);
}

html.agent-day .dev-ide__bar {
  background: #f3efe6;
  border-bottom-color: var(--border-color);
}

html.agent-day .dev-ide__pane + .dev-ide__pane {
  border-top-color: var(--border-color);
}

html.agent-day .dev-ide__pane {
  color: #2a2620;
}

html.agent-day .tok-cmt { color: #8a8176; }
html.agent-day .tok-key { color: #0b6e99; }
html.agent-day .tok-str { color: #9a4b28; }
html.agent-day .tok-num { color: #3d6b32; }
html.agent-day .tok-bool { color: #1d4e89; }

@media (min-width: 900px) {
  .dev-ide__panes {
    grid-template-columns: 1fr 1fr;
  }

  .dev-ide__pane + .dev-ide__pane {
    border-top: 0;
    border-left: 1px solid #1f1f1f;
  }

  html.agent-day .dev-ide__pane + .dev-ide__pane {
    border-left-color: var(--border-color);
  }

  .dev-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .dev-roadmap__card {
    padding: 48px 44px;
  }
}

@media (max-width: 560px) {
  .dev-hero {
    padding: 48px 0 64px;
    min-height: 0;
  }

  .dev-ide__pane {
    font-size: 11.5px;
  }
}
