/* openvms.issinoho.com: DECwindows + VT phosphor, modernised. */
:root {
  --bg: #0b1219;
  --bg-2: #0f1a24;
  --panel: #121f2b;
  --panel-2: #172836;
  --line: #233a4c;
  --ink: #e8eef4;
  --muted: #93a8bb;
  --phosphor: #3dff7a;
  --phosphor-dim: #1f9c4a;
  --amber: #ffb84d;
  --motif-hi: #5a82ad;
  --motif-lo: #2d5079;
  --bevel-hi: #c9d3dc;
  --bevel-lo: #6d7b88;
  --dec-red: #c2263d;
  --radius: 14px;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --vt: "VT323", "JetBrains Mono", monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(90,130,173,.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(61,255,122,.07), transparent 60%),
    radial-gradient(800px 600px at 110% 80%, rgba(194,38,61,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* faint grid, like the banner art */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
a { color: var(--phosphor); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #9dffbd; }
code { font: .88em var(--mono); background: rgba(255,255,255,.06); padding: .1em .35em; border-radius: 5px; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; max-width: 22ch; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.narrow { max-width: 68ch; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(11,18,25,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { font: 700 18px var(--mono); color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-prompt { color: var(--phosphor); text-shadow: 0 0 10px rgba(61,255,122,.6); }
.brand-dot { color: var(--amber); }
.topbar nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.topbar nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px;
  white-space: nowrap;
}
.topbar nav a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.topbar nav .nav-gh { color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 760px) { .topbar nav a:not(.nav-gh) { display: none; } }

/* ---------- sections ---------- */
main { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.section { padding: clamp(64px, 10vw, 120px) 0 0; }
.kicker {
  font: 22px var(--vt); color: var(--amber); letter-spacing: .08em; margin: 0 0 12px;
  text-transform: uppercase;
}
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; }
.section-head p { margin: 0; max-width: 46ch; font-size: 15px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(48px, 8vw, 96px) 0 56px;
}
.eyebrow { font: 14px var(--mono); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; }
h1 { font-size: clamp(44px, 7.2vw, 92px); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.glow {
  background: linear-gradient(92deg, var(--phosphor) 0%, #b6ffd0 45%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(61,255,122,.28));
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #c4d2de; max-width: 52ch; margin: 24px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500;
  background: rgba(255,255,255,.03); transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { color: var(--ink); background: rgba(255,255,255,.08); border-color: var(--motif-hi); transform: translateY(-1px); }
.btn-primary { background: var(--phosphor); color: #04210f; border-color: var(--phosphor); box-shadow: 0 0 32px rgba(61,255,122,.35); }
.btn-primary:hover { background: #7dffa6; color: #04210f; border-color: #7dffa6; }
.stats { display: flex; gap: clamp(20px, 4vw, 44px); margin: 44px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font: 56px/1 var(--vt); color: var(--phosphor); text-shadow: 0 0 16px rgba(61,255,122,.45); }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- DECwindows-style window ---------- */
.window {
  background: var(--panel);
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px var(--bevel-lo);
  overflow: hidden; position: relative;
}
.titlebar {
  display: flex; align-items: center; gap: 6px; padding: 5px 6px;
  background: linear-gradient(var(--motif-hi), var(--motif-lo));
  border-bottom: 2px solid #0a1520;
}
.tb-title { flex: 1; text-align: center; font: 600 13px var(--mono); color: #fff; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(0,0,0,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-btn {
  width: 18px; height: 16px; flex: none; position: relative;
  background: linear-gradient(#d7dee5, #a9b5c0);
  border: 1px solid; border-color: var(--bevel-hi) #3b4752 #3b4752 var(--bevel-hi);
}
.tb-menu::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: #2b3540; }
.tb-min::after { content: ""; position: absolute; left: 6px; top: 5px; width: 4px; height: 4px; border: 1px solid #2b3540; }
.tb-max::after { content: ""; position: absolute; left: 3px; top: 2px; right: 3px; bottom: 2px; border: 1px solid #2b3540; }

.screen {
  margin: 0; padding: 18px 20px; min-height: 360px;
  background: radial-gradient(ellipse at 50% 40%, #0d2418, #050b08 75%);
  color: var(--phosphor);
  font: 21px/1.25 var(--vt);
  text-shadow: 0 0 6px rgba(61,255,122,.55);
  white-space: pre-wrap; word-break: break-word; overflow: hidden; position: relative;
}
.screen::after { /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
}
.screen .dim { color: var(--phosphor-dim); text-shadow: none; }
.screen .amb { color: var(--amber); text-shadow: 0 0 6px rgba(255,184,77,.5); }
.screen .cursor { display: inline-block; width: .55em; height: 1em; background: var(--phosphor); vertical-align: -0.12em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-window { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s; }
.term-window:hover { transform: none; }
.term-window .screen { height: 440px; }

/* ---------- marquee ---------- */
.marquee {
  margin: 24px calc(-1 * clamp(16px, 4vw, 48px)) 0; overflow: hidden;
  border-block: 1px solid var(--line); background: rgba(0,0,0,.25);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: scroll 60s linear infinite; font: 26px var(--vt); color: var(--muted); }
.marquee-track span:nth-child(4n+1) { color: var(--ink); }
.marquee-track span:nth-child(2n) { color: var(--dec-red); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- mission ---------- */
.mission-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; }
.mission-text p { margin: 0 0 18px; color: #c4d2de; }
.mission-text strong { color: var(--ink); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillars li {
  display: flex; gap: 16px; padding: 18px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
}
.pillars p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pillar-icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(61,255,122,.1); color: var(--phosphor); font-size: 22px;
}
.ai-panel { margin-top: 48px; }
.ai-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: clamp(20px, 3vw, 36px); background: linear-gradient(140deg, #14202c, #101a24); }
.ai-body h3 { font-size: 26px; margin-bottom: 14px; }
.ai-body p { color: #c4d2de; margin: 0 0 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.checks li { position: relative; padding: 10px 12px 10px 40px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid var(--line); font-size: 15px; }
.checks li::before { content: "\2713"; position: absolute; left: 14px; top: 9px; color: var(--phosphor); font-weight: 700; }

/* ---------- ports ---------- */
.filters { display: flex; gap: 8px; margin: 28px 0 20px; flex-wrap: wrap; }
.chip {
  font: 500 14px var(--sans); color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
}
.chip:hover { color: var(--ink); }
.chip.is-on { color: #04210f; background: var(--phosphor); border-color: var(--phosphor); }
.data-source { display: block; font: 12px var(--mono); margin-top: 6px; color: var(--phosphor-dim); }
.ports { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.port {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(165deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.port:hover { transform: translateY(-3px); border-color: var(--motif-hi); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(90,130,173,.3); }
.port[hidden] { display: none; }
.port-head { padding: 20px 20px 0; display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.port-name { font-size: 24px; }
.port-repo { font: 13px var(--mono); color: var(--muted); text-decoration: none; }
.port-repo:hover { color: var(--phosphor); }
.ver {
  flex: none; text-align: right; font: 30px/1 var(--vt); color: var(--phosphor);
  text-shadow: 0 0 10px rgba(61,255,122,.4);
}
.ver small { display: block; font: 11px var(--mono); color: var(--muted); text-shadow: none; margin-top: 4px; letter-spacing: .04em; }
.port-body { padding: 14px 20px 0; flex: 1; }
.port-body p { margin: 0 0 12px; color: #c4d2de; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font: 12px var(--mono); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--muted); }
.tag-req { color: var(--amber); background: rgba(255,184,77,.1); }
.tag-lib { color: #9fc3ea; background: rgba(90,130,173,.18); }
.try { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #050b08; color: var(--phosphor); font: 18px/1.2 var(--vt); overflow-x: auto; white-space: pre; text-shadow: 0 0 5px rgba(61,255,122,.4); }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 20px 14px; }
.dl {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none;
  background: rgba(61,255,122,.08); border: 1px solid rgba(61,255,122,.25); color: var(--ink);
  transition: background .15s, border-color .15s;
}
.dl:hover { background: rgba(61,255,122,.16); border-color: var(--phosphor); color: var(--ink); }
.dl b { font-size: 15px; }
.dl b::before { content: "\2193  "; color: var(--phosphor); }
.dl span { font: 11px var(--mono); color: var(--muted); }
.port-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 20px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.port-foot a { color: var(--muted); text-decoration: none; }
.port-foot a:hover { color: var(--phosphor); }
.port-wip { padding: 0 20px 20px; }
.port-wip p { margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 14px; }

/* ---------- install ---------- */
.install-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); margin-top: 36px; align-items: start; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 26px var(--vt); color: var(--bg); background: var(--amber);
}
.steps p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.install-picker { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; background: #0c1620; border-bottom: 1px solid var(--line); }
.install-picker button {
  font: 13px var(--mono); color: var(--muted); background: transparent; border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 10px; cursor: pointer;
}
.install-picker button.is-on { color: var(--bg); background: var(--phosphor); border-color: var(--phosphor); }
.screen-static { min-height: 0; font-size: 19px; }
.copy {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; font: 13px var(--mono); cursor: pointer;
  background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px;
}
.copy:hover { border-color: var(--phosphor); }
.tip { margin: 28px 0 0; padding: 14px 18px; border-left: 3px solid var(--amber); background: rgba(255,184,77,.06); border-radius: 0 10px 10px 0; color: #c4d2de; font-size: 15px; }

/* ---------- method ---------- */
.pipeline { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.pipeline::before {
  content: ""; position: absolute; left: 3%; right: 3%; top: 24px; height: 2px;
  background: linear-gradient(90deg, var(--motif-hi), var(--phosphor), var(--amber));
  opacity: .6;
}
.pipeline li { position: relative; padding: 0 4px; }
.pl-n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: var(--bg); border: 2px solid var(--motif-hi); font: 28px var(--vt); color: var(--phosphor);
  box-shadow: 0 0 0 6px var(--bg);
}
.pipeline p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* ---------- legacy ---------- */
.timeline { list-style: none; margin: 44px 0 0; padding: 0; position: relative; display: grid; gap: 4px; }
.timeline::before { content: ""; position: absolute; left: 115px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--dec-red), var(--motif-hi), var(--phosphor)); }
.timeline li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 44px; align-items: baseline; padding: 10px 0; }
.timeline li::after { content: ""; position: absolute; left: 110px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--motif-hi); }
.tl-year { font: 34px/1 var(--vt); color: var(--amber); text-align: right; padding-right: 8px; }
.timeline p { margin: 0; color: #c4d2de; max-width: 64ch; }
.tl-now .tl-year { color: var(--phosphor); text-shadow: 0 0 12px rgba(61,255,122,.6); }
.tl-now::after { border-color: var(--phosphor) !important; background: var(--phosphor) !important; box-shadow: 0 0 12px var(--phosphor); }
.vt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.vt-card { margin: 0; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.vt-glyph { font: 48px/1 var(--vt); color: var(--amber); margin-bottom: 14px; text-shadow: 0 0 14px rgba(255,184,77,.4); }
.vt-card p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* ---------- roadmap ---------- */
.roadmap { list-style: none; padding: 0; margin: 32px 0 20px; display: grid; gap: 10px; max-width: 820px; }
.roadmap li { display: flex; gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.badge { flex: none; font: 12px var(--mono); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.badge-wip { color: var(--amber); border-color: rgba(255,184,77,.4); }

/* ---------- footer ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line); background: rgba(0,0,0,.3); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 56px; color: var(--muted); font-size: 14px; }
.footer .brand { font-size: 22px; margin-top: 0; }
.footer .fine { font-size: 12px; opacity: .8; max-width: 90ch; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero, .mission-grid, .ai-body, .install-grid { grid-template-columns: 1fr; }
  .term-window { transform: none; }
  .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .pipeline::before { display: none; }
  .vt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .ports { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .vt-grid { grid-template-columns: 1fr; }
  .term-window .screen { height: 360px; font-size: 17px; }
  .screen-static { font-size: 16px; }
  .timeline::before { left: 74px; }
  .timeline li { grid-template-columns: 60px 1fr; gap: 30px; }
  .timeline li::after { left: 69px; top: 18px; }
  .tl-year { font-size: 26px; padding-right: 4px; }
  .stats dt { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
