@font-face {
  font-family: "Aeonik";
  src: url("../kitemi/assets/fonts/aeonik-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("../kitemi/assets/fonts/aeonik-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color: #101114;
  background: #f7f5f0;
  font-family: "Aeonik", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #1d3fb5;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-header {
  border-bottom: 1px solid rgb(16 17 20 / 12%);
  padding: 24px clamp(24px, 6vw, 96px);
}

.legal-header__inner,
.legal-layout {
  margin: 0 auto;
  max-width: 1180px;
}

.legal-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.legal-logo img {
  display: block;
  height: auto;
  width: 170px;
}

.legal-header__link {
  color: #101114;
  font-size: 15px;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: 220px minmax(0, 760px);
  padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 96px) 96px;
}

.legal-navigation {
  align-self: start;
  border-left: 1px solid rgb(16 17 20 / 16%);
  display: grid;
  gap: 12px;
  padding-left: 18px;
  position: sticky;
  top: 24px;
}

.legal-navigation__title {
  color: #65676e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.legal-navigation a {
  color: #101114;
  font-size: 14px;
  text-decoration: none;
}

.legal-navigation a[aria-current="page"] {
  color: #1d3fb5;
  font-weight: 700;
}

.legal-document {
  min-width: 0;
}

.legal-eyebrow {
  color: #1d3fb5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
  margin: 0;
}

.legal-updated {
  color: #65676e;
  font-size: 16px;
  margin: 24px 0 56px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.04;
  margin: 52px 0 18px;
}

h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 34px 0 14px;
}

p,
li,
td,
th {
  font-size: 17px;
  line-height: 1.62;
}

p {
  margin: 0 0 18px;
}

ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

li + li {
  margin-top: 7px;
}

.legal-contact {
  border-left: 3px solid #1d3fb5;
  margin: 24px 0;
  padding: 4px 0 4px 20px;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-note {
  background: #e6eaf8;
  border-radius: 14px;
  margin: 28px 0;
  padding: 24px;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  margin: 24px 0 32px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 560px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgb(16 17 20 / 14%);
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 14px;
  font-weight: 700;
}

.legal-footer {
  border-top: 1px solid rgb(16 17 20 / 12%);
  color: #65676e;
  display: flex;
  font-size: 14px;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(24px, 6vw, 96px);
}

.legal-footer a {
  color: inherit;
}

@media (max-width: 760px) {
  .legal-header__inner,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-layout {
    display: block;
  }

  .legal-navigation {
    margin-bottom: 44px;
    position: static;
  }

  p,
  li,
  td,
  th {
    font-size: 16px;
  }
}
