:root {
    --background: #09141e;
    --surface: rgba(13, 29, 41, 0.85);
    --line: rgba(173, 196, 209, 0.16);
    --text: #edf5fa;
    --muted: #adc4d1;
    --game: #71e5b3;
    --game-soft: rgba(113, 229, 179, 0.14);
    --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-main);
    /* Faint blueprint grid with a mint glow behind the hero, like the CiGYL start page. */
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(113, 229, 179, 0.10), transparent 70%),
        linear-gradient(rgba(173, 196, 209, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(173, 196, 209, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--background);
}

a { color: inherit; }

img { display: block; max-width: 100%; height: auto; }

[data-mark] svg { display: block; width: 100%; height: 100%; }

/* ---------- Top bar ---------- */

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.brand small { margin-left: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }

.brand-mark { width: 28px; height: 28px; color: var(--game); }

.top-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }

.top-nav a { color: var(--muted); text-decoration: none; }

.top-nav a:hover, .top-nav a:focus-visible { color: var(--text); }

.top-nav .top-nav-download {
    padding: 7px 14px;
    border: 1px solid var(--game);
    border-radius: 8px;
    color: var(--game);
}

/* ---------- Hero ---------- */

.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 30px;
    text-align: center;
}

.hero-mark {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 26px;
}

.hero-mark-icon {
    position: absolute;
    inset: 30px;
    color: var(--game);
    filter: drop-shadow(0 0 18px rgba(113, 229, 179, 0.45));
}

.hero-orbit {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(113, 229, 179, 0.35);
    border-radius: 50%;
}

.hero-orbit-outer {
    inset: -14px;
    border-style: dashed;
    border-color: rgba(173, 196, 209, 0.2);
    animation: orbit-turn 40s linear infinite;
}

@keyframes orbit-turn { to { transform: rotate(360deg); } }

.kicker {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--game);
}

h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 6.4vw, 72px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.accent { color: var(--game); }

.lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.55;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.button {
    padding: 14px 26px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(9, 20, 30, 0.6);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover, .button:focus-visible { border-color: var(--muted); }

.button-primary { border-color: var(--game); background: var(--game); color: #06120d; }

.button-primary:hover, .button-primary:focus-visible { background: #8af0c3; border-color: #8af0c3; }

.facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted);
}

.facts li::before { content: '✓ '; color: var(--game); }

.hero-shot {
    margin: 52px 0 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(113, 229, 179, 0.08), 0 0 80px rgba(113, 229, 179, 0.08);
}

/* ---------- Sections ---------- */

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 70px 24px 10px;
}

h2 {
    margin: 10px 0 14px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-lead {
    max-width: 760px;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
}

.note { margin: 16px 0 0; font-size: 13px; color: rgba(173, 196, 209, 0.7); }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.cards-four { grid-template-columns: repeat(4, 1fr); }

.card {
    padding: 22px 22px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.card h3 { margin: 0 0 8px; font-size: 18px; }

.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.card-number {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--game);
}

.split {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 36px;
    margin-top: 34px;
}

.panel-shot {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.split-text h3 { margin: 0 0 10px; font-size: 22px; }

.split-text p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.split-text em { font-style: normal; color: var(--game); }

/* Blender ⇄ GameTools ⇄ engine */
.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 34px 0 6px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 190px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    font-size: 18px;
    font-weight: 700;
}

.flow-step small {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
}

.flow-step-main { border-color: var(--game); background: var(--game-soft); }

.flow-mark { width: 30px; height: 30px; margin-bottom: 8px; color: var(--game); }

.flow-arrow { font-size: 24px; color: var(--game); }

.providers { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }

.providers span {
    padding: 8px 16px;
    border: 1px solid rgba(113, 229, 179, 0.4);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--game);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 24px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    background: var(--surface);
}

.steps li::before {
    content: counter(step, decimal-leading-zero) '  ';
    font-family: var(--font-mono);
    color: var(--game);
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.gallery figure, .wide-shot { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }

.gallery figcaption { padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.wide-shot { margin: 10px 0 18px; }

/* ---------- Closing ---------- */

.closing {
    max-width: 1120px;
    margin: 0 auto;
    padding: 90px 24px 80px;
    text-align: center;
}

.closing-mark {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    color: var(--game);
    filter: drop-shadow(0 0 14px rgba(113, 229, 179, 0.4));
}

.closing h2 { margin: 0; }

.closing-family { margin: 26px 0 0; color: var(--muted); }

.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Phones and narrow windows ---------- */

@media (max-width: 900px) {
    .cards, .cards-four { grid-template-columns: 1fr 1fr; }
    .flow { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
    .top-nav { gap: 14px; font-size: 14px; }
    .top-nav a:not(.top-nav-download) { display: none; }
    .brand small { display: none; }
    .hero { padding-top: 40px; }
    .lead { font-size: 17px; }
    .cards, .cards-four, .gallery { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .panel-shot { max-width: 320px; }
    .hero-actions .button { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit-outer { animation: none; }
    html { scroll-behavior: auto; }
}
