.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* —— Layout —— */
.page-x {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .page-x {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Geist, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00dbe9;
  margin-bottom: 1rem;
}

.section-eyebrow.justify-center {
  justify-content: center;
}

/* —— Nav —— */
#main-nav {
  background: transparent;
}

#main-nav.nav-scrolled {
  background: rgba(18, 20, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #00dbe9;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* —— Buttons —— */
.btn-primary {
  background: #00f0ff;
  color: #00363a;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #7df4ff;
  box-shadow: 0 8px 24px -8px rgba(0, 240, 255, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e2e2;
  background: rgba(18, 20, 20, 0.35);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(0, 219, 233, 0.5);
  background: rgba(0, 219, 233, 0.08);
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-wallpaper {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-ken-burns 32s ease-in-out infinite alternate;
}

.hero-overlay--left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 10, 12, 0.96) 0%,
    rgba(8, 10, 12, 0.78) 42%,
    rgba(8, 10, 12, 0.35) 68%,
    transparent 88%
  );
}

.hero-overlay--bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(12, 15, 15, 0.75) 82%, #0c0f0f 100%);
}

@keyframes hero-ken-burns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

/* —— Product frames —— */
.product-frame {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0f0f;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  background: rgba(30, 32, 32, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-frame-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
}

.product-shot {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* —— Scrolly —— */
.scrolly-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .scrolly-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.scrolly-sticky {
  position: sticky;
  top: 100px;
}

.scrolly-screen-stack {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0c0f0f;
  overflow: hidden;
}

.scrolly-screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scrolly-screen-img.is-active {
  opacity: 1;
}

.scrolly-step {
  padding: 1.35rem 0 1.35rem 1.15rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.45;
  cursor: pointer;
}

.scrolly-step:hover {
  opacity: 0.8;
}

.scrolly-step:focus-visible {
  outline: 2px solid #00dbe9;
  outline-offset: 4px;
}

.scrolly-step.is-active {
  border-left-color: #00dbe9;
  opacity: 1;
}

.scrolly-step.is-active h3 {
  color: #dbfcff;
}

/* —— Capability lists —— */
.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.capability-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(0, 219, 233, 0.35);
}

.capability-list strong {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e2e2;
}

.capability-list span {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #b9cacb;
}

/* —— Retention / adapt —— */
.retention-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .retention-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.retention-item {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.adapt-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .adapt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .adapt-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.adapt-item {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 219, 233, 0.25);
}

/* —— Contact —— */
.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.form-input {
  width: 100%;
  background: #1a1c1c;
  border: 1px solid #3b494b;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #e2e2e2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #849495;
}

.form-input:hover {
  border-color: rgba(0, 219, 233, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: #00dbe9;
  box-shadow: 0 0 0 3px rgba(0, 219, 233, 0.15);
}

/* —— FAQ —— */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: rgba(26, 28, 28, 0.5);
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 219, 233, 0.28);
}

.faq-item[open] {
  border-color: rgba(0, 219, 233, 0.4);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
}

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

.faq-icon {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.25rem 1.15rem;
}

/* —— Store badges —— */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.35rem;
  min-width: 200px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1c1c;
  color: #e2e2e2;
  text-align: left;
  opacity: 0.85;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text small {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b9cacb;
}

.store-badge-text strong {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1rem;
}

/* —— Footer —— */
.footer-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #282a2b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9cacb;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-icon:hover {
  color: #00dbe9;
  background: rgba(0, 219, 233, 0.12);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.04s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.22s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.28s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.34s; }

/* —— Scrollbar —— */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #0c0f0f; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #3b494b; border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
  .hero-wallpaper { animation: none !important; }
  .reveal, .reveal-scale, [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scrolly-screen-img { transition: none !important; }
  .scrolly-step { opacity: 1; }
}

/* —— Legal pages (unchanged contract) —— */
.legal-nav {
  border-bottom: 1px solid rgba(0, 219, 233, 0.1);
  background: rgba(18, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-page {
  padding-top: 2.5rem;
}

.legal-updated {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00dbe9;
  margin-bottom: 0.75rem;
}

.legal-title {
  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #dbfcff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.legal-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #b9cacb;
  max-width: 42rem;
}

.legal-toc {
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 219, 233, 0.15);
  background: rgba(30, 32, 32, 0.5);
}

.legal-toc-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7df4ff;
  margin-bottom: 0.75rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

@media (min-width: 640px) {
  .legal-toc ol { columns: 2; column-gap: 2rem; }
}

.legal-toc li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.legal-toc a {
  color: #b9cacb;
  text-decoration: none;
  font-size: 0.9375rem;
}

.legal-toc a:hover {
  color: #00dbe9;
  text-decoration: underline;
}

.legal-body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}

.legal-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}

.legal-section h2 {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #dbfcff;
  margin-bottom: 0.75rem;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #7df4ff;
  margin: 1.25rem 0 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: #b9cacb;
}

.legal-section p { margin-bottom: 0.85rem; }

.legal-section ul {
  margin: 0.5rem 0 1rem 1.25rem;
  list-style: disc;
}

.legal-section a {
  color: #00dbe9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover { color: #7df4ff; }

.legal-related {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0f0f;
}
