@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --red: #e8382a;
  --red-dark: #c22a1e;
  --black: #161311;
  --white: #ffffff;
  --cream: #fff6f3;
  --gray: #6b6b6b;
  --line: #f0e2dd;
  --radius: 18px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--black);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 19px;
}

.legal-page {
  background: var(--cream);
  padding: 48px 0 80px;
  min-height: 60vh;
}

.legal-back {
  display: inline-flex;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 28px;
}

.legal-back:hover {
  color: var(--red);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 18px 50px -30px rgba(22, 19, 17, 0.12);
}

.legal-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 10px;
  line-height: 1.1;
}

.legal-meta {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 24px);
  margin: 36px 0 14px;
}

.legal-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 10px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 18px 22px;
}

.legal-content li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content li::marker {
  color: var(--red);
}

.legal-address {
  font-style: normal;
  margin: 16px 0 20px;
  padding: 18px 20px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.legal-inline-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-callout {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  font-size: 15px;
  line-height: 1.65;
}

.deletion-steps {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  counter-reset: deletion-step;
}

.deletion-steps li {
  counter-increment: deletion-step;
  position: relative;
  margin: 0 0 14px;
  padding: 14px 16px 14px 52px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.deletion-steps li::before {
  content: counter(deletion-step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  background: var(--white);
  color: var(--black);
  padding: 60px 0 30px;
  border-top: 3px solid var(--red);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
  max-width: 260px;
  margin-top: 14px;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b4aba6;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--black);
  opacity: 0.75;
  font-size: 14.5px;
  margin-bottom: 12px;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--red);
}

.footer-hint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray);
  max-width: 240px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  color: var(--gray);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
