@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/roboto.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #130f19;
  --surface: rgba(35, 27, 45, 0.72);
  --surface-strong: #241c2e;
  --line: rgba(224, 205, 237, 0.13);
  --text: #fbf8fc;
  --muted: #bdb2c5;
  --accent: #c5a7d8;
  --accent-strong: #e0c6ed;
  --pink: #dc9fc4;
  --deep: #6d557e;
  --shadow: 0 28px 90px rgba(4, 2, 7, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(112, 77, 132, 0.23), transparent 34rem),
    radial-gradient(circle at 3% 70%, rgba(103, 69, 120, 0.16), transparent 36rem),
    linear-gradient(145deg, #17111e 0%, #100d15 70%);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
}

.glow {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.glow--top {
  top: 80px;
  right: -210px;
  background: rgba(201, 151, 224, 0.2);
}

.glow--bottom {
  bottom: 180px;
  left: -250px;
  background: rgba(153, 107, 179, 0.18);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(193, 154, 214, 0.2));
}

.brand__name {
  font-size: 1.26rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand__years {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 520;
  letter-spacing: 0.08em;
}

.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9cede;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
  font-weight: 550;
}

.chapter-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(220, 159, 196, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.8fr);
  gap: 72px;
  align-items: end;
  padding: 112px 0 116px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 6.4vw, 6.45rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero__lead {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.shutdown-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(225, 199, 237, 0.2);
  border-radius: 25px;
  background:
    linear-gradient(145deg, rgba(91, 68, 105, 0.33), rgba(30, 24, 38, 0.78)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.shutdown-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(213, 170, 232, 0.08);
  content: "";
}

.shutdown-card__mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(225, 199, 237, 0.18);
  border-radius: 17px;
  color: var(--accent-strong);
  background: rgba(229, 206, 239, 0.08);
  font-size: 1.25rem;
  font-weight: 780;
}

.shutdown-card__label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.shutdown-card__date {
  margin-bottom: 17px;
  font-size: 1.42rem;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.shutdown-card__text {
  margin-bottom: 0;
  color: #c9bfce;
  font-size: 0.91rem;
  line-height: 1.62;
}

.numbers {
  padding: 88px 0 102px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading h2,
.letter h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 710;
  letter-spacing: -0.05em;
  line-height: 1.07;
}

.section-heading__note {
  max-width: 240px;
  margin-bottom: 4px;
  color: #8f8497;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: right;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 25px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.017);
}

.stat-card {
  min-height: 250px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  background: rgba(24, 19, 31, 0.64);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card--accent {
  background:
    linear-gradient(160deg, rgba(122, 89, 141, 0.3), transparent 78%),
    rgba(31, 24, 39, 0.7);
}

.stat-card__number {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-strong);
  font-size: clamp(2.35rem, 4vw, 3.7rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat-card h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
  font-weight: 650;
}

.stat-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.letter {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.55fr);
  min-height: 580px;
  margin-bottom: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(140deg, rgba(87, 65, 101, 0.22), transparent 48%),
    var(--surface);
  box-shadow: var(--shadow);
}

.letter__mascot {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 48px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(208, 170, 226, 0.16), transparent 48%),
    rgba(20, 15, 27, 0.46);
}

.letter__mascot img {
  width: min(220px, 78%);
  filter: drop-shadow(0 25px 35px rgba(5, 2, 8, 0.32));
}

.letter__body {
  align-self: center;
  padding: 70px clamp(40px, 7vw, 90px);
}

.letter__body h2 {
  margin-bottom: 30px;
}

.letter__body > p:not(.eyebrow):not(.letter__sign) {
  max-width: 700px;
  margin-bottom: 20px;
  color: #cbc1d0;
  font-size: 1rem;
  line-height: 1.75;
}

.letter__sign {
  margin: 35px 0 0;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 620;
}

.letter__sign span {
  display: block;
  margin-top: 2px;
  color: var(--accent);
  font-weight: 520;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 0 50px;
  color: #8f8497;
  font-size: 0.75rem;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    padding: 86px 0;
  }

  .shutdown-card {
    max-width: 560px;
  }

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

  .stat-card {
    border-bottom: 1px solid var(--line);
  }

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-bottom: 0;
  }

  .letter {
    grid-template-columns: 1fr;
  }

  .letter__mascot {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 88px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand__years {
    display: none;
  }

  .chapter-badge {
    padding: 8px 10px;
    font-size: 0.69rem;
  }

  .hero {
    gap: 36px;
    padding: 68px 0 72px;
  }

  h1 {
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .shutdown-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .numbers {
    padding: 68px 0 78px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading__note {
    max-width: none;
    margin: 18px 0 0;
    text-align: left;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 205px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .stat-card__number {
    margin-bottom: 38px;
  }

  .letter {
    margin-bottom: 72px;
    border-radius: 24px;
  }

  .letter__mascot {
    min-height: 260px;
    padding: 34px;
  }

  .letter__body {
    padding: 46px 25px 50px;
  }

  .site-footer {
    display: grid;
    gap: 7px;
    padding-bottom: 32px;
  }
}

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