:root {
  --bg: #0a0d0b;
  --panel: #0f1411;
  --panel-2: #131a16;
  --line: #1f2a23;
  --text: #d7e2da;
  --dim: #6b7d71;
  --green: #3dff8f;
  --green-dim: rgba(61, 255, 143, .12);
  --cyan: #5ad7ff;
  --amber: #ffc857;
  --pink: #ff6b9d;
  --violet: #b28cff;
  --orange: #ff8a4c;
  --radius: 10px;
  /* Monospace for Latin; Georgian glyphs fall back to Noto Sans Georgian */
  --mono: "JetBrains Mono", "Noto Sans Georgian", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--mono); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 15px; -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(61, 255, 143, .08), transparent 60%),
    radial-gradient(circle, #1f3328 1.2px, transparent 1.6px);
  background-size: auto, 26px 26px;
  background-attachment: fixed;
}
.scanlines {
  pointer-events: none; position: fixed; inset: 0; z-index: 50; opacity: .35;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.25) 2px 3px);
}
::selection { background: var(--green); color: #000; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; max-width: 26ch; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; color: #a9b8ae; }
pre { margin: 0; font-family: var(--mono); white-space: pre-wrap; word-break: break-word; }

.g { color: var(--green); }
.c { color: var(--cyan); }
.dim { color: var(--dim); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(60px, 8vw, 100px) 0; }
.cmd, .prompt { color: var(--dim); font-size: .9rem; margin-bottom: .6em; }
.cmd { color: var(--green); }
.eyebrow { color: var(--amber); font-size: .85rem; margin-bottom: .6em; }

.cursor { color: var(--green); animation: blink 1s steps(1) infinite; }
.cursor.block { margin-left: .15em; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 12px 18px; border-radius: 6px; font-weight: 700; font-size: .9rem;
  background: var(--green); color: #04130a; border: 1px solid var(--green);
  transition: box-shadow .15s, transform .15s, background .15s; cursor: pointer;
}
.btn:hover { box-shadow: 0 0 0 4px var(--green-dim), 0 0 24px rgba(61,255,143,.35); transform: translateY(-1px); }
.btn-sm { padding: 7px 12px; font-size: .8rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); box-shadow: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10, 13, 11, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: #fff; letter-spacing: -0.01em; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green), 0 0 24px rgba(61,255,143,.5); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 4px var(--green), 0 0 12px rgba(61,255,143,.3); transform: scale(.85); } }
.gdot { display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(61,255,143,.6); margin-right: 10px; vertical-align: middle; }
.gdot.s1 { width: 8px; height: 8px; }
.gdot.s2 { width: 14px; height: 14px; }
.gdot.s3 { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 22px; font-size: .88rem; color: var(--dim); }
.nav-links a:hover { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang a { font: inherit; text-decoration: none; display: block; font-size: .72rem; font-weight: 700; border: 0; background: none; color: var(--dim); padding: 6px 10px; cursor: pointer; }
.lang a.active { background: var(--green); color: #04130a; }

/* Terminal window */
.term { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; font-size: .75rem; color: var(--dim); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
.lead { font-size: 1rem; max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; color: var(--dim); }
.hero-facts li::before { content: "● "; color: var(--green); text-shadow: 0 0 8px var(--green); }
.term-hero .term-body { padding: 18px 20px; min-height: 340px; font-size: .86rem; line-height: 1.8; }
.t-cmd { color: #fff; }
.t-ps { color: var(--green); }
.t-out { color: var(--dim); display: flex; gap: 8px; }
.t-out .lbl { white-space: nowrap; }
.t-out .dots { flex: 1; border-bottom: 1px dotted #2d3b32; transform: translateY(-.45em); min-width: 20px; }
.t-out .okk { color: var(--green); }
.t-final { color: var(--green); font-weight: 700; }
.t-final a { color: var(--cyan); text-decoration: underline; white-space: nowrap; }

.y { color: var(--amber); }
.p { color: var(--pink); }
.section-tight { padding-top: 20px; }
.section-lead { max-width: 60ch; font-size: 1rem; }

/* "What do you need?" picker */
.picker { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 32px; align-items: start; }
.picker > * { min-width: 0; }
.picker-options { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; gap: 14px; align-items: baseline; text-align: left; width: 100%;
  font: inherit; font-size: .98rem; color: var(--text); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: border-color .15s, background .15s, transform .15s;
}
.opt:hover { border-color: rgba(61,255,143,.5); transform: translateX(3px); }
.opt.active { border-color: var(--green); background: var(--green-dim); color: #fff; box-shadow: inset 3px 0 0 var(--green); }
.opt-key { color: var(--dim); font-weight: 700; }
.opt.active .opt-key { color: var(--green); }
.opt-unsure { border-style: dashed; }
.out-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.out-ctas [hidden] { display: none; }
.picker-out { position: sticky; top: 90px; box-shadow: 0 0 0 1px rgba(61,255,143,.15), 0 0 60px -20px rgba(61,255,143,.3); }
.out-body { padding: 22px 24px 26px; }
.out-cmd { color: #fff; font-size: .85rem; margin-bottom: 1.2em; }
.out-label { margin: 0 0 .3em; font-size: .85rem; }
.out-title { font-size: 1.5rem; color: var(--green); margin-bottom: .7em; }
.out-points { list-style: none; padding: 0; margin: 0 0 20px; }
.out-points li { padding: 6px 0; font-size: .92rem; }
.out-points li::before { content: "● "; color: var(--green); text-shadow: 0 0 8px var(--green); }
.out-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 14px 0; margin-bottom: 20px; border-block: 1px dashed var(--line); }
.out-meta b { color: var(--amber); font-size: 1.05rem; }
.printing > * { animation: print .35s ease both; }
.printing > *:nth-child(2) { animation-delay: .05s; }
.printing > *:nth-child(3) { animation-delay: .1s; }
.printing > *:nth-child(4) { animation-delay: .15s; }
.printing > *:nth-child(5) { animation-delay: .2s; }
.printing > *:nth-child(6) { animation-delay: .25s; }
@keyframes print { from { opacity: 0; transform: translateY(4px); } }

/* Grows with you */
.ladder { list-style: none; padding: 0; margin: 28px 0 0; display: flex; align-items: stretch; gap: 14px; }
.ladder li:not(.arrow) {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
}
.ladder li:nth-child(3) { border-color: rgba(61,255,143,.3); }
.ladder li:nth-child(5) { border-color: rgba(61,255,143,.6); background: var(--green-dim); }
.ladder b { color: #fff; font-size: 1.05rem; }
.lv { display: flex; align-items: center; min-height: 26px; color: var(--green); font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.arrow { display: grid; place-items: center; color: var(--green); font-size: 1.4rem; }
.hosting { margin-top: 20px; color: var(--text); font-size: .92rem; }
.hosting p { margin: 0 0 4px; }
.hosting .dim { margin-top: 6px; font-size: .82rem; }

/* What a platform can be */
.plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.plat-grid > * { min-width: 0; }
.plat-body { padding: 24px; }
.plat-body h3 { font-size: 1.15rem; color: var(--green); }
.plat-list { list-style: none; padding: 0; margin: 0; }
.plat-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; color: #a9b8ae; }
.plat-list li:last-child { border-bottom: 0; }
.plat-list b { color: #fff; }
.tree-diagram { padding: 16px 18px; margin-top: 8px; font-size: .82rem; line-height: 1.9; white-space: pre; overflow-x: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }

/* Tech stack strip */
.stack-strip { border-block: 1px solid var(--line); background: var(--panel); padding: 28px 0; }
.stack-strip .cmd { margin-bottom: 14px; }
.stack { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.stack-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.stack:hover .stack-track { animation-play-state: paused; }
.stack-set { display: flex; gap: 10px; padding-right: 10px; }
.stack span { white-space: nowrap; }
/* moves exactly one set width, then repeats */
@keyframes marquee { to { transform: translateX(-50%); } }
.stack span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; background: var(--bg); }
.stack span:hover { border-color: var(--green); color: var(--green); }

/* Process log */
.log { margin-top: 36px; }
.steps { list-style: none; margin: 0; padding: 10px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.steps li { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.step-no { color: var(--dim); font-size: .85rem; }
.ok { color: var(--green); font-weight: 800; }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; font-size: .88rem; }
.log-done { padding: 14px 22px 20px; margin: 0; color: var(--green); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.faq details { border-bottom: 1px dashed var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: #fff; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--green); width: 1ch; }
.faq details[open] summary::before { content: "−"; }
.faq details p { margin: 10px 0 0 calc(1ch + 12px); font-size: .9rem; }

/* Contact */
.contact { box-shadow: 0 0 0 1px rgba(61,255,143,.2), 0 0 80px -20px rgba(61,255,143,.25); }
.contact-body { padding: clamp(28px, 5vw, 56px); }
.contact h2 { max-width: none; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 8px 0 24px; overflow: hidden; font-size: .8rem; color: var(--dim); background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Brand: hero glow + footer wordmark */
.hero-orb {
  position: absolute; z-index: -1; width: 620px; height: 620px; right: -120px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,255,143,.22), rgba(61,255,143,.06) 45%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-grid { position: relative; }
.wordmark {
  margin: 20px 0 28px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #16201a;
  font-size: clamp(3.5rem, 15vw, 12rem); user-select: none;
}
.wordmark .g { color: var(--green); text-shadow: 0 0 30px rgba(61,255,143,.6); }

/* Responsive */
/* 404 + privacy pages */
.nf { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.nf-wrap { display: grid; place-items: center; }
.nf .term { width: min(640px, 100%); }
.nf-body { padding: 26px 26px 30px; }
.nf-body h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin: .2em 0 .3em; color: #fff; }
.nf-body p { margin: 0 0 .6em; }
.nf-body .btn { margin-top: 18px; }
.doc { padding: 40px 0 80px; }
.doc .term { max-width: 820px; margin: 0 auto; }
.doc-body { padding: 26px 28px 34px; line-height: 1.75; }
.doc-body h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: #fff; margin: .2em 0 .4em; }
.doc-body h2 { font-size: 1.15rem; color: var(--green); margin: 1.6em 0 .4em; max-width: none; }
.doc-body ul { padding-left: 1.2em; }
.doc-body hr { border: 0; border-top: 1px dashed var(--line); margin: 2.4em 0; }

/* Cookie consent */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.cookie[hidden] { display: none; }
.cookie-body { padding: 14px 16px 16px; font-size: .82rem; }
.cookie-body p { margin: 0 0 12px; }
.cookie-btns { display: flex; gap: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
.link-btn[hidden] { display: none; }

@media (max-width: 960px) {
  .hero-grid, .faq-wrap { grid-template-columns: 1fr; }
  .picker, .plat-grid { grid-template-columns: 1fr; }
  .picker-out { position: static; margin: 2px 0 8px; }
  .picker { overflow-anchor: none; } /* we correct the scroll ourselves; stop the browser doing it twice */
  /* accordion arrow: ▸ closed, ▾ open */
  .opt::after { content: "▸"; margin-left: auto; padding-left: 10px; color: var(--dim); }
  .opt.active::after { content: "▾"; color: var(--green); }
  .ladder { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .nav-right .btn { display: none; }
  .cookie { right: 16px; left: 16px; max-width: none; }
  .term-hero .term-body { min-height: 300px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stack { overflow-x: auto; }
}
