@font-face {
      font-family: 'Alte Haas Grotesk';
      src: url('../fonts/AlteHaasGroteskRegular.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Alte Haas Grotesk';
      src: url('../fonts/AlteHaasGroteskBold.ttf') format('truetype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

    :root {
      --font-main: 'Alte Haas Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --side-margin: clamp(3rem, 16vw, 19rem);
      --color-white: #ffffff;
      --color-black: #000000;
      --color-gray-border: #e4e4e7;
      --color-gray-text: #404040;
      --color-gray-muted: #71717a;
      --navbar-height: 80px;
    }

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

    html {
      scroll-behavior: smooth;
      background-color: var(--color-white);
      color: var(--color-black);
      font-family: var(--font-main);
    }

    body {
      font-family: var(--font-main);
      background-color: var(--color-white);
      color: var(--color-black);
      line-height: 1.6;
      width: 100%;
      -webkit-font-smoothing: antialiased;
      overflow-x: clip;
    }

    .container {
      width: 100%;
      padding-left: var(--side-margin);
      padding-right: var(--side-margin);
    }

    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--navbar-height);
      z-index: 1000;
      background-color: var(--color-white);
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .navbar-inner {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-left: var(--side-margin);
      padding-right: var(--side-margin);
    }

    .nav-logo-link {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }

    .nav-logo-img {
      height: 28px;
      width: auto;
      filter: invert(0);
      display: block;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: clamp(1.2rem, 2.5vw, 2.5rem);
    }

    .nav-link {
      color: var(--color-black);
      text-decoration: none;
      font-size: 1rem;
      font-weight: 400;
      transition: opacity 0.2s ease;
    }

    .nav-link:hover {
      opacity: 0.65;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: var(--color-black);
      color: var(--color-white);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 700;
      padding: 0.65rem 1.4rem;
      border-radius: 6px;
      border: 1px solid var(--color-black);
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    .nav-cta:hover {
      background-color: var(--color-white);
      color: var(--color-black);
      border-color: var(--color-black);
    }

    .legal-content-wrap {
      padding-top: calc(var(--navbar-height) + clamp(3rem, 6vh, 5rem));
      padding-bottom: clamp(5rem, 9vh, 8rem);
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--color-gray-muted);
      text-decoration: none;
      font-size: 0.95rem;
      margin-bottom: 2rem;
      transition: color 0.2s ease;
    }

    .back-link:hover {
      color: var(--color-black);
    }

    .legal-title {
      font-size: clamp(2.4rem, 4.5vw, 3.8rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 0.8rem;
    }

    .legal-meta {
      font-size: 0.95rem;
      color: var(--color-gray-muted);
      margin-bottom: clamp(3rem, 5vh, 4rem);
      border-bottom: 1px solid var(--color-gray-border);
      padding-bottom: 1.5rem;
    }

    .legal-section {
      margin-bottom: clamp(2.5rem, 4vh, 3.5rem);
    }

    .legal-section-title {
      font-size: 1.45rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--color-black);
    }

    .legal-paragraph {
      font-size: 1.05rem;
      color: var(--color-gray-text);
      line-height: 1.7;
      margin-bottom: 1rem;
    }

    .legal-list {
      margin-left: 1.5rem;
      margin-bottom: 1.2rem;
      color: var(--color-gray-text);
      font-size: 1.05rem;
      line-height: 1.7;
    }

    .legal-list li {
      margin-bottom: 0.5rem;
    }

    .site-footer {
      position: relative;
      background-color: var(--color-white);
      color: var(--color-black);
      padding-top: clamp(3rem, 6vh, 4.5rem);
      padding-bottom: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-top: 1px solid var(--color-gray-border);
    }

    .footer-content-wrap {
      display: flex;
      flex-direction: column;
      gap: clamp(2rem, 4vh, 3.5rem);
      margin-bottom: clamp(3rem, 6vh, 5rem);
    }

    .footer-contact-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: clamp(2rem, 5vw, 4.5rem);
      flex-wrap: wrap;
    }

    .footer-contact-item {
      font-size: clamp(1.4rem, 2.4vw, 2.2rem);
      font-weight: 700;
      color: var(--color-black);
      text-decoration: none;
      letter-spacing: -0.01em;
      transition: opacity 0.2s ease;
    }

    .footer-contact-item:hover {
      opacity: 0.6;
    }

    .footer-links-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: clamp(1.5rem, 3vw, 3rem);
      flex-wrap: wrap;
    }

    .footer-link {
      color: var(--color-black);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 400;
      transition: opacity 0.2s ease;
    }

    .footer-link:hover {
      opacity: 0.6;
    }

    .footer-link.active {
      font-weight: 700;
    }

    .footer-wordmark-wrap {
      width: 100%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      line-height: 0;
      margin-bottom: -2.5vw;
      cursor: pointer;
    }

    .footer-wordmark-img {
      width: 100vw;
      max-width: none;
      height: auto;
      display: block;
      opacity: 0.5;
      user-select: none;
      transition: opacity 0.35s ease;
    }

    .footer-wordmark-wrap:hover .footer-wordmark-img {
      opacity: 0.82;
    }

    @media (max-width: 768px) {
      :root {
        --navbar-height: 70px;
        --side-margin: 1.5rem;
      }
      .nav-right {
        gap: 1rem;
      }
      .nav-link {
        font-size: 0.9rem;
      }
      .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
      }
    }
