:root {
  --bg: #f7f7f2;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-border: rgba(12, 74, 110, 0.14);
  --text: #132029;
  --muted: #4a5a64;
  --accent: #0c4a6e;
  --accent-soft: #0f766e;
  --shadow: 0 24px 50px rgba(10, 28, 40, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 22%, rgba(15, 118, 110, 0.18), transparent 40%),
    radial-gradient(circle at 88% 8%, rgba(12, 74, 110, 0.16), transparent 34%),
    linear-gradient(145deg, #f8fafc 0%, var(--bg) 48%, #f3efe6 100%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.background-shape {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(6px);
  z-index: 0;
  opacity: 0;
  animation: shapeIn 900ms ease-out forwards;
}

.background-shape--left {
  top: -9rem;
  left: -8rem;
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.22), rgba(15, 118, 110, 0.1));
}

.background-shape--right {
  right: -8rem;
  bottom: -10rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.22), rgba(12, 74, 110, 0.09));
  animation-delay: 200ms;
}

.page {
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
  display: grid;
  gap: 2.25rem;
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1.4rem;
  padding: 1.45rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: cardRise 700ms ease-out both;
}

.logo {
  width: clamp(100px, 15vw, 132px);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 30px rgba(8, 29, 40, 0.2);
}

.logo img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.01em;
  line-height: 1.16;
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.lead {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1.4rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: cardRise 900ms ease-out both;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

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

.legal-grid div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 74, 110, 0.1);
  border-radius: 0.95rem;
  padding: 0.9rem;
}

dt {
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.24rem;
}

dd {
  margin: 0;
  color: #20313b;
}

.legal-notes {
  margin-top: 1.05rem;
  border-top: 1px dashed rgba(12, 74, 110, 0.24);
  padding-top: 1rem;
  color: var(--muted);
}

.legal-notes p {
  margin: 0 0 0.7rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-soft);
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shapeIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

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

  .page {
    padding-top: 1.6rem;
    padding-bottom: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
