@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --bg: #0b1416;
  --bg-2: #0f1c1f;
  --card: #132427;
  --card-hover: #172c30;
  --line: #20383c;
  --line-strong: #2d4d52;
  --text: #e6f7f4;
  --dim: #93b3ae;
  --teal: #5eead4;
  --green: #9af5a8;
  --mint: #7ef0be;
  --ink: #06201c;
  --grad: linear-gradient(135deg, var(--teal), var(--green));
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--teal); background: rgba(94, 234, 212, 0.08); padding: 1px 6px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
h3 { font-size: 1.4rem; letter-spacing: 0.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--mono); font-size: 0.82rem; color: var(--teal); letter-spacing: 0.04em; margin-bottom: 14px; }
.eyebrow::before { content: "> "; color: var(--green); }
.lead { color: var(--dim); font-size: 1.15rem; max-width: 600px; }

/* header */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 20, 22, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.05em; text-transform: uppercase; }
.brand span span { color: var(--mint); }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a { text-decoration: none; color: var(--dim); font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.menu a:hover { color: var(--text); background: rgba(94, 234, 212, 0.06); }
.menu a[aria-current="page"] { color: var(--teal); }
.menu .menu-cta { margin-left: 8px; color: var(--ink); background: var(--grad); font-weight: 600; }
.menu .menu-cta:hover { color: var(--ink); background: var(--grad); filter: brightness(1.08); }
.menu .menu-cta[aria-current="page"] { color: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--teal); }
.menu-btn { display: none; }

@media (max-width: 799px) {
  .menu-btn {
    display: flex; align-items: center; gap: 8px;
    background: none; color: var(--text); cursor: pointer;
    border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 12px;
    font: 500 0.95rem var(--body);
  }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px; }
  .menu .menu-cta { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  background: var(--grad); color: var(--ink);
  padding: 12px 22px; border-radius: 8px; border: 0;
  transition: filter 0.15s, transform 0.15s;
}
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.button-ghost:hover { background: rgba(94, 234, 212, 0.06); box-shadow: inset 0 0 0 1px var(--teal); filter: none; }
.button-small { padding: 8px 16px; font-size: 0.95rem; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 360px at 85% 10%, rgba(94, 234, 212, 0.16), transparent 70%),
    radial-gradient(520px 320px at 10% 100%, rgba(154, 245, 168, 0.10), transparent 70%),
    radial-gradient(rgba(147, 179, 174, 0.12) 1px, transparent 1px) 0 0 / 24px 24px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.8rem; color: var(--green);
  border: 1px solid rgba(154, 245, 168, 0.35); background: rgba(154, 245, 168, 0.06);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 22px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.console {
  background: #081012; border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(94, 234, 212, 0.05);
  font-family: var(--mono); font-size: 0.86rem; overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 0.76rem; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.console-bar span { margin-left: 8px; }
.console ol { list-style: none; padding: 18px 18px 20px; display: grid; gap: 10px; }
.console li { color: var(--dim); overflow-wrap: anywhere; }
.console .n { color: var(--green); margin-right: 10px; }
.console .ok { color: var(--teal); }

/* sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head p { color: var(--dim); margin-top: 12px; }

.page-head { padding: 80px 0 60px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(94, 234, 212, 0.13), transparent 70%),
    radial-gradient(rgba(147, 179, 174, 0.1) 1px, transparent 1px) 0 0 / 24px 24px;
}
.page-head h1 { margin-bottom: 14px; }

.grid-3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.card p { color: var(--dim); margin-top: 10px; }
a.card { display: flex; flex-direction: column; text-decoration: none; }
a.card p { flex: 1; }
a.card:hover { border-color: var(--teal); background: var(--card-hover); transform: translateY(-2px); }
.card .more { margin-top: 18px; color: var(--teal); font-weight: 600; }
.icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(94, 234, 212, 0.08); border: 1px solid rgba(94, 234, 212, 0.25); color: var(--teal);
}
.icon svg { width: 22px; height: 22px; }

.split { display: grid; gap: 16px 56px; }
@media (min-width: 900px) { .split { grid-template-columns: 300px 1fr; } }
.split .section-head { margin-bottom: 0; }

/* plugins */
.plugin { display: flex; flex-direction: column; gap: 12px; }
.plugin-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plugin-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 0.8rem; color: var(--dim); }
.plugin .actions { margin-top: 8px; }
.badge {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px;
  color: var(--green); background: rgba(154, 245, 168, 0.08); border: 1px solid rgba(154, 245, 168, 0.35);
}
.badge-soon { color: var(--teal); background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.35); }

.empty {
  text-align: center; padding: 56px 24px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: rgba(19, 36, 39, 0.5);
}
.empty p { color: var(--dim); max-width: 460px; margin: 10px auto 0; }
.empty .actions { justify-content: center; margin-top: 24px; }

.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--dim); }
.checks li strong { color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.3 9.9l1.4-1.4 2.9 2.9 5.7-5.7 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.3 9.9l1.4-1.4 2.9 2.9 5.7-5.7 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 76px; color: var(--dim);
}
.steps li strong { color: var(--text); display: block; font-size: 1.05rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 20px;
  font-family: var(--mono); font-weight: 500; font-size: 0.9rem; color: var(--ink);
  background: var(--grad); border-radius: 8px; width: 38px; height: 30px; display: grid; place-items: center;
}

.prose p { color: var(--dim); max-width: 640px; }
.prose p + p { margin-top: 16px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; color: var(--teal); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dim); padding: 0 20px 18px; }

.cta {
  text-align: center; padding: 56px 24px; border-radius: 16px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(420px 200px at 50% 0%, rgba(94, 234, 212, 0.14), transparent 70%),
    var(--card);
}
.cta p { color: var(--dim); margin: 12px auto 0; max-width: 480px; }
.cta .actions { justify-content: center; }

.contact-card { gap: 4px; }
.contact-card .addr { font-family: var(--mono); font-size: 0.9rem; color: var(--text); overflow-wrap: anywhere; }

.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-family: var(--head); font-size: clamp(6rem, 22vw, 11rem); line-height: 1; }
.notfound p { color: var(--dim); margin-top: 12px; }
.notfound .actions { justify-content: center; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--dim); font-size: 0.92rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { font-size: 1.15rem; color: var(--text); margin-bottom: 10px; }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: var(--teal); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.82rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, a.card:hover { transform: none; }
}
.empty .badge { display: inline-block; margin-bottom: 16px; }
