/* Tokens do design system notasx (tema escuro) */
:root {
  --bg: #0E110D;
  --surface: #181C16;
  --ink: #EEF0E8;
  --ink-muted: #9C9E94;
  --line: #2A2F27;
  --x: #D4FF3A;
  --sans: "Rubik", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/24px var(--sans);
}

a { color: var(--x); }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--x); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px;
}

.logo { display: block; height: 32px; width: auto; }

.main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.intro { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }

h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 48px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.intro p { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }

.terminal {
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 400 15px/24px var(--mono);
  white-space: pre;
  overflow-x: auto;
}

.muted { color: var(--ink-muted); }
.x { color: var(--x); }

.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--x);
  animation: pisca 1s steps(1) infinite;
}

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

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

.button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--x);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
}

.button:hover { color: var(--bg); background: #E2FF7A; }

.footer { font-size: 13px; line-height: 20px; color: var(--ink-muted); }

@media (max-width: 480px) {
  .terminal { font-size: 13px; line-height: 21px; padding: 16px; }
}
