*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-surface: #141414;
  --bg-elevated: #1a1a1a;
  --text: #c8c8c8;
  --text-muted: #666;
  --text-bright: #e8e8e8;
  --accent: #00ff41;
  --accent-dim: #00cc33;
  --border: #2a2a2a;
  --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-bright);
}

/* Layout */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

main {
  flex: 1;
  padding: 3rem 0;
}

/* Header */

header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.logo a {
  color: inherit;
}

nav a {
  color: var(--text-muted);
  margin-left: 1.5rem;
  font-size: 0.85rem;
}

nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--text-bright);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.prompt {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.prompt .cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

.hero p {
  font-size: 0.95rem;
  color: var(--text);
  max-width: 600px;
}

/* Services */

.services {
  padding: 2rem 0;
}

.services h2 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.service-list li {
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
  color: var(--text-bright);
  transition: border-color 0.2s, background 0.2s;
}

.service-list li:hover {
  background: var(--bg-elevated);
  border-left-color: var(--text-bright);
}

.service-list .label {
  color: var(--accent-dim);
  margin-right: 0.5rem;
}

/* Contact */

.contact {
  padding: 2rem 0;
  margin-top: 1rem;
}

.contact h2 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.contact-info {
  font-size: 0.9rem;
}

.contact-info p {
  margin-bottom: 0.4rem;
}

.contact-info .label {
  color: var(--text-muted);
}

/* Legal pages */

.legal {
  padding: 2rem 0;
}

.legal h1 {
  font-size: 1.6rem;
  color: var(--text-bright);
  margin-bottom: 2rem;
  font-weight: 700;
}

.legal h2 {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.legal h3 {
  font-size: 0.95rem;
  color: var(--text-bright);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.legal p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.legal ul {
  margin: 0.5rem 0 1rem 1.5rem;
  font-size: 0.9rem;
}

.legal li {
  margin-bottom: 0.3rem;
}

.legal address {
  font-style: normal;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: auto;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer nav a {
  margin-left: 1rem;
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  footer .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  footer nav a {
    margin: 0 0.5rem;
  }
}
