@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0b0b0c;
  --surface-strong: #111113;
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.065);
  --text: #f5f5f5;
  --muted: #a1a1a6;
  --quiet: #737378;
  --page: 1180px;
  --radius: 16px;
  --font-sans: "Space Grotesk", Arial, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.065), transparent 26rem),
    var(--bg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--page));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.brand-dot {
  color: var(--quiet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.nav-links .contact-link {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-strong);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  inset-block: 0;
  width: 1px;
  content: "";
  background: var(--line-soft);
}

.hero::before {
  left: max(20px, calc((100vw - var(--page)) / 2));
}

.hero::after {
  right: max(20px, calc((100vw - var(--page)) / 2));
}

.hero-inner {
  width: min(calc(100% - 48px), 820px);
  padding: 100px 0 120px;
  text-align: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d0d0d3;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(3.15rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  margin-top: 13px;
  color: #b8b8bd;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 600px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-strong);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: #171719;
}

.button-secondary {
  color: var(--muted);
  background: transparent;
}

.service-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service {
  min-height: 110px;
  padding: 24px 30px;
  border-left: 1px solid var(--line);
}

.service:last-child {
  border-right: 1px solid var(--line);
}

.service strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

.service p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.6;
}

.legal-main {
  padding: 86px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 720px);
  justify-content: center;
  gap: clamp(40px, 7vw, 90px);
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 32px;
}

.legal-aside p {
  margin: 0 0 10px;
  color: var(--quiet);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-aside a {
  display: block;
  width: fit-content;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-aside a:hover {
  color: var(--text);
}

.document-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

.document-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.legal-content p {
  margin: 0 0 14px;
}

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

.legal-content ul,
.legal-content ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--text);
  text-underline-offset: 4px;
}

.notice {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.notice p {
  margin: 0;
}

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

.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--quiet);
  font-size: 0.82rem;
}

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

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

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

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--page));
  }

  .nav {
    min-height: 72px;
  }

  .nav-links a:not(.contact-link) {
    display: none;
  }

  .nav-links .contact-link {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero::before {
    left: 14px;
  }

  .hero::after {
    right: 14px;
  }

  .hero-inner {
    width: min(calc(100% - 42px), 680px);
    padding: 84px 0 100px;
  }

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

  .hero-copy {
    margin-top: 24px;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-strip {
    padding: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service,
  .service:last-child {
    min-height: auto;
    padding: 24px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .service:last-child {
    border-bottom: 0;
  }

  .legal-main {
    padding: 60px 0 80px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-aside {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .document-header h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .footer-inner {
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
