:root {
  color-scheme: dark;
  color: #b8ff8f;
  background: #020903;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.6;
  font-size: 17px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background-color: #020903;
  color: #b8ff8f;
  text-shadow: 0 0 2px rgba(56, 255, 118, 0.2);
}

section[id] {
  scroll-margin-top: 7rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 100% 24px;
  pointer-events: none;
  opacity: 0.35;
}

img {
  max-width: 100%;
}

a {
  color: #a8ff8f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #001b0d;
  color: #ffffff;
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(144, 255, 144, 0.2);
  padding: 1.5rem 0;
  background: rgba(0, 10, 0, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #8fff88;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 3rem);
}

.lead {
  margin: 0;
  max-width: 40rem;
  color: #d8ffd5;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-toggle {
  display: none;
}

.site-nav a {
  font-weight: 700;
  padding: 0.2rem 0.35rem;
  border-bottom: 1px solid transparent;
}

.nav-toggle__icon span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: #a8ff8f;
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.hero-copy h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.hero-copy p {
  max-width: 42rem;
  color: #d6ffd6;
}

.button, .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button {
  background: #00ff72;
  color: #001b0d;
  border: 1px solid rgba(0, 255, 114, 0.45);
  box-shadow: 0 0 18px rgba(0, 255, 114, 0.35);
}

.link-button {
  background: rgba(0, 10, 0, 0.85);
  color: #b8ff8f;
  border: 1px solid rgba(144, 255, 144, 0.22);
}

.button:hover, .link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 255, 114, 0.28);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  background: rgba(0, 12, 0, 0.9);
  border: 1px solid rgba(144, 255, 144, 0.16);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.panel-card span {
  display: block;
  color: #8cff86;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.panel-card strong {
  display: block;
  font-size: 1rem;
  color: #efffe3;
}

.section {
  padding: 4rem 0;
}

.guide-card {
  background: rgba(0, 14, 0, 0.94);
  border: 1px solid rgba(144, 255, 144, 0.16);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.entry-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.entry-card {
  background: rgba(0, 10, 0, 0.9);
  border: 1px solid rgba(144, 255, 144, 0.16);
  border-radius: 20px;
  padding: 1.4rem;
}

.entry-card--accent {
  background: rgba(0, 18, 0, 0.94);
  border-color: rgba(0, 255, 114, 0.24);
}

.entry-label {
  margin: 0 0 0.45rem;
  color: #8fff88;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.entry-card h3 {
  margin: 0 0 0.65rem;
  color: #f0ffe7;
}

.entry-card p {
  color: #d8ffd7;
}

.helper-list {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
  color: #d8ffd7;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: flex-start;
}

.section--dark {
  background: rgba(0, 12, 0, 0.92);
}

.section--cta {
  padding: 3rem 0 4rem;
}

.section-header h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}

.cards-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-card, .artifact-card, .cta-card {
  background: rgba(0, 14, 0, 0.94);
  border: 1px solid rgba(144, 255, 144, 0.12);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.feature-card h3, .artifact-card h3 {
  margin-top: 0;
  color: #d8ffd7;
}

.feature-card p,
.artifact-card p {
  margin: 0.75rem 0 0;
  color: #c8ffd0;
}

.skills-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.skills-grid > div {
  background: rgba(0, 16, 0, 0.95);
  border: 1px solid rgba(144, 255, 144, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
}

.skills-grid h3 {
  margin-top: 0;
  color: #e0ffdc;
}

.skills-grid ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.skills-grid li {
  margin-bottom: 0.7rem;
}

.cta-card {
  text-align: center;
  border: 1px solid rgba(0, 255, 114, 0.18);
}

.cta-card h2 {
  margin-top: 0;
}

.cta-card p {
  max-width: 44rem;
  margin: 1rem auto;
  color: #c8ffd0;
}

.site-footer {
  padding: 1.5rem 0 3rem;
  color: #8cff86;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-inner {
    align-items: flex-end;
  }
}

@media (max-width: 900px) {
  .header-inner {
    display: block;
  }

  .site-header h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
    line-height: 1.02;
  }

  .lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 0.5rem;
  }

  .site-nav {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }
}

@media (max-width: 700px) {
  :root {
    font-size: 16px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 1rem, 1120px);
  }

  .site-header {
    padding: 0.7rem 0 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(144, 255, 144, 0.2);
    border-radius: 12px;
    background: rgba(0, 14, 0, 0.9);
    color: #b8ff8f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
    width: 1.3rem;
  }

  .nav-toggle__icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(144, 255, 144, 0.16);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    display: grid;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    text-align: center;
    border: 1px solid rgba(144, 255, 144, 0.12);
    border-radius: 10px;
    background: rgba(0, 10, 0, 0.75);
  }

  .site-header h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
  }

  .lead {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-top: 0.35rem;
  }

  .hero,
  .section,
  .guide-card,
  .entry-card,
  .feature-card,
  .artifact-card,
  .skills-grid > div,
  .cta-card {
    scroll-margin-top: 5rem;
  }

  .hero {
    padding-top: 1.5rem;
    gap: 1.25rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .guide-card,
  .entry-card,
  .feature-card,
  .artifact-card,
  .skills-grid > div,
  .cta-card {
    padding: 1.1rem;
  }

  .entry-grid,
  .cards-grid,
  .skills-grid {
    gap: 0.9rem;
    margin-top: 1rem;
  }

  .guide-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .button,
  .link-button {
    width: 100%;
    min-height: 48px;
  }

  .helper-list {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
}

@media (max-width: 420px) {
  .site-nav {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
  }

  .hero-copy h2 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .entry-card h3,
  .feature-card h3,
  .artifact-card h3 {
    line-height: 1.3;
  }

  .section {
    padding: 2.1rem 0;
  }

  a,
  p,
  li {
    overflow-wrap: anywhere;
  }
}
