/* ========== CORE / PALETTE ========== */
:root {
    --bg-root: #0b1221;      /* общий фон всей страницы */
    --bg-root-solid: #0b1221; /* одинаковый фон для мобильных и любых секций */

  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-soft: rgba(15, 23, 42, 0.55);
  --bg-glass-strong: rgba(15, 23, 42, 0.88);

  --accent: #a7c5fe;
  --accent-deep: #7f9bff;
  --accent-soft: rgba(167, 197, 254, 0.18);
  --accent-strong: #f9a8d4;

  --border-glass: rgba(148, 163, 184, 0.45);
  --border-subtle: rgba(148, 163, 184, 0.3);

  --text-main: #f9fafb;
  --text-muted: #9ca3af;

  --radius-xl: 26px;
  --radius-lg: 20px;

  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.85);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg-root);
  color: var(--text-main);
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory; /* disabled on tablets/mobiles below */
}

/* Hide scrollbar on desktop */
@media (min-width: 1024px) {
  body {
    scrollbar-width: none; /* Firefox */
  }
  body::-webkit-scrollbar {
    display: none; /* WebKit */
  }
}

main {
  position: relative;
}

section {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding: 96px clamp(16px, 6vw, 72px);
  position: relative;
  isolation: isolate;
  background: var(--bg-root-solid); /* ← статичный фон */
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

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

/* ========== GLASS HELPERS ========== */

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
}

.glass-soft {
  background: var(--bg-glass-soft);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.gradient-border {
  border-image: linear-gradient(
      120deg,
      var(--accent),
      var(--accent-deep),
      var(--accent-strong)
    )
    1;
  border-style: solid;
  border-width: 1px;
}

/* ========== ANIMATIONS (SECTIONS & CARDS) ========== */

/* enable via .has-animations on <html> from JS */
.has-animations .reveal-section {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.has-animations .reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.has-animations .reveal-card {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.has-animations .reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .has-animations .reveal-section,
  .has-animations .reveal-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========== NAVBAR ========== */

.nav-shell {
  position: fixed;
  inset-inline: clamp(12px, 4vw, 40px);
  top: 18px;
  z-index: 40;
  display: flex;
  justify-content: center;
}

.nav {
  width: 100%;
  max-width: 1120px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 14px;
  background: url("/assets/favicon.png");
  box-shadow: 0 0 18px rgba(167, 197, 254, 0.9);
  position: relative;
  overflow: hidden;
  background-size: 100%;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 15px;
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex: 1;
}

.nav-link {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta {
  border-radius: 999px;
  border: none;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: radial-gradient(
    circle at 0 0,
    #ffffff 0,
    var(--accent) 40%,
    var(--accent-deep) 90%
  );
  color: #020617;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-cta span {
  font-size: 11px;
  opacity: 0.85;
}

/* ========== DOT NAV (DESKTOP ONLY) ========== */

.dot-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 30;
}

.dot-nav button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot-nav button.active {
  transform: scale(1.25);
  background: linear-gradient(
    130deg,
    var(--accent),
    var(--accent-deep),
    var(--accent-strong)
  );
  border-color: transparent;
  box-shadow: 0 0 16px rgba(167, 197, 254, 0.9);
}

/* hidden on tablet/mobile below */

/* ========== HERO ========== */

#hero {
  position: relative;
}

.hero-layout {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 10em !important;
}

.hero-core {
  max-width: 640px;
  padding: 2em;
  text-align: center;
  border: none!important;
  box-shadow:
    0 0 40px 10px #a7c5fe27,
    0 0 60px 15px #7f9bff27 !important;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(
    120deg,
    var(--accent),
    var(--accent-deep),
    var(--accent-strong)
  );
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 18px;
}

.hero-typed {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.hero-typed-static {
  opacity: 0.9;
}

.hero-typed-dynamic-wrapper {
  position: relative;
  padding-inline: 6px;
  border-radius: 999px;
}

.hero-typed-dynamic {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}

.hero-typed-cursor {
  display: inline-block;
  width: 1px;
  height: 1.15em;
  margin-left: 2px;
  background: var(--accent);
  animation: cursor-blink 0.9s steps(1) infinite;
}

@keyframes cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: radial-gradient(
    circle at 0 0,
    #ffffff 0,
    var(--accent) 30%,
    var(--accent-deep) 100%
  );
  color: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-muted);
  justify-content: center;
  margin-top: 4px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* HERO MARQUEE */

.hero-marquee {
  width: 100%;
  max-width: 1040px;
  margin: 10px auto 0;
  padding-top: 8px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(31, 41, 55, 0.9);
  overflow: hidden;
  mask-image: none;
}

.hero-marquee-row {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-block: 6px;
}

.hero-marquee-track {
  display: flex;
  gap: 12px;
}

.hero-marquee-row--top .hero-marquee-track {
  animation: hero-marquee-left 26s linear infinite;
}

.hero-marquee-row--bottom .hero-marquee-track {
  animation: hero-marquee-right 36s linear infinite;
}

.hero-marquee-item {
  width: 140px;
  height: 90px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-marquee-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.65),
    transparent 50%
  );
}

.hero-marquee-item-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  font-size: 10px;
  color: var(--text-muted);
}

/* sample backgrounds */
.hero-marquee-item--1 {
  background-image: url("/assets/marquee/superhero.png");
}
.hero-marquee-item--2 {
  background-image: url("/assets/marquee/urban.png");
}
.hero-marquee-item--3 {
  background-image: url("/assets/marquee/winter.png");
}
.hero-marquee-item--4 {
  background-image: url("/assets/marquee/sport.png");
}
.hero-marquee-item--5 {
  background-image: url("/assets/marquee/wizardy.png");
}
.hero-marquee-item--6 {
  background-image: url("/assets/marquee/wildlife.png");
}
.hero-marquee-item--7 {
  background-image: url("/assets/marquee/date.png");
}
.hero-marquee-item--8 {
  background-image: url("/assets/marquee/classy.png");
}
.hero-marquee-item--9 {
  background-image: url("/assets/marquee/magestic.png");
}
.hero-marquee-item--10 {
  background-image: url("/assets/marquee/iceberg.png");
}

@keyframes hero-marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes hero-marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

#hero .tiny-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.85;
}

/* ========== SHARED SECTION LAYOUT ========== */

.section-label {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  padding: 10px 0 18px 0;
}

#pricing .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

#faq .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

#how-it-works .inner,
#modes .inner,
#stories .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

/* ========== HOW IT WORKS ========== */

#how-it-works .inner {
  align-items: center;
}

.steps-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.step-card {
  padding: 14px 14px 14px 16px;
  display: grid;
  gap: 6px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(167, 197, 254, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
}

.step-title {
  font-size: 14px;
  font-weight: 600;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
}


.how-aside-card {
  padding: 28px 28px 16px;
  display: grid;
  gap: 12px;
  margin-top: 10em;
}

.how-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.how-pill {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 1em;
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 0;
}

.badge-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

/* ========== MODES ========== */

#modes .inner {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.mode-stack {
  display: grid;
  gap: 14px;
}

.mode-card {
  padding: 16px 16px 14px;
  display: grid;
  gap: 8px;
}

.mode-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.mode-name {
  font-size: 15px;
  font-weight: 600;
}

.mode-chip {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(167, 197, 254, 0.9);
  font-size: 11px;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.8);
}

.mode-text {
  font-size: 13px;
  color: var(--text-muted);
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.mode-tag {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-muted);
}

.mode-preview {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.mode-preview-main {
  border-radius: 18px;
  min-height: 210px;
  background-size: cover;
  background-position: center;
  background-image: url("/assets/marquee/magestic.png");
  position: relative;
}

.mode-preview-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mode-preview-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mode-preview-thumb {
  border-radius: 14px;
  min-height: 90px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.mode-preview-thumb:nth-child(1) {
  background-image: url("/assets/marquee/winter.png");
}
.mode-preview-thumb:nth-child(2) {
  background-image: url("/assets/marquee/superhero.png");
}

.mode-preview-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 10px;
  color: var(--text-muted);
}

/* ========== PRICING ========== */

#pricing .inner {
  align-items: flex-start;
}

.pricing-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap: 24px;
}

.price-card {
  padding: 16px 16px 14px;
  display: grid;
  gap: 8px;
  position: relative;
}

.price-card--highlight {
  box-shadow: 0 0 40px #a7c5fe79 !important; 
}

.price-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid rgba(167, 197, 254, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: var(--accent);
}

.price-name {
  font-size: 14px;
  font-weight: 600;
}

.price-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.price-value {
  font-size: 22px;
  font-weight: 700;
}

.price-note {
  font-size: 12px;
  color: var(--text-muted);
}

.price-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
}

.price-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

.price-cta {
  margin-top: 8px;
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}

.pricing-summary-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-summary-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(167, 197, 254, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--accent);
}

/* ========== STORIES ========== */

#stories .inner {
  align-items: center;
}

.quote-card {
  padding: 18px 18px 16px;
  display: grid;
  gap: 10px;
}

.quote-body {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  padding: 1em 0 1em 20px;
}

.quote-body::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 32px;
  color: rgba(148, 163, 184, 0.6);
}

.quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.quote-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

.quote-rating {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent);
}

.stories-gallery {
  padding: 2em 1em;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.stories-main {
  border-radius: 18px;
  min-height: 240px;
  background-size: cover;
  background-position: top;
  background-image: url("/assets/stories/original.png");
  position: relative;
}

.stories-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
  color: var(--text-muted);
}

.stories-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stories-avatar {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 25% 0,
    #ffffff 0,
    var(--accent) 40%,
    var(--accent-deep) 80%
  );
}

.stories-col {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stories-thumb {
  border-radius: 14px;
  background-size: cover;
  background-position-y: 20%;
  position: relative;
  overflow: hidden;
}
.stories-thumb:nth-child(1) {
    background-image: url("/assets/stories/sea.png");
}
.stories-thumb:nth-child(2) {
    background-image: url("/assets/stories/travel.png");
}
.stories-thumb:nth-child(3) {
    background-image: url("/assets/stories/artistic.png");
}

.stories-thumb-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 10px;
  color: var(--text-muted);
}

/* ========== FAQ & FINAL CTA (WITH ANIMATED EXPAND) ========== */

#faq .inner {
  align-items: flex-start;
}

.accordion {
  padding: 4px;
  display: grid;
  gap: 4px;
}

.accordion-item {
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
  margin-bottom: 10px;
}

.accordion-header {
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
}

.accordion-header span {
  max-width: 92%;
  color: var(--text-main);
}

.accordion-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.95);
}

/* animated body */
.accordion-body {
  padding: 0 13px;
  font-size: 13px;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.3s ease;
}

.accordion-item.open .accordion-body {
  opacity: 1;
  padding: 10px 13px 16px 13px;
}

.accordion-item.open .accordion-icon {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-main);
}

.final-cta-card {
  padding: 20px 18px 18px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.final-cta-inter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.final-cta-title {
  font-size: 22px;
  background: linear-gradient(
    120deg,
    var(--accent),
    var(--accent-deep),
    var(--accent-strong)
  );
  -webkit-background-clip: text;
  color: transparent;
}

.final-cta-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.final-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.final-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 50%;
  margin-top: 1em;
}

.final-badge {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

/* ========== FOOTER (LEGAL) ========== */

.site-footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100vw;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.site-footer-brand {
  font-weight: 600;
  color: var(--text-main);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer-links a {
  color: var(--text-muted);
}

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

.site-footer-copy {
  flex-basis: 100%;
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.85;
}

/* ========== RESPONSIVE & MOBILE BACKGROUND ========== */

@media (max-width: 1023px) {
  /* disable scroll snap on mobile/tablet */
  body {
    scroll-snap-type: none;
    background: var(--bg-root-solid); /* solid background */
    overflow-y: scroll;
  }

  section {
    scroll-snap-align: none;
    min-height: auto;
    padding-block: 96px 80px;
    background: var(--bg-root-solid); /* static color for all sections */
  }

  .hero-layout {
        max-width: 640px;
  }

  #how-it-works .inner,
  #modes .inner,
  #pricing .inner,
  #stories .inner,
  #faq .inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }


  .mode-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .dot-nav {
    display: none; /* hide dots on mobile/tablet */
  }

  .how-aside-card {
    margin-top: 0;
  }

  .final-cta-card {
    margin-bottom: 5em;
  }
}

@media (max-width: 840px) {
  .nav {
    padding-inline: 14px;
  }
  .nav-left {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-center,
  .nav-right {
    display: none; /* only logo on mobile header */
  }

  .nav-shell {
    inset-inline: 12px;
  }

  .hero-title {
    font-size: 30px;
  }
  .hero-layout {
    max-width: 480px;
  }
  .steps-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .pricing-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}

@media (max-width: 640px) {
  .nav-logo-text {
    font-size: 14px;
  }

  #hero .tiny-footer {
    display: none;
  }

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

  .hero-marquee-item {
    width: 120px;
    height: 80px;
  }
  .hero-layout {
    max-width: 360px;
  }
  .hero-core {
    padding: 1em;
  }
}
