:root {
  --bg: #0f172a;
  --bg-soft: #131c34;
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.08);
  --text: #0f172a;
  --muted: #6b7280;
  --accent: #22d3ee;
  --accent-strong: #0ea5e9;
  --border: rgba(15, 23, 42, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
  min-height: 100vh;
  line-height: 1.65;
}
a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--muted);
}
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.site-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-main {
  flex: 1;
  padding-bottom: 4rem;
}
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  z-index: 20;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.55);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: #fff;
}
.brand__year {
  font-size: 0.65rem;
  opacity: 0.7;
}
.menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.menu__link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.menu__link.is-active {
  color: #fff;
}
.menu__cta {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bg);
  font-weight: 600;
}
.hero {
  padding: 5rem 0 3rem;
  color: #fff;
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
  margin: 0.6rem 0 1rem;
}
.hero .intro {
  font-size: 1.15rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
}
.hero .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 16px;
  background: var(--accent);
  color: #0f172a;
  font-weight: 600;
  margin-top: 1.5rem;
  box-shadow: 0 20px 35px rgba(14, 165, 233, 0.35);
}
.content-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.15);
}
.content-card h2 {
  color: var(--text);
}
.latest-posts {
  margin-top: 3.5rem;
}
.latest-posts__heading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.latest-posts__heading h2 {
  margin: 0;
  color: var(--text);
}
.latest-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.post-preview {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.post-preview__meta {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}
.post-preview__title {
  margin: 0;
  color: var(--text);
}
.post-preview__excerpt {
  color: #475569;
  flex: 1;
}
.post-preview__cta {
  font-weight: 600;
}
.page-heading {
  color: #fff;
  padding-top: 4rem;
}
.post-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.post-card__meta,
.article__meta {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}
.article {
  margin-top: 3rem;
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
}
.article__body {
  margin-top: 2rem;
}
.article__body img {
  border-radius: 12px;
}
.site-footer {
  margin-top: auto;
  padding: 3rem 0 2rem;
  background: var(--bg-soft);
  color: rgba(255, 255, 255, 0.85);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.footer__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer__social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__social a {
  color: #fff;
}
.footer__legal {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    gap: 1rem;
  }
  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  .menu__cta {
    width: 100%;
    text-align: center;
  }
}
body.page-blog {
  background: linear-gradient(180deg, #305ca8 0%, #c4daf1 45%, #fde3c5 75%, #f0c8e0 100%);
  color: #111827;
}

.blog-overview {
  padding: 3rem 0 5rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.blog-sidebar {
  background: rgba(10, 16, 26, 0.95);
  color: #f8fafc;
  padding: 2.5rem;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  position: sticky;
  top: 6rem;
}

.sidebar__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: rgba(248, 250, 252, 0.6);
  margin: 0 0 0.5rem;
}

.sidebar__brand h1 {
  margin: 0;
  font-size: 2rem;
}

.sidebar__description {
  color: rgba(248, 250, 252, 0.75);
  margin-top: 0.75rem;
}

.sidebar__search {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar__search label {
  font-weight: 600;
}

.sidebar__search input {
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.3);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

.sidebar__hint {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.55);
  margin: 0;
}

.sidebar__list {
  margin-top: 2.5rem;
}

.sidebar__heading {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: rgba(248, 250, 252, 0.65);
}

.sidebar__posts {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar__posts li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar__posts a {
  color: #f8fafc;
  font-weight: 600;
}

.sidebar__posts span {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.55);
}

.blog-feed {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 40px;
  padding: 3rem;
  box-shadow: 0 40px 70px rgba(15, 23, 42, 0.18);
}

.blog-feed__intro {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.blog-feed__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  font-size: 0.75rem;
}

.blog-feed__intro h2 {
  margin: 0.4rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.blog-feed__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-entry {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-entry:last-child {
  border-bottom: 0;
}

.blog-entry__meta {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.8rem;
}

.blog-entry h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.blog-entry__figure {
  margin: 0 0 1.5rem;
  border-radius: 24px;
  overflow: hidden;
  background: #f1f5f9;
}

.blog-entry__figure img {
  display: block;
  width: 100%;
}

.blog-entry__excerpt {
  color: #475569;
  margin: 0 0 1.5rem;
}

.blog-entry__cta {
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@media (max-width: 1080px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    order: 2;
  }
}

@media (max-width: 640px) {
  .blog-feed {
    padding: 2rem;
  }
  .sidebar__search input {
    width: 100%;
  }
}
