/*
Theme Name: Ghost Terminal
Theme URI: https://zootz.fr/
Author: CodeGraft Lab
Description: Thème WordPress hacker rétro, noir phosphore vert, terminal local fictif, pluie de caractères et surprises optionnelles.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: ghost-terminal
Tags: blog, custom-menu, custom-logo, featured-images, accessibility-ready, one-column, wide-blocks
*/
:root{
 --ghost-black:#020703;
 --ghost-deep:#040d06;
 --ghost-panel:#061309;
 --ghost-panel2:#08190d;
 --ghost-green:#9eff83;
 --ghost-bright:#d1ffbf;
 --ghost-alt:#46e97b;
 --ghost-soft:#77b787;
 --ghost-muted:#7c9a80;
 --ghost-border:rgba(147,255,144,.22);
 --ghost-border-bright:rgba(158,255,131,.48);
 --ghost-max:1190px;
 --ghost-read:780px;
 --ghost-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
 color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--ghost-black);color:var(--ghost-bright);font:400 15px/1.75 var(--ghost-mono);overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--ghost-mono);line-height:1.13;font-weight:800;letter-spacing:-.05em;margin-top:0}
p,ul,ol{margin:0 0 1.3em}
a{color:var(--ghost-green);text-underline-offset:4px}
a:hover{color:#fff}
:focus-visible{outline:2px dashed var(--ghost-green);outline-offset:5px}
img,svg,iframe,video{max-width:100%;height:auto;vertical-align:middle}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
input,textarea,select{color:var(--ghost-bright)}
button:disabled{cursor:not-allowed;opacity:.6}
.ghost-container{width:min(calc(100% - 62px),var(--ghost-max));margin-inline:auto}
.ghost-skip{position:absolute;left:12px;top:-100px;z-index:999;background:var(--ghost-bright);padding:12px 16px;color:var(--ghost-black)}
.ghost-skip:focus{top:12px}
.ghost-header{position:relative;z-index:30;border-bottom:1px solid var(--ghost-border);background:rgba(3,12,5,.96)}
.ghost-header:after{content:"";position:absolute;inset:auto 0 -1px;height:1px;background:linear-gradient(90deg,transparent,var(--ghost-green),transparent);opacity:.28}
.ghost-header-inner{display:flex;align-items:center;gap:20px;justify-content:space-between;min-height:76px}
.ghost-brand{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;text-decoration:none;color:var(--ghost-bright);font-size:17px;font-weight:800;letter-spacing:-.055em}
.ghost-brand:hover{color:#fff}
.ghost-brand-bracket{color:var(--ghost-green)}
.ghost-brand-cursor{color:var(--ghost-green);font-weight:400;margin-left:3px;animation:ghost-blink 1.25s steps(2,start) infinite}
.ghost-desktop-nav{margin-left:auto}
.ghost-desktop-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}
.ghost-desktop-nav li{position:relative}
.ghost-desktop-nav a{font-weight:700;color:var(--ghost-muted);text-decoration:none;font-size:11px;letter-spacing:.075em;white-space:nowrap}
.ghost-desktop-nav a:hover,.ghost-desktop-nav .current-menu-item>a{color:var(--ghost-green)}
.ghost-desktop-nav .sub-menu{display:none;position:absolute;z-index:30;min-width:180px;left:0;top:100%;padding:16px;background:#061209;border:1px solid var(--ghost-border-bright);flex-direction:column;align-items:stretch;gap:13px}
.ghost-desktop-nav li:hover>.sub-menu,.ghost-desktop-nav li:focus-within>.sub-menu{display:flex}
.ghost-header-status{display:flex;align-items:center;gap:8px;color:var(--ghost-green);font-size:10px;letter-spacing:.12em;margin-left:17px}
.ghost-header-status span,.ghost-signal-dot{display:block;width:7px;height:7px;border-radius:50%;background:var(--ghost-alt);box-shadow:0 0 12px rgba(88,255,115,.55)}
.ghost-mobile-nav{display:none}
.ghost-hero{position:relative;isolation:isolate;min-height:calc(100svh - 76px);background:#010602;overflow:hidden}
.ghost-matrix-canvas{position:absolute;z-index:-2;inset:0;width:100%;height:100%;opacity:.43;pointer-events:none}
.ghost-vignette{position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(2,7,3,.98) 0%,rgba(2,7,3,.86) 40%,rgba(2,7,3,.49) 100%),linear-gradient(0deg,#020703 1%,transparent 42%);box-shadow:inset 0 0 190px 30px rgba(0,0,0,.45)}
.ghost-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,transparent,transparent 4px,rgba(136,255,145,.018) 5px,transparent 6px);opacity:.45}
.ghost-hero-content{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(30px,5vw,80px);align-items:center;padding-block:clamp(95px,12vh,155px) 130px;min-height:680px}
.ghost-hero-left{position:relative;z-index:2}
.ghost-signal{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.15em;color:var(--ghost-alt);font-weight:740;margin-bottom:34px}
.ghost-breadcrumb{color:var(--ghost-muted);font-size:13px;margin-bottom:25px}
.ghost-accent{color:var(--ghost-green);font-weight:800}
.ghost-bracket{color:#9dae9d}
.ghost-hero h1{font-size:clamp(45px,5.8vw,86px);line-height:1.11;letter-spacing:-.085em;margin:0 0 27px;max-width:750px;text-shadow:0 0 48px rgba(94,238,101,.14);overflow-wrap:normal}
.ghost-terminal-caret{font-size:.78em;color:var(--ghost-alt);animation:ghost-blink 1s steps(2,start) infinite;font-weight:400;margin-left:.1em}
.ghost-hero-subtitle{font-size:clamp(14px,1.3vw,17px);line-height:1.9;color:#a7c9ab;max-width:560px;margin-bottom:32px}
.ghost-hero-actions,.ghost-final-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.ghost-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none!important;padding:15px 22px;font-size:12px;font-weight:800;letter-spacing:.045em;line-height:1.4;border:1px solid var(--ghost-border-bright);transition:transform .2s,background .2s,box-shadow .2s}
.ghost-btn:hover{transform:translateY(-2px)}
.ghost-btn-primary{background:var(--ghost-green);color:#071205!important;border-color:var(--ghost-green);box-shadow:0 0 23px rgba(128,255,107,.15)}
.ghost-btn-primary:hover{background:#d7ffc5;color:#071205!important;box-shadow:0 0 30px rgba(128,255,107,.22)}
.ghost-btn-outline{background:rgba(12,34,15,.35);color:var(--ghost-green)!important}
.ghost-btn-outline:hover{background:rgba(31,80,37,.45)}
.ghost-btn-surprise{background:#1f200c;color:#eeec9e;border-color:#8e933c;font-size:11px}
.ghost-btn-surprise:hover{background:#313516;box-shadow:0 0 22px rgba(238,236,158,.12)}

.ghost-metrics{display:flex;gap:23px;align-items:center;flex-wrap:wrap;margin-top:53px;font-size:9px;color:var(--ghost-muted);letter-spacing:.12em}
.ghost-metrics span{display:flex;gap:8px;align-items:center;white-space:nowrap}
.ghost-metrics b{font-weight:740;color:var(--ghost-alt)}
.ghost-system-card{position:relative;align-self:center;min-width:0;background:rgba(2,20,8,.8);border:1px solid rgba(103,243,115,.34);box-shadow:0 0 60px rgba(29,248,63,.08),0 18px 60px rgba(0,0,0,.45);transform:perspective(1000px) rotateY(-6deg);backdrop-filter:blur(6px)}
.ghost-system-card:before,.ghost-system-card:after{content:"";position:absolute;width:14px;height:14px;border-color:var(--ghost-alt);border-style:solid;pointer-events:none}
.ghost-system-card:before{top:-3px;left:-3px;border-width:2px 0 0 2px}
.ghost-system-card:after{bottom:-3px;right:-3px;border-width:0 2px 2px 0}
.ghost-system-card-title{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--ghost-border);background:rgba(63,139,70,.09);padding:13px 16px;color:var(--ghost-green);font-size:11px;font-weight:800;letter-spacing:.07em}
.ghost-system-card-title span:last-child{color:#507d5d}
.ghost-system-lines{padding:27px 22px 18px;min-height:200px}
.ghost-system-lines p{display:flex;justify-content:space-between;gap:12px;color:#83b889;font-size:11px;margin:0 0 15px;line-height:1.4}
.ghost-system-lines p span{color:var(--ghost-green)}
.ghost-dots{animation:ghost-blink 1.1s steps(2,start) infinite}
.ghost-system-bars{display:flex;gap:5px;padding:0 22px 26px;align-items:flex-end;height:80px}
.ghost-system-bars i{display:block;background:linear-gradient(0deg,#1a5430,var(--ghost-green));width:calc(10% - 5px);height:34%;box-shadow:0 0 10px rgba(84,241,81,.12);animation:ghost-bars 1.5s ease-in-out infinite alternate}
.ghost-system-bars i:nth-child(3n){height:88%;animation-delay:-.3s}
.ghost-system-bars i:nth-child(3n + 1){height:53%;animation-delay:-.9s}
.ghost-system-bars i:nth-child(4n){height:62%;animation-delay:-1.2s}
.ghost-system-footer{margin:0;padding:13px 17px;font-size:9px;letter-spacing:.05em;color:#739579;border-top:1px solid var(--ghost-border)}
.ghost-system-footer span{color:var(--ghost-green)}
.ghost-hero-bottom{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:24px;color:#769579;font-size:10px;letter-spacing:.12em}
.ghost-hero-bottom a{text-decoration:none;color:var(--ghost-green)}
.ghost-surprise-toggle{background:transparent;border:1px solid #416b46;color:#b1d7b2;font-size:9px;letter-spacing:.09em;padding:8px 11px}
.ghost-surprise-toggle:hover{border-color:var(--ghost-green)}
.ghost-surprise-toggle span{color:var(--ghost-green);font-weight:900}
@keyframes ghost-blink{50%{opacity:0}}
@keyframes ghost-bars{to{height:20%;opacity:.45}}
.ghost-terminal-section{position:relative;padding:clamp(110px,12vw,175px) 0;background:linear-gradient(180deg,#020703,#041106);border-top:1px solid #1e3723}
.ghost-terminal-section:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#62e87807 1px,transparent 1px),linear-gradient(90deg,#62e87807 1px,transparent 1px);background-size:60px 60px}
.ghost-terminal-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(35px,6vw,85px);align-items:center;position:relative}
.ghost-kicker{display:flex;gap:11px;align-items:center;color:var(--ghost-green);font-size:11px;letter-spacing:.15em;font-weight:790;margin:0 0 27px}
.ghost-kicker span{border:1px solid var(--ghost-border-bright);padding:3px 7px}
.ghost-terminal-intro h2,.ghost-log-heading h2{font-size:clamp(42px,5vw,73px);letter-spacing:-.08em;line-height:1.08;margin:0 0 27px;color:#e2ffe0}
.ghost-terminal-intro h2 span{color:var(--ghost-green)}
.ghost-text-glitch{position:relative}
.ghost-text-glitch:after{content:attr(data-text);position:absolute;left:1px;top:0;color:#80ffb0;opacity:.3;animation:ghost-skew 7s ease-in-out infinite;pointer-events:none}
@keyframes ghost-skew{0%,95%,100%{transform:none;opacity:0}96%{transform:translateX(-3px);opacity:.35}98%{transform:translateX(2px);opacity:.5}}
.ghost-terminal-intro>p:not(.ghost-kicker){font-size:15px;color:#97b59a;line-height:1.9;max-width:440px}
.ghost-command-examples{display:flex;flex-wrap:wrap;gap:9px;margin-top:34px;align-items:center}
.ghost-command-examples>span{width:100%;font-size:10px;letter-spacing:.12em;color:#84a288;font-weight:650}
.ghost-command-examples code{color:var(--ghost-green);font-size:11px;background:#102819;border:1px solid #285638;padding:7px 11px}
.ghost-terminal-intro .ghost-intro-note{margin-top:22px;color:#67806c!important;font-size:11px!important}
.ghost-console{border:1px solid var(--ghost-border-bright);background:linear-gradient(145deg,#071a0b,#030c05);box-shadow:0 20px 65px rgba(0,0,0,.48),0 0 70px rgba(62,244,71,.04);min-width:0}
.ghost-console-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;background:#102317;border-bottom:1px solid var(--ghost-border);color:#a3bfa7;font-size:10px;letter-spacing:.04em}
.ghost-console-dots{display:flex;gap:6px}
.ghost-console-dots i{width:8px;height:8px;border-radius:50%;background:#ef9875}
.ghost-console-dots i:nth-child(2){background:#d9c66a}
.ghost-console-dots i:nth-child(3){background:#79db86}
.ghost-console-badge{color:var(--ghost-green);border:1px solid #397244;padding:3px 7px;font-size:9px;letter-spacing:.12em}
.ghost-console-output{height:335px;overflow:auto;padding:26px 22px;color:#a2f99c;font:13px/1.9 var(--ghost-mono);overflow-wrap:anywhere;scrollbar-color:#346d39 #091e0c;scrollbar-width:thin}
.ghost-console-line{margin:0 0 10px}
.ghost-console-dim{color:#6b9472}
.ghost-console-line strong{color:#e5ffd4}
.ghost-console-line.is-command{color:#f1ffe6}
.ghost-console-line.is-error{color:#ffa7a1}
.ghost-console-line.is-success{color:#a8ffd0}
.ghost-console-input{display:flex;gap:11px;align-items:center;padding:17px 18px;border-top:1px solid #234a2d;background:#06130a}
.ghost-prompt{color:var(--ghost-green);font-size:12px;white-space:nowrap}
.ghost-console-input input{flex:1;min-width:0;outline:none;border:0;background:transparent;color:#e1ffda;box-shadow:none;font-size:13px;padding:8px 0}
.ghost-console-input input::placeholder{color:#5c8364}
.ghost-console-input button{border:1px solid var(--ghost-green);background:#123419;color:var(--ghost-green);padding:8px 13px;font-size:21px;line-height:1}
.ghost-console-input button:hover{background:#1c4c25}
.ghost-console-bottom{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid #1b3924;padding:9px 15px;color:#567a5c;font-size:9px;letter-spacing:.05em}
.ghost-log-section{padding:clamp(100px,10vw,165px) 0;background:#020803;border-top:1px solid #1a3020}
.ghost-log-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:48px}
.ghost-log-heading h2{margin:0}
.ghost-log-heading h2 span{color:var(--ghost-green)}
.ghost-log-heading>a{color:var(--ghost-green);font-size:11px;letter-spacing:.08em;text-decoration:none;border-bottom:1px dashed #326f39;padding-bottom:9px;white-space:nowrap}
.ghost-log-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.ghost-post-card{min-width:0;border:1px solid #315338;padding:27px 25px;background:linear-gradient(135deg,#09150b,#040c06);transition:border-color .2s,transform .2s}
.ghost-post-card:hover{border-color:var(--ghost-green);transform:translateY(-3px)}
.ghost-card-top{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#63866a;font-size:10px;letter-spacing:.12em}
.ghost-post-card h2{font-size:clamp(21px,2.5vw,29px);margin:25px 0 17px;letter-spacing:-.05em;line-height:1.28}
.ghost-post-card h2 a{color:#d3ffc8;text-decoration:none}
.ghost-post-card h2 a:hover{color:var(--ghost-green)}
.ghost-post-card p{font-size:13px;color:#8cae93;line-height:1.8;min-height:70px}
.ghost-post-link{display:inline-block;color:var(--ghost-green);font-size:11px;letter-spacing:.04em;text-decoration:none;font-weight:700}
.ghost-log-empty{border:1px dashed #2e5a34;padding:35px;color:#91b597}
.ghost-final-section{padding:clamp(125px,13vw,220px) 0;background:radial-gradient(ellipse at 50% 120%,rgba(27,129,46,.18),transparent 60%),#020703;border-top:1px solid #1e3925;text-align:center}
.ghost-final-section .ghost-kicker{justify-content:center}
.ghost-final-section h2{font-size:clamp(53px,8vw,118px);letter-spacing:-.1em;line-height:.99;margin:0 0 35px}
.ghost-final-section h2 span{color:var(--ghost-green);text-shadow:0 0 55px rgba(80,245,81,.15)}
.ghost-final-section .ghost-container>p:not(.ghost-kicker){color:#9db8a1;font-size:15px;max-width:550px;margin:0 auto 37px}
.ghost-final-actions{justify-content:center}
.ghost-extra-content{border-top:1px solid var(--ghost-border);padding:60px 0 0;margin-top:70px;text-align:left}
.ghost-footer{border-top:1px solid #294a2d;background:#010602;padding:27px 0 22px}
.ghost-footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center;flex-wrap:wrap;color:#7b9e7e;font-size:10px;letter-spacing:.06em}
.ghost-footer-inner>div{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.ghost-footer-glow{color:var(--ghost-green);text-shadow:0 0 12px var(--ghost-green)}
.ghost-footer-muted{color:#486c4e}
.ghost-footer a{color:#a3c3a4;text-decoration:none;font-size:10px}
.ghost-footer a:hover{color:var(--ghost-green)}
.ghost-footer ul{list-style:none;margin:0;padding:0;display:flex;gap:13px}
.ghost-footnote{border-top:1px solid #193120;margin-top:16px;padding-top:13px;font-size:9px;letter-spacing:.03em;color:#638269}
.ghost-surprise[hidden]{display:none!important}
.ghost-surprise{position:fixed;z-index:99999;inset:0;display:grid;place-items:center;padding:22px;background:rgba(0,0,0,.92);backdrop-filter:blur(4px)}
.ghost-surprise-panel{max-width:750px;width:100%;border:2px solid #e3fb8d;outline:1px solid #275b2a;outline-offset:6px;text-align:center;background:linear-gradient(160deg,#0b1609,#050705);padding:clamp(27px,5vw,65px);box-shadow:0 0 95px rgba(194,255,116,.24)}
.ghost-surprise-status{color:#daef90;font-size:11px;letter-spacing:.13em;font-weight:800;margin-bottom:18px}
.ghost-surprise-symbol{font-size:65px;color:#adf88d;line-height:1;text-shadow:0 0 55px rgba(156,255,111,.3)}
.ghost-surprise h2{font-size:clamp(42px,8vw,89px);line-height:1;margin:18px 0;color:#e7ff9c;letter-spacing:-.085em}
.ghost-surprise h2 span{color:var(--ghost-green)}
.ghost-surprise p:not(.ghost-surprise-status){color:#b1caaa;font-size:13px;line-height:1.75}
.ghost-surprise button{border:1px solid #a1f87c;background:#162817;color:#d9ffc5;padding:14px 17px;font-size:12px;font-weight:800;margin-top:16px}
.ghost-surprise button:hover{background:#28442a}
.ghost-surprise-open{overflow:hidden}
@keyframes ghost-surprise-appear{from{opacity:.3;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
.ghost-surprise:not([hidden]) .ghost-surprise-panel{animation:ghost-surprise-appear .19s ease-out both}

/* Functional WordPress fallbacks. */
.ghost-internal{background:radial-gradient(ellipse at 90% 0,rgba(29,122,40,.09),transparent 40%),#020703;padding:clamp(65px,7vw,115px) 0;min-height:64vh}
.ghost-internal-heading{max-width:var(--ghost-read);margin-bottom:45px}
.ghost-internal-heading h1{font-size:clamp(39px,5.5vw,74px);color:#d5ffc7;margin:12px 0 19px}
.ghost-internal-heading>p:not(.ghost-kicker){color:#93b599}
.ghost-prose{max-width:var(--ghost-read);margin-inline:auto;color:#b2cdb6;font-size:15px;line-height:1.95;overflow-wrap:anywhere}
.ghost-prose h2{font-size:clamp(26px,3.3vw,41px);color:#d7ffcb;margin:1.6em 0 .55em}
.ghost-prose h3{font-size:clamp(20px,2.7vw,29px);color:#d7ffcb;margin:1.5em 0 .5em}
.ghost-prose a{color:var(--ghost-green)}
.ghost-prose blockquote{border-left:3px solid var(--ghost-green);background:#0a1a0c;padding:14px 23px;margin:25px 0}
.ghost-prose pre{overflow:auto;max-width:100%;padding:20px;border:1px solid #2a5b31;background:#06140a;color:#beffb7}
.ghost-prose code{overflow-wrap:anywhere}
.ghost-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.ghost-prose th,.ghost-prose td{padding:10px 13px;border:1px solid #31513b}
.ghost-prose .alignwide{width:min(var(--ghost-max),calc(100vw - 62px));max-width:none;position:relative;left:50%;transform:translateX(-50%)}
.ghost-prose .alignfull{width:100vw;max-width:100vw;position:relative;left:50%;transform:translateX(-50%)}
.ghost-article-thumb{max-width:var(--ghost-read);margin:22px auto 40px}
.ghost-article-thumb img{border:1px solid var(--ghost-border);max-width:100%;height:auto}
.ghost-internal .ghost-log-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ghost-pagination{margin-top:40px}
.ghost-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.ghost-pagination .page-numbers{display:inline-block;padding:9px 12px;color:var(--ghost-green);border:1px solid #315138;text-decoration:none}
.ghost-pagination .current{background:#1e4b23;color:#e0ffcd}
.ghost-search-form{display:flex;gap:11px;max-width:650px}
.ghost-search-form input{min-width:0;flex:1;border:1px solid #347341;padding:13px 16px;color:#d9ffd1;background:#06160a}
.ghost-search-form button,.ghost-comment-form input[type=submit]{border:1px solid var(--ghost-green);background:#17391d;color:var(--ghost-bright);font-weight:750;padding:12px 18px}
.ghost-not-found{min-height:65vh;display:flex;flex-direction:column;justify-content:center}
.ghost-not-found h1{font-size:clamp(60px,10vw,120px)}
.ghost-empty{border:1px dashed #39663f;padding:30px;color:#9cbd9e}
.ghost-comments{border-top:1px solid #2d5133;margin:70px auto 0;padding-top:29px;max-width:var(--ghost-read)}
.ghost-comments ol{list-style:none;padding:0}
.ghost-comments li{padding:15px 0;border-bottom:1px solid #27452d}
.ghost-comments textarea,.ghost-comments input:not([type=submit]){color:#e3ffe0;border:1px solid #315f39;background:#061409;max-width:100%;padding:10px}
.ghost-comments textarea{width:100%}

/* Responsive and reduced motion. */
@media(max-width:1000px){
 .ghost-hero-content{grid-template-columns:1fr .85fr;gap:28px}
 .ghost-hero h1{font-size:clamp(44px,6.1vw,70px)}
 .ghost-system-card{transform:none}
 .ghost-terminal-grid{gap:34px}
 .ghost-log-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
 .ghost-desktop-nav,.ghost-header-status{display:none}
 .ghost-mobile-nav{display:block;position:relative;margin-left:auto}
 .ghost-mobile-nav summary{cursor:pointer;list-style:none;color:var(--ghost-green);border:1px solid var(--ghost-border-bright);padding:8px 13px;font-size:12px}
 .ghost-mobile-nav summary::-webkit-details-marker{display:none}
 .ghost-mobile-nav nav{position:absolute;right:0;top:calc(100% + 8px);min-width:225px;z-index:40;border:1px solid var(--ghost-border-bright);background:#071609;padding:18px;display:grid;gap:16px}
 .ghost-mobile-nav nav a{color:var(--ghost-green);text-decoration:none}
 .ghost-mobile-nav nav ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}
 .ghost-hero-content{grid-template-columns:1fr;gap:55px;min-height:0;padding-top:85px}
 .ghost-hero h1{max-width:700px;font-size:clamp(46px,8vw,74px)}
 .ghost-system-card{max-width:620px;width:100%;justify-self:center}
 .ghost-terminal-grid{grid-template-columns:1fr}
 .ghost-terminal-intro{max-width:650px}
 .ghost-terminal-intro h2{font-size:clamp(45px,6vw,70px)}
 .ghost-console{max-width:760px}
 .ghost-hero-bottom{font-size:9px;gap:11px}
}
@media(max-width:560px){
 .ghost-container{width:calc(100% - 34px)}
 .ghost-header-inner{min-height:66px}
 .ghost-brand{font-size:14px}
 .ghost-hero-content{padding-block:80px 112px;gap:40px}
 .ghost-hero h1{font-size:clamp(43px,10vw,64px)}
 .ghost-breadcrumb{font-size:10px}
 .ghost-hero-actions{flex-direction:column;align-items:stretch}
 .ghost-btn{min-height:51px}
 .ghost-metrics{gap:11px;margin-top:34px;font-size:9px}
 .ghost-hero-bottom{flex-wrap:wrap;justify-content:center;bottom:12px}
 .ghost-hero-bottom>span{display:none}
 .ghost-system-lines{padding:22px 15px 10px;min-height:0}
 .ghost-system-lines p{font-size:10px}
 .ghost-terminal-section{padding:90px 0}
 .ghost-terminal-intro h2,.ghost-log-heading h2{font-size:43px}
 .ghost-console-output{height:270px;padding:18px 12px;font-size:11px}
 .ghost-console-input{padding:10px 11px;gap:7px}
 .ghost-prompt{font-size:10px}
 .ghost-console-input input{font-size:12px}
 .ghost-console-bottom{font-size:8px}
 .ghost-log-section{padding:85px 0}
 .ghost-log-heading{align-items:flex-start;flex-direction:column}
 .ghost-log-grid,.ghost-internal .ghost-log-grid{grid-template-columns:1fr}
 .ghost-final-section{padding:115px 0}
 .ghost-final-section h2{font-size:clamp(42px,11vw,67px)}
 .ghost-final-actions{flex-direction:column;align-items:stretch}
 .ghost-footer-inner{align-items:flex-start;flex-direction:column}
 .ghost-internal{padding:55px 0}
 .ghost-internal-heading h1{font-size:43px}
 .ghost-search-form{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation:none!important;transition:none!important}
 .ghost-matrix-canvas{display:none}
 .ghost-text-glitch:after{display:none}
}
