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

:root {
  --bg: #f5f3ef;
  --bg2: #eceae4;
  --bg-dark: #0f0f12;
  --accent: #1a7a63;
  --accent-light: #4af0c4;
  --text: #111110;
  --text-muted: #5a5a54;
  --text-light-muted: #b8b8b0;
  --border: rgba(0, 0, 0, 0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Outfit', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 243, 239, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; color: var(--accent); }
.nav-logo svg { height: 36px; width: auto; }

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #f5f3ef;
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-overlay.is-open { display: flex; }

.nav-overlay a {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

.page-hero {
  padding: 14rem 4rem 6rem;
  background: var(--bg-dark);
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-light);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-light-muted);
  max-width: 55ch;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .page-hero { padding: 10rem 1.5rem 4rem; }
}

.legal-section {
  padding: 6rem 4rem;
  max-width: 860px;
}

.legal-article {
  margin-bottom: 3.5rem;
}

.legal-article-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.legal-article h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.legal-article p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-article p:last-child { margin-bottom: 0; }

.legal-article ul {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-article ul li { margin-bottom: 0.35rem; }

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4rem;
}

@media (max-width: 640px) {
  .legal-section { padding: 4rem 1.5rem; }
}

.footer { background: #0f0f12; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding: 5rem 4rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo { color: var(--accent); display: block; margin-bottom: 1rem; }
.footer-logo svg { height: 115px; width: auto; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-col a { font-size: 1rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-light); }

.footer-col-text { font-size: 0.9rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

.footer-loc { font-size: 0.9rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 0.4rem; }

.footer-bottom {
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-repair { display: flex; align-items: flex-start; gap: 1rem; }
.footer-repair-text { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-repair-logo { flex-shrink: 0; }
.repair-cafe-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; display: block; opacity: 0.85; transition: opacity 0.2s; }
.footer-repair-logo:hover .repair-cafe-logo { opacity: 1; }

.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; }
.footer-legal-links { display: flex; gap: 2rem; }
.footer-legal-links a { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 1.5rem 3rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
