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

:root {
  --bg: #0c0e1a;
  --bg2: #111326;
  --bg3: #161830;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .11);
  --muted: #3e4270;
  --sub: #6b71a8;
  --body: #a0a6d6;
  --head: #e8eaff;
  --white: #fff;
  --acc: #5865f2;
  --acc2: #818cf8;
  --green: #23d18b;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(12, 14, 26, .85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  letter-spacing: -.5px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  width: 42px;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  padding: 7px 14px;
  transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--head);
}

.nav-dl {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--acc);
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  cursor: pointer;
  margin-left: 12px;
  transition: background .15s;
  font-family: "Inter", sans-serif;
}

.nav-dl:hover { background: #4752c4; }

.blog-header {
  padding: 120px 40px 72px;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  background:
    radial-gradient(ellipse 70% 60% at 0% 50%, rgba(88,101,242,.08) 0%, transparent 60%),
    var(--bg);
}

.blog-kicker {
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.blog-title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -3px;
  color: var(--white);
  margin-bottom: 20px;
}

.blog-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--sub);
  max-width: 460px;
}

.filter-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  align-self: end;
  padding-bottom: 1px;
}

.filter-tab {
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
}

.filter-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--acc2);
  transform: scaleX(0);
  transition: transform .2s;
}

.filter-tab.on { color: var(--head); }
.filter-tab.on::after { transform: scaleX(1); }
.filter-tab:hover { color: var(--body); }

.featured {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px;
  border-bottom: 1px solid var(--line);
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
}

.featured-inner:hover { border-color: var(--line2); }

.featured-img {
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.featured-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(.75) saturate(.85);
  transition: transform .5s ease, filter .3s;
}

.featured-inner:hover .featured-img img {
  transform: scale(1.03);
  filter: brightness(.85) saturate(.9);
}

.featured-text {
  padding: 44px;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-flag {
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--acc2);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-flag::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--acc2);
}

.featured-h {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.featured-lede {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--sub);
  flex: 1;
  margin-bottom: 32px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.meta-author { font-size: 12px; font-weight: 600; color: var(--body); }
.meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.meta-date, .meta-read { font-size: 12px; color: var(--muted); }

.featured-arrow {
  margin-left: auto;
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--acc2);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.featured-inner:hover .featured-arrow { gap: 10px; }
.featured-arrow svg { width: 12px; height: 12px; flex-shrink: 0; }

.posts-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.post-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  display: flex;
  flex-direction: column;
}

.post-card:hover { background: var(--bg2); }

.post-card-img {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.post-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(.7) saturate(.8);
  transition: transform .4s ease, filter .3s;
}

.post-card:hover .post-card-img img {
  transform: scale(1.04);
  filter: brightness(.8) saturate(.9);
}

.post-card-img.no-img {
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-img.no-img svg { opacity: .15; }

.post-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-tag {
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tag-engineering { color: #818cf8; }
.tag-product { color: #23d18b; }
.tag-voice { color: #23d18b; }

.post-card-h {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(.95rem, 1.2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--head);
  line-height: 1.2;
  margin-bottom: 10px;
}

.post-card-p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--sub);
  flex: 1;
  margin-bottom: 20px;
}

.post-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.post-card-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded", sans-serif;
  font-size: 7px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.post-card-av.upcoming {
  background: linear-gradient(135deg,#23d18b,#1a9e6a);
}

.post-card-meta { font-size: 11px; color: var(--muted); }

.load-more-wrap {
  padding: 48px 0 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.btn-more {
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--head);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line2);
  border-radius: 100px;
  padding: 13px 32px;
  letter-spacing: -.2px;
}

.newsletter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 0;
}

.newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.nl-left h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--white);
  margin-bottom: 6px;
}

.nl-left p {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.6;
}

.nl-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nl-btn,
.nl-btn-ghost {
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  letter-spacing: -.2px;
  white-space: nowrap;
  transition: background .15s, transform .1s, border-color .15s;
}

.nl-btn {
  color: #fff;
  background: var(--acc);
  border: 1px solid var(--acc);
}

.nl-btn:hover {
  background: #4752c4;
  border-color: #4752c4;
  transform: translateY(-1px);
}

.nl-btn-ghost {
  color: var(--head);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line2);
}

.nl-btn-ghost:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 9px;
}

.foot-logo img {
  width: 42px;
  height: auto;
  display: block;
}

.foot-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 12px;
  transition: color .15s;
}

.foot-links a:hover { color: var(--body); }
.foot-copy { font-size: 12px; color: var(--muted); }

.r {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.r.on {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .blog-header { padding: 96px 20px 48px; grid-template-columns: 1fr; }
  .filter-tabs { align-self: start; }
  .featured { padding: 40px 20px; }
  .featured-inner { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .posts-wrap { padding: 0 20px 60px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  footer { padding: 24px 20px; }
}

@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
}
