:root {
  color-scheme: dark;
  background-color: #1A2029;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: calc(40px + 64px) 24px 80px;
  background: #1A2029;
}

.content {
  width: min(1024px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-separator {
  width: calc(100% + 48px);
  margin-left: -24px;
  margin-right: -24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
  margin-bottom: 0;
}

footer {
  width: min(1024px, 100%);
  margin: 0 auto;
  padding: 24px 24px 60px;
  text-align: left;
  color: #647387;
  font-size: 0.5rem;
  font-weight: 300;
}

footer p {
  margin: 0 0 12px;
  font-size: 1.0rem;
  color: #647387;
}

footer p:last-child {
  margin-bottom: 0;
}

.smaller {
  font-size: 0.75rem;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 24px;
  font-size: 0.95rem;
  background: rgba(26, 32, 41, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.menu-inner {
  width: min(1024px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 24px 0 24px 20px;
}

.menu-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  font-weight: 300;
  color: #ffffff;
  background: transparent;
  border: 1px solid #009EFF;
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 120ms ease;
}

.menu-logo:hover {
  border-color: #ffffff;
}

.menu a {
  color: #009EFF;
  text-decoration: none;
  transition: color 120ms ease;
  font-size: 1.0rem;
  font-weight: 300;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.menu a:nth-child(n+3)::before {
  content: "⋮";
  color: #4a4f5a;
  margin-left: -12px;
  margin-right: 12px;
  font-size: 1.0rem;
}

.menu a:hover,
.menu a:focus-visible {
  color: #ffffff;
}

a {
  color: #009EFF;
  text-decoration: none;
  transition: color 240ms ease;
}

a:hover,
a:focus-visible,
a:visited:hover {
  color: #ffffff;
}

a:visited {
  color: #009EFF;
}

.logo {
  display: block;
  width: 64px;
  max-width: 100%;
  margin: 0 auto 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #999999;
  margin-bottom: 12px;
  text-align: left;
}

h1 {
  margin: 32px 0 48px;
  font-size: 2rem;
  line-height: 1.4;
    font-weight: 400;
  color: #CCCCB3;
  text-align: left;
  scroll-margin-top: 96px;
}

h2 {
  margin: 36px 0 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #CCCCB3;
  text-align: left;
  scroll-margin-top: 96px;
}

p {
  margin: 0 0 18px;
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 100%;
  color: #94aac9;
  line-height: 1.6;
}

p:last-of-type {
  margin-bottom: 40px;
}

.promo-video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 12px 0 40px;
  border-radius: 18px;
}

.app-store-badge-link {
  display: inline-block;
  margin: 8px 0 24px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.app-store-badge {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  transition: opacity 180ms ease;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.app-store-badge-link:hover .app-store-badge,
.app-store-badge-link:focus-visible .app-store-badge {
  opacity: 0.88;
}

.subheading {
  color: #94aac9;
}

.yellow {
  color: #CCCCB3;
}
.small {
  display: none;
}

.shortcuts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 48px 0 24px 0;
}

.shortcuts-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shortcuts-table tbody tr:last-child {
  border-bottom: none;
}

.shortcuts-table .heading-table {
  border-top: 2px solid rgba(255, 255, 255, 0.06);
}

.shortcuts-table .heading-table td {
  vertical-align: top;
  font-size: 1.4rem;
  font-weight: 500;
  color: #94aac9;
}

.shortcuts-table .heading-table td:last-child {
  vertical-align: top;
  font-size: 1.4rem;
  font-weight: 500;
  color: #94aac9;
}

.shortcuts-table td {
  padding: 16px 0;
  text-align: left;
  vertical-align: top;
  font-size: 1.4rem;
  font-weight: 300;
  color: #94aac9;
}

.shortcuts-table td:last-child {
  width: 50%;
  color: #CCCCB3;
  font-weight: 300;
  padding-right: 32px;
}

.shortcuts-list {
  display: none;
}

strong {
  font-weight: 600;
}

/* ── Hamburger button (hidden on desktop) ─────────────────────── */

.menu-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-left: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #009EFF;
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
  transform-origin: center;
}

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

.menu-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ── Mobile nav panel (hidden by default) ─────────────────────── */

.menu-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 20px 16px;
}

.menu-mobile.open {
  display: flex;
}

.menu-mobile a {
  display: block;
  color: #009EFF;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 300;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 120ms ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.menu-mobile a:last-child {
  border-bottom: none;
}

.menu .menu-mobile a::before {
  content: none;
}

.menu-mobile a:hover,
.menu-mobile a:active {
  color: #ffffff;
}

/* ── Mobile breakpoint ────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Hide desktop nav links, show hamburger */
  .menu-inner > a:not(.menu-logo) {
    display: none;
  }

  .menu-hamburger {
    display: flex;
  }

  .menu-inner {
    padding: 16px 4px 16px 8px;
    justify-content: space-between;
  }

  /* Body: remove horizontal padding, let content control it */
  body {
    padding: calc(40px + 64px) 0 60px;
  }

  .content {
    padding: 0 18px;
  }

  /* Footer separator spans full width when body has no h-padding */
  .footer-separator {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  footer {
    padding: 20px 18px 44px;
  }

  footer p {
    font-size: 0.9rem;
  }

  .smaller {
    font-size: 0.68rem;
  }

  /* Typography */
  h1 {
    font-size: 1.45rem;
    margin: 20px 0 28px;
  }

  h2 {
    font-size: 1.15rem;
    margin: 28px 0 10px;
  }

  p {
    font-size: 1.05rem;
    margin: 0 0 14px;
  }

  /* Video */
  .promo-video {
    border-radius: 10px;
    margin: 6px 0 28px;
  }

  /* Shortcuts table */
  .shortcuts-table {
    margin: 28px 0 16px;
  }

  .shortcuts-table td {
    font-size: 0.95rem;
    padding: 12px 0;
  }

  .shortcuts-table .heading-table td,
  .shortcuts-table .heading-table td:last-child {
    font-size: 0.95rem;
    padding: 12px 0;
  }

  .shortcuts-table td:last-child {
    padding-right: 12px;
  }

  /* App Store badge */
  .app-store-badge {
    width: 180px;
  }
}

/* ── Landscape phones (short viewport) ───────────────────────── */

@media (max-width: 768px) and (max-height: 500px) {
  .menu-mobile a {
    padding: 9px 0;
    font-size: 0.95rem;
  }
}
