html {
  background: #0f0a1f;
}

:root {
  --primary-500: #4D2EE5;
  --primary-600: #4338ca;

  --accent-500: #FF0050;
  --accent-400: #ff5c73;
  --accent-600: #db003e;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Commissioner', sans-serif;
  background: linear-gradient(135deg, var(--slate-900) 0%, #0f0a1f 100%);
  color: var(--slate-100);
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.5; transform: scale(1.15) rotate(10deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  background: transparent;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-500), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links a {
  color: var(--slate-300);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 0, 80, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 80, 0.4);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(150px);
  animation: pulse-glow 6s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-glow-1 {
  top: -300px;
  right: -300px;
  background: radial-gradient(circle, var(--accent-500) 0%, transparent 70%);
  opacity: 0.4;
}

.hero-glow-2 {
  bottom: -300px;
  left: -300px;
  background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
  opacity: 0.3;
  animation-delay: 3s;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin-bottom: 48px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(255, 0, 80, 0.4));
}

.hero-text {
  max-width: 700px;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.features {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--slate-400);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 0, 80, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon .superellipse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-icon .icon-inner {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--slate-400);
  line-height: 1.6;
}

.download {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 0, 80, 0.05), transparent);
  pointer-events: none;
}

.download h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.download p {
  font-size: 1.25rem;
  color: var(--slate-400);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: white;
  color: var(--slate-900);
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.2s;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.store-button svg {
  width: 32px;
  height: 32px;
}

.store-button .store-info {
  text-align: left;
}

.store-button .store-label {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.store-button .store-name {
  font-size: 1.125rem;
  font-weight: 600;
}

footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--slate-500);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.copyright {
  color: var(--slate-600);
  font-size: 0.875rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.language-switcher {
  margin-top: -4px;
  position: relative;
  display: inline-block;
}

.language-switcher select {
  appearance: none;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--slate-700);
  color: var(--slate-200);
  padding: 10px 40px 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.language-switcher select:hover {
  background-color: var(--slate-900);
  border-color: var(--primary-500);
}

.language-switcher select:focus {
  outline: none;
  background-color: var(--slate-900);
  border-color: var(--primary-500);
  box-shadow: 0 0 10px rgba(77, 46, 229, 0.3);
}

.language-switcher select option {
  background-color: var(--slate-800);
  color: var(--slate-200);
}

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

.faq {
  padding: 120px 0;
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 0, 80, 0.2);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 0, 80, 0.3);
}

.faq-item summary {
  padding: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(var(--accent-500), var(--accent-500)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent-500), var(--accent-500)) center / 2px 100% no-repeat;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.faq-item p {
  padding: 0 24px 24px;
  color: var(--slate-400);
  line-height: 1.7;
  margin: 0;
}

.highlight-box {
  background: rgba(255, 0, 80, 0.1);
  border: 1px solid rgba(255, 0, 80, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.highlight-box p {
  margin: 0;
  color: var(--slate-200);
}

.highlight-box strong {
  color: var(--accent-500);
}

.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--slate-500);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--slate-300);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--slate-300);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .download h2 {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .legal-content h1 {
    font-size: 2rem;
  }
}

:focus,
:focus-visible {
  outline: none;
}

.page {
  padding-top: 140px;
}

.page-hero {
  padding-bottom: 48px;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 18ch;
}

.page-lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate-400);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 96px;
}

.story {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.story:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 0, 80, 0.2);
  transform: translateY(-4px);
}

.story-art {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.14), rgba(77, 46, 229, 0.14));
}

.story-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-art-empty {
  display: block;
  width: 100%;
  height: 100%;
}

.story h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.story p {
  color: var(--slate-400);
  line-height: 1.7;
}

.facts-list {
  display: grid;
  gap: 16px;
  padding-bottom: 96px;
  max-width: 900px;
}

.fact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 28px 32px;
}

.fact h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.fact p,
.fact li {
  color: var(--slate-400);
  line-height: 1.7;
}

.fact ul {
  margin: 0;
  padding-left: 22px;
}

.fact li + li {
  margin-top: 8px;
}

.fact-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 48px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
}

.contact-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 18px;
}

.contact-link {
  color: var(--accent-400);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--accent-500);
  border-bottom-color: currentColor;
}

.page-cta {
  padding: 64px 0 120px;
  text-align: center;
}

.page-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-cta p {
  color: var(--slate-400);
  margin-bottom: 28px;
}

.page-cta .cta-button {
  display: inline-flex;
}

@media (max-width: 768px) {
  .page {
    padding-top: 110px;
  }

  .fact {
    padding: 24px;
  }
}

.how {
  padding: 96px 0 24px;
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.how-step {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-500), var(--primary-500));
}

.how-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.how-step p {
  color: var(--slate-400);
  line-height: 1.7;
}

.promise {
  padding: 96px 0 24px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.promise-card {
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.08), rgba(77, 46, 229, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 28px;
}

.promise-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.promise-card p {
  color: var(--slate-400);
  line-height: 1.7;
}

.promise-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent-400);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.promise-link:hover,
.promise-link:focus-visible {
  color: var(--accent-500);
  border-bottom-color: currentColor;
}

.promise-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .how,
  .promise {
    padding-top: 64px;
  }

  .how-step {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up,
  .animate-delay-1,
  .animate-delay-2,
  .animate-delay-3,
  .animate-delay-4,
  .hero-logo,
  .hero-glow {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent-500);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.wordmark {
  display: block;
  height: 1.55rem;
  width: auto;

  transform: translateY(10%);
}

.hero-wordmark {
  margin-bottom: 28px;
}

.hero-wordmark .wordmark {
  height: clamp(2.6rem, 8vw, 4.4rem);

  filter: drop-shadow(0 20px 45px rgba(255, 0, 80, 0.35));
}
