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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

html.dark-preload body {
  background: #0F172A;
  color: #E2E8F0;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition:
    background-color var(--transition-slow),
    color var(--transition-slow);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% -10%, rgba(59, 130, 246, 0.035), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 15%, rgba(139, 92, 246, 0.03), transparent 70%);
}
body.dark::before {
  background:
    radial-gradient(ellipse 80% 60% at 15% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 15%, rgba(139, 92, 246, 0.06), transparent 70%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p { color: var(--text-secondary); }
body.dark p { color: var(--text-secondary); }

::selection { background: rgba(59, 130, 246, 0.2); color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.container--narrow { max-width: var(--content-narrow); }

section {
  padding: clamp(56px, 8vw, 96px) 0;

  scroll-margin-top: 88px;
}

.section-header {
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  text-align: center;
}
.section-title {
  font-size: var(--fs-h2);
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-lead {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
}

.accent-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(59, 130, 246, 0.5);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(59, 130, 246, 0.55);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--color-primary-hover);
}
body.dark .btn--outline { border-color: #93C5FD; color: #93C5FD; }
body.dark .btn--outline:hover { background: rgba(147, 197, 253, 0.12); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--bg-sunken);
}

.btn--sm { padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-base) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background-color var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 28px);
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.site-nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
  padding: 4px 2px;
  border-radius: 4px;
}
.site-nav a:hover { color: var(--text-primary); }
.site-nav a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .site-nav { display: none; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-family: var(--font-display);
}
.logo:hover { color: var(--text-primary); }

.logo__mark {
  display: inline-flex;
  flex-shrink: 0;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-top: 1px;
}

@media (max-width: 480px) {
  .logo__tagline { display: none; }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-sunken);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.theme-toggle:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.theme-toggle__icon--sun { display: none; }
body.dark .theme-toggle__icon--moon { display: none; }
body.dark .theme-toggle__icon--sun { display: inline-block; }

@media (max-width: 480px) {
  .theme-toggle__text { display: none; }
  .theme-toggle { padding: 8px; }
}

.hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 72px; }
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  min-width: 0;
}

.hero__caption {
  margin-top: 12px;
  text-align: center;
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-hero);
  border: 1px solid var(--border);
}

.hero-carousel__track {
  display: flex;

  width: 100%;
  align-items: stretch;
  transition: transform var(--transition-slow);
}
.hero-carousel__slide {

  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel__image {

  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 14px);
  cursor: zoom-in;
}

.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--transition), transform var(--transition);
}
.hero-carousel__btn:hover { background: rgba(15, 23, 42, 0.85); }
.hero-carousel__btn--prev { left: 22px; }
.hero-carousel__btn--next { right: 22px; }

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.hero-carousel__dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  transition: background-color var(--transition), width var(--transition);
}
.hero-carousel__dot.is-active {
  width: 24px;
  background: var(--color-primary);
}

.features__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-primary) 30%, var(--border));
  box-shadow: var(--shadow-card-hover);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  font-size: 2rem;
  line-height: 1;
  border-radius: var(--radius-md);
  background: var(--bg-sunken);
  margin-bottom: 16px;

  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
body.dark .feature-card__icon {
  background: rgba(148, 163, 184, 0.08);
}

.feature-card__title {
  font-size: var(--fs-h3);
  margin-bottom: 8px;
  color: var(--text-primary);
}
.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.roadmap__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
  position: relative;
}

.roadmap__item {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 56px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.roadmap__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.roadmap__marker {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.roadmap__number {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.roadmap__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.roadmap__list::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 24px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--brand-primary) 0%,
    var(--brand-primary) calc(12.5% * (var(--roadmap-progress, 1))),
    var(--border) calc(12.5% * (var(--roadmap-progress, 1))),
    var(--border) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.roadmap__item--now {
  border-color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-primary) 7%, var(--bg-elevated)),
    var(--bg-elevated) 60%
  );
}
.roadmap__item--now .roadmap__number { color: var(--brand-primary); }
.roadmap__item--now .roadmap__dot {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 22%, transparent);
  animation: roadmap-pulse 2.2s ease-in-out infinite;
}

.roadmap__item--next .roadmap__dot {
  background: var(--bg-elevated);
  border-color: var(--brand-primary);
}
.roadmap__item--next .roadmap__number {
  color: color-mix(in srgb, var(--brand-primary) 70%, var(--text-muted));
}

@keyframes roadmap-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 22%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-primary) 10%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .roadmap__item--now .roadmap__dot { animation: none; }
}

.roadmap__phase {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.roadmap__item--now .roadmap__phase { color: var(--brand-primary); }
.roadmap__item--next .roadmap__phase {
  color: color-mix(in srgb, var(--brand-primary) 70%, var(--text-muted));
}
.roadmap__status-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.roadmap__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
}
.roadmap__desc {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.roadmap__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .roadmap__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .roadmap__item {
    padding: 20px 20px 24px 68px;
    border-radius: var(--radius-card);
  }
  .roadmap__marker {
    top: 22px;
    left: 20px;
    right: auto;
    bottom: 22px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 28px;
    gap: 8px;
  }
  .roadmap__number { font-size: 0.72rem; }
  .roadmap__list::before {
    left: 33px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(
      to bottom,
      var(--brand-primary) 0%,
      var(--brand-primary) 14%,
      var(--border) 14%,
      var(--border) 100%
    );
  }
  .roadmap__item + .roadmap__item { margin-top: -1px; }
}

.faq__list {
  margin-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--border);
}

.about__eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.about .section-title {
  text-align: center;
}
.about__body {
  margin-top: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: left;
}
.about__body p { margin: 0; }
.about__signature {
  margin-top: 20px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
}

.form-section { padding-bottom: clamp(72px, 10vw, 120px); }

.form-block {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06)),
    var(--bg-elevated);
  border: 1px solid color-mix(in srgb, var(--color-primary) 12%, var(--border));
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
body.dark .form-block {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12)),
    var(--bg-elevated);
}

.form-block__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-warm-soft);
  color: var(--color-warm-ink);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.form-block__title {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  margin-bottom: 12px;
}

.form-block__lead {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
  font-size: var(--fs-lead);
}

.form-block__survey {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--bg-sunken);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.form-block__survey strong { color: var(--text-primary); }

.form-block__ru {
  margin-top: 20px;
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.site-footer__brand { color: var(--text-secondary); }
.site-footer__brand a { color: var(--color-primary); }

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9rem;
}
.site-footer__nav a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-footer__nav a:hover { color: var(--text-primary); }

.site-footer__meta,
.site-footer__copy { font-size: var(--fs-tiny); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open {
  display: flex;
  animation: lightbox-fade-in 180ms var(--ease-out-soft);
}
@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__image {
  max-width: min(1400px, 95vw);
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background-color var(--transition);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__btn--close { top: 20px; right: 24px; }
.lightbox__btn--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox__btn--prev { left: 10px; }
  .lightbox__btn--next { right: 10px; }
  .lightbox__btn--close { top: 12px; right: 12px; }
}

.cookie-banner {
  position: fixed;
  left: clamp(12px, 2.5vw, 20px);
  right: clamp(12px, 2.5vw, 20px);
  bottom: clamp(12px, 2.5vw, 20px);
  z-index: 90;
  animation: cookie-in 300ms var(--ease-out-soft);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.cookie-banner__inner {
  max-width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.cookie-banner__text {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  flex-shrink: 0;
}

.survey-page { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 120px); }

.survey-page__intro {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.survey-page__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-warm-soft);
  color: var(--color-warm-ink);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.survey-page__title {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  margin-bottom: 16px;
}

.survey-page__lead {
  max-width: 640px;
  margin: 0 auto 20px;
  color: var(--text-secondary);
  font-size: var(--fs-lead);
}

.survey-page__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-sunken);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.survey-embed {
  position: relative;
  min-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.survey-embed__frame {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 2;
}

.survey-embed__skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity var(--transition-slow);
}
.survey-embed.is-loaded .survey-embed__skeleton {
  opacity: 0;
  pointer-events: none;
}
.survey-embed__skeleton i {
  display: block;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-sunken), var(--border), var(--bg-sunken));
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s linear infinite;
}
.survey-embed__skeleton i:nth-child(1) { width: 60%; height: 28px; }
.survey-embed__skeleton i:nth-child(2) { width: 90%; }
.survey-embed__skeleton i:nth-child(3) { width: 75%; }
.survey-embed__skeleton i:nth-child(4) { width: 50%; }
@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.survey-page__fallback,
.survey-page__thanks {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.survey-page__thanks {
  margin-top: 32px;
  color: var(--text-secondary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--color-primary); }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text-primary);
  padding-right: 32px;
  position: relative;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq-item + .faq-item { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
