:root {
  --bg: #0B0C0E;
  --bg-elevated: #131418;
  --text: #F2F1ED;
  --text-muted: #93969D;
  --accent: #C7A97B;
  --accent-soft: rgba(199, 169, 123, 0.12);
  --border: rgba(255, 255, 255, 0.09);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, rgba(199, 169, 123, 0.10) 0%, rgba(199, 169, 123, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 9vh 1.5rem 6rem;
}

.hero {
  text-align: center;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text-muted);
  margin: 0 0 3rem;
  font-weight: 400;
}

.terminal {
  text-align: left;
  max-width: 34rem;
  margin: 0 auto 3rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.terminal-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.terminal-body {
  padding: 1.25rem 1.4rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.75;
}

.terminal-body p {
  margin: 0;
  white-space: pre;
}

.prompt { color: var(--accent); margin-right: 0.5em; }

.output { color: var(--text-muted); }

.output.indent { padding-left: 1.6em; }

.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1.1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.description {
  max-width: 30rem;
  margin: 0 auto 2.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 2.2rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cta:hover, .cta:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cta svg { width: 17px; height: 17px; fill: currentColor; }

.directions {
  margin-top: 7rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.directions h2 {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 2.4rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.direction {
  padding: 0 1.6rem;
}

.direction + .direction {
  border-left: 1px solid var(--border);
}

.direction h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.direction p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0.3rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  main { padding: 7vh 1.25rem 4rem; }
  .directions { margin-top: 4.5rem; }
  .direction-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .direction + .direction {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
  }
  .direction { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .cursor, .status-dot { animation: none; }
}
