@import url("https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,500;7..72,700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --bg: #eef6f8;
  --bg-2: #dff0f4;
  --ink: #12263a;
  --muted: #4a6275;
  --line: #c5dbe3;
  --card: rgba(255, 255, 255, 0.82);
  --accent: #0e8f86;
  --accent-2: #0a6e68;
  --warn: #c45c26;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(18, 38, 58, 0.08);
  --font: "Manrope", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --max: 720px;
  --wide: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(14, 143, 134, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 10%, rgba(90, 160, 200, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(var(--wide), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0.35rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-2);
}

.hero {
  margin: 0 0 2rem;
  max-width: 40rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.card .meta {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.article-list {
  display: grid;
  gap: 0.9rem;
}

.article-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}

.article-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 143, 134, 0.45);
}

.prose {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.prose .crumb {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.prose h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.5vw, 2.4rem);
  line-height: 1.2;
}

.prose .lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.prose h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: #24384c;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose .note {
  margin: 1.25rem 0;
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(14, 143, 134, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  margin: 0 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
}

.btn:hover {
  background: var(--accent-2);
}

.muted {
  color: var(--muted);
}
