:root {
  --bg: #06131f;
  --bg-alt: #0b1b2a;
  --panel: rgba(12, 29, 44, 0.72);
  --panel-strong: rgba(10, 22, 34, 0.92);
  --line: rgba(163, 198, 255, 0.12);
  --text: #eef6ff;
  --muted: #9fb4c8;
  --accent: #6cf2d7;
  --accent-2: #5bbcff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

body.theme-finture {
  --bg: #03131a;
  --bg-alt: #082029;
  --panel: rgba(6, 30, 36, 0.78);
  --panel-strong: rgba(4, 21, 28, 0.94);
  --line: rgba(116, 255, 229, 0.16);
  --text: #f3fbfb;
  --muted: #a6c6c4;
  --accent: #38e6c8;
  --accent-2: #0ea79d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 188, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(108, 242, 215, 0.18), transparent 22%),
    linear-gradient(180deg, #07111b 0%, #091824 50%, #06131f 100%);
}

body.theme-finture {
  background:
    radial-gradient(circle at 18% 16%, rgba(56, 230, 200, 0.2), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(14, 167, 157, 0.18), transparent 24%),
    linear-gradient(180deg, #031118 0%, #04141b 48%, #031017 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

strong {
  color: var(--text);
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px auto 0;
  padding: 16px 20px;
  background: rgba(5, 14, 23, 0.66);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #071b27;
  border-radius: 14px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.brand-text {
  white-space: nowrap;
}

.topnav {
  display: inline-flex;
  gap: 20px;
  color: var(--muted);
}

.topnav a:hover,
.project-links a:hover,
.footer a:hover {
  color: var(--accent);
}

.topnav a:focus-visible,
.project-links a:focus-visible,
.footer a:focus-visible,
.button:focus-visible,
.brand:focus-visible {
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(108, 242, 215, 0.16);
  border-radius: 999px;
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 40px;
  align-items: center;
  padding-top: 88px;
}

.hero-brand {
  margin-bottom: 18px;
}

.hero-brand-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  background: rgba(7, 27, 39, 0.72);
  border: 1px solid rgba(108, 242, 215, 0.08);
  border-radius: 28px;
}

.hero-brand-logo {
  width: min(100%, 356px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.22));
}

.eyebrow,
.mini-label,
.project-badge {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow,
.mini-label {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

h1 {
  margin-top: 16px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  max-width: 10ch;
}

h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.5rem;
}

.lead {
  max-width: 60ch;
  font-size: 1.08rem;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric-tile {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.metric-tile strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
}

.metric-tile span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #04141d;
  background: linear-gradient(135deg, var(--accent), #b8fff2);
}

.button-secondary {
  border: 1px solid rgba(108, 242, 215, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.button-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.availability-note {
  max-width: 68ch;
  margin-top: 16px;
  font-size: 0.95rem;
}

.hero-panel {
  position: relative;
  min-height: 420px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.orb-one {
  top: 30px;
  right: 18px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, #b9fef1, rgba(108, 242, 215, 0.08) 70%);
}

.orb-two {
  bottom: 24px;
  left: 12px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle at 50% 50%, rgba(91, 188, 255, 0.9), rgba(91, 188, 255, 0.08) 72%);
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.status-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 460px);
  padding: 28px;
  border-radius: var(--radius-xl);
}

.route-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.route-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.route-list span {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

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

.project-grid,
.feature-grid {
  display: grid;
  gap: 20px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

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

.project-card,
.feature-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--line);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(108, 242, 215, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
  pointer-events: none;
  opacity: 0.9;
}

.project-card-finture::before {
  background:
    radial-gradient(circle at top center, rgba(56, 230, 200, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
}

.project-card-marcabingo::before {
  background:
    radial-gradient(circle at top center, rgba(255, 208, 112, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 242, 215, 0.3);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.32);
}

.project-badge {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-2);
}

.project-card-marcabingo .project-badge {
  color: #f3c56a;
}

.project-card-marcabingo {
  border-color: rgba(243, 197, 106, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 247, 223, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.24);
}

.project-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(6, 19, 31, 0.88);
  border: 1px solid rgba(108, 242, 215, 0.14);
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.project-card p,
.feature-card p {
  min-height: 96px;
}

.project-card h3 {
  font-size: 1.7rem;
}

.project-card p {
  max-width: 30ch;
}

.project-card-finture .project-logo {
  border-color: rgba(56, 230, 200, 0.2);
}

.project-card-marcabingo .project-logo {
  background: rgba(21, 17, 10, 0.86);
  border-color: rgba(243, 197, 106, 0.28);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
}

.card-stretch-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.store-badge-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-badge-link:hover {
  transform: translateY(-2px);
}

.store-badge-link-dark {
  padding: 5px 9px;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.store-badge-link-disabled {
  opacity: 0.48;
}

.store-badge {
  display: block;
  height: 42px;
  width: auto;
}

.feature-card {
  min-height: 210px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.page-hero {
  padding-top: 88px;
  max-width: 840px;
}

.hero-appmark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.hero-appmark img {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.hero-appmark-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.page-hero h1 {
  max-width: 12ch;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.info-chip {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-top: 28px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(108, 242, 215, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.banner-showcase {
  margin-bottom: 24px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(116, 255, 229, 0.16);
  box-shadow: var(--shadow);
}

.banner-showcase-image {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-copy h2 {
  max-width: 11ch;
}

.showcase-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.showcase-points span {
  padding: 10px 14px;
  border: 1px solid rgba(108, 242, 215, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
}

.device-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.device-mock {
  min-height: 420px;
  padding: 20px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #0d1b28;
  box-shadow: var(--shadow);
}

.device-mock-alt {
  transform: translateY(34px);
}

.device-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-weight: 800;
}

.device-topbar img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.device-balance {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(108, 242, 215, 0.2), rgba(91, 188, 255, 0.16));
  border: 1px solid rgba(108, 242, 215, 0.18);
}

.device-balance p,
.mini-list span,
.feature-pill span {
  margin: 0;
}

.device-balance strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.metric-row,
.mini-list,
.feature-stack {
  display: grid;
  gap: 12px;
}

.metric-row {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  color: var(--text);
  font-size: 0.9rem;
}

.mini-list {
  margin-top: 16px;
}

.mini-list div,
.feature-pill {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-list strong,
.feature-pill strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.store-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(116, 255, 229, 0.16);
  background:
    radial-gradient(circle at top right, rgba(56, 230, 200, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.04);
}

.store-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.store-card-header img {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}

.store-facts {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.screenshot-section {
  margin: 34px 0 0;
}

.section-heading-compact {
  margin-bottom: 20px;
}

.section-heading-compact h2 {
  max-width: none;
}

.screenshot-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.screenshot-rail img {
  width: 100%;
  min-width: 220px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: #fff;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.content-card h2,
.content-card h3 {
  max-width: none;
}

.content-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.policy-stack {
  display: grid;
  gap: 18px;
}

.policy-section {
  padding: 24px;
  border-radius: var(--radius-lg);
}

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

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 960px) {
  .hero,
  .hero-metrics,
  .product-showcase,
  .content-grid,
  .project-grid,
  .feature-grid,
  .info-strip,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-panel {
    min-height: 340px;
  }

  .status-card {
    position: relative;
    width: 100%;
  }

  .device-gallery {
    grid-template-columns: 1fr;
  }

  .device-mock-alt {
    transform: none;
  }

  .screenshot-rail {
    grid-template-columns: repeat(6, minmax(180px, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    font-size: 0.94rem;
  }

  .brand {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .brand-logo {
    width: 100%;
    height: 100%;
  }

  .brand-text {
    font-size: 0.94rem;
  }

  .brand-logo-shell {
    width: 46px;
    height: 46px;
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}
