:root {
  color: #18222d;
  background: #f3f6f8;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: #18222d;
  background: #f3f6f8;
}

a { color: #075fa9; }

.legal-header {
  background: #ffffff;
  border-bottom: 1px solid #d8e0e6;
}

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

.legal-header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #17212a;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.legal-back {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  margin-block: 54px;
  padding: clamp(28px, 5vw, 56px);
  background: #ffffff;
  border-top: 5px solid #075fa9;
  box-shadow: 0 18px 50px rgba(15, 34, 50, 0.08);
}

.legal-main h1,
.legal-main h2 {
  color: #111a24;
  line-height: 1.15;
}

.legal-main h1 {
  margin: 0 0 34px;
  font-size: clamp(38px, 6vw, 58px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.legal-main h2 {
  margin: 38px 0 12px;
  font-size: 22px;
}

.legal-main p,
.legal-main li {
  color: #44515d;
  font-size: 16px;
  line-height: 1.7;
}

.legal-main address {
  color: #26333f;
  font-style: normal;
  line-height: 1.7;
}

.legal-main ul { padding-left: 22px; }
.legal-note { padding: 18px 20px; background: #edf5fb; border-left: 4px solid #075fa9; }

.legal-footer {
  background: #111a24;
  color: #c6d0d9;
}

.legal-footer-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.legal-footer nav { display: flex; gap: 20px; }
.legal-footer a { color: #ffffff; }

@media (max-width: 620px) {
  .legal-header-inner,
  .legal-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
  .legal-brand { font-size: 18px; }
  .legal-brand img { width: 48px; height: 48px; }
}
