:root {
  --bg: #0f0f12;
  --surface: #171821;
  --surface-strong: #1c1d28;
  --surface-soft: rgba(28, 29, 40, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #a7adc2;
  --accent: #6f78ff;
  --accent-2: #7a49ff;
  --accent-soft: rgba(111, 120, 255, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(122, 73, 255, 0.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(90, 116, 255, 0.14), transparent 24%),
    var(--bg);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(15, 15, 18, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: 210px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a {
  transition: color 0.2s ease;
}

.topnav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: block;
  padding: 90px 42px 42px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, rgba(15, 15, 18, 0.78) 0%, rgba(15, 15, 18, 0.58) 38%, rgba(15, 15, 18, 0.28) 100%),
    url("./assets/images/hero-background.png") center right / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #b6bcff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  max-width: 11ch;
}

.hero-subtitle,
.build-card p,
.platform-card p,
.feature-card p,
.contact-copy p,
.collection-showcase-header p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 58ch;
  margin: 22px 0 30px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px) scale(1.01);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 28px rgba(111, 120, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 31, 43, 0.92), rgba(21, 22, 31, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.collection-points span {
  color: var(--muted);
}

.hero-mini-grid,
.build-grid,
.platform-grid,
.capabilities-grid {
  display: grid;
  gap: 18px;
}

.hero-mini-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.mini-card,
.build-card,
.platform-card,
.feature-card,
.collection-showcase {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mini-card:hover,
.build-card:hover,
.platform-card:hover,
.feature-card:hover,
.collection-showcase:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 163, 255, 0.26);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
}

.mini-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.93rem;
}

.mini-card strong,
.build-card h3,
.feature-card h3,
.platform-card h3,
.collection-showcase-header h3 {
  display: block;
  margin-top: 8px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.build-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.build-card,
.platform-card,
.feature-card {
  padding: 26px;
}

.platform-index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #c8d0ff;
  font-weight: 700;
}

.tenant-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(111, 120, 255, 0.16);
  color: #cdd3ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.collection-showcase {
  display: grid;
  gap: 0;
}

.collection-showcase-header {
  padding: 30px 32px 24px;
  background:
    linear-gradient(180deg, rgba(35, 36, 51, 0.96), rgba(24, 25, 35, 0.96)),
    linear-gradient(135deg, rgba(111, 120, 255, 0.1), rgba(122, 73, 255, 0.1));
}

.collection-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.collection-identity-copy {
  min-width: 0;
}

.collection-app-icon {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.collection-logo {
  display: block;
  width: min(340px, 100%);
  height: auto;
  margin: 0 0 14px;
  object-fit: contain;
  object-position: left center;
}

.collection-showcase-banner {
  position: relative;
  background:
    radial-gradient(circle at 14% 18%, rgba(122, 73, 255, 0.22), transparent 26%),
    radial-gradient(circle at 84% 20%, rgba(111, 120, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(25, 26, 36, 0.96), rgba(18, 19, 27, 0.98));
}

.collection-showcase-banner img {
  display: block;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

.collection-showcase-panels {
  padding: 24px 28px 28px;
  background:
    linear-gradient(180deg, rgba(30, 31, 43, 0.98), rgba(21, 22, 31, 0.98));
}

.collection-lead {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
}

.collection-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 22px;
}

.collection-points span {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #dde3ff;
}

.showcase-shot {
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: start;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.showcase-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.showcase-shot img:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.showcase-shot figcaption {
  margin-top: 0;
  color: #dde3ff;
  line-height: 1.55;
  font-size: 0.88rem;
}

.showcase-shot figcaption strong {
  display: block;
  margin-bottom: 6px;
  color: #f5f7fb;
  font-size: 0.94rem;
}

.showcase-shot figcaption ul {
  margin: 0;
  padding-left: 16px;
}

.showcase-shot figcaption li + li {
  margin-top: 1px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  max-width: min(92vw, 760px);
  max-height: 90vh;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(30, 31, 43, 0.96), rgba(18, 19, 27, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: min(88vw, 720px);
  max-height: calc(90vh - 28px);
  margin: 0 auto;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 15, 18, 0.75);
  color: #f5f7fb;
  font-size: 1.25rem;
  cursor: pointer;
}

.collection-showcase-copy a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  color: #d7ddff;
  font-weight: 700;
  transition: transform 0.18s ease, color 0.18s ease;
}

.collection-showcase-copy a:hover {
  transform: translateX(2px);
  color: #ffffff;
}

.collection-apps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.collection-apps-label {
  color: #e3e7f7;
  font-weight: 600;
}

.collection-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #f0f3ff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.store-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(146, 163, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.store-pill-disabled {
  opacity: 0.82;
  cursor: not-allowed;
}

.store-pill-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(111, 120, 255, 0.18);
  color: #dfe4ff;
  font-size: 0.8rem;
  line-height: 1;
}

.store-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.capabilities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 30px;
}

.support-wrap {
  margin-top: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(122, 73, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(122, 73, 255, 0.12);
}

.contact-form .is-invalid {
  border-color: rgba(255, 108, 108, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 108, 108, 0.12);
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d7ddff;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.success-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 110px);
  padding: 56px 0 72px;
}

.success-wrap {
  width: min(720px, 100%);
  padding: 40px;
  text-align: center;
}

.success-title {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.success-copy {
  max-width: 44ch;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.policy-page {
  padding-top: 32px;
  padding-bottom: 56px;
}

.policy-hero,
.policy-content {
  padding: 32px;
}

.policy-hero {
  margin-bottom: 22px;
  background:
    linear-gradient(180deg, rgba(33, 34, 48, 0.94), rgba(20, 21, 30, 0.94)),
    radial-gradient(circle at top right, rgba(111, 120, 255, 0.16), transparent 28%);
}

.policy-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.policy-intro,
.policy-section p,
.policy-section li {
  color: var(--muted);
  line-height: 1.72;
}

.policy-intro {
  max-width: 68ch;
  margin: 18px 0 0;
}

.policy-meta {
  margin: 20px 0 0;
  color: #d7ddff;
  font-weight: 600;
}

.policy-content {
  display: grid;
  gap: 26px;
}

.policy-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.policy-section p {
  margin: 0 0 12px;
}

.policy-section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.policy-section a {
  color: #d7ddff;
}

.company-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.company-contact-card,
.company-map-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.company-contact-card {
  padding: 18px 20px;
}

.company-contact-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #c7cdff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.company-contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.company-contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.company-map-frame {
  margin-top: 18px;
  overflow: hidden;
}

.company-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.snauser-support-page {
  padding-top: 42px;
  padding-bottom: 72px;
}

.snauser-support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.snauser-support-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.snauser-support-icon {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.snauser-support-logo {
  display: block;
  width: min(350px, 100%);
  height: auto;
  object-fit: contain;
}

.snauser-support-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.snauser-support-copy p {
  max-width: 60ch;
  margin: 22px 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.snauser-support-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.snauser-support-media img {
  display: block;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.support-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.support-link-card {
  display: block;
  min-height: 210px;
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 163, 255, 0.26);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
}

.support-link-card h2 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.support-link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.snauser-support-form {
  margin-top: 24px;
}

@media (max-width: 1040px) {
  .contact-wrap,
  .build-grid,
  .platform-grid,
  .capabilities-grid,
  .hero-mini-grid,
  .snauser-support-hero {
    grid-template-columns: 1fr;
  }

  .support-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .snauser-support-media img {
    min-height: 240px;
  }

  .company-contact-grid {
    grid-template-columns: 1fr;
  }

  .collection-showcase-header {
    padding: 26px 26px 22px;
  }

  .collection-showcase-banner img {
    min-height: 240px;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(18, 19, 27, 0.96), rgba(18, 19, 27, 0.96));
  }

  .collection-showcase-panels {
    padding: 22px 24px 24px;
  }

  .collection-points {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .hero h1 {
    max-width: none;
  }

  .hero {
    padding: 72px 28px 28px;
    background:
      linear-gradient(180deg, rgba(15, 15, 18, 0.74) 0%, rgba(15, 15, 18, 0.56) 100%),
      url("./assets/images/hero-background.png") center center / cover no-repeat;
  }

  .policy-hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 16px 18px;
  }

  .topnav {
    display: none;
  }

  .brand-logo {
    width: 172px;
    height: 54px;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 54px 18px 18px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(15, 15, 18, 0.76) 0%, rgba(15, 15, 18, 0.62) 100%),
      url("./assets/images/hero-background.png") center center / cover no-repeat;
  }

  .contact-wrap,
  .build-card,
  .platform-card,
  .feature-card,
  .collection-showcase-header {
    padding: 22px;
  }

  .collection-identity {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-app-icon {
    width: 72px;
    height: 72px;
  }

  .collection-logo {
    width: min(260px, 100%);
    margin-bottom: 12px;
  }

  .collection-apps {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 22px 22px;
  }

  .collection-showcase-banner img {
    min-height: 180px;
    max-height: 220px;
    object-fit: contain;
    padding: 10px 10px 6px;
  }

  .collection-showcase-panels {
    padding: 18px 18px 22px;
  }

  .collection-points span {
    padding: 13px 14px;
  }

  .collection-app-links {
    width: 100%;
  }

  .store-pill {
    flex: 1 1 auto;
    justify-content: center;
  }

  .footer {
    flex-direction: column;
  }

  .success-wrap {
    padding: 28px 22px;
  }

  .policy-page {
    padding-top: 22px;
  }

  .policy-hero,
  .policy-content {
    padding: 24px 20px;
  }

  .snauser-support-page {
    padding-top: 24px;
    padding-bottom: 54px;
  }

  .snauser-support-hero {
    padding: 22px;
  }

  .snauser-support-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .snauser-support-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .snauser-support-logo {
    width: min(260px, 100%);
  }

  .snauser-support-copy h1 {
    max-width: none;
  }

  .snauser-support-media img {
    min-height: 180px;
    object-fit: contain;
    padding: 10px;
  }

  .support-link-grid {
    grid-template-columns: 1fr;
  }

  .support-link-card {
    min-height: auto;
    padding: 20px;
  }
}
