@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto_SemiCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/RobotoSemiCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #ffffff;
  color: #111;
  font-family: 'Roboto', sans-serif;
  line-height: 1.55;
}

.terms-page {
  min-height: 100vh;
}

.terms-header {
  background: #ffffff;
  border-bottom: 1px solid #d9d9d9;
  padding: 18px 0;
}

.terms-header img {
  width: 320px;
  height: auto;
  display: block;
}


.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}


.terms-header .terms-container {
  padding-top: 0;
  padding-bottom: 0;
}


.terms-content {
  max-width: 900px;
  margin: 42px auto;
  padding: 0 16px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: #e50000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:visited,
.back-link:hover,
.back-link:active {
  color: #e50000;
  text-decoration: none;
}

.terms-card {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 32px;
}

h1 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.2;
}

h2 {
  margin: 30px 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

h3 {
  margin: 22px 0 10px;
  font-size: 17px;
}

p {
  margin: 0 0 12px;
  font-size: 14px;
}

ul {
  margin: 0 0 14px 20px;
  padding: 0;
  font-size: 14px;
}

li { margin-bottom: 6px; }

.lead {
  padding: 16px 18px;
  border-left: 4px solid #e50000;
  background: #fff5f5;
  border-radius: 8px;
  margin-bottom: 22px;
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 13px;
}

.terms-table th,
.terms-table td {
  border: 1px solid #d9d9d9;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}

.terms-table th {
  background: #f3f3f3;
  font-weight: 700;
}

@media (max-width: 720px) {
  .terms-content {
    margin: 18px auto;
  }
  .terms-card {
    padding: 20px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 19px;
  }
  .terms-table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
  }
}