﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Rubik:wght@700&display=swap");

@font-face {
  font-family: "Tenor Sans";
  src: url("./assets/TenorSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  font-family: "Manrope", Arial, sans-serif;
  color: #141517;
  background: #f4f4f2;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

.legal-header,
.legal-footer,
.legal-page {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 13px;
  font-weight: 800;
}

.legal-brand {
  padding: 12px 16px;
  border: 1px solid #141517;
  border-radius: 8px;
}

.legal-page {
  padding: 90px;
  border: 1px solid #dfdfdc;
  border-radius: 28px;
  background: #fff;
}

.legal-label {
  margin: 0 0 17px;
  color: #f4242b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal-date {
  margin: 24px 0 55px;
  color: #77797d;
  font-size: 13px;
}

.legal-warning {
  margin-bottom: 50px;
  padding: 22px 24px;
  color: #7c171b;
  border: 1px solid rgba(244, 36, 43, 0.24);
  border-radius: 15px;
  background: rgba(244, 36, 43, 0.075);
  font-family: "Rubik", "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

section {
  padding: 36px 0;
  border-top: 1px solid #e4e4e1;
}

h2 {
  margin: 0 0 18px;
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
}

section p {
  margin: 0;
  color: #4e5054;
  font-size: 15px;
  line-height: 1.8;
}

mark {
  padding: 2px 4px;
  color: #8d141a;
  background: #ffe6e7;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eee;
}

.legal-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #6f7174;
  font-size: 12px;
}

@media (max-width: 700px) {
  .legal-header,
  .legal-footer,
  .legal-page {
    width: calc(100% - 24px);
  }

  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .legal-page {
    padding: 50px 22px;
    border-radius: 20px;
  }

  .legal-date {
    margin-bottom: 38px;
  }
}
