@font-face {
  font-family: Nunito;
  src: url("Nunito.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #173875;
  --ink: #17284a;
  --muted: #4d607d;
  --line: #d7e1ee;
  --accent: #4169ac;
  --wash: #edf4fd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 600 1.0625rem / 1.6 Nunito, "Trebuchet MS", sans-serif;
}

.page {
  width: min(100% - 2.5rem, 66rem);
  margin-inline: auto;
}

.brand {
  padding-block: clamp(1.5rem, 5vw, 3.5rem) 1.25rem;
  border-bottom: 1px solid var(--line);
}

.logo-filter { position: absolute; }

.brand img {
  display: block;
  width: clamp(12rem, 33vw, 17rem);
  max-width: 100%;
  height: auto;

}

.hero {
  padding-block: clamp(2.6rem, 7vw, 5.5rem);
}

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

h1, h2 {
  color: var(--navy);
  font-weight: 750;
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 7.2vw, 5.8rem);
  letter-spacing: -.048em;
  text-wrap: balance;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero p {
  max-width: 49ch;
  margin-top: 1.45rem;
  font-size: clamp(1.125rem, 2.4vw, 1.4rem);
}

.hero p + p { margin-top: .85rem; }

.socials {
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
  padding-inline-start: .85rem;
  border-inline-start: 2px solid #b3c9ea;
}

.socials h2 {
  font-size: 1.125rem;
  letter-spacing: 0;
}

.socials p {
  margin-top: .32rem;
  color: var(--muted);
  font-size: .9375rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--navy);
  font-weight: 720;
}

.socials .social-link {
  gap: .3rem;
  vertical-align: middle;
  text-underline-offset: .15em;
}

.socials .telegram-icon { width: 1rem; height: 1rem; }

.socials .social-link:hover { color: var(--accent); }

.telegram-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.purpose {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.purpose p, .support p { margin-top: .8rem; }

.note, .support p { color: var(--muted); }

.note {
  max-width: 45ch;
  padding-left: .8rem;
  border-left: 2px solid #b3c9ea;
  font-size: .9375rem;
}

.support {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--wash);
}

details { margin-top: 1.25rem; }

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: .8rem;
  background: var(--navy);
  color: #fff;
  font-weight: 720;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  flex-shrink: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-.125rem) rotate(45deg);
}

details[open] summary::after {
  transform: translateY(.125rem) rotate(225deg);
}

summary:hover { background: #214989; }

.banks {
  display: grid;
  gap: .5rem;
  padding: 0;
  margin: .75rem 0 0;
  list-style: none;
}

.banks a {
  display: grid;
  gap: .125rem;
  align-content: center;
  min-height: 3rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: var(--navy);
  font-weight: 720;
  line-height: 1.35;
  text-decoration: none;
}

.banks a { background: #fff; }

.banks li:first-child a { border-color: #a8c2e7; }

.banks a:hover { background: #f7faff; }

.banks small {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.thanks {
  margin-top: 1.65rem;
  padding-top: 1.4rem;
  border-top: 1px solid #bfd1e9;
}

.thanks h3 {
  color: var(--navy);
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  font-weight: 720;
  line-height: 1.25;
}

.thanks span {
  display: block;
  margin-bottom: .25rem;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.045em;
}

.site-footer {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 1.5rem 2rem;
  padding-block: clamp(1.8rem, 5vw, 3rem);
  font-size: .9375rem;
  overflow-wrap: anywhere;
}

.site-footer h2 {
  margin-bottom: .65rem;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.site-footer a {
  color: #fff;
  text-underline-offset: .18em;
}

.site-footer .telegram-icon {
  box-sizing: content-box;
  padding: .2rem;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}

.site-footer a:focus-visible { outline-color: #fff; }
@media (max-width: 44rem) {
  .support-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}