:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { min-width: 280px; min-height: 100%; background: #090a0b; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 78% 48%, #111315 0%, #090a0b 54%, #08090a 100%);
  color: #eeeae0;
  font-family: Arial, Helvetica, sans-serif;
}
.shell { min-height: 100vh; min-height: 100dvh; padding: clamp(20px, 3.5vw, 54px); display: flex; flex-direction: column; }
.top, .bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #777b79; font: clamp(9px, .8vw, 12px) Consolas, "Liberation Mono", monospace; letter-spacing: .13em; }
.top { padding-bottom: 22px; border-bottom: 1px solid #303234; }
.bottom { padding-top: 22px; border-top: 1px solid #303234; }
.main { width: 100%; max-width: 1640px; margin: auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .85fr); align-items: center; gap: clamp(32px, 5vw, 95px); padding: clamp(66px, 9vh, 130px) 0; }
.hero { min-width: 0; }
.eyebrow { margin: 0; color: #bc4e4d; font: clamp(9px, .78vw, 12px)/1.6 Consolas, "Liberation Mono", monospace; letter-spacing: .22em; }
h1 { font-size: clamp(77px, 10.2vw, 176px); line-height: .81; margin: 23px 0 40px; letter-spacing: -.085em; font-weight: 900; white-space: nowrap; }
.slash { color: #a13938; font-size: .8em; font-weight: 300; vertical-align: 8%; }
.period { color: #ab3b39; }
.rule { width: min(100%, 720px); height: 7px; background: repeating-linear-gradient(115deg, #b54240 0 14px, #090a0b 14px 24px); margin-bottom: 26px; }
.hero-bottom { width: min(100%, 720px); display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 11px Consolas, "Liberation Mono", monospace; letter-spacing: .13em; color: #a6a8a4; }
.status { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #365947; background: #102017; padding: 9px 14px; color: #a1c9ac; font: 11px Consolas, "Liberation Mono", monospace; letter-spacing: .17em; }
.status-dot { width: 6px; height: 6px; background: #74cf92; border-radius: 50%; box-shadow: 0 0 12px #74cf9266; }
.terminal { width: 100%; max-width: 490px; justify-self: end; border: 1px solid #353638; background: #0c0e0f; box-shadow: 0 24px 55px #00000045; position: relative; }
.terminal:before { content: ""; position: absolute; top: -1px; left: -1px; width: 90px; height: 2px; background: #b54240; }
.terminal-top { min-height: 46px; padding: 10px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #2b2c2e; color: #b2b4b0; font: 10px Consolas, "Liberation Mono", monospace; letter-spacing: .11em; }
.terminal-top h2 { font: inherit; margin: 0; }
.term-icon { flex: 0 0 7px; height: 7px; width: 7px; background: #a73f40; transform: rotate(45deg); }
.terminal-mode { margin-left: auto; color: #da928c; font-weight: 700; white-space: nowrap; }
.terminal-body { padding: clamp(22px, 3vw, 32px) clamp(16px, 3vw, 28px) 26px; font: 12px/1.6 Consolas, "Liberation Mono", monospace; letter-spacing: .025em; }
.command { margin: 0; color: #d6d6cd; }.prompt { color: #cc5550; padding-right: 9px; }
.system-note { margin: 3px 0 24px; color: #757b7c; font-size: 10px; }
.input-area { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
.input-area label { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .14em; color: #a4a8a5; margin-top: 10px; }
.label-rule { flex: 1; height: 1px; background: #24282a; }
.input-area input { display: block; width: 100%; height: 43px; border: 1px solid #414448; border-radius: 0; background: #101315; color: #e9e8df; outline: none; padding: 0 12px; font: 13px Consolas, "Liberation Mono", monospace; box-shadow: inset 0 1px 4px #0005; letter-spacing: .035em; }
.input-area input::placeholder { color: #969da0; opacity: 1; }
.input-area input:focus-visible { border-color: #b4514b; outline: 1px solid #b4514b; outline-offset: 1px; }
.access-button { margin-top: 26px; width: 100%; height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #8d4140; border-radius: 0; background: #351919; color: #f3dbd8; font: 11px Consolas,"Liberation Mono",monospace; letter-spacing: .15em; text-align: left; cursor: pointer; }
.access-button:hover { background: #512020; border-color: #cb5450; }
.access-button:focus-visible { outline: 2px solid #e5a6a4; outline-offset: 3px; }
.button-caret { color: #f1847b; }
.button-arrow { margin-left: auto; font-size: 16px; color: #d58a82; }
.terminal-divider { height: 1px; background: #2f3132; margin: 27px 0 20px; }
.response { display: flex; align-items: start; flex-direction: column; gap: 8px; min-height: 54px; }
.response-label { font-size: 9px; letter-spacing: .18em; color: #9ca2a4; }
.response-line { font-size: 13px; letter-spacing: .11em; color: #9fa5a5; }
.response-line.failed { color: #ff9288; font-weight: 700; letter-spacing: .055em; }
.response-line.denied { color: #e36b65; font-weight: 700; text-shadow: 0 0 12px #a534342e; animation: denial .22s ease-out; }
.terminal-footer { min-height: 38px; border-top: 1px solid #2b2c2e; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 18px; color: #9ca2a4; font: 11px Consolas, "Liberation Mono", monospace; letter-spacing: .09em; }
.terminal-led { flex: 0 0 5px; height: 5px; background: #a03e40; border-radius: 50%; }
/* Single soft security pulse, not a full-page flash or strobing effect. */
.terminal.security-pulse {
  animation: terminalWarning .95s ease-out 1;
}
.terminal.security-pulse .terminal-led {
  animation: warningLed .95s ease-out 1;
}
.terminal.security-pulse .terminal-top {
  animation: warningBar .95s ease-out 1;
}
@keyframes terminalWarning {
  0%, 100% { border-color: #353638; box-shadow: 0 24px 55px #00000045; }
  48% { border-color: #b64440; box-shadow: 0 24px 55px #00000045, 0 0 26px #9d29292d; }
}
@keyframes warningLed {
  0%, 100% { background: #a03e40; box-shadow: none; }
  48% { background: #fa6258; box-shadow: 0 0 10px #fa625888; }
}
@keyframes warningBar {
  0%, 100% { background-color: #0c0e0f; }
  48% { background-color: #261111; }
}
@keyframes denial { from { opacity: .3; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1080px) { .main { grid-template-columns: minmax(0,1fr); gap: 50px; padding: 75px 0; } .terminal { justify-self: start; max-width: 540px; } h1 { font-size: clamp(82px, 15vw, 170px); } }
@media (max-width: 520px) { .top, .bottom { font-size: 9px; letter-spacing: .06em; } .top span:last-child, .bottom span:last-child { display: none; } .main { padding: 65px 0; gap: 46px; } h1 { font-size: clamp(62px, 16.5vw, 95px); margin: 20px 0 32px; } .hero-bottom { font-size: 9px; } .terminal-top { padding: 9px 12px; font-size: 9px; gap: 9px; } .terminal-body { padding: 20px 14px 24px; } .terminal-footer { padding: 8px 12px; font-size: 11px; letter-spacing: .03em; } .system-note { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
