/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0f0f0f;
  --surface: #171717;
  --border:  #2a2a2a;
  --text:    #f0f0f0;
  --muted:   #b0b0b0;
  --accent:  #a0a8ff;
  --mono:    'Courier New', 'Lucida Console', monospace;
  --sans:    system-ui, -apple-system, sans-serif;
  --max-w:   820px;
  --nav-h:   56px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

address { font-style: normal; }

/* ── Nav ────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.logo:hover { color: var(--text); }

.logo-name {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3rem 0;
  scroll-margin-top: var(--nav-h);
  border-top: 1px solid var(--border);
}


section h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: flex-start;
  padding: 3rem 0 5rem;
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--sans);
  transition: border-color 0.15s, color 0.15s;
}
.btn:hover {
  border-color: var(--text);
  color: var(--text);
}


/* ── Services ───────────────────────────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.service-item h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  padding-top: 0.1rem;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Contact ────────────────────────────────────────────────────── */
.contact-intro {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.contact-email {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
}

.contact-note {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

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

footer p {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--sans);
}

footer a {
  font-size: 0.8rem;
  color: var(--muted);
}
footer a:hover { color: var(--text); }

/* ── Legal Page ─────────────────────────────────────────────────── */
.legal-main { padding: 3rem 0 5rem; }

.legal-container h1 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.legal-container h2 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 2rem 0 0.4rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
}

.legal-container h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 1.25rem 0 0.3rem;
  color: var(--text);
}

.legal-container p,
.legal-container address,
.legal-container li {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.legal-container ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}
.legal-container ul li { margin-bottom: 0.2rem; }

.legal-container section { padding: 2.5rem 0; }

.legal-container code {
  font-family: var(--sans);
  font-size: 0.8em;
  color: var(--text);
}

.legal-note {
  font-size: 0.8rem !important;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: var(--sans);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero { padding: 4rem 1.5rem 3rem; min-height: auto; }

  footer .container { flex-direction: column; align-items: flex-start; }
}
