@font-face {
  font-family: 'CJIT Mono';
  src: url('/fonts/ibm-plex-mono-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body.terminal-theme {
  --mono: 'CJIT Mono', 'Cascadia Code', Consolas, monospace;
  --bg: #0b1110;
  --surface: #121c18;
  --surface-raised: #1c2821;
  --mint: #a2efc0;
  --line: #2c4135;
  background: var(--bg);
}

.terminal-theme h1,
.terminal-theme h2,
.terminal-theme h3,
.terminal-theme h4 {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: -.065em;
}

.terminal-theme h2 { font-size: clamp(30px, 3vw, 43px); line-height: 1.23; }
.terminal-theme .hero h1 { font-size: clamp(38px, 5.2vw, 75px); line-height: 1.17; white-space: nowrap; }
.hero-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font: 11px/1.8 var(--mono); color: #d8e2db; margin: 0 0 21px; }
.hero-prompt>span:first-child { color: var(--mint); }
.shell-directory { color: #b4a2ed; }
.hero-prompt .terminal-cursor { color: var(--mint); margin-left: -5px; animation: cursor-blink 1.1s steps(1) infinite; }
.terminal-theme .hero-description { max-width: 430px; }
.terminal-theme .desktop-nav,
.terminal-theme .button,
.terminal-theme .text-link,
.terminal-theme .hero-location { font-family: var(--mono); }
.terminal-theme .desktop-nav { font-size: 10px; gap: 27px; }
.terminal-theme .button { border-radius: 4px; font-weight: 400; }
.terminal-theme .hero-actions .button { font-size: 12px; gap: 18px; }
.terminal-theme .hero-actions .text-link { font-size: 10px; }
.terminal-theme .site-header { background: #0b1110f5; }

.terminal-theme .network-explorer { border-radius: 7px; background: #101a14; box-shadow: 0 20px 75px #0003; }
.terminal-theme .explorer-top { background: #1a271f; color: #c0d1c4; height: 43px; }
.terminal-theme .explorer-top>span:first-child>.status-dot { display: none; }
.window-controls { display: inline-flex; align-items: center; gap: 5px; margin-right: 5px; }
.window-controls i { width: 6px; height: 6px; display: block; border-radius: 50%; background: #cf8477; }
.window-controls i:nth-child(2) { background: #ceba7c; }
.window-controls i:nth-child(3) { background: #86b691; }
.terminal-theme .network-stage { height: 350px; background-size: 19px 19px; }
.terminal-theme .network-core { top: 47%; border-radius: 10px; width: 100px; height: 100px; }
.terminal-theme .network-core strong { font-family: var(--mono); font-size: 22px; font-weight: 400; }
.terminal-theme .network-core>span { font-size: 4px; }
.terminal-theme .node-support,
.terminal-theme .node-network { top: 22%; }
.terminal-theme .node-managed,
.terminal-theme .node-code { top: 66%; }
.terminal-theme .node-support,
.terminal-theme .node-managed { left: 21.5%; }
.terminal-theme .node-network,
.terminal-theme .node-code { left: 78.5%; }
.terminal-theme .network-node { border-radius: 5px; min-height: 77px; min-width: 114px; }
.terminal-theme .network-node strong { font-family: var(--mono); font-weight: 400; font-size: 10px; }
.terminal-theme .node-fivem { left: 50%; top: 89%; min-height: 40px; min-width: 157px; padding: 10px 20px 10px 12px; flex-direction: row; gap: 10px; }
.terminal-theme .node-fivem .node-icon svg { width: 19px; height: 19px; }
.terminal-theme .explorer-detail { min-height: 141px; }
.terminal-theme .explorer-detail h2 { font-size: 17px; line-height: 1.4; }
.terminal-theme .explorer-detail p { font-size: 11px; }
.terminal-theme .explorer-detail .micro-label { color: #acbdaf; }
.terminal-navigation { border-top: 1px solid var(--line); background: #0b140e; padding: 11px 17px; }
.terminal-command { display: flex; align-items: center; gap: 10px; font-family: var(--mono); }
.terminal-command label { color: #b4a2ed; font-size: 10px; white-space: nowrap; }
.terminal-command label span { color: var(--mint); }
.terminal-command input { background: transparent; color: #ecf0e9; border: 0; width: 100%; padding: 5px 3px; font-size: 10px; line-height: 1.8; }
.terminal-command input::placeholder { color: #98aa9c; }
.terminal-command button { color: var(--mint); padding: 3px 8px; font-size: 18px; }
#terminal-output { font: 10px/1.8 var(--mono); color: #bfd7c3; margin-top: 8px; overflow-wrap: anywhere; }
.terminal-theme .explorer-hint { font-family: var(--mono); font-size: 8px; }
.terminal-theme .motion-toggle { font-family: var(--mono); }
.terminal-theme .service-ribbon { background: #131f17; }

.terminal-theme .service-card { border-radius: 5px; }
.terminal-theme .service-card h3 { font-size: 18px; white-space: normal; min-height: 44px; line-height: 1.35; }
.terminal-theme .service-card summary { font-family: var(--mono); font-size: 10px; }
.terminal-theme .service-tags span { font-family: var(--mono); font-size: 7px; border: 1px solid #3d544143; border-radius: 3px; }
.terminal-theme .service-card .text-link { font-size: 10px; }
.terminal-theme .service-card>p { min-height: 109px; }
.fivem-service { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 47px; padding: 30px; min-height: 0; align-items: start; }
.fivem-service-copy { min-width: 0; }
.fivem-service .card-meta { margin-bottom: 22px; }
.terminal-theme .fivem-service h3 { font-size: 29px; min-height: 0; margin-bottom: 17px; }
.fivem-service-copy>p { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 460px; }
.fivem-service .service-tags { margin-block: 21px; }
.fivem-service .service-tags span { font-size: 9px; }
.fivem-service details { margin: 0; border-color: #3e5541; }
.fivem-service summary { padding-inline: 0; }
.fivem-service .service-expanded { padding-inline: 0; padding-bottom: 5px; }
.code-preview { min-width: 0; border: 1px solid #3b5442; background: #0a140e; border-radius: 5px; overflow: hidden; }
.code-titlebar { display: flex; align-items: center; gap: 11px; font: 10px var(--mono); color: #c2cec3; background: #1b2b20; min-height: 41px; padding: 10px 17px; }
.code-titlebar>span:last-child { margin-left: auto; font-size: 7px; color: #a4b3a5; }
.code-preview pre { font: 12px/1.9 var(--mono); padding: 25px; margin: 0; color: #e0e8db; overflow-x: auto; tab-size: 2; }
.code-preview code { font: inherit; }
.code-comment { color: #94a796; }
.code-keyword { color: #c1a5ed; }
.code-string { color: #c6d991; }
.code-function { color: #8fc9d7; }
.code-next { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; font: 10px/1.5 var(--mono); color: var(--mint); }
.code-next:hover { background: #a2efc00c; }
.terminal-theme .finder-section,
.terminal-theme .ecosystem-panel,
.terminal-theme .ecosystem-selector button,
.terminal-theme .inquiry-form { border-radius: 5px; }
.terminal-theme .finder-intro h2 { font-size: 40px; }
.terminal-theme .choice-group label>span { font-family: var(--mono); font-size: 10px; }
.terminal-theme .audience-choices { grid-template-columns: repeat(3, 1fr); }
.fivem-goal { grid-column: 1 / -1; }
.terminal-theme .finder-result h3 { font-size: 18px; line-height: 1.35; }
.terminal-theme .ecosystem-copy h3 { font-size: 26px; }
.terminal-theme .approach-steps h3 { font-size: 18px; }
.terminal-theme .faq-list summary { font-family: var(--mono); font-size: 11px; }
.terminal-theme .contact-copy h2 { font-size: 45px; }
.terminal-theme .form-heading h3 { font-size: 20px; }
.terminal-theme .quick-nav-heading h2 { font-size: 23px; }
.terminal-theme .quick-nav-dialog input,
.terminal-theme .quick-links a,
.terminal-theme .inquiry-form label { font-family: var(--mono); }
.terminal-theme .quick-links a { font-size: 11px; }
.terminal-theme .back-top,
.terminal-theme .footer-bottom { font-family: var(--mono); }
@keyframes cursor-blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }

@media (max-width: 1200px) {
  .terminal-theme .network-node { min-width: 100px; }
  .terminal-theme .node-fivem { min-width: 157px; }
  .fivem-service { gap: 30px; }
  .terminal-theme .service-card h3 { font-size: 17px; min-height: 46px; }
  .terminal-theme .fivem-service h3 { font-size: 27px; min-height: 0; }
  .terminal-theme .hero-actions { gap: 19px; }
  .terminal-theme .hero-actions .button { font-size: 11px; gap: 13px; }
  .terminal-theme .contact-copy h2 { font-size: 38px; }
  .terminal-theme .service-card summary { font-size: 9px; }
}

@media (max-width: 960px) {
  .terminal-theme .network-node { min-width: 87px; }
  .terminal-theme .network-node strong { font-size: 8px; }
  .terminal-theme .network-core { width: 85px; height: 85px; }
  .terminal-theme .node-fivem { min-width: 141px; }
  .terminal-theme .service-card h3 { font-size: 19px; }
  .terminal-theme .service-card>p { min-height: 85px; }
  .terminal-theme .service-card summary { font-size: 11px; }
  .terminal-theme .finder-intro h2 { font-size: 33px; }
  .terminal-theme .audience-choices { grid-template-columns: 1fr; }
  .fivem-service { grid-template-columns: 1fr 1fr; padding: 25px; }
  .terminal-theme .fivem-service h3 { font-size: 25px; }
  .code-preview pre { padding: 20px; font-size: 10px; }
}

@media (max-width: 760px) {
  .terminal-theme .hero h1 { font-size: clamp(32px, 9.3vw, 62px); }
  .hero-prompt { font-size: 10px; margin-bottom: 19px; }
  .terminal-theme .hero-actions { gap: 17px; }
  .terminal-theme .hero-actions .text-link { font-size: 9px; }
  .terminal-theme .hero-actions .button { font-size: 10px; }
  .terminal-theme .hero-location { font-size: 8px; }
  .terminal-theme h2 { font-size: 31px; }
  .terminal-theme .network-stage { height: 350px; }
  .terminal-theme .network-core { width: 96px; height: 96px; }
  .terminal-theme .network-node { min-width: 104px; min-height: 77px; padding: 10px 8px; }
  .terminal-theme .network-node strong { font-size: 9px; }
  .terminal-theme .node-fivem { min-width: 152px; min-height: 40px; padding: 10px 20px 10px 12px; }
  .terminal-theme .explorer-detail h2 { font-size: 17px; }
  .terminal-theme .explorer-top { padding-inline: 14px; font-size: 8px; }
  .terminal-theme .explorer-top .mono { font-size: 6px; }
  .terminal-theme .service-card h3 { font-size: 17px; }
  .terminal-theme .service-card>p { min-height: 128px; }
  .terminal-theme .service-card summary { font-size: 9px; }
  .terminal-theme .service-card .text-link { font-size: 9px; }
  .fivem-service { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .terminal-theme .fivem-service h3 { font-size: 27px; }
  .fivem-service-copy>p { font-size: 13px; }
  .terminal-theme .fivem-service summary { font-size: 11px; }
  .terminal-theme .fivem-service .service-tags span { font-size: 8px; }
  .code-preview pre { font-size: 11px; padding: 20px; }
  .terminal-theme .audience-choices { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .terminal-theme .audience-choices label>span { font-size: 8px; padding: 10px 6px; }
  .terminal-theme .finder-intro h2 { font-size: 31px; }
  .terminal-theme .finder-result h3 { font-size: 18px; }
  .terminal-theme .ecosystem-copy h3 { font-size: 23px; }
  .terminal-theme .contact-copy h2 { font-size: 34px; }
  .terminal-theme .contact-arrow { width: 40px; height: 40px; bottom: 4px; right: 0; }
  .terminal-theme .faq-list summary { font-size: 11px; }
  .terminal-theme .footer-bottom { font-size: 7px; }
}

@media (max-width: 420px) {
  .terminal-theme .hero-actions { gap: 13px; }
  .terminal-theme .hero-actions .button { gap: 10px; padding-inline: 13px; }
  .terminal-theme .hero-actions .text-link { font-size: 8px; }
  .terminal-theme .network-node { min-width: 94px; }
  .terminal-theme .network-core { width: 86px; height: 86px; }
  .terminal-theme .node-fivem { min-width: 145px; }
  .terminal-theme .service-card h3 { font-size: 21px; min-height: 0; }
  .terminal-theme .service-card>p { min-height: 0; }
  .terminal-theme .service-card summary { font-size: 11px; }
  .terminal-theme .fivem-service h3 { font-size: 23px; }
  .code-preview pre { font-size: 9px; padding: 16px; }
  .code-titlebar { font-size: 8px; padding-inline: 12px; gap: 8px; }
  .code-next { font-size: 9px; padding-inline: 14px; }
  .terminal-theme .contact-copy h2 { font-size: 31px; }
  .terminal-command label { font-size: 9px; }
  .terminal-command input { font-size: 9px; }
  .terminal-theme .explorer-hint { font-size: 7px; }
  .terminal-theme .motion-toggle { font-size: 7px; }
}
