:root {
  --ink: #171625;
  --muted: #666578;
  --soft: #f5f4fa;
  --line: #e5e3ed;
  --purple: #6751c8;
  --purple-dark: #43318f;
  --lime: #c9f36a;
  --white: #fff;
  --max: 1200px;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55
}

a {
  color: inherit
}

button,
input {
  font: inherit
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #a99bf4;
  outline-offset: 3px
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: white;
  padding: 10px;
  z-index: 10
}

.skip-link:focus {
  left: 8px
}

.topbar {
  height: 78px;
  padding: 0 max(28px, calc((100vw - var(--max))/2));
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  background: #fff
}

.brand {
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.065em;
  font-size: 1.45rem;
  white-space: nowrap
}

.brand span {
  color: var(--purple);
  margin-left: 2px
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto
}

.topbar nav a,
.footer-links a {
  font-size: .86rem;
  text-decoration: none;
  color: #454357
}

.topbar nav a:hover,
.footer-links a:hover {
  color: var(--purple)
}

.header-cta {
  background: var(--purple);
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap
}

.header-cta span {
  margin-left: 8px
}

.menu-toggle {
  display: none
}

main {
  max-width: var(--max);
  margin: auto;
  padding: 0 28px
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line)
}

.eyebrow {
  font-size: .69rem;
  letter-spacing: .15em;
  font-weight: 800;
  color: var(--purple);
  margin: 0 0 16px;
  text-transform: uppercase
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere
}

h1,
h2,
h3 {
  margin-top: 0
}

h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.2rem);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 680;
  margin-bottom: 23px
}

h1 span {
  color: var(--purple)
}

.intro-text {
  font-size: 1.08rem;
  max-width: 600px;
  color: var(--muted);
  margin: 0
}

.subscribe-form {
  padding: 24px;
  background: var(--soft);
  border: 1px solid #ebe8f5;
  border-radius: 4px
}

.subscribe-form label {
  display: block;
  font-weight: 750;
  font-size: .95rem;
  margin-bottom: 12px
}

.email-row {
  display: flex;
  gap: 7px
}

.email-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid #d8d4e6;
  background: white;
  padding: 13px 12px;
  border-radius: 2px;
  font-size: .85rem
}

.email-row button {
  border: 0;
  background: var(--purple);
  color: white;
  padding: 0 15px;
  border-radius: 2px;
  font-weight: 750;
  font-size: .82rem;
  cursor: pointer
}

.email-row button:hover,
.header-cta:hover {
  background: var(--purple-dark)
}

.subscribe-form>p {
  font-size: .72rem;
  color: var(--muted);
  margin: 10px 0 0
}

.section {
  padding: 62px 0;
  border-bottom: 1px solid var(--line)
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px
}

.section-title h2,
.research-heading h2,
.about-strip h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin: 0;
  font-weight: 650
}

.view-all {
  font-size: .83rem;
  text-decoration: none;
  font-weight: 750;
  border-bottom: 1px solid #c9c4dc;
  padding-bottom: 5px;
  white-space: nowrap
}

.view-all span {
  color: var(--purple);
  margin-left: 6px
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.featured-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
  transition: transform .18s, border-color .18s
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: #bcb2e7
}

.card-art {
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--art-bg, #ece8fb);
  position: relative;
  overflow: hidden
}

.card-art:before,
.card-art:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(66, 48, 130, .25);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  transform: rotate(-24deg)
}

.card-art:after {
  width: 105px;
  height: 220px;
  transform: rotate(34deg)
}

.art-label {
  position: relative;
  z-index: 1;
  font-weight: 850;
  font-size: 1.8rem;
  letter-spacing: -.08em;
  color: var(--art-ink, #40317d)
}

.featured-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.category {
  color: var(--purple);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800
}

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

.featured-card h3,
.insight-card h3,
.research-card h3 {
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin: 0 0 11px;
  font-weight: 700
}

.featured-card p,
.insight-card p,
.research-card p {
  font-size: .84rem;
  color: var(--muted);
  margin: 0 0 18px
}

.read-link {
  margin-top: auto;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  gap: 9px;
  align-items: center
}

.read-link span {
  color: var(--purple)
}

.insights-section {
  padding-top: 62px
}

.insight-tools {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px
}

.search-box {
  border: 1px solid var(--line);
  padding: 0 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 235px;
  border-radius: 3px;
  color: var(--muted)
}

.search-box input {
  border: 0;
  outline: none !important;
  padding: 11px 0;
  width: 100%;
  min-width: 0;
  background: transparent;
  font-size: .82rem;
  color: var(--ink)
}

.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.filter-btn {
  border: 1px solid var(--line);
  background: white;
  color: #514e64;
  padding: 8px 12px;
  border-radius: 2px;
  font-size: .73rem;
  cursor: pointer
}

.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: white
}

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

.insight-card {
  padding: 23px 23px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column
}

.insight-card h3 {
  font-size: 1.22rem;
  margin: 8px 0 10px
}

.insight-card p {
  margin-bottom: 18px
}

.insight-card .read-link {
  align-self: flex-start
}

.research-section {
  background: linear-gradient(110deg, #f7f5ff, #fbfbfd);
  padding: 48px 36px;
  margin: 60px 0;
  border: 1px solid #ece8f7
}

.research-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px
}

.research-heading>div>p:last-child {
  color: var(--muted);
  font-size: .9rem;
  margin: 13px 0 0
}

.research-mark {
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -.07em;
  color: #b8addf
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.research-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 23px;
  display: flex;
  flex-direction: column;
  min-height: 190px
}

.research-card h3 {
  font-size: 1.15rem;
  margin: 10px 0
}

.about-strip {
  padding: 8px 0 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-strip>p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0
}

.ad-slot {
  margin: 0 0 64px;
  min-height: 115px;
  border: 1px dashed #c9c4d8;
  background: #faf9fd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--muted)
}

.ad-slot>span {
  font-size: .62rem;
  letter-spacing: .15em;
  font-weight: 800
}

.ad-slot p {
  margin: 4px 0;
  color: #48445a;
  font-weight: 650
}

.ad-slot small {
  font-size: .72rem
}

.footer {
  border-top: 1px solid var(--line);
  padding: 25px max(28px, calc((100vw - var(--max))/2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px
}

.footer-links {
  display: flex;
  gap: 22px;
  justify-content: center
}

.footer>p {
  font-size: .72rem;
  color: var(--muted);
  margin: 0;
  text-align: right
}

.empty-state {
  padding: 25px;
  border: 1px solid var(--line);
  color: var(--muted)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

[hidden] {
  display: none !important
}

@media(max-width:1000px) {
  .topbar {
    gap: 20px
  }

  .topbar nav {
    gap: 16px
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .intro {
    gap: 35px
  }

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

  .filters {
    order: 1
  }

  .search-box {
    order: 2;
    width: 100%
  }
}

@media(max-width:700px) {
  .topbar {
    height: 68px;
    padding: 0 20px;
    gap: 12px
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 10px;
    border-radius: 2px;
    font-size: .8rem
  }

  .topbar nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 67px;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start
  }

  .topbar nav.open {
    display: flex
  }

  .header-cta {
    display: none
  }

  main {
    padding: 0 20px
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0 45px
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.3rem)
  }

  .section {
    padding: 45px 0
  }

  .section-title {
    align-items: flex-start
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .card-art {
    height: 115px
  }

  .featured-card-body {
    padding: 14px
  }

  .featured-card h3 {
    font-size: 1rem
  }

  .meta {
    font-size: .68rem
  }

  .insights-grid {
    grid-template-columns: 1fr
  }

  .insight-card {
    min-height: 0;
    padding: 20px
  }

  .research-section {
    margin: 38px 0;
    padding: 25px 18px
  }

  .research-grid {
    grid-template-columns: 1fr
  }

  .research-heading {
    align-items: flex-start
  }

  .research-mark {
    display: none
  }

  .about-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 45px
  }

  .footer {
    padding: 23px 20px;
    grid-template-columns: 1fr;
    gap: 15px
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap
  }

  .footer>p {
    text-align: left
  }

  .email-row {
    flex-direction: column
  }

  .email-row button {
    padding: 13px
  }
}

@media(max-width:560px) {
  .featured-grid {
    grid-template-columns: 1fr
  }

  .card-art {
    height: 145px
  }

  .section-title {
    flex-direction: column
  }

  .filters {
    gap: 5px
  }

  .filter-btn {
    padding: 7px 9px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    transition: none !important
  }
}

pre{overflow: auto;}