@import url('/assets/premium-inner.css?v=4');
@import url('/assets/premium-pages.css?v=4');
@import url('/assets/motion.css?v=4');

@font-face {
  font-family: Inter;
  src: url('/assets/fonts/inter-latin.woff2?v=3') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/assets/fonts/inter-cyrillic.woff2?v=3') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  --p-bg: #0d0e11;
  --p-surface: #15161b;
  --p-line: rgba(255, 255, 255, .08);
  --p-text: #f2f2f4;
  --p-muted: #999ba6;
  --p-accent: #b0a1ed;
  --p-font: Inter, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--p-bg);
  color: var(--p-text);
  font-family: var(--p-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #b0a1ed55; color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
button, a, input, summary, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--p-accent); }
[hidden] { display: none !important; }
svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--p-accent);
  color: #181320;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* Navigation uses the same baseline and spacing on every page. */
.p-header { position: fixed; inset: 20px 0 auto; z-index: 50; }
.p-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px 18px 12px 22px;
  border: 1px solid var(--p-line);
  border-radius: 14px;
  background: rgba(17, 18, 23, .9);
  backdrop-filter: blur(18px);
}
.p-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.p-brand img { width: 30px; height: 30px; }
.brand-period { display: none; }
.p-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; color: #a7a8b2; }
.p-links a { padding: 7px 0; transition: color .18s; }
.p-links a:hover, .p-links a.is-active { color: var(--p-text); }
.p-nav-actions { display: flex; align-items: center; gap: 10px; }
.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .18s, border-color .18s;
}
.p-btn svg { width: 17px; height: 17px; }
.p-btn-primary { background: var(--p-accent); border-color: var(--p-accent); color: #1b162a; }
.p-btn-primary:hover { background: #c2b5f4; border-color: #c2b5f4; }
.p-btn-secondary { background: #ffffff08; border-color: #ffffff12; color: #e3e3e9; }
.p-btn-secondary:hover { background: #ffffff10; border-color: #ffffff22; }
.p-btn-nav { min-height: 40px; padding: 0 15px; background: #b0a1ed18; border-color: #b0a1ed24; color: #cec3f5; font-size: 13px; gap: 8px; }
.p-btn-nav:hover { background: #b0a1ed26; }
.p-btn-nav svg { width: 15px; height: 15px; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--p-line); border-radius: 8px; background: transparent; }
.menu-toggle span { width: 17px; height: 1.5px; background: var(--p-text); transition: transform .18s; }

/* A single scene supports the hero; no UI mockups or floating cards. */
.p-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 880px; min-height: max(780px, 100svh); isolation: isolate; padding: 150px 0 128px; text-align: center; }
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #0d0e1188 0%, #0d0e11b8 46%, #0d0e11 100%),
    linear-gradient(90deg, #0d0e11aa, transparent 35%, transparent 65%, #0d0e11aa),
    url('/assets/nythera-hero.webp') center 38% / cover;
}
.hero-content { position: relative; max-width: 1040px; }
.p-hero h1 { font-size: clamp(48px, 6vw, 80px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; }
.p-hero h1 span { color: var(--p-accent); }
.hero-description { margin: 25px auto 0; max-width: 650px; font-size: 17px; line-height: 1.7; color: #b9bac4; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-compatibility { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; font-size: 12px; color: #8e909d; }
.hero-compatibility svg { width: 13px; height: 13px; stroke-width: 1.2; }
.hero-compatibility span { width: 3px; height: 3px; background: #686b78; border-radius: 50%; }
.hero-scroll { position: absolute; bottom: 36px; left: calc(50% - 20px); display: grid; place-items: center; width: 40px; height: 40px; color: #6c6f7e; border-radius: 50%; }
.hero-scroll:hover { color: var(--p-text); }

.p-section { padding-block: 105px; }
.section-heading { text-align: center; margin: 0 auto 58px; max-width: 720px; }
.section-heading h2, .faq-intro h2 { font-size: 42px; }
.section-heading > p { margin-top: 18px; color: var(--p-muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; }
.feature-item { padding: 0; }
.feature-icon { width: 27px; height: 27px; color: var(--p-accent); margin-bottom: 24px; }
.feature-item h3 { font-size: 20px; margin-bottom: 13px; letter-spacing: -.025em; }
.feature-item p { font-size: 15px; color: var(--p-muted); line-height: 1.75; }
.pricing-section { border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); background: #101115; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan-card { display: flex; flex-direction: column; padding: 26px 23px; border: 1px solid #ffffff0b; border-radius: 12px; background: #17181e; }
.plan-top h3 { font-size: 22px; letter-spacing: -.03em; }
.plan-caption { display: block; margin-top: 6px; font-size: 12px; color: #a1a2b0; }
.plan-card > p { margin-top: 20px; font-size: 13px; color: #989aa7; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 25px; }
.plan-price strong { font-size: 44px; font-weight: 600; letter-spacing: -.045em; line-height: 1.2; }
.plan-price > span { font-size: 20px; color: #c4c5ce; }
.plan-card .p-btn { width: 100%; min-height: 44px; }
.plan-perks { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.plan-perks li { display: flex; align-items: flex-start; gap: 9px; color: #b9bac5; font-size: 13px; line-height: 1.5; }
.plan-perks li::before { content: ''; width: 10px; height: 6px; margin-top: 4px; flex: 0 0 auto; transform: rotate(-45deg); border-left: 1.5px solid #8d84b2; border-bottom: 1.5px solid #8d84b2; }
.plan-featured { border-color: #b0a1ed65; background: #1c1b25; }
.plan-featured .plan-caption { color: #c1b3ef; }
.pricing-note { margin-top: 27px; color: var(--p-muted); text-align: center; font-size: 13px; }
.pricing-note a { color: #d1c5f4; }
.pricing-note a:hover { text-decoration: underline; text-underline-offset: 4px; }
.catalog-notice { margin-top: 15px; text-align: center; color: #d8be95; font-size: 13px; }

.faq-home { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-intro h2 { max-width: 340px; }
.faq-intro > p { color: var(--p-muted); margin-top: 18px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 27px; font-size: 14px; font-weight: 500; color: #c2b7e5; }
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: #e0d5ff; }
.faq-list details { border-bottom: 1px solid var(--p-line); }
.faq-list details:first-child { border-top: 1px solid var(--p-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; list-style: none; font-size: 15px; font-weight: 500; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: relative; flex: 0 0 14px; width: 14px; height: 14px; overflow: hidden; font-size: 0; color: #9b9da9; }
.faq-list summary > span::before, .faq-list summary > span::after { position: absolute; content: ''; background: currentColor; }
.faq-list summary > span::before { top: 6px; left: 0; width: 14px; height: 1px; }
.faq-list summary > span::after { left: 6px; top: 0; height: 14px; width: 1px; }
.faq-list details[open] summary > span::after { display: none; }
.faq-list details p { padding: 0 32px 23px 0; color: var(--p-muted); font-size: 14px; line-height: 1.8; }
.community-section { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 95px; padding: 35px 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.community-section h2 { font-size: 24px; }
.community-section p { margin-top: 8px; font-size: 14px; color: var(--p-muted); }
.community-section .p-btn { flex: 0 0 auto; }

.p-footer { padding: 0 0 30px; border-top: 1px solid var(--p-line); background: #0b0c0f; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-block: 45px; }
.footer-about > p { margin-top: 13px; font-size: 13px; color: #858794; }
.footer-main nav { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; font-size: 13px; color: #a0a2ae; }
.footer-main nav a:hover { color: #e7e7ee; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid var(--p-line); font-size: 12px; color: #747783; line-height: 1.6; }
.footer-bottom p { text-align: right; }

@media (min-width: 1700px) {
  .p-hero { min-height: 920px; }
}
@media (max-width: 1100px) {
  .p-links { gap: 23px; }
  .feature-grid { gap: 35px; }
  .plan-card { padding: 24px 18px; }
  .plan-perks li { font-size: 12px; }
  .faq-home { gap: 50px; }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card { padding: 28px; }
  .plan-card > p { min-height: 0; }
  .plan-perks li { font-size: 14px; }
  .p-section { padding-block: 80px; }
  .faq-home { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro h2 { max-width: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 36px); }
  .p-header { top: 12px; }
  .p-nav { position: relative; min-height: 62px; padding: 10px 12px; gap: 12px; border-radius: 12px; }
  .p-brand { font-size: 19px; gap: 6px; }
  .p-brand img { width: 26px; height: 26px; }
  .p-links { display: none; position: absolute; top: calc(100% + 8px); inset-inline: 0; padding: 8px; border: 1px solid var(--p-line); border-radius: 12px; background: #15161b; font-size: 14px; }
  .p-links.is-open { display: grid; gap: 0; }
  .p-links a { padding: 12px; }
  .p-nav-actions { gap: 8px; }
  .p-btn-nav { padding: 0 10px; font-size: 12px; }
  .p-btn-nav svg { display: none; }
  .menu-toggle { display: flex; width: 36px; height: 38px; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .p-hero { min-height: 740px; min-height: max(700px, 92svh); padding: 130px 0 100px; }
  .hero-background { background-position: center, center, 47% 35%; }
  .p-hero h1 { font-size: clamp(36px, 7.5vw, 58px); }
  .hero-description { max-width: 500px; font-size: 15px; line-height: 1.8; margin-top: 24px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 26px; }
  .hero-compatibility { font-size: 11px; gap: 9px; }
  .hero-scroll { bottom: 21px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .faq-intro h2 { font-size: 34px; }
  .section-heading > p { font-size: 15px; margin-top: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 35px; }
  .feature-item { display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; }
  .feature-icon { grid-column: 1; grid-row: 1 / 3; width: 24px; height: 24px; margin: 2px 0 0; }
  .feature-item h3 { grid-column: 2; margin-bottom: 10px; font-size: 19px; }
  .feature-item p { grid-column: 2; font-size: 14px; }
  .plan-card { padding: 24px; }
  .plan-price strong { font-size: 40px; }
  .plan-perks { gap: 10px; }
  .plan-perks li { font-size: 13px; }
  .community-section { margin-bottom: 65px; }
  .community-section h2 { font-size: 21px; }
  .community-section p { font-size: 13px; }
  .footer-main { gap: 35px; grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .p-brand { font-size: 17px; }
  .p-brand img { width: 23px; height: 23px; }
  .p-nav { padding-inline: 10px; gap: 6px; }
  .p-nav-actions { gap: 6px; }
  .p-btn-nav { padding-inline: 9px; font-size: 11px; }
  .p-hero h1 { font-size: clamp(33px, 9.5vw, 44px); line-height: 1.13; letter-spacing: -.04em; }
  .hero-description { max-width: 340px; font-size: 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .p-btn { min-height: 46px; font-size: 12px; padding-inline: 15px; gap: 8px; }
  .hero-actions .p-btn svg { width: 15px; }
  .hero-compatibility { gap: 7px; font-size: 10px; }
  .hero-compatibility svg { display: none; }
  .p-section { padding-block: 64px; }
  .section-heading h2, .faq-intro h2 { font-size: 30px; }
  .section-heading > p { font-size: 14px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .plan-card { padding: 26px; }
  .plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .plan-caption { margin: 0; font-size: 12px; }
  .plan-card > p { margin-top: 13px; font-size: 13px; }
  .plan-price { margin-top: 19px; }
  .plan-perks { grid-template-columns: 1fr; }
  .plan-card .p-btn { min-height: 46px; }
  .faq-list summary { padding-block: 22px; font-size: 14px; }
  .faq-list details p { font-size: 14px; }
  .community-section { display: block; padding-block: 28px; }
  .community-section .p-btn { margin-top: 20px; }
  .footer-bottom { display: block; }
  .footer-bottom p { margin-top: 14px; text-align: left; }
}
@media (max-width: 359px) {
  .hero-actions { flex-direction: column; width: 220px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
