:root {
  --bg: #071711;
  --bg-deep: #04100b;
  --surface: #0d241c;
  --surface-2: #112d23;
  --surface-3: #16382b;
  --line: rgba(88, 118, 103, 0.28);
  --line-strong: rgba(243, 189, 83, 0.28);
  --text: #f7f5ef;
  --text-soft: #d8e2da;
  --muted: #a8b8ad;
  --brand: #103a2d;
  --brand-strong: #174c3b;
  --brand-soft: #296550;
  --info: #88c8ab;
  --warn: #f3bd53;
  --danger: #ff7b8d;
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(860px 460px at 110% -10%, rgba(28, 73, 54, 0.32) 0%, transparent 62%),
    radial-gradient(720px 360px at -8% 100%, rgba(243, 189, 83, 0.08) 0%, transparent 58%),
    linear-gradient(180deg, #071711 0%, #0b2018 42%, #07110d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    linear-gradient(120deg, rgba(243, 189, 83, 0.045), transparent 28%, transparent 72%, rgba(15, 77, 63, 0.06));
}

a {
  color: #b8d7ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff0bf;
}

.wrapper {
  width: calc(100vw - 36px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(88, 118, 103, 0.18);
  background: rgba(6, 18, 13, 0.84);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  width: calc(100vw - 36px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-inner > * {
  min-width: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(95, 132, 183, 0.22);
  border-radius: 14px;
  background: rgba(12, 34, 25, 0.92);
  color: #ffffff;
  cursor: pointer;
}

.nav-toggle-bar {
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: background 0.18s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, top 0.18s ease, bottom 0.18s ease;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  bottom: -6px;
}

.nav-toggle.is-open .nav-toggle-bar {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 118, 103, 0.22);
  background: rgba(14, 38, 29, 0.82);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: rgba(243, 189, 83, 0.3);
  background: rgba(18, 52, 39, 0.98);
}

.play-download-callout {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.play-download-card {
  display: inline-grid;
  justify-items: center;
  align-items: center;
  gap: 6px;
  width: min(100%, 240px);
  min-width: 0;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(88, 118, 103, 0.22);
  background: linear-gradient(180deg, rgba(13, 36, 28, 0.96) 0%, rgba(10, 24, 19, 0.98) 100%);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.play-download-card:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 189, 83, 0.28);
}

.play-download-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.play-download-app {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.play-download-copy {
  color: var(--warn);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(95, 132, 183, 0.22);
  background:
    radial-gradient(520px 240px at 110% -10%, rgba(24, 76, 59, 0.28) 0%, transparent 58%),
    radial-gradient(400px 210px at -10% 10%, rgba(243, 189, 83, 0.1) 0%, transparent 54%),
    linear-gradient(145deg, rgba(7, 23, 17, 0.96) 0%, rgba(15, 48, 36, 0.96) 100%);
  box-shadow: var(--shadow-lg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 189, 83, 0.1) 0%, transparent 68%);
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.86fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.hero-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(95, 132, 183, 0.24);
  background: rgba(9, 27, 56, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-app-badge img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.hero-app-badge strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.1;
}

.hero-app-badge span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.hero-panel {
  position: relative;
  padding: 24px;
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 122, 100, 0.24);
  background:
    linear-gradient(180deg, rgba(15, 58, 48, 0.94) 0%, rgba(11, 42, 35, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-media {
  margin-top: 18px;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(95, 132, 183, 0.22);
  background: rgba(5, 16, 34, 0.7);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-media-caption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(95, 132, 183, 0.16);
}

.video-shell {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(95, 132, 183, 0.22);
  background: rgba(5, 16, 34, 0.78);
  box-shadow: var(--shadow-md);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #020b1b;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.app-showcase-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.app-showcase-card {
  overflow: hidden;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(95, 132, 183, 0.2);
  background: linear-gradient(180deg, rgba(10, 32, 64, 0.72) 0%, rgba(8, 24, 49, 0.86) 100%);
}

.app-showcase-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.app-showcase-card .hero-media-caption {
  border-top: 1px solid rgba(95, 132, 183, 0.14);
}

.section-eyebrow,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-eyebrow {
  margin-bottom: 10px;
  color: #fff4d7;
  border: 1px solid rgba(243, 189, 83, 0.26);
  background: rgba(243, 189, 83, 0.12);
}

.status-chip {
  margin-bottom: 14px;
  color: #d9efe8;
  border: 1px solid rgba(46, 122, 100, 0.32);
  background: rgba(15, 77, 63, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(15, 41, 80, 0.96) 0%, rgba(9, 27, 56, 0.98) 100%);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.span-12 {
  grid-column: span 12;
}

.span-6 {
  grid-column: span 6;
}

.span-4 {
  grid-column: span 4;
}

h1,
h2,
h3 {
  color: #ffffff;
}

h2,
h3 {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

h3 {
  font-size: 1.08rem;
}

p,
li,
td,
th,
label {
  color: var(--text-soft);
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 10px 0;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(46, 122, 100, 0.26);
  background: rgba(15, 58, 48, 0.46);
  color: #eef7ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3bd53, #ffd877);
}

.alert {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 210, 122, 0.24);
  border-left: 4px solid var(--warn);
  background: rgba(82, 58, 19, 0.24);
  color: #fff3d2;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #183126;
  background: linear-gradient(135deg, #ffd877 0%, #f3bd53 55%, #d89a2b 100%);
  box-shadow: 0 14px 30px rgba(216, 154, 43, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(216, 154, 43, 0.3);
}

.btn-secondary {
  color: #edf7ff;
  border-color: rgba(88, 118, 103, 0.3);
  background: rgba(18, 46, 35, 0.9);
}

.btn-secondary:hover {
  background: rgba(22, 56, 42, 0.96);
  border-color: rgba(243, 189, 83, 0.34);
}

.btn-ghost {
  color: #ffe8eb;
  border-color: rgba(255, 123, 141, 0.28);
  background: rgba(89, 22, 33, 0.2);
}

.btn-ghost:hover {
  background: rgba(108, 27, 41, 0.28);
}

.btn-block {
  width: 100%;
}

.feature-list,
.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.info-list li {
  position: relative;
  padding-left: 20px;
}

.feature-list li::before,
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #f3bd53, #d89a2b);
  box-shadow: 0 0 0 5px rgba(243, 189, 83, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(88, 118, 103, 0.28);
  background: linear-gradient(180deg, rgba(16, 41, 31, 0.95) 0%, rgba(11, 30, 23, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

.stat-card strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

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

.contact-card {
  min-height: 100%;
}

.contact-card p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.card a,
.contact-card a,
.footer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

ul,
ol {
  padding-left: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(9, 24, 18, 0.76);
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(88, 118, 103, 0.18);
}

th {
  color: #ffffff;
  background: rgba(17, 42, 31, 0.94);
}

td {
  color: var(--text-soft);
  background: rgba(12, 30, 23, 0.68);
}

code {
  font-family: Consolas, "Courier New", monospace;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(18, 45, 34, 0.92);
  border: 1px solid rgba(88, 118, 103, 0.24);
  color: #eef8f2;
}

.footer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(95, 132, 183, 0.18);
  color: var(--muted);
  font-size: 0.93rem;
}

.footer p {
  margin: 8px 0;
}

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

.input-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #e6efff;
}

.input-control {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(88, 118, 103, 0.24);
  background: rgba(9, 24, 18, 0.94);
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input-control::placeholder {
  color: #9daf9f;
}

.input-control:focus {
  outline: none;
  border-color: rgba(243, 189, 83, 0.48);
  background: rgba(12, 30, 23, 0.98);
  box-shadow: 0 0 0 4px rgba(243, 189, 83, 0.14);
}

textarea.input-control {
  min-height: 150px;
  resize: vertical;
}

.status-box {
  margin-bottom: 14px;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: #ffffff;
}

.status-ok {
  border-color: rgba(46, 122, 100, 0.36);
  background: rgba(15, 77, 63, 0.32);
}

.status-error {
  border-color: rgba(255, 123, 141, 0.34);
  background: rgba(94, 25, 41, 0.3);
}

.support-status {
  margin-top: 6px;
}

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

.form-shell {
  max-width: 760px;
  margin: 0 auto;
}

.center-copy {
  text-align: center;
}

.center-copy h2,
.center-copy p {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .hero-split,
  .stats-grid,
  .contact-grid,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .span-6,
  .span-4 {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    flex: 1 1 100%;
    text-align: center;
    min-height: 46px;
  }

  .brand-text {
    max-width: calc(100vw - 150px);
  }

  .play-download-card {
    width: min(100%, 240px);
  }

  .brand {
    align-items: center;
    width: auto;
    flex: 1 1 auto;
  }

  .hero {
    padding: 22px;
  }

  .card {
    padding: 18px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .wrapper,
  .topbar-inner {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .wrapper {
    padding: 18px 0 34px;
  }

  .hero {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 1.66rem;
    line-height: 1.12;
  }

  .hero p,
  .muted,
  .stat-card span,
  .hero-media-caption,
  .footer {
    font-size: 0.96rem;
  }

  .hero-copy,
  .grid {
    gap: 16px;
  }

  .grid {
    margin-top: 16px;
  }

  .section-eyebrow,
  .status-chip {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 8px 12px;
  }

  .stat-card {
    min-height: 0;
    padding: 16px;
  }

  .hero-panel {
    padding: 18px;
  }

  .hero-media-caption,
  .stat-card,
  .contact-card,
  .card {
    text-align: left;
  }

  .btn-row {
    margin-top: 14px;
  }

  .video-shell {
    border-radius: 18px;
  }

  .play-download-callout {
    margin-top: 22px;
  }

  .play-download-card {
    width: min(100%, 230px);
    padding: 14px 16px;
  }

  .play-download-icon {
    width: 42px;
    height: 42px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    flex: 0 0 28px;
  }

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

  .brand-text small {
    font-size: 0.64rem;
  }

  .hero-app-badge {
    width: 100%;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .hero-app-badge img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 42px;
  }

  .hero-panel,
  .app-showcase-card {
    overflow: hidden;
  }

  .hero-media,
  .video-shell,
  .app-showcase-card img {
    width: 100%;
    max-width: 100%;
  }

  .hero p,
  p,
  li {
    font-size: 0.97rem;
  }

  .card,
  .hero-panel {
    border-radius: 20px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr + tr {
    margin-top: 12px;
  }

  td,
  th {
    padding: 11px 12px;
  }

  td {
    border-top: none;
  }
}

@media (max-width: 420px) {
  .wrapper,
  .topbar-inner {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .topbar-inner {
    padding: 12px 0;
  }

  .hero,
  .card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-panel {
    padding: 16px;
  }

  .hero h1 {
    font-size: 1.52rem;
  }

  .nav a {
    flex-basis: 100%;
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .hero-app-badge {
    gap: 10px;
  }

  .hero-media-caption {
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .play-download-card {
    padding: 15px 16px;
  }

  .play-download-icon {
    width: 46px;
    height: 46px;
  }
}
