@font-face {
  font-family: Rubik;
  src: local("Rubik"), url("https://grantix.com/fonts/rubik-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Rubik;
  src: local("Rubik Bold"), url("https://grantix.com/fonts/rubik-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Rubik;
  src: local("Rubik"), url("https://grantix.com/fonts/rubik-cyrillic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Rubik;
  src: local("Rubik Bold"), url("https://grantix.com/fonts/rubik-cyrillic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  --bg: #080f14;
  --panel: #0e1c24;
  --ink: #f5f9f7;
  --muted: #a9bdbd;
  --accent: #67ff92;
  --line: #243c43;
  --font: Rubik, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.symbol-bank, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.shell { width: min(100% - 96px, 1240px); margin-inline: auto; }
.line-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip-link {
  position: fixed; z-index: 5; inset-block-start: 12px; inset-inline-start: 12px;
  transform: translateY(-150%); padding: 12px 18px; border-radius: 8px;
  background: var(--accent); color: #10231a;
}
.skip-link:focus { transform: none; }

.site-header { background: #0d1c24; border-bottom: 1px solid #20333d; }
.header-inner { display: flex; min-height: 77px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; }
.brand img { width: 125px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 27px; }
.main-site { display: flex; gap: 7px; align-items: center; padding-block: 12px; font-size: .88rem; color: #d2ddde; }
.main-site:hover { color: var(--accent); }
.main-site .line-icon { width: 16px; height: 16px; }
.language-picker { position: relative; display: inline-flex; align-items: center; border: 1px solid #3a515a; border-radius: 999px; }
.language-picker:hover, .language-picker:focus-within { border-color: var(--accent); }
.language-picker > .line-icon { position: absolute; inset-inline-start: 12px; width: 18px; height: 18px; pointer-events: none; color: var(--accent); }
.language-picker > .chevron { inset-inline-start: auto; inset-inline-end: 10px; width: 15px; height: 15px; color: var(--ink); }
.language-picker select {
  appearance: none; cursor: pointer; color: var(--ink); background: transparent; border: 0;
  max-width: 178px; min-width: 119px; min-height: 44px; padding-block: 8px;
  padding-inline: 37px 30px; border-radius: 999px; font-size: .86rem;
}
.language-picker option { background: var(--panel); color: var(--ink); }

.hero {
  display: grid; grid-template-columns: 1.09fr 1fr; align-items: center; gap: clamp(20px, 3.2vw, 48px);
  min-height: 496px; margin-block-start: 31px; padding: clamp(24px, 4vw, 54px);
  overflow: hidden; border: 1px solid #28424a; border-radius: 32px;
  background:
    radial-gradient(ellipse at 78% 45%, #12302c 0%, transparent 62%),
    linear-gradient(124deg, #0e1d25, #0c1a22 62%, #0d2128);
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.event-tag {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content; direction: ltr;
  margin: 0 0 22px; padding: 8px 13px; border: 1px solid #3c6058; border-radius: 999px;
  background: #182d2c; color: #d8ede5; font-size: .69rem; font-weight: 600; letter-spacing: .145em;
}
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #67ff9280; }
.hero h1 {
  margin: 0; max-width: 11em; font-size: clamp(2.7rem, 5.45vw, 5.1rem);
  font-weight: 680; line-height: .99; letter-spacing: -.072em; overflow-wrap: anywhere;
}
.hero-accent { display: block; color: var(--accent); }
html:not([lang="en"]) .hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.55rem); }
html[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.16; }
.hero-intro { margin: 24px 0 26px; max-width: 33em; color: #bdcdcd; font-size: clamp(.98rem, 1.25vw, 1.1rem); line-height: 1.58; }
.hero-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 999px;
  background: var(--accent); color: #10251a; font-size: .92rem; font-weight: 650;
  transition: background-color .18s, box-shadow .18s;
}
.hero-action:hover { background: #a4ffbc; box-shadow: 0 4px 26px #67ff9235; }
.hero-action .line-icon { width: 18px; height: 18px; }
.hero-visual {
  position: relative; display: grid; place-items: center; aspect-ratio: 1.25; min-width: 0; isolation: isolate;
  border: 1px solid #427864; border-radius: 25px; overflow: hidden;
  background: radial-gradient(ellipse at 53% 47%, #c9ffcf, #77d49c 49%, #3b9873 100%);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .23;
  background-image: linear-gradient(#16563950 1px, transparent 1px), linear-gradient(90deg, #16563950 1px, transparent 1px);
  background-size: 29px 29px; mask-image: radial-gradient(ellipse, #0000 25%, #000 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: contain; }

.library { padding-block: 61px 77px; scroll-margin-block-start: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px 24px; margin-block-end: 25px; }
.section-heading h2 { margin: 0; font-size: clamp(1.95rem, 3.1vw, 3.05rem); line-height: 1.1; font-weight: 620; letter-spacing: -.052em; }
.section-heading p { margin: 0; padding-block-end: 4px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.deck-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (min-width: 721px) {
  .deck-grid:has(> .deck:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.deck {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid #2c424b; border-radius: 21px; background: var(--panel);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.deck:hover, .deck:focus-visible { border-color: #64ba80; background: #12242a; box-shadow: 0 12px 35px #03080c66; }
.deck.entering { animation: rise-in .6s both; animation-delay: var(--enter-delay, 0ms); }
@keyframes rise-in { from { opacity: .45; transform: translateY(19px); } to { opacity: 1; transform: none; } }
.deck-cover { position: relative; height: clamp(116px, 13vw, 162px); overflow: hidden; isolation: isolate; }
.deck-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(currentColor 1px, transparent 1px); background-size: 14px 14px; opacity: .16; }
.cover-one { color: #135737; background: linear-gradient(118deg, #8ef6a8, #bdfec7); }
.cover-two { color: #b6e8e8; background: linear-gradient(118deg, #244a51, #32696c); }
.cover-three { color: #304721; background: linear-gradient(118deg, #c6e78f, #def4b9); }
.deck-cover img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 100%; height: 100%; object-fit: contain; opacity: .94; transition: transform .35s; }
.deck:hover .deck-cover img { transform: scale(1.04); }
.cover-index, .cover-format { position: absolute; z-index: 1; font-size: .74rem; font-weight: 650; letter-spacing: .1em; }
.cover-index { inset-block-start: 16px; inset-inline-start: 18px; }
.cover-format { inset-block-start: 13px; inset-inline-end: 15px; padding: 4px 7px; border: 1px solid currentColor; border-radius: 6px; }
.deck-body { display: flex; flex: 1; flex-direction: column; padding: 21px 21px 15px; }
.deck-kicker { margin: 0 0 10px; color: var(--accent); font-size: .72rem; font-weight: 550; letter-spacing: .075em; text-transform: uppercase; }
.deck h3 { margin: 0 0 8px; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.18; letter-spacing: -.028em; overflow-wrap: anywhere; }
.deck-description { margin: 0 0 17px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.deck-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; margin-block-start: auto; padding-block-start: 11px; border-top: 1px solid #2b434b; font-size: .89rem; font-weight: 590; }
.deck-arrow { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid #3d5a60; border-radius: 50%; color: var(--accent); transition: color .2s, background-color .2s; }
.deck-arrow .line-icon { width: 18px; height: 18px; }
.deck:hover .deck-arrow, .deck:focus-visible .deck-arrow { color: #10251a; background: var(--accent); }

.site-footer { border-top: 1px solid #29434b; background: #142b38; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-block: 36px 40px; }
.footer-inner p { max-width: 34ch; margin: 9px 0 0; color: #b0c3c7; font-size: .88rem; line-height: 1.55; }
.footer-brand img { width: 106px; }
.follow h2 { margin: 6px 0 13px; font-size: 1rem; font-weight: 550; }
.follow ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.follow a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4b626b; border-radius: 50%; transition: background-color .2s, color .2s; }
.follow a:hover { color: #12281d; background: var(--accent); }
.follow svg { width: 20px; height: 20px; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 420px; }
  .deck-grid { gap: 12px; }
  .deck-body { padding-inline: 15px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; }
  .brand img { width: 108px; }
  .header-actions { gap: 11px; }
  .main-site { display: none; }
  .hero {
    grid-template-columns: 1fr; gap: 22px; min-height: auto; margin-block-start: 14px; padding: 24px 20px 16px;
    border-radius: 24px;
  }
  .event-tag { margin-block-end: 16px; }
  .hero h1 { font-size: clamp(2.62rem, 9.65vw, 4.2rem); }
  html:not([lang="en"]) .hero h1 { font-size: clamp(2.45rem, 8.9vw, 4rem); }
  .hero-intro { margin-block: 17px 19px; }
  .hero-visual { height: clamp(118px, 38vw, 220px); width: 100%; aspect-ratio: auto; border-radius: 15px; }
  .hero-visual img { width: auto; max-width: 100%; object-fit: contain; }
  .library { padding-block: 36px 47px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; margin-block-end: 16px; }
  .section-heading p { padding: 0; }
  .deck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer-inner { flex-wrap: wrap; padding-block: 25px 31px; gap: 23px 30px; }
}

@media (max-width: 460px) {
  .deck-grid { grid-template-columns: 1fr; }
  .deck-body { padding: 16px 17px 12px; }
  .deck-description { margin-block-end: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
