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

:root {
  --bg: #000000;
  --surface: #111111;
  --surface-elevated: #171717;
  --border: #242424;
  --border-soft: #1b1b1b;
  --text: #f5f5f7;
  --text-muted: #9a9a9f;
  --text-dim: #6e6e73;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
main { flex: 1; display: flex; flex-direction: column; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem clamp(1.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-soft);
}

.home-nav {
  justify-content: flex-end;
  padding: 1.35rem clamp(1.5rem, 5vw, 4.5rem);
  border-bottom: 0;
}

.logo-link { display: flex; }
.logo-link img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.5rem; font-size: 0.82rem; color: var(--text-muted); }

.hero {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 3.5rem;
  gap: 2.15rem;
}

.hero img.logo { width: min(500px, 86vw); height: auto; }
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 3.65rem);
  font-weight: 600;
  max-width: 760px;
  line-height: 1.08;
}
.hero h1 span { display: block; }
.hero p {
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  color: var(--text-muted);
  max-width: 610px;
  line-height: 1.45;
}

.home-panel {
  width: min(980px, calc(100% - 3rem));
  margin: 0 auto 5.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.focus-item {
  min-height: 136px;
  padding: 1.7rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  border-right: 1px solid var(--border-soft);
}

.focus-item:last-child { border-right: 0; }
.focus-item span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}
.focus-item strong {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.42;
  font-weight: 400;
}

.page-wrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 5.4rem 2rem 7rem;
}

.contact-wrap { max-width: 620px; padding-top: 5.7rem; }
.page-wrap h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.subtitle, .effective { color: var(--text-muted); }
.subtitle { font-size: 1.05rem; margin-bottom: 3.1rem; line-height: 1.45; }
.effective { font-size: 0.86rem; margin-bottom: 3.3rem; color: var(--text-dim); }

.page-wrap h2 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 1.4rem 0 0.8rem;
}
.page-wrap p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1rem; line-height: 1.5; }
.page-wrap p:has(+ ul) { margin-bottom: 0.25rem; }
.page-wrap ul { margin: 0 0 1rem 1.5rem; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.page-wrap li { margin-bottom: 0.4rem; }
.page-wrap a, .strong-text { color: var(--text); }
.address-block { margin-top: 0.35rem; }
.address-block p {
  color: var(--text);
  margin: 0;
  line-height: 1.42;
}
.address-block p + p { margin-top: 0.12rem; }

.contact-grid { display: grid; gap: 1.15rem; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 1.7rem 1.9rem;
}
.contact-card h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.8rem;
}
.contact-card p { color: var(--text); font-size: 1rem; margin-bottom: 0.18rem; line-height: 1.5; }
.contact-card .muted-text { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.75rem; max-width: 34rem; }

footer {
  text-align: center;
  padding: 1.7rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

body:not(.home) footer { border-top: 1px solid var(--border-soft); }
footer .legal { display: flex; justify-content: center; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
footer .legal a { color: var(--text-dim); }

@media (max-width: 600px) {
  .site-nav { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
  .hero { min-height: 68vh; padding: 3.7rem 1.5rem 2.7rem; }
  .home-panel { grid-template-columns: 1fr; margin-bottom: 4rem; }
  .focus-item { min-height: 112px; padding: 1.35rem 1.4rem; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .focus-item:last-child { border-bottom: 0; }
  .page-wrap { padding: 4.2rem 1.5rem 5.5rem; }
  .contact-card { padding: 1.45rem 1.5rem; }
}
