@font-face {
  font-family: "Inter";
  src: url("/local-assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f8f8;
  --surface: #ffffff;
  --text: #08090a;
  --muted: #68707d;
  --soft: #8a929e;
  --line: #e3e5e8;
  --button: #171717;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

.allown-legal-page,
.allown-content-page {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.top {
  position: sticky;
  z-index: 2;
  top: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.2vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 27px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
}

.nav a {
  text-decoration: none;
}

.nav a:not(.button):hover {
  color: var(--text);
}

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #fff;
  background: var(--button);
  border-radius: 999px;
  font-weight: 650;
}

.legal-main {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 540;
}

h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0 0 40px;
  color: #59616d;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  font-weight: 440;
}

article {
  padding: clamp(26px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.045);
}

section + section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
  color: #303743;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 22px;
  color: #303743;
}

li + li {
  margin-top: 8px;
}

.mark-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.mark-card img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.assets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.asset-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #171717;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 640;
  text-decoration: none;
}

.asset-link:hover {
  border-color: #cfd3d8;
}

.note {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

footer {
  width: min(920px, calc(100% - 48px));
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  text-decoration: none;
}

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

@media (max-width: 700px) {
  .top {
    height: 72px;
    padding: 0 20px;
  }

  .brand span {
    display: none;
  }

  .nav {
    gap: 14px;
    font-size: 14px;
  }

  .legal-main {
    width: min(100% - 32px, 920px);
    padding: 48px 0 64px;
  }

  article {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .mark-card {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    width: min(100% - 32px, 920px);
  }
}
