:root {
  color-scheme: dark;
  --background: #100f17;
  --panel: #191722;
  --line: #343041;
  --text: #f6f3ff;
  --muted: #bab4cb;
  --mint: #a2f9cc;
  --lavender: #cbb5ff;
  --amber: #f5d099;
  --mono: ui-monospace, Consolas, monospace;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[id] { scroll-margin-top: 98px; }
.wrap { width: min(1170px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 5; padding: 12px; background: var(--panel); }
.skip:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: #100f17f5; }
.header-inner, .footer { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.045em; white-space: nowrap; }
.brand img { border-radius: 10px; }
.brand-fast { color: var(--mint); }
.header nav { display: flex; gap: 28px; }
.header nav a, .footer > a:last-child { color: var(--muted); text-decoration: none; font-size: .9rem; }
.header nav a:hover, .footer > a:last-child:hover { color: var(--mint); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 720; text-align: center; line-height: 1.3; cursor: pointer; text-decoration: none; }
.primary { color: #10281d; background: var(--mint); }
.primary:hover { background: #c1ffdf; }
.outline { background: transparent; color: var(--text); border-color: #514965; }
.outline:hover { border-color: var(--lavender); background: #262034; }
.header-action { font-size: .875rem; padding: 11px 14px; }
.menu { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 78px); align-items: center; padding-block: clamp(65px, 8vw, 119px); }
h1, h2, h3 { line-height: 1.13; }
h1 { font-size: clamp(2.65rem, 5.3vw, 5rem); letter-spacing: -.07em; }
h1 em { font-style: normal; color: var(--mint); }
.intro { max-width: 43ch; color: var(--muted); margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }

.ticket-scene { position: relative; display: grid; place-items: center; isolation: isolate; min-height: clamp(270px, 34vw, 430px); border-radius: 36px; background: radial-gradient(ellipse at 54% 47%, #33244c 0, #201a32 42%, var(--background) 76%); }
.orbit { position: absolute; z-index: -1; width: 97%; height: 48%; border: 1px solid #b999fc48; border-radius: 50%; transform: rotate(-30deg); }
.orbit-inner { width: 76%; height: 72%; transform: rotate(26deg); border-color: #b999fc30; }
.spark { position: absolute; color: var(--mint); line-height: 1; }
.spark-top { top: 12%; right: 14%; font-size: clamp(27px, 4vw, 54px); }
.spark-bottom { bottom: 15%; left: 11%; font-size: 24px; color: var(--lavender); }
.hero-ticket { position: absolute; width: 73%; aspect-ratio: 1.65; border-radius: 15px; }
.ticket-shadow { transform: translate(7%, -8%) rotate(13deg); border: 1px solid #b99ce7; background: #a991d8; opacity: .75; }
.ticket-main { display: grid; grid-template-rows: auto 1fr auto; padding: clamp(13px, 2.3vw, 27px); background: linear-gradient(135deg, #d2ffe2, #93edbd); color: #163328; transform: rotate(-9deg); box-shadow: 0 18px 45px #05040c87; }
.ticket-header, .ticket-footer { display: flex; justify-content: space-between; align-items: center; gap: 5px; font-size: clamp(.68rem, 1.35vw, .91rem); }
.ticket-header { font-weight: 800; }
.ticket-number { display: grid; align-content: center; line-height: 1.18; }
.ticket-number small { font-size: clamp(.65rem, 1vw, .81rem); }
.ticket-number strong { font: 850 clamp(1.6rem, 4.05vw, 3.7rem)/1.06 var(--mono); letter-spacing: .045em; }
.ticket-footer { border-top: 1px dashed #2f604e; padding-top: 7px; }
.barcode { width: 31%; height: 14px; background: repeating-linear-gradient(90deg, #26523f 0 2px, transparent 2px 4px, #26523f 4px 5px, transparent 5px 8px); }

.section { padding-block: clamp(48px, 7vw, 91px); }
h2 { font-size: clamp(2rem, 4.2vw, 3.55rem); letter-spacing: -.057em; }
h3 { font-size: 1.18rem; letter-spacing: -.025em; }
#features { border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feature { min-width: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--mint); background: #243a33; font-size: 22px; margin-bottom: 20px; }
.feature-icon.lavender { color: var(--lavender); background: #372a4d; }
.feature-icon.amber { color: var(--amber); background: #433344; }
.feature p, .faq p { margin-top: 9px; color: var(--muted); }

.faq-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(26px, 6vw, 85px); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; }
.faq summary::marker { color: var(--mint); }
.faq p { margin: 0 0 17px; }
.contact h2 { text-align: center; margin-bottom: clamp(20px, 3vw, 36px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 14px; }
.contact-card { padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.contact-card h3 { max-width: 23ch; font-size: clamp(1.25rem, 2.45vw, 2rem); }
.contact-card .button { margin-top: 18px; }
.contact-launch {
  grid-row: span 2; display: grid; justify-items: center; align-content: center; text-align: center;
  min-height: 350px; border-color: #69518f;
  background: radial-gradient(ellipse at 80% 5%, #7656a8 0, transparent 65%), linear-gradient(150deg, #392d56, #291e44 80%);
}
.contact-launch img { border-radius: 17px; margin-bottom: 20px; box-shadow: 0 8px 24px #100b2960; }
.contact-launch p { margin-top: 10px; color: #dfd2f5; }
.contact-side { display: flex; justify-content: space-between; align-items: center; gap: clamp(12px, 2.5vw, 26px); }
.contact-icon {
  display: grid; flex: none; place-items: center; width: clamp(47px, 8vw, 88px); aspect-ratio: 1;
  border-radius: 26%; font-size: clamp(1.65rem, 5vw, 3.2rem); font-weight: 750; line-height: 1;
}
.contact-news { color: var(--mint); background: #263e39; transform: rotate(-10deg); }
.contact-help { color: var(--lavender); background: #3b2c54; transform: rotate(10deg); }
.footer { padding-block: 28px; margin-top: 20px; }

@media (max-width: 880px) {
  .wrap { width: calc(100% - 42px); }
  .hero { gap: 22px; }
  .header nav { gap: 16px; }
  .ticket-scene { min-height: 285px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 12px; }
  .header-action { display: none; }
  .header nav { display: none; position: absolute; top: 100%; right: 16px; left: 16px; padding: 15px 18px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .header nav.open { display: flex; }
  .menu { display: grid; place-content: center; gap: 5px; width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--text); cursor: pointer; }
  .menu span { width: 17px; height: 2px; background: currentColor; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 32px; }
  .ticket-scene { width: min(100%, 460px); margin-inline: auto; }
  .hero-ticket { width: min(74%, 315px); }
  .features, .faq-grid { grid-template-columns: 1fr; }
  .feature-icon { margin-bottom: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-launch { grid-row: auto; min-height: 280px; }
}

@media (max-width: 375px) {
  h1 { font-size: 2.3rem; }
  .ticket-scene { min-height: 225px; }
  .contact-side .button { padding-inline: 10px; gap: 6px; font-size: .875rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background .16s, border-color .16s; }
}

/* Public guide */
.guide { max-width: 51rem; padding-block: 2.5rem 4rem; line-height: 1.7; }
.guide a { color: #a0f2cc; text-underline-offset: .22em; }
.guide a:hover { color: #fff; }
.guide .guide-label { margin-top: 1.7rem; color: #a0f2cc; font-weight: 700; }
.guide h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin: .3rem 0 1rem; line-height: 1.12; letter-spacing: -.045em; }
.guide h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 2.2rem 0 .7rem; line-height: 1.25; scroll-margin-top: 6rem; }
.guide h3 { font-size: 1.2rem; margin-top: 1.6rem; line-height: 1.35; }
.guide h4, .guide h5, .guide h6 { font-size: 1rem; margin-top: 1.25rem; }
.guide p, .guide ul, .guide ol { margin-block: .75rem; }
.guide ul, .guide ol { padding-inline-start: 1.5rem; }
.guide li + li { margin-top: .35rem; }
.guide .article-toc, .guide .article-table { background: #211b2d; border: 1px solid #544265; border-radius: 1rem; margin-block: 1.5rem; }
.guide .article-toc { padding: 1rem 1.3rem; }
.guide .article-table { overflow: auto; }
.guide table { border-collapse: collapse; width: 100%; font-size: .92rem; line-height: 1.45; }
.guide th, .guide td { padding: .75rem; text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.guide thead, .guide tr + tr { border-bottom: 1px solid #544265; }
.guide tbody tr + tr { border-top: 1px solid #544265; }
.guide tbody tr:last-child { border-bottom: 0; }
.guide-promo { padding-block: 1rem 3rem; }
.guide-promo .button { margin-top: .8rem; }
@media (max-width: 500px) { .guide th, .guide td { padding: .55rem .45rem; } }

.blog { padding-block: clamp(2rem, 7vw, 5rem) 4rem; }
.blog h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); letter-spacing: -.06em; line-height: 1.1; }
.blog-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1.4rem 2.4rem; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.blog-grid section { display: flex; flex-direction: column; gap: .8rem; }
.blog-card { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .8rem; padding: clamp(1rem, 4vw, 2rem); background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
.blog-card h3 { font-size: clamp(1.2rem, 3vw, 1.65rem); line-height: 1.25; }
.blog-card h3 a:hover, .header nav a[aria-current="page"] { color: var(--mint); }
.blog-card p { color: var(--muted); margin-bottom: .5rem; }
.blog-card .button { margin-top: auto; }
@media (max-width: 650px) { .blog-grid { grid-template-columns: 1fr; } }

.guide-illustrated figure { margin: 1.5rem 0; }
.guide-illustrated figure img { display: block; width: 100%; height: auto; border-radius: 1rem; }
