/* guiport — editorial monospace landing.
   Palette: navy #0B1220 base, amber #F5A524 accent, bone #E9E5D4 text. */

:root {
  --bg:        #0B1220;
  --bg-2:      #0F1730;
  --line:      #1B2438;
  --ink:       #E9E5D4;
  --ink-dim:   #9CA3B5;
  --amber:     #F5A524;
  --amber-2:   #FFC857;
  --green:     #6FE7B5;
  --mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif:     'Fraunces', 'Iowan Old Style', Charter, Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle dotted grid for depth. */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(245,165,36,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; padding: 24px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,18,32,0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.topbar .logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.topbar nav a {
  color: var(--ink-dim); text-decoration: none; margin-left: 18px;
  font-size: 13px;
}
.topbar nav a:hover { color: var(--amber); }
@media (max-width: 720px) {
  .topbar nav { display: none; }
}

/* Hero */
.hero { padding: 84px 0 64px; border-bottom: 1px dashed var(--line); }
.kicker {
  color: var(--amber); font-size: 12px; letter-spacing: 0.04em;
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(40px, 9vw, 96px);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  line-height: 1;
}
.hero h1 .prompt { color: var(--amber); }
.hero h1 .brand { color: var(--ink); }
.hero h1 .cursor {
  display: inline-block;
  color: var(--amber); margin-left: 4px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 36px;
  max-width: 640px;
}

.hero-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  padding: 18px 22px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.85;
  overflow-x: auto;
  white-space: pre;
  margin: 0 0 28px;
}

.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display: inline-block;
  font-family: var(--mono); font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: transform 120ms ease, background 120ms ease;
}
.btn.primary { background: var(--amber); color: #0B1220; }
.btn.primary:hover { background: var(--amber-2); transform: translateY(-1px); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--amber); color: var(--amber); }

.badges { color: var(--ink-dim); font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badges span { margin: 0; }

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.pill.ok    { background: rgba(245,165,36,0.14); color: var(--amber-2); border: 1px solid rgba(245,165,36,0.45); }
.pill.soon  { background: rgba(156,163,181,0.10); color: var(--ink-dim); border: 1px solid var(--line); }

.btn.small { padding: 6px 12px; font-size: 12px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
@media (max-width: 720px) { .platforms { grid-template-columns: 1fr; } }
.plat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px 22px;
  display: flex; flex-direction: column;
}
.plat-ok { border-left: 3px solid var(--amber); }
.plat-soon { opacity: 0.85; }
.plat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.plat-os { font-weight: 800; font-size: 18px; color: var(--ink); }
.plat-meta { color: var(--ink-dim); font-size: 12px; margin-bottom: 12px; }
.plat ul { padding-left: 18px; margin: 0 0 16px; color: var(--ink); font-size: 13.5px; line-height: 1.85; }
.plat ul li::marker { color: var(--amber); }
.plat .btn { align-self: flex-start; margin-top: auto; }

/* Logo image needs no min/max — use intrinsic height. */
.topbar .logo img { display: block; height: 28px; width: auto; }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }

.numbered {
  position: relative;
  opacity: 0; transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.numbered.in, .hero, .card.in { opacity: 1; transform: none; }
.hero, .card { transition: opacity 600ms ease, transform 600ms ease; }
.card { opacity: 0; transform: translateY(14px); }

.num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 90px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--amber);
  display: block;
  margin-bottom: 12px;
}

h2 {
  font-family: var(--mono); font-weight: 800;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

h3 {
  font-family: var(--mono); font-weight: 700;
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--amber-2);
}

p { margin: 0 0 16px; color: var(--ink); max-width: 720px; }

code {
  font-family: var(--mono);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.92em;
  color: var(--amber-2);
}

pre {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre;
  margin: 0 0 20px;
}
pre code { background: transparent; border: none; padding: 0; color: inherit; }

.comment { color: var(--ink-dim); }
.str { color: var(--green); }
.kw { color: var(--amber); }
.attr { color: var(--amber-2); }
.num-inline { color: var(--green); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 4px;
}
.card-num { color: var(--amber); font-weight: 700; margin-bottom: 8px; }
.card h3 { margin-top: 4px; color: var(--ink); }
.card p { color: var(--ink-dim); margin: 0; font-size: 14px; }

/* Install tabs */
.install-tabs details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 8px;
  padding: 14px 18px;
}
.install-tabs summary {
  cursor: pointer; font-weight: 700; user-select: none;
  list-style: none;
}
.install-tabs summary::before { content: "▸ "; color: var(--amber); }
.install-tabs details[open] summary::before { content: "▾ "; }
.install-tabs .hint { color: var(--ink-dim); font-weight: 400; font-size: 12px; margin-left: 8px; }
.install-tabs pre { margin: 14px 0 0; }

.callout {
  margin-top: 22px;
  background: rgba(245, 165, 36, 0.06);
  border: 1px solid rgba(245, 165, 36, 0.25);
  border-left: 3px solid var(--amber);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
}
.callout strong { color: var(--amber); }
.callout em { color: var(--amber-2); font-style: normal; font-weight: 600; }

/* CLI table */
.cli-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; }
.cli-table th, .cli-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cli-table thead th { color: var(--amber); font-weight: 700; }
.cli-table td:first-child { white-space: nowrap; width: 32%; }

/* Footer */
footer {
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 13px;
}
footer a { color: var(--amber-2); }
