/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Montserrat-v31-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #233dff;
  --primary-dark: #1f2f94;
  --secondary: #8f5cff;
  --secondary-dark: #6c44e9;
  --bg: #f3f1fb;
  --bg-deep: #16183f;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #1f2244;
  --text-soft: #5d617f;
  --line: rgba(42, 57, 142, 0.10);
  --shadow: 0 26px 70px rgba(49, 45, 116, 0.12);
  --shadow-soft: 0 12px 34px rgba(49, 45, 116, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(154, 181, 255, 0.38), transparent 24%),
    linear-gradient(180deg, #f6f7fd 0%, #f3f1fb 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(32, 45, 120, 0.08);
  background: rgba(247, 247, 252, 0.80);
  backdrop-filter: blur(20px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header__brand-kicker {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.12em;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.brand-mark__family,
.brand-mark__code {
  background: linear-gradient(90deg, #204eff 0%, #274de9 32%, #5947e8 68%, #b14eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark__family,
.brand-mark__code {
  font-weight: 800;
}

.brand-mark__code {
  text-transform: uppercase;
}

.brand-mark__o {
  position: relative;
  display: inline-block;
  min-width: 0.84em;
  text-align: center;
}

.brand-mark__o::after {
  content: '✦';
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -56%);
  font-size: 0.4em;
  line-height: 1;
  background: linear-gradient(135deg, #f8eefe 0%, #7655efd6 50%, #f8c9f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 100%;
}

.brand-mark--compact {
  font-size: 18px;
}

.brand-mark--hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02em;
  font-size: clamp(42px, calc(27px + 3.3vw), 80px);
}

.brand-mark--hero .brand-mark__code {
  font-size: 1.08em;
}

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

.nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(15px, calc(14.5px + 0.07vw), 16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

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

.btn--header,
.btn--primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #3845c9 48%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(53, 58, 162, 0.24);
}

.btn--ghost {
  border: 1px solid rgba(35, 61, 255, 0.10);
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-dark);
}

.btn--light {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Generic headings */
.section,
.page-hero {
  padding: 92px 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.32);
}

.section--dark {
  color: #fff;
  background: linear-gradient(180deg, #181a45 0%, #17183b 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(35, 61, 255, 0.10);
  background: rgba(255, 255, 255, 0.58);
  color: var(--primary-dark);
  font-size: clamp(10px, calc(9px + 0.22vw), 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.section-head {
  margin-bottom: 38px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px 36px;
  align-items: end;
}

.section-title,
.page-hero__title {
  margin-top: 18px;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.section-title {
  font-size: clamp(30px, calc(18px + 2.35vw), 48px);
  line-height: 1.06;
}

.page-hero__title {
  font-size: clamp(32px, calc(20px + 2.5vw), 52px);
  line-height: 1.04;
}

.section-title--light {
  color: #fff;
}

.section-copy {
  font-size: clamp(16px, calc(15px + 0.14vw), 17px);
  color: var(--text-soft);
}

.page-hero__text {
  font-size: clamp(16px, calc(15px + 0.2vw), 18px);
  color: var(--text-soft);
}

.section-copy--light {
  color: rgba(255, 255, 255, 0.78);
}

/* Hero */
.hero {
  position: relative;
  padding: 0 0 88px;
  overflow: hidden;
  background: 
    radial-gradient(circle at 8% 6%, rgba(139, 92, 246, 0.16), transparent 28%), 
    radial-gradient(circle at 92% 12%, rgba(91, 160, 255, 0.18), transparent 30%), 
    linear-gradient(135deg, #f8f9ff 0%, #f5f0ff 52%, #eef5ff 100%);
}

.hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
  padding: 52px 0 0;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__media {
  aspect-ratio: 6 / 5;
  padding: 10px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero__content {
  min-width: 0;
}

.hero__title {
  margin-top: 18px;
}

.hero__lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: clamp(16px, calc(15px + 0.2vw), 18px);
  color: rgba(31, 34, 68, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero__meta {
  margin-top: 26px;
}

.hero__phone {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  min-height: 52px;
  padding: 8px 0 8px 18px;
  text-decoration: none;
}

.hero__phone .info-card__label {
  color: rgba(31, 34, 68, 0.64);
}

.hero__phone .info-card__value {
  margin-top: 0;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  border-radius: calc(var(--radius-xl) - 10px);
}

.hero__winner {
  position: absolute;
  z-index: 2;
  left: -42px;
  bottom: 26px;
  width: min(320px, calc(100% - 24px));
  min-width: 0;
  min-height: 104px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 46px rgba(49, 45, 116, 0.18);
}

.hero__winner-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 108px;
  min-width: 290px;
  padding: 20px 22px;
  border-radius: 24px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.info-card.hero__winner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 7px;
  min-height: 0;
  min-width: 0;
  padding: 14px 18px;
}

.hero__winner .hero__winner-description {
  grid-column: 1 / -1;
  margin: 0;
}

.info-card--wide {
  width: 100%;
}

.info-card__label {
  font-size: 13px;
  color: var(--text-soft);
}

.info-card__label--strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-dark);
}

.info-card__value {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
  color: var(--primary-dark);
}

.info-card p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

/* Story / about */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.story-card {
  padding: 34px;
}

.story-card h3 {
  margin-bottom: 16px;
  font-size: clamp(21px, calc(17px + 0.7vw), 28px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.story-card p + p {
  margin-top: 14px;
}

.story-card--quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(32, 45, 120, 0.98) 0%, rgba(57, 64, 176, 0.98) 100%);
  color: #fff;
}

.story-card__quote {
  font-size: clamp(20px, calc(17px + 0.5vw), 24px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.story-card__caption {
  display: inline-block;
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.70);
}

.metrics-grid,
.feature-grid,
.spotlight-grid,
.article-preview-grid,
.article-grid,
.events-grid {
  display: grid;
  gap: 22px;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.metric {
  padding: 28px;
}

.metric__number {
  display: block;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #204eff 0%, #8f5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
}

.metric p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-soft);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 30px 26px;
}

.feature-card__index {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(35, 61, 255, 0.08);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.feature-card h3,
.spotlight-card h3,
.article-preview h3,
.article-topic h3,
.event-card h2,
.contact-tile h2 {
  margin-top: 18px;
  font-size: clamp(21px, calc(18px + 0.55vw), 26px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.feature-card p,
.spotlight-card p,
.article-preview p,
.article-topic p,
.event-card p,
.contact-tile p,
.note-panel p,
.side-panel p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-soft);
}

.footer__text {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.spotlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spotlight-card,
.article-preview,
.article-topic,
.contact-tile,
.event-card,
.side-panel,
.note-panel,
.cta-panel,
.page-hero__shell,
.mini-stat {
  padding: 28px;
}

.spotlight-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.spotlight-card__tag,
.article-preview__meta,
.article-topic__meta,
.contact-tile__label,
.event-card__date,
.timeline__month,
.side-panel__title,
.footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-card__tag,
.article-preview__meta,
.article-topic__meta,
.contact-tile__label,
.event-card__date,
.side-panel__title {
  color: var(--primary-dark);
}

.spotlight-card__date {
  color: rgba(255, 255, 255, 0.70);
}

.section--dark .spotlight-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.section--dark .spotlight-card__tag,
.section--dark .spotlight-card h3,
.section--dark .spotlight-card p {
  color: #fff;
}

.section--dark .spotlight-card p {
  color: rgba(255, 255, 255, 0.78);
}

.section-cta {
  margin-top: 30px;
}

/* Page hero */
.page-hero {
  padding-bottom: 28px;
}

.page-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.68) 100%);
}

.page-hero__aside {
  display: grid;
  gap: 16px;
}

.page-hero__copy:only-child {
  grid-column: 1 / -1;
  max-width: 820px;
}

.mini-stat {
  border: 1px solid rgba(35, 61, 255, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.mini-stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: var(--primary-dark);
}

.mini-stat span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Events page */
.timeline__group + .timeline__group {
  margin-top: 34px;
}

.timeline__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 16px;
}

.timeline__month {
  color: var(--primary-dark);
}

.timeline__note {
  color: var(--text-soft);
}

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

.events-grid--single {
  grid-template-columns: 1fr;
}

.event-card--featured {
  background: linear-gradient(135deg, rgba(33, 45, 126, 0.96) 0%, rgba(103, 66, 241, 0.96) 100%);
}

.event-card--featured .event-card__date,
.event-card--featured h2,
.event-card--featured p {
  color: #fff;
}

.event-card--featured p {
  color: rgba(255, 255, 255, 0.82);
}

.events-archive {
  padding: 56px 0 64px;
  background: rgba(255, 255, 255, 0.28);
}

.events-archive__head {
  max-width: 720px;
  margin-bottom: 24px;
}

.events-archive__title {
  margin-top: 14px;
  font-size: clamp(28px, calc(20px + 1.1vw), 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.events-archive__copy {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-soft);
}

.events-grid--archive {
  gap: 16px;
}

.event-card--past {
  padding: 22px;
  border-color: rgba(42, 57, 142, 0.08);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.event-card--past .event-card__date {
  color: rgba(31, 47, 148, 0.72);
}

.event-card--past h3 {
  margin-top: 12px;
  font-size: clamp(20px, calc(17px + 0.45vw), 23px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.event-card--past p {
  margin-top: 10px;
}

/* Contacts */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "phone community about"
    "location partners signup";
  gap: 22px;
  align-items: stretch;
}

.contact-layout > * {
  min-width: 0;
}

.contact-tile--phone {
  grid-area: phone;
}

.contact-tile--community {
  grid-area: community;
}

.contact-tile--location {
  grid-area: location;
}

.contact-tile--partners {
  grid-area: partners;
}

.side-panel--about {
  grid-area: about;
}

.side-panel--signup {
  grid-area: signup;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.contact-layout > .side-panel {
  height: 100%;
}

.contact-tile[href] {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.contact-tile[href]:hover {
  border-color: rgba(35, 61, 255, 0.18);
  box-shadow: 0 16px 38px rgba(49, 45, 116, 0.13);
}

.contact-tile[href]:focus-visible {
  outline: 3px solid rgba(35, 61, 255, 0.42);
  outline-offset: 3px;
}

.side-panel--accent {
  background: linear-gradient(180deg, rgba(32, 45, 120, 0.98) 0%, rgba(73, 64, 185, 0.98) 100%);
}

.side-panel--accent,
.side-panel--accent .side-panel__title,
.side-panel--accent p {
  color: #fff;
}

.side-panel--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.side-panel__btn {
  margin-top: 18px;
}

/* Articles */
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.articles-listing {
  padding-top: 36px;
}

.article-topic--link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.article-topic--link:hover {
  border-color: rgba(35, 61, 255, 0.18);
  box-shadow: 0 18px 42px rgba(49, 45, 116, 0.13);
  transform: translateY(-3px);
}

.article-topic--link:focus-visible {
  outline: 3px solid rgba(35, 61, 255, 0.42);
  outline-offset: 3px;
}

.article-preview {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.article-preview:hover {
  border-color: rgba(35, 61, 255, 0.18);
  box-shadow: 0 18px 42px rgba(49, 45, 116, 0.13);
  transform: translateY(-3px);
}

.article-preview:focus-visible {
  outline: 3px solid rgba(35, 61, 255, 0.42);
  outline-offset: 3px;
}

.article-topic h2 {
  margin-top: 18px;
  font-size: clamp(21px, calc(18px + 0.55vw), 26px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-topic__action {
  display: inline-block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}

/* Article page */
.article-page {
  padding: 56px 0 96px;
}

.article-shell {
  padding: 0 clamp(28px, 5vw, 72px) 76px;
  border: 1px solid rgba(76, 70, 160, 0.08);
  border-radius: var(--radius-xl);
  background: #fcfbff;
  box-shadow:
    0 24px 60px rgba(54, 58, 130, 0.10),
    0 6px 18px rgba(54, 58, 130, 0.05);
}

.article-header {
  padding: 56px 0 44px;
}

.article-header__inner {
  width: min(100%, 800px);
  margin: 0 auto;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.breadcrumbs__list li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.breadcrumbs__list li + li::before {
  content: '/';
  color: rgba(93, 97, 127, 0.55);
}

.breadcrumbs__list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-header .eyebrow {
  margin-top: 32px;
}

.article-header__title {
  margin-top: 20px;
  font-size: clamp(2.5rem, calc(2rem + 2vw), 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.article-header__lead {
  margin-top: 24px;
  color: var(--text-soft);
  font-size: clamp(16px, calc(15px + 0.3vw), 20px);
  line-height: 1.7;
}

.article-divider {
  width: min(100%, 800px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.article-toc {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 30px 0 36px;
  border-bottom: 1px solid var(--line);
}

.article-toc h2 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.article-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
  margin-top: 18px;
  list-style: none;
}

.article-toc li {
  position: relative;
  padding-left: 14px;
}

.article-toc li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--secondary);
}

.article-toc a {
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content {
  padding-top: 44px;
}

.article-prose {
  width: min(100%, 800px);
  margin: 0 auto;
  font-size: clamp(16px, calc(15.35px + 0.15vw), 17.5px);
  line-height: 1.82;
}

.article-prose > * + * {
  margin-top: 22px;
}

.article-prose h2 {
  margin-top: 62px;
  font-size: clamp(27px, calc(22px + 1vw), 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  scroll-margin-top: 120px;
}

.article-prose h3 {
  margin-top: 34px;
  font-size: clamp(20px, calc(18px + 0.45vw), 24px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.article-prose ul,
.article-prose ol {
  padding-left: 1.35em;
}

.article-prose li + li {
  margin-top: 7px;
}

.article-prose blockquote {
  padding: 15px 20px;
  border-left: 3px solid var(--secondary);
  border-radius: 0 14px 14px 0;
  background: rgba(236, 239, 255, 0.58);
  color: var(--primary-dark);
  font-weight: 600;
}

.article-prose blockquote + blockquote {
  margin-top: 12px;
}

.article-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-comparison__item {
  padding-right: 24px;
}

.article-comparison__item + .article-comparison__item {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.article-comparison__item > p + p {
  margin-top: 8px;
}

.article-example__label {
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-phrase-list {
  padding-left: 22px;
  border-left: 2px solid rgba(143, 92, 255, 0.46);
}

.article-phrase-list > .article-example__label {
  margin-bottom: 12px;
}

.article-phrase-list__items {
  display: grid;
  gap: 10px;
}

.article-phrase-list--columns .article-phrase-list__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.article-phrase-list__connector {
  color: var(--text-soft);
  font-size: 14px;
  font-style: italic;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  width: min(100%, 800px);
  margin: 72px auto 0;
  padding: 36px;
  border: 1px solid rgba(35, 61, 255, 0.10);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(232, 238, 255, 0.92) 0%, rgba(244, 235, 255, 0.88) 100%);
}

.article-sources h2,
.article-related h2 {
  font-size: clamp(27px, calc(22px + 1vw), 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.article-cta h2 {
  font-size: clamp(24px, calc(20px + 0.7vw), 30px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.article-cta p {
  max-width: 610px;
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 16px;
}

.article-cta .btn {
  flex-shrink: 0;
}

.article-sources {
  width: min(100%, 800px);
  margin: 72px auto 0;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.article-sources ol {
  margin-top: 26px;
  padding-left: 1.35em;
}

.article-sources li {
  padding-left: 6px;
}

.article-sources li + li {
  margin-top: 14px;
}

.article-sources a {
  display: grid;
  gap: 2px;
  color: var(--primary-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.article-sources a strong {
  font-size: 14px;
  font-weight: 800;
}

.article-sources a span {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.5;
}

.article-sources a:hover span,
.article-sources a:focus-visible span {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-related {
  width: min(100%, 800px);
  margin: 64px auto 0;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.article-related__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.article-related__label {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-related .btn {
  flex-shrink: 0;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.article-related__grid:empty {
  display: none;
}

.note-panel {
  margin-top: 24px;
}

/* CTA and footer */
.cta-section {
  padding-top: 0;
}

.cta-section--home {
  padding: 72px 0 92px;
}

.cta-section--tight {
  padding-top: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-panel--home {
  padding: 52px 44px 48px;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding: 30px 0 22px;
  background: #14163b;
  color: rgba(255, 255, 255, 0.86);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(120px, 0.7fr) minmax(170px, 0.9fr) minmax(170px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.footer__brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer__title {
  color: rgba(255, 255, 255, 0.64);
}

.footer__list {
  margin-top: 14px;
  list-style: none;
  font-size: 15px;
}

.footer__list li + li {
  margin-top: 10px;
}

.footer__list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.footer__project-text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.footer__project-logo {
  display: block;
  width: clamp(120px, 10vw, 136px);
  height: auto;
  margin-top: 16px;
}

.footer__project-tag {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.footer__bottom {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
}

/* Animation support */
.card,
.stat,
.event-card,
.contact-tile,
.article-topic,
.article-preview,
.feature-card,
.spotlight-card,
.metric {
  will-change: transform, opacity;
}

/* Responsive */
@media (max-width: 1100px) {
  .metrics-grid,
  .feature-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotlight-grid,
  .cta-panel,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__shell,
  .section-head--split {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
  }

  .contact-layout > * {
    grid-area: auto;
  }
}

@media (max-width: 899px) {
  .footer {
    padding: 28px 0 20px;
  }

  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 5vw, 48px);
    row-gap: 20px;
  }

  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer__grid > :first-child .footer__text {
    max-width: 620px;
  }

  .footer__bottom {
    gap: 16px;
    padding-top: 16px;
    margin-top: 18px;
  }
}

@media (max-width: 1199px) {
  .hero__shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(28px, 3.5vw, 42px);
    padding-top: 42px;
  }

  .hero__lead {
    margin-top: 18px;
  }

  .hero__actions,
  .hero__meta {
    margin-top: 22px;
  }

  .hero__winner {
    left: -28px;
    bottom: 20px;
    width: min(280px, calc(100% - 20px));
    min-height: 96px;
  }

  .hero__winner-logo {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .timeline__head,
  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .events-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 701px) and (max-width: 899px) {
  .hero {
    padding-bottom: 68px;
  }

  .hero__shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: clamp(20px, 3vw, 28px);
    padding-top: 32px;
  }

  .hero__title {
    margin-top: 14px;
  }

  .hero__lead {
    margin-top: 16px;
    line-height: 1.55;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero__actions .btn {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero__meta {
    margin-top: 18px;
  }

  .hero__phone {
    gap: 6px 12px;
    min-height: 46px;
    padding: 6px 0 6px 12px;
  }

  .hero__phone .info-card__label {
    font-size: 11px;
  }

  .hero__phone .info-card__value {
    font-size: 16px;
  }

  .hero__media {
    aspect-ratio: 6 / 5;
    padding: 8px;
    border-radius: 28px;
  }

  .hero__image {
    border-radius: 21px;
  }

  .hero__winner {
    left: -18px;
    bottom: 14px;
    width: min(230px, calc(100% - 16px));
    border-radius: 20px;
  }

  .info-card.hero__winner {
    column-gap: 8px;
    row-gap: 6px;
    min-height: 0;
    padding: 12px 16px;
  }

  .hero__winner-logo {
    width: 36px;
    height: 36px;
  }

  .hero__winner .info-card__label--strong {
    font-size: 12px;
  }

  .hero__winner p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 720px) {
  .article-grid.article-grid--listing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero__shell {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 36px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__media {
    aspect-ratio: auto;
    padding: 8px;
    border-radius: 28px;
  }

  .hero__image {
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 21px;
  }

  .hero__winner {
    left: 28px;
    bottom: 0;
    transform: translateY(42%);
  }

  .info-card.hero__winner {
    column-gap: 8px;
    row-gap: 6px;
    padding: 12px 16px;
  }

  .hero__winner-logo {
    width: 36px;
    height: 36px;
  }

  .hero__visual {
    margin-bottom: 54px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .header__logo {
    width: 48px;
    height: 48px;
  }

  .brand-mark--compact {
    font-size: 16px;
  }

  .btn--header {
    display: none;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav__link {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 13px;
  }

  .section,
  .page-hero {
    padding: 72px 0;
  }

  .hero {
    padding: 0 0 64px;
  }

  .hero__shell {
    gap: 28px;
    padding-top: 28px;
  }

  .hero__phone {
    width: auto;
  }

  .hero__winner {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: -28px auto 0;
    transform: none;
  }

  .hero__visual {
    margin-bottom: 0;
  }

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

  .eyebrow {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero__actions .btn,
  .cta-panel__actions .btn,
  .info-card,
  .btn--light,
  .btn--ghost,
  .btn--primary {
    width: 100%;
  }

  .metrics-grid,
  .feature-grid,
  .spotlight-grid,
  .article-preview-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-width: 0;
  }

  .info-card--wide {
    width: 100%;
  }

  .spotlight-card,
  .article-preview,
  .article-topic,
  .contact-tile,
  .event-card,
  .side-panel,
  .note-panel,
  .cta-panel,
  .page-hero__shell,
  .mini-stat,
  .feature-card,
  .metric,
  .story-card {
    padding: 24px 20px;
  }

  .feature-card h3,
  .spotlight-card h3,
  .article-preview h3,
  .article-topic h3,
  .article-topic h2,
  .event-card h2,
  .contact-tile h2 {
    margin-top: 14px;
  }

  .article-header {
    padding: 34px 0 36px;
  }

  .article-page {
    padding: 24px 0 64px;
  }

  .article-shell {
    width: min(100% - 16px, 1200px);
    padding: 0 18px 42px;
    border-radius: 24px;
  }

  .article-header .eyebrow {
    margin-top: 26px;
  }

  .article-header__title {
    margin-top: 16px;
  }

  .article-header__lead {
    margin-top: 18px;
    line-height: 1.65;
  }

  .article-toc {
    padding: 26px 0 30px;
  }

  .article-toc ul {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .article-content {
    padding-top: 38px;
  }

  .article-prose {
    line-height: 1.75;
  }

  .article-prose > * + * {
    margin-top: 18px;
  }

  .article-prose h2 {
    margin-top: 48px;
  }

  .article-prose blockquote {
    padding: 13px 16px;
  }

  .article-comparison {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .article-comparison__item {
    padding-right: 0;
  }

  .article-comparison__item + .article-comparison__item {
    margin-top: 18px;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .article-phrase-list {
    padding-left: 16px;
  }

  .article-phrase-list--columns .article-phrase-list__items {
    grid-template-columns: 1fr;
  }

  .article-cta {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 52px;
    padding: 28px 22px;
  }

  .article-sources {
    margin-top: 52px;
    padding-top: 36px;
  }

  .article-related {
    margin-top: 48px;
    padding-top: 34px;
  }

  .article-related__head,
  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .article-related__head {
    align-items: start;
    gap: 22px;
  }

  .section-title,
  .page-hero__title {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .footer__brand {
    font-size: 18px;
    line-height: 1.3;
  }

  .footer__title {
    font-size: 11px;
    line-height: 1.4;
  }

  .footer__list {
    font-size: 13px;
    line-height: 1.55;
  }

  .footer__text,
  .footer__project-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer__project-tag {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer__bottom {
    font-size: 12px;
    line-height: 1.55;
  }

  .cta-panel--home {
    padding: 34px 22px 32px;
  }

  .cta-section--home {
    padding: 48px 0 64px;
  }

  .events-archive {
    padding: 44px 0 52px;
  }

  .events-archive__head {
    margin-bottom: 20px;
  }

  .event-card--past {
    padding: 20px;
  }
}

@media (max-width: 599px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 18px;
  }

  .footer__grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer__project-text {
    max-width: 480px;
  }
}

@media (max-width: 374px) {
  .footer {
    padding: 26px 0 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer__grid > :first-child,
  .footer__grid > :last-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    margin-top: 18px;
  }
}
