@font-face {
  font-family: "Lemon";
  src: url("/fonts/Lemon-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #f6f2f7;
  --muted: rgba(246, 242, 247, 0.72);
  --font-display: "Lemon", "Trebuchet MS", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.legal-page {
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background: #07070c;
  color: var(--ink);
}

body.legal-page a {
  color: inherit;
  text-decoration: none;
}

.toolbar {
  flex: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: calc(0.55rem + env(safe-area-inset-top, 0px)) 1rem 0.55rem;
  background: rgba(7, 7, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.toolbar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(36px, 7vw, 48px);
  max-width: min(220px, 56vw);
}

.toolbar__logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1.06);
  display: block;
}

.legal-main {
  flex: 1 1 auto;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 2.5rem;
}

.legal-main .eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 247, 0.5);
}

.legal-main h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.legal-main .lede,
.legal-main p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

.legal-main h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.legal-main ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.legal-main li {
  margin-bottom: 0.45rem;
}

.legal-main a {
  color: #9fd8cf;
  text-underline-offset: 2px;
}

.legal-main a:hover {
  color: #d7f2ec;
}

.legal-main code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card p {
  margin: 0 0 0.65rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card strong {
  color: #fff;
  font-weight: 600;
}
