@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #f7f7f5;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #111111;
  --muted: #6e6e6e;
  --line: rgba(17, 17, 17, 0.12);
  --soft-line: rgba(17, 17, 17, 0.07);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(255, 255, 255, 0.95),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 35%,
      rgba(230, 230, 230, 0.55),
      transparent 32%
    ),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

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

.site-header {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--soft-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: #666;
  font-size: 14px;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: #111;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 15px;
  height: 1px;
  background: #111;
  left: 13px;
  transition: transform 0.25s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.menu-toggle.active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.legal-page {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.legal-hero {
  padding: 120px 0 100px;
  max-width: 820px;
}

.eyebrow,
.sidebar-label,
.section-number,
.footer-column p {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
}

.eyebrow {
  color: #777;
  margin-bottom: 22px;
}

.legal-hero h1 {
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 500;
  margin-bottom: 35px;
}

.hero-description {
  max-width: 690px;
  color: #626262;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.updated {
  margin-top: 30px;
  font-family: "DM Mono", monospace;
  color: #888;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 100px;
  padding-bottom: 150px;
}

.legal-sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
}

.sidebar-label {
  color: #888;
  margin-bottom: 18px;
}

.legal-sidebar nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.legal-sidebar a {
  padding: 8px 0 8px 18px;
  color: #888;
  font-size: 13px;
  transition: all 0.2s ease;
}

.legal-sidebar a:hover {
  color: #111;
}

.legal-sidebar a.active {
  color: #111;
  border-left: 1px solid #111;
  margin-left: -1px;
}

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

.legal-content section:last-child {
  border-bottom: none;
}

.section-number {
  display: block;
  color: #999;
  margin-bottom: 18px;
}

.legal-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 24px;
}

.legal-content p {
  color: #606060;
  font-size: 16px;
  margin-bottom: 18px;
}

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

.legal-content a:not(.contact-link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content ul {
  margin: 22px 0 0 20px;
  color: #606060;
}

.legal-content li {
  padding-left: 7px;
  margin-bottom: 10px;
}

.legal-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.legal-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none !important;
}

.legal-links a:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-links span {
  font-size: 16px;
  color: #111;
}

.legal-links small {
  color: #888;
  font-size: 12px;
  text-align: right;
}

.contact-link {
  display: inline-block;
  margin-top: 15px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
}

.site-footer {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 80px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: #777;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 22px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column p {
  color: #999;
  margin-bottom: 10px;
}

.footer-column a {
  color: #666;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #111;
}

.footer-bottom {
  border-top: 1px solid var(--soft-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #999;
  font-size: 11px;
  font-family: "DM Mono", monospace;
}

.footer-bottom a:hover {
  color: #111;
}

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 88px 0 auto 0;
    background: rgba(247, 247, 245, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 30px 24px;
    z-index: 50;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu a {
    font-size: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--soft-line);
  }

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

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    gap: 4px 20px;
  }

  .legal-sidebar a {
    padding: 5px 0;
  }

  .legal-sidebar a.active {
    border-left: none;
    border-bottom: 1px solid #111;
    margin-left: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {

  .site-header,
  .legal-page,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    height: 76px;
  }

  .mobile-menu {
    inset: 76px 0 auto 0;
  }

  .legal-hero {
    padding: 80px 0 70px;
  }

  .legal-hero h1 {
    font-size: 54px;
  }

  .legal-layout {
    padding-bottom: 90px;
  }

  .legal-content section {
    padding-bottom: 52px;
    margin-bottom: 52px;
  }

  .legal-content h2 {
    font-size: 31px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }

  .legal-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-links small {
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-bottom: 55px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}