:root {
  color-scheme: dark;
  --bg: #0f0d10;
  --ink: #f9f2ea;
  --muted: #c8bdb3;
  --quiet: #8f857f;
  --line: rgba(249, 242, 234, 0.16);
  --pink: #ff79b0;
  --green: #b7f35b;
  --blue: #70d6ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 121, 176, 0.08), transparent 22rem),
    linear-gradient(0deg, rgba(112, 214, 255, 0.06), transparent 18rem),
    var(--bg);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0 38px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(220px, 410px) minmax(0, 1fr);
  align-items: center;
  min-height: 76svh;
  gap: clamp(34px, 7vw, 84px);
}

.logo-frame {
  width: min(100%, 410px);
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(249, 242, 234, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.5;
}

h1 {
  margin: 0;
  color: var(--ink);
  max-width: 100%;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  min-height: 5.7rem;
  max-width: 44rem;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.18;
}

#rotating-line {
  display: inline-block;
  transition: opacity 220ms ease, transform 220ms ease;
}

#rotating-line.is-fading {
  opacity: 0;
  transform: translateY(4px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  max-width: 42rem;
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--green);
  border-color: currentColor;
  outline: none;
}

.quiet-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quiet-lines p {
  min-height: 112px;
  margin: 0;
  padding: 22px clamp(18px, 3vw, 28px);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.quiet-lines p + p {
  border-left: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 560px);
    padding-top: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .logo-frame {
    width: min(72vw, 292px);
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .lead {
    min-height: 6.4rem;
    margin-top: 20px;
  }

  .social-links {
    gap: 6px 18px;
    margin-top: 24px;
  }

  .quiet-lines {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .quiet-lines p {
    min-height: 0;
    padding: 18px 0;
  }

  .quiet-lines p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
