:root {
  --color-bg: #000000;
  --color-surface: #1c1c1e;
  --color-accent: #a8de00;
  --color-text: rgba(255, 255, 255, 0.9);
  --color-heading: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.5);
  --radius-card: 26px;
  --content-wide: 1110px;
  --content-legal: 880px;
  --desktop-curve-top: 107px;
  --desktop-curve-height: 484px;
  --legal-content-bottom-space: 40px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-width: 320px;
  color-scheme: dark;
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--color-bg);
  pointer-events: none;
  transition: transform 0.8s var(--ease-out), visibility 0s linear 0.8s;
}

.site-loader.is-complete {
  visibility: hidden;
  transform: translateY(-100%);
}

.loader-mark {
  position: relative;
  width: 88px;
  height: 88px;
}

.loader-mark__slice {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
}

.loader-mark__slice img {
  width: 88px;
  height: 88px;
}

.loader-mark__slice--top {
  clip-path: inset(0 0 66% 0);
}

.loader-mark__slice--middle {
  clip-path: inset(33% 0 33% 0);
}

.loader-mark__slice--bottom {
  clip-path: inset(66% 0 0 0);
}

.is-ready .loader-mark__slice {
  animation: loader-slice-in 0.58s var(--ease-out) forwards;
}

.is-ready .loader-mark__slice--middle {
  animation-delay: 0.1s;
}

.is-ready .loader-mark__slice--bottom {
  animation-delay: 0.2s;
}

@keyframes loader-slice-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--content-wide));
  height: 51px;
  margin: 0 auto;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-link img {
  width: 198px;
  height: 51px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.primary-nav__home {
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #000000;
  font-weight: 600;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}

.button--compact {
  min-height: 48px;
  padding: 14px 20px;
  font-size: 18px;
  line-height: 20px;
}

.button-label--mobile,
.mobile-only,
.value--mobile {
  display: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 48px), 1064px);
  min-height: 384px;
  margin: 80px auto 0;
  text-align: center;
}

.hero__copy {
  width: 100%;
}

.hero h1 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(44px, 4.17vw, 60px);
  font-weight: 700;
  letter-spacing: -2.1px;
  line-height: 1.333;
}

.hero h1 span,
.features h2 span {
  color: var(--color-accent);
}

.hero p,
.features__heading p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 28px;
}

.app-store-button {
  display: flex;
  align-items: center;
  width: 299px;
  height: 76px;
  margin-top: 28px;
  padding: 16px 68px;
  gap: 10px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #000000;
  text-align: left;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}

.app-store-button img {
  flex: 0 0 36px;
  width: 36px;
  height: 43px;
}

.app-store-button span {
  display: flex;
  flex-direction: column;
  width: 117px;
}

.app-store-button small {
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  white-space: nowrap;
}

.app-store-button strong {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 27px;
  white-space: nowrap;
}

.product-stage {
  position: relative;
  display: flow-root;
  width: 100%;
  height: 552px;
  overflow: visible;
}

.product-stage__curve {
  position: absolute;
  inset: var(--desktop-curve-top) 0 auto;
  height: var(--desktop-curve-height);
  background: url("../images/product-stage-curve.svg") center / 100% 100% no-repeat;
}

.product-stage picture {
  position: relative;
  z-index: 1;
  display: block;
  width: min(calc(100% - 48px), 878px);
  margin: 12px auto 0;
}

.product-stage picture img {
  width: 100%;
  height: auto;
}

.features {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 867px);
  min-height: 516px;
  margin: 0 auto;
  padding-top: 0;
}

.features__heading {
  text-align: center;
}

.features h2 {
  margin: 0;
  color: var(--color-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 60px;
}

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

.feature-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.feature-card:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

.feature-card {
  min-width: 0;
  height: 132px;
  padding: 16px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}

.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  margin-bottom: 12px;
}

.feature-card__top img {
  width: 20px;
  height: 20px;
}

.feature-card__arrow {
  width: 18px;
  height: 18px;
}

.feature-card h3,
.feature-card strong,
.feature-card p {
  display: block;
  margin: 0;
}

.feature-card h3 {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.feature-card strong {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 500;
  line-height: 28px;
}

.feature-card p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 261px;
  margin-top: 0;
  padding: 60px 24px 32px;
  background: var(--color-surface);
  text-align: center;
}

.site-footer > img {
  width: 64px;
  height: 64px;
}

.site-footer__meta {
  margin-top: 16px;
}

.site-footer__meta p {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 28px;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 20px;
}

.support-document,
.support-page {
  min-height: 100%;
  background: var(--color-bg);
}

.support-page {
  min-height: 100dvh;
}

.support-header {
  display: none;
}

.support-shell {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 40px 0;
}

.support-heading {
  margin: 0 0 20px;
  padding-left: 28px;
  color: var(--color-heading);
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
}

.support-faq {
  display: grid;
  gap: 16px;
}

.support-faq__item {
  overflow: hidden;
  border-radius: 32px;
  background: var(--color-surface);
}

.support-faq__item summary {
  display: block;
  padding: 28px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
}

.support-faq__item summary::-webkit-details-marker {
  display: none;
}

.support-faq__item summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -5px;
}

.support-faq__answer {
  padding: 0 28px 28px;
  color: var(--color-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.support-faq__answer p {
  margin: 0;
}

.support-faq__answer p + p {
  margin-top: 0;
}

.support-faq__answer strong,
.support-faq__answer code {
  color: inherit;
  font: inherit;
}

.support-contact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 20px 0 20px 28px;
  color: var(--color-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
}

.support-contact strong {
  color: var(--color-heading);
  font-weight: 700;
}

.legal-page {
  min-height: 100dvh;
}

.legal-header {
  display: none;
}

.legal-shell {
  width: min(100%, var(--content-legal));
  margin: 0 auto;
  padding: 40px 0 70px;
}

.legal-content > h1 {
  margin: 0 20px;
  color: var(--color-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 38px;
}

.legal-content > h1 + p {
  margin: 0 20px 60px;
  color: var(--color-text);
  font-size: 18px;
  line-height: 28px;
}

.legal-content {
  position: relative;
  isolation: isolate;
  padding-bottom: var(--legal-content-bottom-space);
  color: var(--color-text);
  font-size: 18px;
  line-height: 28px;
}

.legal-content::before {
  position: absolute;
  inset: 86px 0 0;
  z-index: 0;
  border-radius: 26px;
  background: var(--color-surface);
  content: "";
}

.legal-content > * {
  position: relative;
  z-index: 1;
}

.legal-content > h1 + p ~ * {
  margin-right: 40px;
  margin-left: 40px;
}

.legal-content p {
  margin-top: 0;
  margin-bottom: 24px;
}

.legal-content > :last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin-top: 26px;
  margin-bottom: 18px;
  color: var(--color-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.legal-content ul {
  list-style: none;
  margin-top: 0;
  margin-bottom: 24px;
  padding-left: 0;
}

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

.publication-note {
  margin-top: 0;
  margin-bottom: 24px;
  padding: 0;
  color: var(--color-text);
}

.publication-note p {
  margin: 0;
}

.legal-content a {
  text-decoration: underline;
  text-decoration-color: rgba(168, 222, 0, 0.55);
  text-underline-offset: 3px;
}

@media (hover: hover) {
  .button:hover,
  .app-store-button:hover {
    background: #b5ec0a;
    transform: translateY(-2px);
  }

  .feature-card:hover {
    background: #242426;
    transform: translateY(-3px);
  }

  .site-footer a:hover,
  .primary-nav__home:hover,
  .legal-content a:hover {
    color: var(--color-heading);
  }
}

.button:active,
.app-store-button:active {
  transform: scale(0.98);
}

@media (max-width: 767px) {
  .legal-document,
  .legal-page {
    background: var(--color-surface);
  }

  .support-document,
  .support-page {
    background: var(--color-surface);
  }

  .support-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    width: 100%;
    height: 76px;
    padding: 0 16px;
    background: var(--color-surface);
  }

  .support-header__back {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
  }

  .support-header__back img {
    width: 36px;
    height: 36px;
  }

  .support-header__title {
    justify-self: center;
    color: var(--color-text);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.43px;
    line-height: 22px;
  }

  .support-shell {
    width: 100%;
    padding: 0 16px 28px;
  }

  .support-heading {
    margin: 0 0 12px;
    padding-left: 16px;
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
  }

  .support-faq {
    gap: 12px;
  }

  .support-faq__item {
    border-radius: 16px;
    background: #2c2c2e;
  }

  .support-faq__item summary {
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }

  .support-faq__answer {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .support-contact {
    padding: 16px 20px;
    font-size: 14px;
    line-height: 17px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 76px;
    padding: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .site-header__inner {
    width: 100%;
    height: 76px;
    padding: 0 16px;
  }

  .brand-link img {
    width: auto;
    height: 44px;
  }

  .primary-nav {
    gap: 0;
  }

  .primary-nav__home {
    display: none;
  }

  .button--compact {
    width: 122px;
    height: 44px;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 17px;
    line-height: 20px;
  }

  .button-label--desktop,
  .value--desktop {
    display: none;
  }

  .button-label--mobile,
  .mobile-only,
  .value--mobile {
    display: inline;
  }

  .hero {
    width: 100%;
    min-height: 285px;
    margin: 0;
    padding: 28px 16px;
  }

  .hero h1 {
    max-width: 370px;
    margin: 0 auto;
    font-size: 28px;
    letter-spacing: -0.95px;
    line-height: 40px;
  }

  .hero p,
  .features__heading p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 17px;
    white-space: nowrap;
  }

  .app-store-button {
    justify-content: center;
    width: 200px;
    height: 52px;
    margin-top: 28px;
    padding: 8px 0;
  }

  .app-store-button span {
    width: auto;
  }

  .app-store-button img {
    flex-basis: 29px;
    width: 29px;
    height: 35px;
  }

  .app-store-button small {
    font-size: 10px;
    line-height: 12px;
  }

  .app-store-button strong {
    font-size: 20px;
    line-height: 21px;
  }

  .product-stage {
    height: auto;
    padding: 28px 0;
    overflow: visible;
  }

  .product-stage__curve {
    display: none;
  }

  .product-stage picture {
    width: 402px;
    max-width: 100%;
    margin: 0 auto;
  }

  .product-stage picture img {
    width: 402px;
    height: 752px;
  }

  .features {
    width: 100%;
    min-height: 587px;
    padding: 20px 16px 0;
  }

  .features h2 {
    max-width: 370px;
    margin: 0 auto;
    font-size: 32px;
    letter-spacing: -1.2px;
    line-height: 40px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-card {
    height: 132px;
    padding: 16px;
    border-radius: var(--radius-card);
  }

  .feature-card h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .feature-card strong {
    font-size: 22px;
  }

  .feature-card p {
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
  }

  .site-footer {
    min-height: 157px;
    margin-top: 28px;
    padding: 28px 16px;
  }

  .site-footer > img {
    width: 44px;
    height: 44px;
  }

  .site-footer__meta {
    margin-top: 8px;
  }

  .site-footer__meta p {
    font-size: 14px;
    line-height: 20px;
  }

  .site-footer nav {
    gap: 5px;
    margin-top: 2px;
    font-size: 14px;
    line-height: 20px;
  }

  .legal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    width: 100%;
    height: 76px;
    padding: 0 16px;
    background: var(--color-surface);
  }

  .legal-header__back {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
  }

  .legal-header__back img {
    width: 36px;
    height: 36px;
  }

  .legal-header__title {
    justify-self: center;
    color: var(--color-heading);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.43px;
    line-height: 22px;
  }

  .legal-shell {
    width: 100%;
    padding: 0 16px 48px;
  }

  .legal-content {
    padding-bottom: 0;
    padding-top: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .legal-content > h1 {
    display: none;
  }

  .legal-content > h1 + p {
    margin: 0 0 16px;
    padding-top: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .legal-content > h1 + p ~ * {
    margin-right: 0;
    margin-left: 0;
  }

  .legal-content::before {
    display: none;
  }

  .legal-content p {
    margin-bottom: 24px;
  }

  .legal-content h2 {
    margin-top: 26px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 24px;
  }

  .legal-content h3 {
    font-size: 16px;
  }

  .legal-content ul {
    padding-left: 20px;
  }

}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .site-loader {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
