:root {
  --bg: #111111;
  --bg-soft: #181818;
  --panel: rgba(17, 17, 17, 0.94);
  --panel-soft: rgba(24, 24, 24, 0.96);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --muted-strong: rgba(255, 255, 255, 0.9);
  --accent: #ffc909;
  --accent-strong: #ff9415;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.site-shell > main {
  flex: 1 0 auto;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.site-header .container {
  width: min(100%, calc(100% - 80px));
  max-width: none;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand__name {
  font-size: 24px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav__links,
.site-nav__socials {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav__links a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: #327aff;
}

.site-nav__socials {
  gap: 12px;
}

.social-link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero--full {
  min-height: 100vh;
}

.hero--medium {
  min-height: 100vh;
}

.hero__backdrop,
.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__backdrop {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 40px;
}

.hero__content--top {
  align-items: flex-start;
}

.hero__stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: min(779px, 70vw);
  max-width: 100%;
}

.hero__subtitle {
  margin: 18px 0 0;
  font-size: clamp(22px, 3.3vw, 50px);
  font-weight: 700;
  line-height: 1.2;
}

.hero__title {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
}

.hero__lead {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 81px;
  padding: 0 34px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #ffffff;
  background-image: linear-gradient(270deg, rgba(255, 148, 21, 1) 0%, rgba(255, 201, 9, 1) 100%);
  box-shadow: 0 5px 15px rgba(255, 148, 21, 0.5);
}

.button--ghost {
  min-height: 58px;
  padding: 0 26px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.button--block {
  width: 100%;
}

.section {
  padding: 90px 0;
  background: var(--bg);
}

.section--slider {
  padding-bottom: 60px;
}

.section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.about-intro {
  padding-top: 120px;
  padding-bottom: 36px;
}

.about-intro .section__heading {
  max-width: 1180px;
  margin: 0 auto;
}

.about-intro .section__title {
  font-size: clamp(34px, 4vw, 48px);
}

.about-intro .section__lead {
  max-width: 1080px;
  font-size: 20px;
  line-height: 1.7;
}

.about-intro__note {
  margin: 30px auto 0;
  max-width: 1080px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-strong);
}

.about-story {
  padding-top: 14px;
}

.section__heading {
  margin-bottom: 28px;
  text-align: center;
}

.section__eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wiki-eyebrow {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
}

.section__lead {
  max-width: 820px;
  margin: 16px auto 0;
  font-size: 22px;
  line-height: 1.7;
  color: var(--muted);
}

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

.feature-card,
.info-card,
.article-card,
.checkout-panel,
.checkout-side__card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card,
.info-card,
.checkout-side__card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.feature-card h3,
.info-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.feature-card p,
.info-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.slider {
  position: relative;
}

.slider--gallery {
  max-width: 1200px;
  margin: 0 auto;
}

.slider--gallery .slider__arrow--prev {
  left: 113px;
}

.slider--gallery .slider__arrow--next {
  right: 113px;
}

.slider--gallery .slider__arrow {
  top: 45%;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  position: relative;
  width: 100%;
}

.slider__slide {
  display: none;
  width: 100%;
}

.slider__slide.is-active {
  display: block;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(232, 232, 232, 1);
  color: #000;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.slider__arrow::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.slider__arrow--prev {
  left: -92px;
}

.slider__arrow--prev::before {
  transform: rotate(-135deg);
}

.slider__arrow--next {
  right: -92px;
}

.slider__arrow--next::before {
  transform: rotate(45deg);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider__dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  min-height: 9px;
  padding: 0;
  flex: 0 0 9px;
  border: 0;
  border-radius: 999px;
  background: #c7c7c7;
  cursor: pointer;
  appearance: none;
}

.slider__dot.is-active {
  background: #222222;
}

.gallery-slide {
  max-width: 860px;
  margin: 0 auto;
}

.gallery-slide__frame {
  aspect-ratio: 860 / 550;
  border-radius: 30px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.slider--gallery .slider__viewport {
  position: relative;
}

.slider--gallery .slider__track {
  display: grid;
}

.slider--gallery .slider__slide {
  display: block;
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

.slider--gallery .slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide__meta {
  max-width: 860px;
  margin: 0 auto;
}

.gallery-slide__separator {
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.gallery-slide__caption {
  margin-top: 18px;
  text-align: center;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.4;
  font-weight: 400;
}

.story-slider {
  position: relative;
}

.story-slider .slider__viewport {
  position: relative;
}

.story-slider .slider__track {
  position: relative;
}

.story-slider__slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.slider__slide.story-slider__slide {
  display: none;
}

.slider__slide.story-slider__slide.is-active {
  display: grid;
  animation: story-slide-fade 0.35s ease both;
}

.story-slider__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: #222;
  align-self: start;
}

.story-slider__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-slider__body h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 36px);
}

.story-slider__body {
  align-self: start;
}

.story-slider__body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.story-slider__body p + p {
  margin-top: 18px;
}

.story-slider .slider__arrow {
  width: 30px;
  height: 30px;
  top: clamp(145px, 18vw, 300px);
  transform: translateY(-50%);
}

.story-slider .slider__arrow--prev {
  left: -54px;
}

.story-slider .slider__arrow--next {
  right: -54px;
}

@keyframes story-slide-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.article-card {
  width: min(1000px, 100%);
  margin: 0 auto;
  border-radius: 22px;
  padding: 38px;
}

.article-card__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 700;
}

.article-card__content {
  font-size: 20px;
  line-height: 1.72;
  color: var(--muted-strong);
}

.article-card__content p,
.article-card__content ul {
  margin: 0 0 16px;
}

.article-card__content ul {
  padding-left: 24px;
}

.article-card__content li {
  margin-bottom: 8px;
}

.checkout-wrap {
  width: min(760px, 100%);
}

.checkout-panel {
  border-radius: 12px;
  padding: 22px 24px;
}

.checkout-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.checkout-panel__title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 700;
}

.checkout-panel__subtitle,
.checkout-panel__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.checkout-panel__price {
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-panel__summary {
  margin-top: 12px;
}

.checkout-form {
  margin-top: 22px;
}

.checkout-form__message {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
}

.checkout-form .field {
  display: block;
  margin-bottom: 36px;
}

.checkout-form .field:last-of-type {
  margin-bottom: 18px;
}

.field__label {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}

.field__hint {
  margin: -2px 0 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.2;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 7px;
  padding: 0 20px;
  background: #ffffff;
  color: #000000;
  font-size: 18px;
}

.field input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.45;
}

.checkbox input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.checkbox span {
  display: inline;
  color: rgba(255, 255, 255, 0.8);
}

.checkbox a {
  color: var(--accent);
  text-decoration: none;
}

.checkbox a:hover {
  color: var(--accent-strong);
}

.checkout-side {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.checkout-side__card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.checkout-side__card p,
.checkout-side__links {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.checkout-side__links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.accordion {
  display: grid;
  gap: 2px;
}

.accordion__item {
  border-radius: 22px;
  overflow: hidden;
  background: #eeeeee;
  color: #222222;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion__title {
  font-size: 32px;
  font-weight: 600;
}

.accordion__icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: #222;
  transform: translateY(-50%);
}

.accordion__icon::after {
  inset: 0 50% auto;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  opacity: 0;
}

.accordion__content {
  display: none;
  padding: 0 28px 28px;
  font-size: 18px;
  line-height: 1.75;
}

.accordion__content.is-open {
  display: block;
}

.site-footer {
  background: #111111;
  margin-top: auto;
}

.site-footer .container {
  width: min(100%, calc(100% - 80px));
  max-width: none;
}

.site-footer__inner {
  min-height: 70px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 60px;
}

.site-footer__copy {
  flex: 0 1 320px;
  max-width: 320px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  gap: 24px;
}

.site-footer__links a {
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
}

.site-footer__links a:hover {
  color: var(--accent);
}

@media (max-width: 1199px) {
  .site-nav__links a {
    font-size: 18px;
  }

  .slider__arrow--prev {
    left: -56px;
  }

  .slider__arrow--next {
    right: -56px;
  }
}

@media (max-width: 959px) {
  .site-header .container {
    width: calc(100% - 32px);
  }

  .site-header {
    background: #000000;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
  }

  .brand__name {
    font-size: 20px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links,
  .site-nav__socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero__content,
  .article-hero {
    min-height: auto;
  }

  .hero__stack {
    align-items: center;
  }

  .hero__content {
    padding-top: 150px;
    padding-bottom: 80px;
  }

  .button {
    min-height: 70px;
    font-size: 24px;
  }

  .feature-grid,
  .story-slider__slide {
    grid-template-columns: 1fr;
  }

  .story-slider .slider__arrow--prev {
    left: 0;
  }

  .story-slider .slider__arrow--next {
    right: 0;
  }

  .story-slider .slider__arrow {
    top: calc(100% + 20px);
    transform: none;
  }

  .story-slider .slider__dots {
    margin-top: 70px;
  }

  .slider__arrow--prev,
  .slider__arrow--next {
    top: calc(100% + 22px);
    transform: none;
  }

  .slider__arrow--prev {
    left: calc(50% - 60px);
  }

  .slider__arrow--next {
    right: calc(50% - 60px);
  }

  .slider__dots {
    margin-top: 80px;
  }

  .gallery-slide__caption {
    font-size: 28px;
  }

  .article-card {
    padding: 28px 22px;
  }

  .article-card__content {
    font-size: 18px;
  }

  .accordion__title {
    font-size: 24px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
    margin-left: 0;
    gap: 16px;
  }
}

@media (max-width: 639px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero__content {
    padding-top: 132px;
  }

  .hero__logo {
    width: min(88vw, 420px);
  }

  .hero__subtitle {
    max-width: 290px;
  }

  .button {
    width: 100%;
    min-height: 62px;
    font-size: 22px;
  }

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

  .gallery-slide__caption {
    font-size: 22px;
  }

  .article-card__content {
    font-size: 17px;
  }

  .site-footer__copy,
  .site-footer__links a {
    font-size: 13px;
  }

  .checkout-panel__top {
    flex-direction: column;
  }

  .field__label {
    font-size: 20px;
  }
}
