:root {
  --ocean: #0f4c81;
  --deep: #0b2545;
  --teal: #14b8a6;
  --soft-blue: #e6f4ff;
  --sand: #f8f4ec;
  --text: #1f2937;
  --muted: #64748b;
  --white: #ffffff;
  --line: #dbeafe;
  --shadow: 0 20px 50px rgba(15, 76, 129, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f8f4ec 100%);
}

a {
  color: inherit;
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  color: var(--deep);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ocean);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
  padding: 70px 0 48px;
}

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--deep);
  margin: 0 0 22px;
}

.lead,
.page-hero p {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.25);
}

.secondary {
  background: var(--white);
  color: var(--ocean);
  border: 1px solid var(--line);
}

.hero-card,
.card,
.post-card,
.post-preview,
.story-block {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 234, 254, 0.8);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(140deg, rgba(15, 76, 129, 0.94), rgba(20, 184, 166, 0.72)),
    var(--ocean);
  color: var(--white);
}

.hero-card h2 {
  color: var(--white);
  font-size: 2rem;
  margin: 16px 0 10px;
  line-height: 1.05;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.wave {
  font-size: 3rem;
}

.cards,
.post-grid,
.contribute-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 34px 0;
}

.contribute-layout {
  grid-template-columns: 1fr 1fr;
}

.card h3,
.card h2,
.post-card h2,
.post-preview h3,
.story-block h2,
.latest h2,
.feature h2 {
  color: var(--deep);
  margin-top: 0;
  letter-spacing: -0.03em;
}

.card p,
.post-card p,
.post-preview p,
.story-block p,
.feature p {
  color: var(--muted);
  line-height: 1.7;
}

.feature {
  margin: 52px 0;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--soft-blue), var(--sand));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.latest,
.page {
  padding: 40px 0 70px;
}

.section-heading {
  margin-bottom: 18px;
}

.post-preview {
  max-width: 720px;
}

.tag {
  display: inline-flex;
  color: var(--ocean);
  background: var(--soft-blue);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  margin: 0 0 14px;
}

.post-card a,
.post-preview a {
  text-decoration: none;
}

.post-card a:hover,
.post-preview a:hover {
  color: var(--ocean);
}

.muted {
  opacity: 0.72;
}

.highlight {
  background: linear-gradient(135deg, #ffffff, var(--soft-blue));
}

.full {
  width: 100%;
}

.small-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 14px;
}

.check-list {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.page-hero {
  padding: 48px 0 20px;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.story-block {
  max-width: 850px;
}

.article {
  width: min(820px, calc(100% - 40px));
  padding: 60px 0 80px;
}

.article h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.article p {
  color: var(--text);
  font-size: 1.14rem;
  line-height: 1.85;
}

.article-meta {
  color: var(--muted) !important;
  margin-bottom: 34px;
}

blockquote {
  border-left: 5px solid var(--teal);
  margin: 34px 0;
  padding: 14px 22px;
  background: var(--soft-blue);
  color: var(--deep);
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 16px;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(15, 76, 129, 0.12);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .cards,
  .post-grid,
  .contribute-layout {
    grid-template-columns: 1fr;
  }

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

  h1 {
    letter-spacing: -0.045em;
  }
}
