:root {
  color-scheme: dark;
  --bg: #071112;
  --bg-elevated: #0d191b;
  --bg-soft: #112224;
  --text: #f5fbf8;
  --text-muted: #b7c8c4;
  --text-subtle: #859a95;
  --border: rgba(205, 239, 228, 0.16);
  --border-strong: rgba(205, 239, 228, 0.28);
  --accent: #43d7b5;
  --accent-strong: #78f0d2;
  --accent-ink: #041311;
  --gold: #f0b85b;
  --rose: #ee7b85;
  --blue: #77a7ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --radius-sm: 6px;
  --max-width: 1160px;
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(145deg, rgba(67, 215, 181, 0.14), transparent 28%),
    linear-gradient(215deg, rgba(240, 184, 91, 0.11), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

img,
svg {
  display: block;
}

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

a:hover {
  color: var(--accent-strong);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 17, 18, 0.76);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(7, 17, 18, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-width));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(120, 240, 210, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(67, 215, 181, 0.95), rgba(119, 167, 255, 0.84)),
    #112224;
  color: #02100d;
  font-size: 0.86rem;
  font-weight: 900;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  min-height: 42px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section-block {
  padding: 94px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - var(--header-height));
  padding: 78px 0 64px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 4.7rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.65rem;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

p {
  color: var(--text-muted);
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d5e5e1;
  font-size: 1.18rem;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms var(--ease),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 35px rgba(67, 215, 181, 0.22);
}

.button-primary:hover {
  color: var(--accent-ink);
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.microcopy {
  margin: 24px 0 0;
  color: var(--text-subtle);
  font-size: 0.96rem;
}

.hero-visual {
  min-height: 520px;
}

.interface-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(17, 34, 36, 0.82), rgba(7, 17, 18, 0.36)),
    linear-gradient(35deg, rgba(67, 215, 181, 0.16), transparent 48%),
    linear-gradient(215deg, rgba(240, 184, 91, 0.16), transparent 52%);
  box-shadow: var(--shadow);
}

.interface-stage::before,
.interface-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.interface-stage::before {
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.interface-stage::after {
  right: 0;
  bottom: 0;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 240, 210, 0.7));
}

.phone-shell {
  position: absolute;
  right: 17%;
  bottom: 44px;
  width: 245px;
  min-height: 410px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #081314;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.phone-shell::before {
  display: block;
  width: 74px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.phone-status {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 20px;
}

.phone-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.screen-title {
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 850;
}

.receipt-line {
  width: 64%;
  height: 8px;
  margin-bottom: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.receipt-line.wide {
  width: 88%;
}

.split-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.split-row strong {
  color: var(--text);
}

.split-row.muted {
  background: rgba(255, 255, 255, 0.035);
}

.scan-bar {
  position: relative;
  height: 48px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(67, 215, 181, 0.12);
}

.scan-bar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(120, 240, 210, 0.6), transparent);
  animation: scan 3.8s var(--ease) infinite;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(11, 24, 25, 0.86);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  font-size: 0.92rem;
  font-weight: 800;
  animation: floatCard 7s var(--ease) infinite;
}

.floating-card svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-reminder {
  top: 88px;
  left: 44px;
}

.card-secure {
  right: 34px;
  top: 164px;
  animation-delay: -1.8s;
}

.card-wheel {
  left: 72px;
  bottom: 98px;
  animation-delay: -3.2s;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.app-card,
.value-card,
.support-note,
.legal-card,
.support-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 25, 27, 0.78);
  box-shadow: var(--shadow-soft);
}

.app-card {
  padding: 28px;
}

.app-card-primary {
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(67, 215, 181, 0.1), rgba(13, 25, 27, 0.82)),
    rgba(13, 25, 27, 0.9);
}

.app-card-compact {
  background:
    linear-gradient(145deg, rgba(240, 184, 91, 0.1), rgba(13, 25, 27, 0.72)),
    rgba(13, 25, 27, 0.8);
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.status-badge,
.app-type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-badge {
  background: rgba(67, 215, 181, 0.14);
  color: var(--accent-strong);
}

.app-type {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.feature-list li {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e7e4;
  font-size: 0.94rem;
}

.store-button {
  border-color: rgba(120, 240, 210, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.store-button.is-disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-subtle);
  transform: none;
}

.value-band,
.contact-band {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.02);
}

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

.value-card {
  padding: 24px;
}

.value-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(67, 215, 181, 0.12);
  color: var(--accent-strong);
}

.value-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 54px;
  align-items: start;
}

.about-copy {
  padding-top: 6px;
}

.about-copy p {
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  padding: 80px 0;
}

.support-note {
  padding: 26px;
}

.support-note ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(5, 12, 13, 0.74);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  gap: 20px;
  padding: 28px 0;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.92rem;
}

.page-hero {
  padding: 80px 0 34px;
}

.page-hero h1 {
  max-width: 840px;
  font-size: 3.6rem;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.08rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 96px;
}

.legal-card,
.support-card {
  padding: 28px;
}

.notice {
  border-color: rgba(240, 184, 91, 0.42);
  background:
    linear-gradient(145deg, rgba(240, 184, 91, 0.12), rgba(13, 25, 27, 0.82)),
    rgba(13, 25, 27, 0.9);
}

.content-layout h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.content-layout ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

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

.content-layout p:last-child,
.legal-card p:last-child,
.support-card p:last-child {
  margin-bottom: 0;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 520ms var(--ease),
    transform 520ms var(--ease);
}

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

@keyframes scan {
  0% {
    transform: translateX(-110%);
  }

  58%,
  100% {
    transform: translateX(270%);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    min-height: 0;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-visual,
  .interface-stage {
    min-height: 455px;
  }

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

  .app-card-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .contact-layout {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .nav,
  .footer-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    flex-wrap: wrap;
    min-height: 68px;
    padding: 12px 0;
  }

  .js-enabled .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    order: 3;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0 6px;
  }

  .js-enabled .nav-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 14px;
    right: 14px;
    width: auto;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(7, 17, 18, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .js-enabled .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    width: 100%;
  }

  .hero {
    padding-top: 56px;
  }

  h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-intro,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-visual,
  .interface-stage {
    min-height: 430px;
  }

  .phone-shell {
    right: 9%;
    bottom: 34px;
    width: 226px;
    min-height: 382px;
  }

  .floating-card {
    max-width: 170px;
    padding: 12px;
    font-size: 0.82rem;
  }

  .card-reminder {
    top: 64px;
    left: 22px;
  }

  .card-secure {
    right: 18px;
    top: 144px;
  }

  .card-wheel {
    left: 28px;
    bottom: 70px;
  }

  .apps-grid,
  .value-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 72px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.98rem;
  }

  h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-actions,
  .store-actions,
  .not-found-actions {
    flex-direction: column;
  }

  .button,
  .store-button {
    width: 100%;
  }

  .app-card,
  .value-card,
  .support-note,
  .legal-card,
  .support-card {
    padding: 22px;
  }

  .hero-visual,
  .interface-stage {
    min-height: 392px;
  }

  .phone-shell {
    right: 22px;
    width: 205px;
    min-height: 348px;
    padding: 15px;
  }

  .card-secure {
    display: none;
  }

  .floating-card {
    max-width: 156px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
