:root {
  --bg: #0b0c10;
  --bg-2: #14161f;
  --card: #151824;
  --accent: #ff8c00;
  --accent-2: #ff4500;
  --text: #f2f4f8;
  --muted: #aab3c5;
  --line: rgba(255, 140, 0, 0.2);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

body.seo-page {
  margin: 0;
  font-family: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 10% 10%, rgba(255, 140, 0, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(255, 69, 0, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.seo-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 10, 16, 0.85);
  border-bottom: 1px solid rgba(255, 140, 0, 0.18);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(255, 140, 0, 0.4);
}

.site-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-link,
.nav-group summary {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  list-style: none;
}

.nav-link:hover,
.nav-group summary:hover {
  background: rgba(255, 140, 0, 0.18);
  color: #fff;
}

.nav-link-portal {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.22), rgba(255, 69, 0, 0.2));
  border: 1px solid rgba(255, 140, 0, 0.35);
}

.nav-group {
  position: relative;
}

.nav-group[open] summary {
  background: rgba(255, 140, 0, 0.2);
}

.nav-panel {
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 220px;
  background: rgba(13, 16, 24, 0.96);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}

.nav-panel a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-panel a:hover {
  background: rgba(255, 140, 0, 0.16);
}

.header-cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #120b08;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 140, 0, 0.3);
}

@media (max-width: 960px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-panel {
    position: static;
    box-shadow: none;
    background: rgba(19, 22, 32, 0.95);
  }
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.page-hero {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(20, 23, 34, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #111;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 24px rgba(255, 140, 0, 0.35);
}

.cta-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 140, 0, 0.35);
  box-shadow: none;
}

.section {
  margin-top: 30px;
  padding: 26px 28px;
  border-radius: 20px;
  background: rgba(15, 18, 28, 0.72);
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.bullet-list,
.step-list,
.link-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.6;
}

.bullet-list li,
.step-list li {
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.18);
}

.faq-item strong {
  display: block;
  margin-bottom: 6px;
}

.notice-box {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 140, 0, 0.12);
  border: 1px dashed rgba(255, 140, 0, 0.4);
  color: var(--text);
  line-height: 1.6;
}

.similar-links {
  display: grid;
  gap: 8px;
}

.similar-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.similar-links a:hover {
  color: var(--accent);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 140, 0, 0.18);
  background: rgba(10, 12, 18, 0.92);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
}

.footer-links span {
  font-weight: 700;
  color: var(--text);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .page {
    padding: 26px 18px 40px;
  }

  .page-hero {
    padding: 24px;
  }
}

/* Analytics consent banner */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: block;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.consent-banner[hidden] {
  display: none !important;
}

.consent-banner__inner {
  max-width: 980px;
  margin: 0 auto;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 142, 54, 0.22) 0%, rgba(255, 142, 54, 0) 45%),
    linear-gradient(135deg, rgba(10, 18, 37, 0.96), rgba(7, 13, 28, 0.95));
  border: 1px solid rgba(136, 170, 255, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.consent-banner__content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.consent-banner__title {
  margin: 0;
  color: #f6f8ff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.consent-banner__text {
  margin: 0;
  color: #dbe5ff;
  font-size: 14px;
  line-height: 1.45;
}

.consent-banner__text a {
  color: #95c8ff;
  text-underline-offset: 2px;
}

.consent-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.consent-btn {
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, border-color 0.14s ease;
}

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

.consent-btn:focus-visible {
  outline: 2px solid rgba(149, 200, 255, 0.9);
  outline-offset: 2px;
}

.consent-btn--primary {
  background: linear-gradient(90deg, #ff8f22, #ff5a23);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 110, 32, 0.35);
}

.consent-btn--primary:hover {
  filter: brightness(1.06);
}

.consent-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #e1ebff;
  border-color: rgba(220, 231, 255, 0.3);
}

@media (max-width: 760px) {
  .consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .consent-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }

  .consent-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .consent-btn {
    flex: 1 1 160px;
    min-height: 40px;
    text-align: center;
  }
}

/* Launch choice modal */
body.launch-choice-open {
  overflow: hidden;
}

.launch-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.launch-choice-modal[hidden] {
  display: none !important;
}

.launch-choice-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255, 168, 84, 0.34) 0%, rgba(255, 168, 84, 0) 52%),
    linear-gradient(160deg, rgba(5, 9, 18, 0.72), rgba(2, 7, 17, 0.86));
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.launch-choice-card {
  position: relative;
  width: min(580px, 100%);
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(255, 186, 125, 0.24) 0%, rgba(255, 186, 125, 0) 55%),
    linear-gradient(150deg, rgba(12, 21, 44, 0.96), rgba(8, 15, 31, 0.98));
  border: 1px solid rgba(255, 166, 87, 0.42);
  border-radius: 26px;
  padding: 28px 26px 24px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  color: #f6f7fb;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.launch-choice-modal.is-open .launch-choice-backdrop {
  opacity: 1;
}

.launch-choice-modal.is-open .launch-choice-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.launch-choice-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 178, 118, 0.34);
  border-radius: 50%;
  background: rgba(255, 180, 110, 0.08);
  color: #ecf1ff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.launch-choice-close:hover {
  background: rgba(255, 188, 124, 0.14);
  border-color: rgba(255, 190, 130, 0.54);
  transform: rotate(90deg);
}

.launch-choice-close:focus-visible {
  outline: 2px solid rgba(255, 184, 122, 0.56);
  outline-offset: 2px;
}

.launch-choice-eyebrow {
  margin: 0;
  color: #ffc887;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.launch-choice-card h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.launch-choice-card p {
  margin: 0;
  color: #c9d6f8;
  line-height: 1.5;
}

.launch-choice-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-choice-option {
  position: relative;
  min-height: 122px;
  border-radius: 18px;
  padding: 18px 16px;
  text-decoration: none;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

.launch-choice-option:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.launch-choice-option:focus-visible {
  outline: 2px solid rgba(149, 203, 255, 0.95);
  outline-offset: 2px;
}

.launch-choice-option-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.launch-choice-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.launch-choice-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.launch-choice-svg {
  width: 24px;
  height: 24px;
}

.launch-choice-svg--telegram {
  fill: #ffffff;
  stroke: none;
  transform: translateX(-1px) translateY(0px);
}

.launch-choice-svg--web {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-choice-option-text {
  color: rgba(242, 247, 255, 0.88);
  font-size: 0.92rem;
}

.launch-choice-option--telegram {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(120, 204, 255, 0.45), rgba(120, 204, 255, 0) 60%),
    linear-gradient(145deg, rgba(29, 131, 205, 0.95), rgba(27, 90, 153, 0.95));
}

.launch-choice-option--web {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 222, 148, 0.45), rgba(255, 222, 148, 0) 60%),
    linear-gradient(145deg, rgba(255, 142, 42, 0.98), rgba(219, 84, 32, 0.97));
}

@media (max-width: 640px) {
  .launch-choice-card {
    border-radius: 22px;
    padding: 22px 18px 18px;
  }

  .launch-choice-actions {
    grid-template-columns: 1fr;
  }

  .launch-choice-option {
    min-height: 104px;
  }

  .launch-choice-icon {
    width: 40px;
    height: 40px;
  }

  .launch-choice-svg {
    width: 23px;
    height: 23px;
  }
}
