html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #020617;
  color: #dbe4f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #34d399;
  outline-offset: 3px;
  border-radius: 6px;
}

.legal-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 1) 28rem),
    #020617;
}

.legal-wrap {
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #10b981;
  color: #020617;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  display: block;
  color: #f8fafc;
  font-size: clamp(0.98rem, 2.5vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.2;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.legal-nav a {
  text-decoration: none;
}

.legal-nav a:hover {
  color: #34d399;
}

.page-header {
  max-width: 760px;
  padding-bottom: 2rem;
}

.page-label {
  margin: 0 0 0.8rem;
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.03;
}

.lead {
  margin: 1.1rem 0 0;
  color: #a7b3c7;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.effective {
  margin: 0.85rem 0 0;
  color: #94a3b8;
  font-size: 0.95rem;
  font-style: italic;
}

.legal-content {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.legal-section h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.25;
}

.legal-section h3 {
  margin: 1.5rem 0 0.35rem;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.35;
}

.legal-section h3:first-child {
  margin-top: 0;
}

.section-body > *:first-child {
  margin-top: 0;
}

.section-body > *:last-child {
  margin-bottom: 0;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.55rem;
}

strong {
  color: #f8fafc;
}

.section-body a,
.inline-link {
  color: #6ee7b7;
  font-weight: 650;
  text-underline-offset: 0.18rem;
}

.section-body a:hover,
.inline-link:hover {
  color: #a7f3d0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.contact-card {
  display: block;
  min-height: 9rem;
  padding: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  text-decoration: none;
}

.contact-card:hover {
  border-color: rgba(52, 211, 153, 0.6);
}

.contact-card span {
  display: block;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 0.4rem;
  color: #f8fafc;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin-top: 0.55rem;
  color: #a7b3c7;
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 2.25rem;
  color: #64748b;
  font-size: 0.82rem;
}

.site-footer a {
  color: #94a3b8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #34d399;
}

@media (max-width: 720px) {
  .legal-wrap {
    width: min(100% - 1.25rem, 920px);
    padding-top: 1rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 3rem;
  }

  .legal-nav {
    justify-content: flex-start;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.55rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
