:root {
  --bg-top: #061117;
  --bg-bottom: #071822;
  --panel: rgba(7, 22, 30, 0.88);
  --panel-border: rgba(201, 251, 255, 0.12);
  --text: #edf8fb;
  --muted: rgba(237, 248, 251, 0.72);
  --accent: #8bf1ff;
  --accent-soft: rgba(139, 241, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top, rgba(139, 241, 255, 0.1), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(32, 92, 111, 0.18), transparent 40%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

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

.legal-shell {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

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

.legal-brand {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-nav a {
  padding: 10px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(8, 24, 32, 0.46);
  color: rgba(237, 248, 251, 0.86);
  text-decoration: none;
  backdrop-filter: blur(18px);
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(139, 241, 255, 0.08), transparent 30%),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.legal-kicker {
  margin: 0 0 10px;
  color: rgba(139, 241, 255, 0.86);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.legal-subtitle {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.legal-meta {
  margin-top: 14px;
  color: rgba(237, 248, 251, 0.58);
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 251, 255, 0.1);
}

.legal-section:first-of-type {
  margin-top: 28px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.legal-section p,
.legal-section li {
  color: rgba(237, 248, 251, 0.8);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.pricing-card {
  padding: 22px 20px;
  border: 1px solid rgba(201, 251, 255, 0.1);
  border-radius: 22px;
  background: rgba(5, 16, 23, 0.34);
}

.pricing-label {
  margin: 0;
  color: rgba(139, 241, 255, 0.86);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-name {
  margin: 8px 0 0;
  font-size: 1.45rem;
  font-weight: 500;
}

.pricing-price {
  margin: 8px 0 0;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.pricing-price small {
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-list {
  margin-top: 14px;
  padding-left: 20px;
}

.pricing-note {
  margin-top: 20px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .legal-shell {
    width: min(100vw - 24px, 920px);
    padding-top: 18px;
  }

  .legal-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

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