/* ---------- design tokens ---------- */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #7b1f8e;
  --accent-soft: #e8d2e5;
  --max-w: 1200px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.4;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

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

/* ---------- header / brand ---------- */
.site-header {
  display: flex;
  justify-content: center;
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  transition: opacity 200ms ease;
  line-height: 0;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.7;
}

.brand-logo {
  height: clamp(28px, 3.4vw, 38px);
  width: auto;
  display: block;
}

/* ---------- hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding-block: clamp(2rem, 6vw, 4rem);
  max-width: var(--max-w);
  margin-inline: auto;
}

.tagline {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.125rem, 2.2vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 1100px;
  padding-inline: 1rem;
}

.tagline-accent {
  color: var(--accent);
}

.tagline-rest {
  color: var(--ink);
}

/* ---------- socials ---------- */
.socials {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.social:hover,
.social:focus-visible {
  color: var(--accent);
  background: rgba(123, 31, 142, 0.06);
  transform: translateY(-1px);
}

.social:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.social-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: var(--accent-soft);
}

/* ---------- footer ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  color: var(--ink);
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.footer-copy {
  margin: 0;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 480px) {
  .tagline {
    max-width: 18ch;
  }
  .social {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
