:root {
  color: #e8f5ee;
  background: #0b0d10;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(38, 166, 117, 0.18), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 190, 92, 0.14), transparent 28%),
    #0b0d10;
}

.shell {
  width: min(820px, 100%);
  border: 1px solid rgba(232, 245, 238, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 16, 18, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.titlebar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(232, 245, 238, 0.12);
  background: #1b1f23;
}

.titlebar p {
  margin: 0;
  color: #aeb8b3;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lights {
  display: flex;
  gap: 8px;
}

.lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.terminal {
  padding: clamp(22px, 5vw, 42px);
}

.prompt,
.meta,
.label {
  margin: 0;
}

.prompt {
  color: #a7f3c4;
  font-size: 14px;
}

.prompt span {
  color: #58d68d;
}

h1 {
  margin: 18px 0 8px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.meta {
  color: #aeb8b3;
  font-size: 15px;
  line-height: 1.6;
}

.group {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.label {
  color: #ffd166;
  font-size: 13px;
  text-transform: uppercase;
}

a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(232, 245, 238, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

a:hover,
a:focus-visible {
  border-color: rgba(88, 214, 141, 0.64);
  background: rgba(88, 214, 141, 0.1);
  outline: none;
}

a span,
a small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a span {
  color: #f4fff9;
  font-size: 16px;
}

a small {
  color: #8ea098;
  font-size: 12px;
}

@media (max-width: 640px) {
  body {
    padding: 14px;
  }

  .titlebar {
    grid-template-columns: 64px 1fr 20px;
    padding: 0 12px;
  }

  a {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
