* {
  box-sizing: border-box;
}

:root {
  --green: #00ff66;
  --green-dim: #00bb55;
  --green-soft: #86ffb0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at center, rgba(0, 255, 102, 0.08), transparent 45%),
    #000;
  color: var(--green);
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.45);
}

a {
  color: var(--green-soft);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  background: var(--green-dim);
  text-shadow: none;
}

.terminal {
  position: relative;
  width: min(1120px, calc(100% - 28px));
  margin: 24px auto;
  padding: 22px;
  border: 2px solid var(--green);
  background: rgba(0, 0, 0, 0.92);
  box-shadow:
    0 0 18px rgba(0, 255, 102, 0.45),
    inset 0 0 35px rgba(0, 255, 102, 0.10);
  overflow: hidden;
}

.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.035),
    rgba(255,255,255,0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.45;
}

.terminal-header {
  text-align: center;
  border-bottom: 1px dashed var(--green-dim);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.ascii-logo {
  white-space: pre;
  overflow-x: auto;
  margin: 0 auto 18px;
  font-size: clamp(8px, 1.45vw, 15px);
  line-height: 1.05;
  color: var(--green);
}

.system-title {
  font-weight: bold;
  letter-spacing: 2px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-transform: uppercase;
}

.status {
  color: var(--green-soft);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 14px 0 20px;
  border-bottom: 1px dashed var(--green-dim);
  margin-bottom: 24px;
}

.menu a,
.terminal-button {
  border: 1px solid var(--green);
  padding: 7px 12px;
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  box-shadow: inset 0 0 8px rgba(0,255,102,0.13);
}

.menu a:hover,
.terminal-button:hover {
  background: var(--green);
  color: #000;
  text-shadow: none;
}

.screen-section {
  border: 1px solid rgba(0, 255, 102, 0.45);
  background: rgba(0, 30, 0, 0.25);
  margin: 24px 0;
  padding: 20px;
}

h1, h2, h3 {
  font-weight: normal;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

h2 {
  border-bottom: 1px solid var(--green-dim);
  padding-bottom: 8px;
}

.course-card {
  border-left: 3px solid var(--green-dim);
  padding: 8px 0 12px 16px;
  margin: 18px 0;
}

hr {
  border: 0;
  border-top: 1px dashed var(--green-dim);
  margin: 20px 0;
}

ul {
  padding-left: 24px;
}

li {
  margin-bottom: 7px;
}

footer {
  text-align: center;
  margin-top: 35px;
  color: var(--green-soft);
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .terminal {
    width: calc(100% - 12px);
    margin: 6px auto;
    padding: 12px;
  }

  .screen-section {
    padding: 14px;
  }

  .menu {
    justify-content: flex-start;
  }
}

/* Cromwell Confidential */
.confidential-panel {
  border: 2px double var(--green);
  background:
    linear-gradient(180deg, rgba(0, 255, 102, 0.08), rgba(0, 0, 0, 0.12)),
    rgba(0, 18, 0, 0.55);
}

.confidential-kicker,
.dispatch-label {
  color: #000;
  background: var(--green);
  display: inline-block;
  padding: 3px 8px;
  text-shadow: none;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.confidential-deck {
  color: var(--green-soft);
  font-style: italic;
}

.confidential-card {
  border: 1px solid rgba(0, 255, 102, 0.65);
  padding: 16px;
  margin: 18px 0;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: inset 0 0 18px rgba(0, 255, 102, 0.08);
}

.confidential-card h3 {
  margin-top: 6px;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 2.05rem);
  color: #ffffff;
}

.latest-dispatch {
  border-color: #ffffff;
}

.dispatch-meta {
  color: var(--green-soft);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--green-dim);
  padding-bottom: 8px;
}

.confidential-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
