:root {
  --bg: #0b121c;
  --surface: #131f2c;
  --surface-2: #16212f;
  --card-border: rgba(120, 170, 255, 0.14);
  --inner-bg: rgba(255, 255, 255, 0.045);
  --inner-border: rgba(255, 255, 255, 0.07);
  --text: #f1f6ff;
  --text-secondary: rgba(241, 246, 255, 0.62);
  --text-muted: rgba(241, 246, 255, 0.48);
  --accent: #0d62c9;
  --accent-light: #4c8fe0;
  --shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand span {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0;
}

.meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 15px;
}

.section {
  margin-bottom: 28px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.section-num {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--inner-bg);
  border: 1px solid var(--inner-border);
  border-radius: 999px;
  padding: 3px 9px;
}

h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.01em;
}

.clause {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

.clause-num {
  color: var(--text-muted);
  margin-right: 6px;
}

.list-items {
  margin: 0 0 12px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.list-items li {
  margin-bottom: 6px;
}

.closing {
  background: var(--inner-bg);
  border: 1px solid var(--inner-border);
  border-radius: 24px;
  padding: 18px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  margin: 32px 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--inner-border);
  color: var(--text-muted);
  font-size: 14px;
  flex-wrap: wrap;
}

footer a {
  color: var(--text-secondary);
}

.home-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.home-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.home-links a:hover {
  border-color: rgba(120, 170, 255, 0.28);
  text-decoration: none;
}

.home-lede {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 46ch;
}

@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }
  .meta {
    flex-direction: column;
    gap: 6px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
