:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --muted: #9bacbf;
  --background: #07111f;
  --panel: #0b1a2b;
  --line: rgba(170, 198, 227, 0.18);
  --cyan: #5ce1e6;
  --blue: #7ba9ff;
  --brand-gold: #f3d69e;
  --focus: #ffdf70;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 8%, rgba(54, 114, 184, 0.2), transparent 28rem),
    var(--background);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--background);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.principles,
.apps-section,
.privacy-section,
.faq-section,
.studio-section,
footer {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--brand-gold);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-logo {
  display: block;
  width: 3.5rem;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.55rem;
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  color: #ced9e7;
  font-size: 0.95rem;
}

.nav-links a,
.language-toggle {
  transition: color 160ms ease;
}

.nav-links a:hover,
.language-toggle:hover {
  color: var(--cyan);
}

.language-toggle {
  justify-self: end;
  border: 0;
  padding: 0.65rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-active {
  color: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 45rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.97;
}

h1 span {
  color: var(--cyan);
}

.hero-intro {
  max-width: 37rem;
  color: #b8c6d6;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: #06101d;
}

.button-primary:hover {
  background: #86f2f5;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: rgba(92, 225, 230, 0.58);
}

.signal-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(243, 214, 158, 0.3);
  border-radius: 1.6rem;
  background: #020c28;
  overflow: hidden;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  object-fit: contain;
}

.signal-list {
  align-self: stretch;
  margin: 0 clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}

.signal-list div {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.6rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.signal-list span,
.feature-number,
.privacy-details > div > span {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
}

.signal-list strong {
  font-size: 0.95rem;
}

.signal-list span {
  color: var(--brand-gold);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.principles p {
  margin: 0;
  padding: 1.25rem;
  color: #c9d5e2;
  text-align: center;
}

.principles p + p {
  border-left: 1px solid var(--line);
}

.apps-section,
.privacy-section,
.faq-section,
.studio-section {
  padding-block: clamp(5rem, 11vw, 9rem);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2,
.studio-section h2 {
  max-width: 47rem;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.03;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(15rem, 0.68fr) minmax(0, 1.32fr);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  overflow: hidden;
}

.product-identity {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-height: 30rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: linear-gradient(155deg, #123151, #0b1a2b);
}

.product-icon {
  display: block;
  width: 4.5rem;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #c8d5e3;
  font-size: 0.85rem;
}

.product-status > span:first-child {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
}

.product-identity h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1;
}

.product-type {
  margin: 0;
  color: var(--muted);
}

.product-story {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: rgba(11, 26, 43, 0.75);
}

.product-lead {
  max-width: 39rem;
  margin-bottom: 3rem;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.feature-grid {
  display: grid;
  gap: 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--line);
}

.feature-grid > div {
  display: grid;
  grid-template-columns: 2.5rem minmax(10rem, 0.6fr) 1fr;
  gap: 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.feature-grid h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 700;
}

.product-highlights {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--line);
  background: var(--background);
}

.product-highlights .gallery-card {
  min-width: 0;
  overflow: hidden;
}

.product-highlights .gallery-card img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--background);
}

.product-highlights .gallery-caption {
  align-items: flex-start;
  font-size: 0.9375rem;
}

.product-highlights .gallery-caption > svg {
  flex-shrink: 0;
}

.highlight-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.spendora-card {
  margin-top: 1.5rem;
  border-color: rgba(243, 214, 158, 0.3);
}

.spendora-card .product-identity {
  min-width: 0;
  min-height: auto;
  justify-content: flex-start;
  gap: 2rem;
  background: linear-gradient(155deg, #253247, #0b1a2b);
}

.spendora-card .product-identity h3 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  overflow-wrap: anywhere;
}

.testing-badge {
  align-self: flex-start;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(243, 214, 158, 0.4);
  border-radius: 0.5rem;
  color: var(--brand-gold);
  background: rgba(243, 214, 158, 0.07);
  font-size: 0.875rem;
  font-weight: 700;
}

.spendora-card .product-lead {
  margin-bottom: 1.5rem;
}

.spendora-card .feature-grid {
  margin-bottom: 1.5rem;
}

.spendora-card .feature-number {
  color: var(--brand-gold);
}

.testing-note {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--brand-gold);
  color: #c9d5e2;
}

.gallery-section {
  min-width: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.gallery-heading {
  margin-bottom: 1.5rem;
}

.gallery-heading h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.gallery-heading > p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(16rem, 29vw, 21rem);
  gap: 1.25rem;
  margin: 0;
  padding: 0.5rem 0.5rem 1.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.5rem;
  scrollbar-color: var(--cyan) var(--panel);
}

.gallery-track > li {
  min-width: 0;
  scroll-snap-align: start;
}

.gallery-card {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--panel);
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: zoom-in;
}

.gallery-card:hover {
  border-color: var(--cyan);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  font-weight: 700;
}

.gallery-caption > svg {
  flex-shrink: 0;
  color: var(--cyan);
}

.image-viewer-open {
  overflow: hidden;
}

.image-viewer {
  width: min(76rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--background);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.5);
  overflow: auto;
  overscroll-behavior: contain;
}

.image-viewer::backdrop {
  background: rgba(0, 5, 14, 0.9);
}

.image-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.image-viewer-toolbar h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.image-viewer-toolbar form {
  flex-shrink: 0;
}

.image-viewer-close {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.image-viewer-close:hover {
  border-color: var(--cyan);
}

.image-viewer-close > span:last-child {
  font-size: 1.5rem;
  line-height: 1;
}

.image-viewer-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
}

.image-viewer-image[hidden] {
  display: none;
}

.image-viewer-error {
  margin: 1rem 0;
  color: var(--muted);
}

.promo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--panel);
}

.promo-copy h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.promo-copy > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
}

.promo-copy .video-privacy {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
}

.promo-media {
  width: 100%;
  max-width: 18rem;
  justify-self: center;
  text-align: center;
}

.promo-player {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #07111f;
}

.promo-icon {
  display: block;
  width: 5rem;
  height: auto;
}

.promo-name {
  font: 800 1.8rem "Manrope", sans-serif;
}

.video-play {
  gap: 0.5rem;
  max-width: calc(100% - 1rem);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.video-play svg {
  flex-shrink: 0;
}

.video-play[hidden] {
  display: none;
}

.promo-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.promo-player iframe:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.video-external {
  margin-top: 0.8rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(23rem, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}

.privacy-heading {
  margin-bottom: 0;
}

.privacy-heading > p:not(.eyebrow) {
  max-width: 35rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-details > div {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.privacy-details > div:first-child {
  border-top: 1px solid var(--line);
}

.privacy-details h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.25rem;
}

.privacy-details p {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.faq-list {
  min-width: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 1.3rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary:hover,
.faq-item[open] summary {
  color: var(--cyan);
}

.faq-item summary svg {
  flex-shrink: 0;
  color: var(--cyan);
  transition: transform 160ms ease;
}

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

.faq-answer {
  padding: 0 0.25rem 1.5rem;
  color: var(--muted);
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.faq-note {
  padding-left: 1rem;
  border-left: 2px solid var(--brand-gold);
  color: #c9d5e2;
}

.studio-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(3rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}

.studio-copy {
  align-self: end;
}

.studio-copy p {
  color: #bdcbd9;
  font-size: 1.1rem;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  min-width: 0;
}

.footer-legal {
  display: grid;
  gap: 0.4rem;
}

.footer-social,
.footer-policy {
  color: var(--cyan);
  padding-block: 0.6rem;
  width: fit-content;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-top: 0.75rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.65rem 0.25rem;
    color: var(--cyan);
    font-weight: 700;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary svg {
    flex-shrink: 0;
    transition: transform 160ms ease;
  }

  .mobile-menu[open] summary svg {
    transform: rotate(180deg);
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.25rem 0 1rem;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--panel);
  }

  .mobile-nav a:hover {
    border-color: var(--cyan);
    color: var(--cyan);
  }

  .mobile-nav a:last-child {
    grid-column: 1 / -1;
  }

  .hero,
  .promo-section,
  .privacy-section,
  .faq-section,
  .studio-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-highlights {
    grid-template-columns: 1fr;
  }

  .product-identity {
    min-height: 23rem;
  }

  .privacy-section,
  .studio-section {
    gap: 3rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .principles,
  .apps-section,
  .privacy-section,
  .faq-section,
  .studio-section,
  footer {
    width: min(100% - 2rem, 1180px);
  }

  .hero {
    padding-block: 3.2rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .principles p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-grid > div {
    grid-template-columns: 2rem 1fr;
  }

  .feature-grid p {
    grid-column: 2;
  }

  .product-identity {
    min-height: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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