:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --paper: #f8fafc;
  --white: #ffffff;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --max: 1080px;
  --nav-h: 72px;
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.nav {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--white) !important;
}

.menu-btn {
  display: inline-flex;
  margin-left: auto;
  border: 1.5px solid var(--ink);
  background: var(--white);
  border-radius: 10px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  gap: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.menu-bars {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}

.hero {
  padding: 88px 0 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow img {
  width: 22px;
  height: 22px;
}

.hero h1 {
  margin: 0 auto 16px;
  max-width: 12em;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero p.lede {
  margin: 0 auto 32px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.play-icon {
  width: 18px;
  height: 18px;
}

.app-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.app-row a {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.15s ease;
}

.app-row a:hover {
  transform: translateY(-3px);
}

.app-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.section .sub {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 38rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.app-card header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.app-card img.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
}

.app-card h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

.app-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.app-card .btn {
  align-self: flex-start;
  min-height: 40px;
  font-size: 0.88rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.panel p:last-child {
  margin-bottom: 0;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.facts li {
  display: grid;
  gap: 4px;
}

.facts span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card.wide {
  grid-column: 1 / -1;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card a,
.contact-card address {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
}

.contact-card .support {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  background: #0b1220;
  color: #cbd5e1;
}

.site-footer a {
  color: #e2e8f0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}

.legal-page {
  padding: 56px 0 80px;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.updated {
  color: var(--muted);
  margin: 0 0 36px;
}

.legal-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  max-width: 46rem;
}

.legal-body h2 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 1.2rem;
}

@media (min-width: 861px) {
  .menu-btn {
    display: none;
  }
}

@media (max-width: 980px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .about-grid,
  .contact-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 14px;
  }

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

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 56px;
  }
}

@media (max-width: 560px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero p.lede {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
    max-width: 11em;
  }

  .app-row {
    gap: 10px;
  }

  .app-row a,
  .app-row img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
}
