:root {
  --bg: #eef3f9;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #15304b;
  --muted: #5c738a;
  --line: rgba(21, 48, 75, 0.12);
  --blue: #1f6feb;
  --red: #ea4335;
  --yellow: #fbbc05;
  --green: #34a853;
  --shadow: 0 20px 50px rgba(18, 43, 69, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(251, 188, 5, 0.2), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #edf2f8 42%, #e8eef5 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 32px rgba(18, 43, 69, 0.08);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-brand__mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, var(--blue), var(--green), var(--yellow), var(--red), var(--blue));
  box-shadow: 0 0 0 6px rgba(31, 111, 235, 0.08);
}

.site-brand__text {
  display: grid;
  gap: 2px;
}

.site-brand__text strong {
  font-size: 1rem;
  line-height: 1.1;
}

.site-brand__text span {
  color: var(--muted);
  font-size: 0.83rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(31, 111, 235, 0.08);
  color: var(--text);
}

.site-header__cta {
  justify-self: end;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 22px 0 40px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(6px);
}

.hero::before {
  top: -70px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(52, 168, 83, 0.18);
}

.hero::after {
  left: -40px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: rgba(234, 67, 53, 0.14);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  align-items: stretch;
}

.hero__copy,
.hero__panel,
.card,
.seo-block {
  backdrop-filter: blur(12px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: 28px;
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.seo-block h2,
.card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  max-width: 10ch;
}

.hero__lede {
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 48, 75, 0.08);
  font-size: 0.92rem;
}

.hero__panel {
  border-radius: 24px;
  padding: 24px;
  align-self: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.76)),
    linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(52, 168, 83, 0.08));
}

.hero__panel-label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.hero__panel-value {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.hero__panel-text {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.section-heading {
  padding: 10px 0 18px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.post-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 28px;
}

.card {
  border-radius: 24px;
  overflow: hidden;
}

.card--feature {
  grid-column: 1 / -1;
}

.card__body {
  padding: 20px 22px 24px;
}

.card__category {
  margin: 0 0 10px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.card__date {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.card h3 {
  font-size: 1.45rem;
  line-height: 1.18;
}

.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--blue);
}

.card p:last-child {
  margin: 14px 0 0;
  line-height: 1.75;
  color: var(--muted);
}

.seo-block {
  border-radius: 28px;
  padding: 28px;
  margin: 8px 0 36px;
}

.seo-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.seo-block p {
  margin: 0 0 14px;
  line-height: 1.85;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(21, 48, 75, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__inner p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    padding-top: 0;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    border-radius: 0;
    row-gap: 14px;
  }

  .site-brand {
    grid-area: brand;
  }

  .site-brand__text {
    text-align: left;
  }

  .site-nav {
    grid-area: nav;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
  }

  .site-header__cta {
    grid-area: cta;
    text-align: center;
  }

  .hero__inner,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 16px;
  }

  .hero__copy,
  .hero__panel,
  .seo-block {
    border-radius: 22px;
  }

  .card--feature {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "cta";
    padding: 14px 16px;
  }

  .site-brand {
    justify-content: center;
  }

  .site-brand__text {
    text-align: center;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    padding: 9px 10px;
  }

  .site-header__cta {
    justify-self: stretch;
  }
}
