:root {
  --background: #dedede;
  --ink: #2b2b2b;
  --muted: #505050;
  --pill-muted: #4c4c4c;
  --accent: #e35f2c;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

.mobile-page {
  display: none;
}

.desktop-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--background);
}

.desktop-hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 43.75vw 1fr;
  align-items: start;
  column-gap: 12.0192vw;
  padding: 7.512vw 6.1899vw 0;
}

.desktop-copy {
  transform: none;
  padding-top: 7.1vw;
}

.eyebrow {
  position: relative;
  top: 0.6009vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4261vw;
  min-width: 12.9002vw;
  height: 2.2575vw;
  margin: 0 0 2.3438vw;
  padding: 0 1.0817vw;
  border: 0.1082vw solid rgba(43, 43, 43, 0.9);
  border-radius: 60.0361vw;
  color: rgba(43, 43, 43, 0.9);
  font-size: 0.8594vw;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.eyebrow-dot {
  width: 0.3555vw;
  height: 0.3555vw;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.9);
}

.site-logo.desktop-logo {
  position: absolute;
  top: 2.5vw;
  left: 2.5vw;
  z-index: 10;
  display: block;
  width: 3.5vw;
  height: auto;
  margin: 0;
  border-radius: 22%;
}

.desktop-page h1,
.desktop-title-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 5.2vw;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.desktop-page h1 > span,
.desktop-title-text > span {
  display: block;
}

.clear-word {
  position: relative;
  display: inline-block;
}

.clear-word::after {
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0.35vw;
  width: 100%;
  height: 1.35vw;
  background: var(--accent);
  content: "";
}

.desktop-page .store-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6vw;
  margin-top: 1.8vw;
  padding: 0.7vw 1.1vw;
  border-radius: 100vw;
  background: rgba(43, 43, 43, 0.06);
  color: var(--ink);
  font-size: 0.9vw;
  font-weight: 600;
  line-height: 1;
}

.desktop-page .store-rating .stars {
  display: flex;
  gap: 0.15vw;
  color: var(--accent);
}

.desktop-page .store-rating .stars svg {
  display: block;
  width: 1vw;
  height: 1vw;
}

.desktop-page .store-rating .rating-score {
  font-weight: 700;
}

.desktop-page .store-rating .rating-label {
  color: var(--muted);
  font-weight: 500;
}

.desktop-download-card {
  display: flex;
  align-items: center;
  width: 31.25vw;
  height: 11.4183vw;
  margin-top: 4.3269vw;
  padding: 1.5625vw 2.1034vw;
  border: 0.0901vw solid #bdbdbd;
  border-radius: 0.8413vw;
  color: var(--ink);
  text-decoration: none;
}

.qr-code {
  display: block;
  width: 8.8942vw;
  height: 8.8942vw;
  flex: 0 0 auto;
  border-radius: 0.1202vw;
  background: var(--background);
  mix-blend-mode: multiply;
}

.desktop-download-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 2.7644vw;
  color: var(--ink);
  font-size: 1.6827vw;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.desktop-download-copy strong {
  margin-top: 0.7813vw;
  font-size: 2.5841vw;
  font-weight: 700;
  line-height: 1;
}

.desktop-benefits {
  display: flex;
  align-items: flex-start;
  margin-top: 3.2452vw;
}

.benefit {
  min-height: 4.2067vw;
  padding: 0;
  color: var(--ink);
}

.benefit + .benefit {
  margin-left: 2.1635vw;
  padding-left: 2.1635vw;
  border-left: 0.1202vw solid #c6c6c6;
}

.benefit strong,
.benefit span {
  display: block;
}

.benefit strong {
  font-size: 1.3221vw;
  font-weight: 500;
  line-height: 1.2;
}

.benefit span {
  margin-top: 0.3606vw;
  color: var(--muted);
  font-size: 1.2019vw;
  font-weight: 400;
  line-height: 1.2;
}

.desktop-visual {
  position: relative;
  display: block;
  width: 21.1538vw;
  aspect-ratio: 1148 / 2348;
  max-width: none;
  justify-self: center;
  transform: none;
  user-select: none;
}

.desktop-visual-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 450ms ease-in-out;
}

.visual-one {
  animation: desktopVisualOne 4.8s ease-in-out infinite;
}

.visual-two {
  animation: desktopVisualTwo 4.8s ease-in-out infinite;
}

@keyframes desktopVisualOne {
  0%,
  38% {
    opacity: 1;
  }

  48%,
  88% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes desktopVisualTwo {
  0%,
  38% {
    opacity: 0;
  }

  48%,
  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Store QR codes: App Store + Google Play side by side */
.desktop-download-card {
  width: auto;
  height: auto;
  gap: 2.1vw;
  padding: 1.4vw 2vw;
}

.store-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-qr .qr-code {
  width: 7.4vw;
  height: 7.4vw;
}

.store-qr-label {
  display: flex;
  align-items: center;
  gap: 0.4vw;
  margin-top: 0.6vw;
  color: var(--ink);
  font-size: 1vw;
  font-weight: 600;
  white-space: nowrap;
}

.store-qr-label svg {
  width: 1vw;
  height: 1vw;
}

.desktop-download-card .desktop-download-copy {
  margin-left: 0.6vw;
  font-size: 1.35vw;
}

.desktop-download-card .desktop-download-copy strong {
  font-size: 2vw;
}

.desktop-page .store-badges {
  display: flex;
  gap: 1vw;
}

/* Temporary Tally To Do -> Weeklane transition note */
.rename-notice {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  margin: 0 0 1.4em;
  padding: 0.6em 1em;
  border-radius: 0.9em;
  background: rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 34em;
}
.rename-notice strong { font-weight: 700; }
.rename-notice span { opacity: 0.75; }
