:root {
  --bg: #ffffff;
  --bg-subtle: #f7f8f9;
  --text-main: #181a1b;
  --text-muted: #525860;
  --accent: #1f2933;
  --border: #e2e5e9;
  --max-width: 980px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-list a:hover {
  color: var(--text-main);
}

/* Hero */
.hero {
  padding: 88px 0 80px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 820px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 36px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 3px;
  transition: opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.88;
}

/* Sections */
.section {
  padding: 72px 0;
}

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

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 3px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Profile */
.profile-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.profile-layout p {
  margin: 0 0 18px;
  color: var(--text-main);
}

.facts-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 24px 28px;
  border-radius: 3px;
}

.facts-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.facts-box li {
  margin-bottom: 10px;
}

/* Contact */
.contact-mail a {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.meta-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Legal Pages */
.legal-content {
  padding: 64px 0 80px;
  max-width: 740px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0;
  }
}