html.is-mobile {
  --radius: 16px;
  --radius-sm: 12px;
}

html.is-mobile body {
  -webkit-tap-highlight-color: transparent;
}

html.is-mobile .container {
  width: min(1120px, calc(100% - 28px));
}

html.is-mobile .section {
  padding: 56px 0;
}

html.is-mobile .section--tight {
  padding: 22px 0 14px;
}

html.is-mobile section {
  scroll-margin-top: 84px;
}

html.is-mobile .header-inner {
  padding: 10px 0;
  gap: 12px;
}

html.is-mobile .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

html.is-mobile .brand-logo {
  width: 34px;
  height: 34px;
}

html.is-mobile .brand-name {
  font-size: 16px;
}

html.is-mobile .nav {
  position: fixed;
  top: 64px;
  top: calc(64px + env(safe-area-inset-top));
  left: 14px;
  right: 14px;
  width: auto;
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 12px;
  border-radius: calc(var(--radius) + 2px);
  transform: translateY(-6px);
  opacity: 0;
}

html.is-mobile body.nav-open .nav {
  opacity: 1;
  transform: translateY(0);
  animation: tablyNavIn 180ms ease both;
}

@keyframes tablyNavIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.is-mobile body.nav-open {
  overflow: hidden;
}

html.is-mobile body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(2px);
  z-index: 900;
}

html.is-mobile .site-header {
  z-index: 1000;
}

html.is-mobile .nav {
  z-index: 1001;
}

html.is-mobile .hero {
  padding: 104px 0 16px;
}

html.is-mobile .page-hero {
  padding: 100px 0 10px;
}

html.is-mobile .hero-copy {
  padding-top: 0;
}

html.is-mobile .lede {
  font-size: 1rem;
  margin-bottom: 18px;
}

html.is-mobile .hero-bullets {
  gap: 8px;
  margin-bottom: 16px;
}

html.is-mobile .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

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

html.is-mobile .btn {
  min-height: 44px;
}

html.is-mobile .hero-art {
  height: 260px;
}

html.is-mobile .hero-art--home {
  height: 280px;
}

html.is-mobile .hero-art-logo {
  width: 168px;
}

html.is-mobile .hero-art--home .hero-art-logo {
  width: 156px;
}

html.is-mobile .hero-art-bubble,
html.is-mobile .hero-home-node {
  width: 48px;
  height: 48px;
}

html.is-mobile .hero-art-bubble .icon,
html.is-mobile .hero-home-node .icon {
  width: 20px;
  height: 20px;
}

html.is-mobile .grid {
  margin-top: 20px;
  gap: 14px;
}

html.is-mobile .card {
  padding: 16px 16px 14px;
}

html.is-mobile .feature,
html.is-mobile .infra-card,
html.is-mobile .contact-card {
  padding: 16px;
}

html.is-mobile .timeline li {
  padding: 14px 14px;
  grid-template-columns: 32px 1fr;
}

html.is-mobile .step {
  width: 32px;
  height: 32px;
}

html.is-mobile .page-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

html.is-mobile .page-tabs::-webkit-scrollbar {
  display: none;
}

html.is-mobile .page-tab {
  flex: 0 0 auto;
}

html.is-mobile .form-actions {
  flex-direction: column;
  align-items: stretch;
}

html.is-mobile .form-actions .btn {
  width: 100%;
}

html.is-mobile input,
html.is-mobile select,
html.is-mobile textarea {
  padding: 14px 12px;
}

html.is-mobile .footer-grid > .footer-col:nth-child(2) .footer-links {
  grid-template-columns: 1fr;
}

html.is-mobile .footer-bottom {
  padding-bottom: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

@media (hover: none) {
  html.is-mobile a:hover {
    text-decoration: none;
  }

  html.is-mobile .card:hover,
  html.is-mobile .feature:hover,
  html.is-mobile .chip:hover,
  html.is-mobile .page-tab:hover {
    transform: none;
  }

  html.is-mobile .card:hover {
    background: var(--surface-2);
    border-color: var(--border);
  }
}

