:root {
  --navy: #06101d;
  --navy-2: #0b1726;
  --blue: #3d8bff;
  --steel: #d7dee8;
  --ink: #101827;
  --muted: #566477;
  --line: #d8e0ea;
  --soft: #f4f7fb;
  --white: #ffffff;
  --radius: 8px;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 32px auto;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.legal-nav a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(8, 21, 38, 0.12);
}

.legal-hero {
  padding: 34px;
  background: linear-gradient(135deg, rgba(61, 139, 255, 0.17), transparent 45%), var(--navy);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: #9ec5ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.legal-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--steel);
  line-height: 1.6;
}

.legal-body {
  padding: 28px 34px 36px;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.fact,
.section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.fact {
  padding: 14px 16px;
}

.fact strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fact span {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.fact a,
.section a {
  color: var(--blue);
  font-weight: 700;
}

.section {
  padding: 20px;
  margin-top: 14px;
}

.legal-clauses {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-part {
  background: var(--navy);
  color: var(--white);
}

.legal-part h2 { margin: 0; color: var(--white); }

.legal-subtitle {
  margin: 12px 0 18px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.section p,
.section li {
  color: var(--muted);
  line-height: 1.62;
}

.section p { margin: 0 0 10px; }
.section ul { margin: 0; padding-left: 20px; }

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: #eef5ff;
  color: #344154;
  line-height: 1.55;
}

.legal-footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .legal-shell { width: min(100% - 20px, 980px); margin: 16px auto; }
  .legal-nav,
  .company-facts { grid-template-columns: 1fr; display: grid; }
  h1 { font-size: 28px; }
  .legal-hero,
  .legal-body { padding: 24px 20px; }
}
