button, input, select, textarea {
  font-family: "Proxima Nova", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Proxima Nova", sans-serif;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

.terms-wrapper {
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  padding: 50px;
  border: 1px solid var(--border-color);
}

h1 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.subtitle {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
  font-size: 0.95rem;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

h2 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

p {
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

li {
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer {
  padding-top: 25px;
  font-size: 0.85rem;
  text-align: center;
}

.requisites {
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid #e0e0e0;
}

.requisites p {
  margin-bottom: 10px;
  color: #282828;
  font-size: 0.95rem;
}

.requisites strong {
  color: #282828;
  font-weight: 600;
  min-width: 120px;
  display: inline-block;
}

.requisites h2 {
  color: #282828;
  margin-top: 0;
  margin-bottom: 20px;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 30px 0;
}

@media (max-width: 768px) {
body {
  padding: 10px;
}

.terms-wrapper {
  margin: 20px auto;
  padding: 25px;
}

h1 {
  font-size: 24px;
}

.requisites strong {
  min-width: 100px;
  display: block;
  margin-bottom: 5px;
}
}

.terms-no-top {
  margin-top: 0;
}

:root {
  color-scheme: dark;
}

html,
body {
  color: #f3f2ed !important;
}

.footer {
  background: #1a1b1e !important;
  border-top: 1px solid rgba(243, 242, 237, .10) !important;
  color: #f3f2ed !important;
  padding: 30px 0 !important;
  margin-top: 0 !important;
}

body,
html {
  background: #101112 !important;
  background-image: none !important;
}

body::before,
body::after {
  background-image: none !important;
}

p {
  color: #a9aaad !important;
}

:root {
  --text-primary: #f3f2ed;
  --text-secondary: #a9aaad;
  --border-color: rgba(243, 242, 237, .1);
}

.terms-wrapper,
.requisites {
  background: #1a1b1e;
  color: #f3f2ed;
  border-color: rgba(243,242,237,.1);
}

.terms-wrapper h1,
.terms-wrapper h2,
.terms-wrapper strong {
  color: #f3f2ed;
}

.terms-wrapper p,
.terms-wrapper li {
  color: #a9aaad !important;
}

::selection {
  background: #edca52;
  color: #171714;
}

*,
*::before,
*::after {
  box-shadow: none !important;
}
