:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #f4f4f5;
  background: #0c0d10;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #0c0d10; }
button, a { color: inherit; font: inherit; }
[hidden] { display: none !important; }

.legalHeader {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #292b31;
  padding: max(14px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left));
  background: rgba(12, 13, 16, 0.94);
  backdrop-filter: blur(20px);
}

.legalHeader > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #34363d;
  border-radius: 50%;
  text-decoration: none;
  font-size: 27px;
}

.legalHeader > div { display: grid; gap: 3px; }
.legalHeader span { color: #85878e; font-size: 11px; }
.legalHeader strong { font-size: 15px; }

main { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 80px; }
.legalNotice { border: 1px solid #6d583b; border-radius: 7px; margin-bottom: 18px; padding: 13px 15px; color: #e1bd85; background: #1b1813; font-size: 12px; }
.legalTabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid #292b31; margin-bottom: 36px; padding-bottom: 10px; scrollbar-width: none; }
.legalTabs::-webkit-scrollbar { display: none; }
.legalTabs button { flex: 0 0 auto; min-height: 38px; border: 1px solid transparent; border-radius: 7px; padding: 0 13px; color: #8f9198; background: transparent; font-size: 12px; font-weight: 700; }
.legalTabs button.is-active { border-color: #34363d; color: #f4f4f5; background: #18191e; }
.legalArticle { color: #b4b6bc; font-size: 14px; line-height: 1.7; }
.legalArticle .eyebrow { margin: 0 0 7px; color: #7f8189; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.legalArticle h1 { margin: 0 0 30px; color: #f4f4f5; font-size: clamp(28px, 5vw, 42px); line-height: 1.1; letter-spacing: 0; }
.legalArticle h2 { margin: 32px 0 8px; color: #eeeef0; font-size: 17px; letter-spacing: 0; }
.legalArticle p { margin: 0 0 14px; }
.legalArticle a { color: #f4f4f5; }
.identityList { border-block: 1px solid #292b31; margin: 0; }
.identityList > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; border-bottom: 1px solid #24262c; padding: 14px 0; }
.identityList > div:last-child { border-bottom: 0; }
.identityList dt { color: #7f8189; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.identityList dd { margin: 0; color: #dedee0; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  main { width: min(100% - 28px, 820px); padding-top: 26px; }
  .legalTabs { margin-bottom: 28px; }
  .identityList > div { grid-template-columns: 1fr; gap: 3px; }
}
