:root {
  --deep-sea: #0a1628;
  --teal: #3d9e94;
  --text-secondary: #4a5568;
  --text-tertiary: #6b7a8a;
  --border: rgba(0, 0, 0, 0.08);
  --surface: rgba(61, 158, 148, 0.06);
  --surface-border: rgba(61, 158, 148, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: #fafaf8;
  color: var(--deep-sea);
  font-size: 16px;
  line-height: 1.8;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--teal);
  text-decoration: none;
  padding: 28px 0 0;
  transition: opacity 0.2s;
}

.back:hover {
  opacity: 0.7;
  text-decoration: none;
}

.eyebrow {
  display: inline-block;
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: var(--deep-sea);
  margin: 0 0 18px;
}

.lead {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 17px;
}

.intro {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 15px;
}

.highlight {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0 28px;
}

.highlight-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight p,
.highlight strong,
.highlight span {
  font-size: 14px;
}

h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--deep-sea);
  margin: 30px 0 10px;
}

p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 15px;
}

ul {
  margin: 0 0 16px 18px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
  padding-left: 4px;
  font-weight: 300;
  font-size: 15px;
}

.quote-box,
.cta-box,
.related-box,
.note-box {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0;
}

.quote-box p,
.cta-box p,
.related-box p,
.note-box p {
  margin-bottom: 0;
}

.cta-box {
  margin-top: 30px;
}

.box-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

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

.related-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.related-links a::before {
  content: "→";
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.muted {
  font-size: 12px;
  color: var(--text-tertiary);
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 28px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
}

footer a {
  color: var(--text-tertiary);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--teal);
}

@media (max-width: 640px) {
  .page {
    padding: 0 18px 64px;
  }

  .back {
    font-size: 13px;
    padding-top: 22px;
  }

  .eyebrow {
    margin-top: 22px;
    margin-bottom: 8px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.08;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
  }

  .intro,
  p,
  li,
  .quote-box,
  .cta-box,
  .note-box {
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  .highlight,
  .quote-box,
  .cta-box,
  .related-box,
  .note-box {
    padding: 14px;
    border-radius: 9px;
  }

  h2 {
    font-size: 20px;
    margin-top: 26px;
    margin-bottom: 8px;
  }

  .related-links {
    gap: 8px;
  }
}
