@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Inter-roman.var.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Inter-italic.var.woff2') format('woff2');
}

:root {
  /*--font-base: Arial, Helvetica, sans-serif;*/
  --font-base: 'Inter', BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --color-background: #ffffff;
  --color-text: #12263a;
  --color-muted: rgba(18, 38, 58, 0.72);
  --color-border: rgba(18, 38, 58, 0.08);
  --color-accent: #5f4b8b;
  --color-accent-soft: #ede8ff;
  --color-accent-strong: #2f296b;
  --color-tone-a: #1ba9f5;
  --color-tone-b: #0f1a3b;
  --color-tone-c: #24bbb1;
  --shadow-sm: 0 10px 30px rgba(18, 38, 58, 0.12);
  --gradient-hero: linear-gradient(to bottom right, #1ba9f5 0%, #0b64dd 100%);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.6;
}

.container {
  width: min(1024px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  padding: 0.75rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-action {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.3rem;
  border: none;
  background: none;
  color: rgba(18, 38, 58, 0.55);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-action:hover,
.header-action:focus {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.header-action:focus {
  outline: 2px solid rgba(95, 75, 139, 0.35);
  outline-offset: 2px;
}

.brand {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.btn {
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  background: #ffffff;
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn:focus {
  outline: 3px solid rgba(95, 75, 139, 0.35);
  outline-offset: 2px;
}

.btn--secondary {
  background: var(--secondary-btn-bg, var(--color-accent-soft));
  color: var(--secondary-btn-text, var(--color-accent-strong));
  border-color: transparent;
}

.hero {
  background: var(--color-tone-b);
  color: #ffffff;
  padding: 3.5rem 3vw 4rem;
}

.hero__content {
  width: min(1024px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero__portrait {
  display: block;
  width: min(120px, 18vw);
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: none;
  width: 100%;
}

.hero__profile {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  margin: 0 0 0.8rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: none;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.text-spacer {
  margin-bottom: 1rem;
  margin-left: 0;
}

.text-spacer__note {
  display: block;
  margin-top: 0.4rem;
}

.hero__highlights {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.hero__highlights li {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__highlights li:last-child {
  margin-bottom: 0;
}

.hero--not-found {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 8vw, 6rem) 3vw;
}

.hero--not-found .hero__content {
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.hero--not-found .hero__intro {
  align-items: center;
  max-width: 720px;
}

.hero--not-found .hero__intro p {
  margin-bottom: 0;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero--not-found .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.hero--not-found .hero__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.hero__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.strip {
  --section-bg: #ffffff;
  --section-shadow: 0 25px 60px rgba(15, 26, 59, 0.08);
  --strip-text: var(--color-text);
  --strip-subtext: var(--color-muted);
  --pill-bg: var(--color-accent-soft);
  --pill-text: var(--color-accent-strong);
  --pill-border: none;
  --callout-bg: rgba(0, 179, 164, 0.1);
  --callout-text: #044a47;
  --secondary-btn-bg: var(--color-accent-soft);
  --secondary-btn-text: var(--color-accent-strong);
  position: relative;
  margin: 0 clamp(1.25rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  border-radius: 0;
  z-index: 0;
  color: var(--strip-text);
}

.strip::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--section-bg);
  box-shadow: var(--section-shadow);
  z-index: -1;
}

.strip__subtitle {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.strip--accelerator-white {
  --section-bg: #ffffff;
  --section-shadow: 0 18px 45px rgba(12, 32, 68, 0.12);
  --strip-text: var(--color-text);
  --strip-subtext: rgba(18, 38, 58, 0.75);
  margin-left: 0;
  margin-right: 0;
}

.strip--accelerator-white .flat-grid__item {
  background: rgba(18, 38, 58, 0.04);
  color: var(--color-text);
  box-shadow: 0 12px 24px rgba(18, 38, 58, 0.08);
}

.strip--accelerator-white .flat-grid__item p {
  color: var(--color-muted);
}

.strip h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--strip-text);
}

.strip p {
  margin: 0;
  max-width: 820px;
  color: var(--strip-subtext);
}

.strip--accelerator-white p {
  max-width: none;
}

.strip + .strip {
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

.strip--accelerator-white + .strip--flat-blue {
  margin-top: 0;
}


.strip--plain {
  --section-bg: #ffffff;
  --section-shadow: 0 18px 45px rgba(12, 32, 68, 0.12);
  --strip-text: var(--color-text);
  --strip-subtext: rgba(18, 38, 58, 0.75);
  --pill-bg: rgba(95, 75, 139, 0.1);
  --pill-text: var(--color-accent-strong);
  --pill-border: none;
  --callout-bg: rgba(95, 75, 139, 0.12);
  --callout-text: var(--color-accent-strong);
  --secondary-btn-bg: var(--color-accent-soft);
  --secondary-btn-text: var(--color-accent-strong);
}

.strip--flat-blue {
  --section-bg: var(--color-tone-b);
  --section-shadow: none;
  --strip-text: #ffffff;
  --strip-subtext: rgba(255, 255, 255, 0.82);
  --pill-bg: rgba(255, 255, 255, 0.18);
  --pill-text: #ffffff;
  --pill-border: 1px solid rgba(255, 255, 255, 0.2);
  --callout-bg: rgba(255, 255, 255, 0.2);
  --callout-text: #ffffff;
  --secondary-btn-bg: rgba(255, 255, 255, 0.25);
  --secondary-btn-text: #ffffff;
  margin: 0;
  border-radius: 0;
  border-top-right-radius: 48px;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.strip--flat-blue::before {
  border-radius: inherit;
  border-top-right-radius: 48px;
}

.strip--flat-blue p {
  max-width: none;
}

.strip--flat-blue--no-top-right {
  border-top-right-radius: 0;
}

.strip--flat-blue--no-top-right::before {
  border-top-right-radius: 0;
}

.strip--flat-white {
  --section-bg: #ffffff;
  --section-shadow: none;
  --strip-text: var(--color-text);
  --strip-subtext: rgba(18, 38, 58, 0.72);
  --pill-bg: rgba(18, 38, 58, 0.04);
  --pill-text: var(--color-text);
  --pill-border: none;
  --callout-bg: rgba(18, 38, 58, 0.06);
  --callout-text: var(--color-text);
  --secondary-btn-bg: rgba(18, 38, 58, 0.08);
  --secondary-btn-text: var(--color-text);
  margin: 0;
  border-radius: 0;
  padding: clamp(3rem, 6vw, 4.8rem) 0;
  border-top: 1px solid rgba(18, 38, 58, 0.06);
  border-bottom: 1px solid rgba(18, 38, 58, 0.06);
}

.strip--flat-white::before {
  border-radius: inherit;
}

.flat-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.2rem, 4vw, 2rem);
}

.flat-grid__item {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 0;
  padding: 1.75rem;
  color: inherit;
  backdrop-filter: blur(2px);
  box-shadow: 0 18px 36px rgba(10, 56, 140, 0.2);
}

.flat-grid__item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.flat-grid__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.flat-white {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.flat-white > div > p {
  max-width: none;
}

.flat-white__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.flat-white__card {
  background: rgba(18, 38, 58, 0.04);
  border-radius: 0;
  padding: 1.8rem;
  box-shadow: 0 16px 32px rgba(18, 38, 58, 0.12);
}

.flat-white__card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.flat-white__card p {
  margin: 0;
  color: rgba(18, 38, 58, 0.7);
  line-height: 1.55;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem 1rem;
}

.pill-list li {
  background: var(--pill-bg);
  color: var(--pill-text);
  padding: 0.6rem 1.1rem;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: var(--pill-border);
  text-align: center;
  word-break: break-word;
}

.word-cloud {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 50vw, 440px);
  margin-top: 2rem;
  overflow: hidden;
}

.word-cloud__word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  color: rgba(18, 38, 58, 0.82);
  white-space: nowrap;
  pointer-events: none;
  text-transform: none;
  transition: filter 0.4s ease;
}

.word-cloud__word.is-highlighted {
  filter: drop-shadow(0 6px 14px rgba(18, 38, 58, 0.26));
}

.word-cloud--static {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  min-height: auto;
  overflow: visible;
}

.word-cloud--static .word-cloud__word,
.word-cloud__word.word-cloud__word--static {
  position: static;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto;
}

.strip--flat-blue .word-cloud__word {
  text-shadow: 0 6px 18px rgba(4, 12, 32, 0.45), 0 0 12px rgba(255, 255, 255, 0.18);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  align-items: stretch;
}

.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(1.8rem, 4vw, 2.4rem) clamp(1.4rem, 3vw, 1.8rem);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14) 0%, rgba(12, 32, 68, 0.45) 100%);
  color: #ffffff;
  box-shadow: 0 28px 48px rgba(9, 17, 40, 0.25);
  overflow: hidden;
  text-align: center;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.metric::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(36, 187, 177, 0.55), transparent 58%) ,
    linear-gradient(135deg, rgba(27, 169, 245, 0.38), rgba(95, 75, 139, 0.32));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.metric::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(36, 187, 177, 0.8), rgba(27, 169, 245, 0.82), rgba(95, 75, 139, 0.85));
  opacity: 0.9;
  z-index: 1;
}

.metric:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px rgba(9, 17, 40, 0.35);
}

.metric:hover::before {
  opacity: 1;
}

.metric > * {
  position: relative;
  z-index: 2;
}

.metric__value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
  font-size: clamp(2.6rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(120deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 55%, rgba(224, 234, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 28px rgba(4, 12, 32, 0.45);
}

.metric__value::after {
  content: attr(data-suffix);
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
}

.metric__label {
  margin-top: 0.3rem;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.metrics--light .metric {
  border: 1px solid rgba(18, 38, 58, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 232, 255, 0.7) 100%);
  color: var(--color-text);
  box-shadow: 0 24px 40px rgba(18, 38, 58, 0.12);
}

.metrics--light .metric::before {
  background:
    radial-gradient(circle at top right, rgba(95, 75, 139, 0.28), transparent 62%),
    linear-gradient(135deg, rgba(27, 169, 245, 0.18), rgba(95, 75, 139, 0.08));
  opacity: 0;
}

.metrics--light .metric::after {
  background: linear-gradient(90deg, rgba(27, 169, 245, 0.55), rgba(95, 75, 139, 0.55), rgba(36, 187, 177, 0.55));
  opacity: 1;
}

.metrics--light .metric:hover {
  box-shadow: 0 30px 56px rgba(18, 38, 58, 0.16);
}

.metrics--light .metric:hover::before {
  opacity: 1;
}

.metrics--light .metric__value {
  color: var(--color-accent-strong);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--color-accent-strong);
  text-shadow: 0 6px 18px rgba(18, 38, 58, 0.18);
}

.metrics--light .metric__value::after {
  color: var(--color-accent-strong);
  -webkit-text-fill-color: var(--color-accent-strong);
}

.metrics--light .metric__label {
  color: rgba(18, 38, 58, 0.68);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1200;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 17, 40, 0.6);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: #ffffff;
  color: var(--color-text);
  padding: clamp(1.8rem, 4vw, 2.4rem);
  border-radius: 18px;
  box-shadow: 0 28px 64px rgba(9, 17, 40, 0.35);
  width: min(400px, 100%);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.modal.is-visible .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  color: rgba(18, 38, 58, 0.6);
  cursor: pointer;
  padding: 0.1rem;
  transition: color 0.2s ease;
}

.modal__close:hover,
.modal__close:focus {
  color: var(--color-accent-strong);
}

.modal__title {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text);
}

.modal__intro {
  margin: 0 0 1.2rem;
  color: var(--color-muted);
}

.modal__resource {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-weight: 600;
}

.modal__resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(27, 169, 245, 0.12);
  border-radius: 999px;
}

.modal__resource-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #0a66c2;
}

.modal__resource-icon--pdf {
  background: rgba(220, 53, 69, 0.12);
}

.modal__resource-icon--pdf svg {
  fill: #c81f1f;
}

.modal__resource-link {
  color: var(--color-accent-strong);
  text-decoration: none;
  transition: color 0.2s ease;
}

.modal__resource-link:hover,
.modal__resource-link:focus {
  color: var(--color-tone-a);
  text-decoration: underline;
}

.callout {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 0;
  background: var(--callout-bg);
  color: var(--callout-text);
  font-weight: 600;
}

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 0.75rem 3vw;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.footer__brand {
  font-weight: 600;
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .header-actions {
    justify-content: flex-end;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .strip {
    margin: 0 clamp(1rem, 8vw, 2rem);
    padding: clamp(2rem, 10vw, 3rem) 0;
    border-radius: 0;
  }

}
