:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #050505;
  --muted: #747982;
  --line: #e2e4e8;
  --soft: #f4f5f7;
  --container: 768px;
  --side: 22px;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --tracking-display: -0.045em;
  --tracking-heading: -0.04em;
  --tracking-tight: -0.015em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection {
  color: #fff;
  background: #111;
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - var(--side) * 2), var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
}

.wordmark {
  font-size: 19px;
  font-weight: var(--weight-bold);
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: #282828;
}

.nav-links a:hover {
  color: var(--muted);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  background: #292929;
  transform: translateY(-1px);
}

.hero {
  padding: 90px 0 150px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--weight-medium);
}

.hero h1 {
  max-width: 720px;
  margin: 28px 0;
  font-size: clamp(64px, 9vw, 92px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 0.94;
}

.hero-copy {
  margin: 0 0 25px;
  color: #565b64;
  font-size: 17px;
  line-height: 1.45;
}

.inline-link {
  color: var(--muted);
  border-bottom: 1px dashed #aeb4be;
  font-size: 15px;
  line-height: 1.7;
}

.inline-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 64px;
}

.section-title.compact {
  margin-bottom: 52px;
}

.section-title h2 {
  margin: 20px 0 0;
  font-size: clamp(42px, 6vw, 59px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: 0.98;
}

/* App shelf */

.app-shelf {
  position: relative;
}

.app-shelf-mobile {
  display: none;
}

.shelf-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 24px 0 42px;
  scrollbar-width: none;
}

.shelf-viewport::-webkit-scrollbar {
  display: none;
}

.shelf-row {
  position: relative;
  padding: 28px 24px 20px;
  perspective: 800px;
}

.shelf-row + .shelf-row {
  margin-top: 54px;
}

.shelf-lineup {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 108px);
  align-items: flex-end;
  justify-content: center;
  column-gap: 64px;
}

.shelf-app {
  --shelf-icon: none;
  position: relative;
  display: flex;
  width: 108px;
  flex-direction: column;
  align-items: center;
  transition:
    filter 220ms ease,
    opacity 220ms ease;
}

.shelf-app::before {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 3;
  width: 108px;
  height: 8px;
  border-radius: 0 0 35% 35%;
  background-image: var(--shelf-icon);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% 125%;
  filter: blur(1.5px);
  opacity: 0.25;
  pointer-events: none;
  transform: scaleY(-1) rotateX(-8deg);
  transform-origin: center;
}

.shelf-app-pinzy { --shelf-icon: url("/assets/app-6744094750.jpg"); }
.shelf-app-vozee { --shelf-icon: url("/assets/app-1672164972.jpg"); }
.shelf-app-sherlock { --shelf-icon: url("/assets/app-1660005168.jpg"); }
.shelf-app-dog { --shelf-icon: url("/assets/app-1614679447.jpg"); }
.shelf-app-teleprompter { --shelf-icon: url("/assets/app-1606695963.jpg"); }
.shelf-app-vision { --shelf-icon: url("/assets/app-1557015448.jpg"); }
.shelf-app-documents { --shelf-icon: url("/assets/app-6760119062.jpg"); }

.shelf-app::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22.37%;
  mix-blend-mode: darken;
  pointer-events: none;
  transform-origin: bottom center;
  transition: transform 250ms ease;
}

.app-shelf:has(.shelf-app:hover) .shelf-app:not(:hover),
.app-shelf:has(.shelf-app:focus-visible) .shelf-app:not(:focus-visible) {
  opacity: 0.68;
  filter: saturate(0.8);
}

.shelf-app:hover,
.shelf-app:focus-visible {
  z-index: 5;
  opacity: 1;
  filter: none;
}

.shelf-app img {
  position: relative;
  z-index: 1;
  width: 108px;
  height: 108px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22.37%;
  transform-origin: bottom center;
  transition: transform 250ms ease;
}

.shelf-app:hover img,
.shelf-app:focus-visible img,
.shelf-app:hover::after,
.shelf-app:focus-visible::after {
  transform: translateY(-2px) scale(1.05);
}

.physical-shelf {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  z-index: 1;
  pointer-events: none;
  height: 20px;
  border-radius: 10px;
  background: linear-gradient(
    rgba(220, 225, 230, 0.4) 0%,
    rgba(230, 233, 237, 0.7) 50%,
    rgba(240, 242, 244, 0.85) 100%
  );
  box-shadow:
    rgba(89, 108, 124, 0.2) 0 2px 1px,
    rgba(160, 175, 188, 0.3) 0 4px 0,
    rgba(0, 0, 0, 0.1) 0 12px 16px -6px;
  transform: rotateX(20deg);
  transform-origin: center bottom;
}

.physical-shelf::after {
  content: none;
}

/* Numbers */

.numbers-section {
  display: block;
}

.numbers-section .section-title {
  margin-bottom: 72px;
}

.numbers-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 44px;
  color: var(--ink);
}

.number-stat {
  min-height: 0;
}

.metric-value {
  display: flex;
  align-items: flex-start;
  overflow: visible;
  font-size: clamp(56px, 5vw, 68px);
  font-weight: var(--weight-medium);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.number-stat-copy {
  margin-top: 10px;
}

.number-stat-copy span {
  color: #7d828a;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.4;
}

.odometer-digit {
  display: inline-block;
  overflow: hidden;
  flex: 0 0 0.62em;
  width: 0.62em;
  height: 1em;
}

.odometer-reel {
  display: flex;
  flex-direction: column;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--odometer-duration, 1400ms) cubic-bezier(0.16, 1, 0.3, 1)
    var(--odometer-delay, 0ms);
  will-change: transform;
}

.odometer-numeral {
  flex: 0 0 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.odometer-mark {
  display: inline-block;
  flex: 0 0 auto;
  opacity: 0.38;
  transform: translateY(0.06em);
  transition:
    opacity 450ms ease var(--odometer-delay, 0ms),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--odometer-delay, 0ms);
}

.numbers-board.is-counting .odometer-reel {
  transform: translate3d(0, calc(var(--odometer-shift) * -1em), 0);
}

.numbers-board.is-counting .odometer-mark {
  opacity: 1;
  transform: translateY(0);
}

/* Reviews */

.reviews-section {
  overflow: visible;
}

.reviews-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc((100vw - min(calc(100vw - var(--side) * 2), var(--container))) / -2);
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.review-track {
  display: flex;
  gap: 18px;
  width: max-content;
  margin-bottom: 20px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.review-set {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.store-review {
  display: flex;
  flex: 0 0 320px;
  flex-direction: column;
  min-height: 218px;
  padding: 24px;
  border: 1px solid #e2e3e6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 31, 37, 0.055);
}

.store-stars {
  color: #ffb800;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.store-review h3 {
  margin: 18px 0 9px;
  font-size: 18px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
}

.store-review p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #555960;
  font-size: 14px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.store-review footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  color: #969ba3;
  font-size: 9px;
}

/* Individual app pages */

.app-detail-main {
  width: 100%;
  max-width: none;
}

.app-detail-shell {
  width: min(calc(100% - var(--side) * 2), var(--container));
  margin-inline: auto;
  padding: 30px 0 120px;
}

.app-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.app-back:hover {
  color: var(--ink);
}

.app-detail-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 88px;
  text-align: center;
}

.app-detail-icon-wrap {
  position: relative;
}

.app-detail-icon-wrap::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -22px;
  left: 8%;
  height: 22px;
  border-radius: 50%;
  background: rgba(17, 18, 21, 0.16);
  filter: blur(16px);
}

.app-detail-icon {
  position: relative;
  z-index: 1;
  width: min(280px, 62vw);
  height: min(280px, 62vw);
  border-radius: 23%;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(20, 22, 27, 0.16);
}

.app-detail-hero h1 {
  max-width: 670px;
  margin: 58px 0 14px;
  font-size: clamp(42px, 6.5vw, 64px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: 1;
}

.app-detail-summary {
  max-width: 520px;
  margin: 24px 0 0;
  color: #5d626a;
  font-size: 17px;
  line-height: 1.5;
}

.app-category-pill {
  padding: 7px 12px;
  border-radius: 999px;
  color: #656a72;
  background: var(--soft);
  font-size: 11px;
}

.app-facts {
  border-top: 1px solid var(--line);
}

.app-fact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 67px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.app-fact span:first-child {
  color: var(--muted);
}

.app-store-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 600;
}

.app-inquiry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: end;
  margin-top: 88px;
  padding: 42px;
  border-radius: 28px;
  color: #fff;
  background: #080808;
}

.app-inquiry p {
  margin: 0 0 15px;
  color: #91959c;
  font-size: 12px;
}

.app-inquiry h2 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(38px, 5.5vw, 56px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: 1;
}

.app-inquiry a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #080808;
  background: #fff;
  font-size: 13px;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.store-review footer span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Contact + footer */

.contact-section {
  padding: 112px 0 120px;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  margin: 18px 0 52px;
  font-size: clamp(68px, 10vw, 96px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 0.94;
}

.contact-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #aeb3bb;
  font-size: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 70px;
  align-items: start;
  padding: 48px 0 65px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 250px;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.footer-column strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: var(--weight-semibold);
}

.footer-column a:hover {
  color: var(--ink);
}

/* Legal */

.legal-main {
  padding: 86px 0 112px;
}

.legal-content {
  max-width: 100%;
}

.legal-content > header {
  margin-bottom: 42px;
}

.legal-content h1 {
  margin: 0;
  font-size: 34px;
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.legal-updated {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content section {
  margin-top: 34px;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  grid-template-columns: 1fr auto auto;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 92px;
  }

  .nav-links {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: 18px;
  }

  .hero {
    padding: 74px 0 112px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .section {
    padding: 88px 0;
  }

  .section-title {
    margin-bottom: 46px;
  }

  .section-title h2 {
    font-size: 43px;
  }

  .app-shelf-desktop {
    display: none;
  }

  .app-shelf-mobile {
    display: block;
  }

  .shelf-viewport {
    overflow: visible;
    padding: 14px 0 30px;
  }

  .shelf-row {
    --mobile-shelf-icon: clamp(70px, 23vw, 86px);
    --mobile-shelf-gap: clamp(18px, 5vw, 30px);
    width: 100%;
    padding: 22px 0 18px;
  }

  .shelf-row + .shelf-row {
    margin-top: 34px;
  }

  .shelf-lineup {
    grid-template-columns: repeat(3, var(--mobile-shelf-icon));
    justify-content: space-between;
    column-gap: var(--mobile-shelf-gap);
  }

  .app-shelf-mobile .shelf-row:nth-of-type(3) .shelf-lineup {
    justify-content: start;
  }

  .shelf-app {
    width: var(--mobile-shelf-icon);
  }

  .shelf-app img {
    width: var(--mobile-shelf-icon);
    height: var(--mobile-shelf-icon);
  }

  .shelf-app::after {
    width: var(--mobile-shelf-icon);
    height: var(--mobile-shelf-icon);
  }

  .shelf-app::before {
    width: var(--mobile-shelf-icon);
  }

  .numbers-section {
    display: block;
  }

  .numbers-section .section-title {
    margin-bottom: 56px;
  }

  .numbers-board {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .metric-value {
    font-size: clamp(58px, 18vw, 70px);
  }

  .reviews-marquee {
    margin-left: calc(var(--side) * -1);
  }

  .store-review {
    flex-basis: 292px;
    min-height: 210px;
  }

  .app-detail-shell {
    padding: 18px 0 88px;
  }

  .app-detail-hero {
    padding: 28px 0 46px;
  }

  .app-detail-icon-wrap::after {
    bottom: -10px;
    height: 12px;
    filter: blur(10px);
  }

  .app-detail-icon {
    width: clamp(88px, 28vw, 112px);
    height: clamp(88px, 28vw, 112px);
    box-shadow: 0 14px 30px rgba(20, 22, 27, 0.13);
  }

  .app-detail-hero h1 {
    margin: 28px 0 10px;
    font-size: clamp(31px, 9.8vw, 38px);
    line-height: 1.03;
  }

  .app-detail-summary {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.45;
  }

  .app-inquiry {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 30px;
  }

  .app-inquiry a {
    justify-content: center;
  }

  .site-footer,
  .legal-footer {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .site-footer > .wordmark,
  .site-footer > .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-main {
    padding-top: 65px;
  }
}

@media (max-width: 360px) {
  .section-title h2 {
    font-size: 38px;
  }

  .shelf-row {
    --mobile-shelf-icon: 68px;
    --mobile-shelf-gap: 14px;
  }

  .app-detail-icon {
    width: 88px;
    height: 88px;
  }
}

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

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

  .review-track {
    transform: none !important;
  }

  .odometer-reel {
    transform: translate3d(0, calc(var(--odometer-shift, 0) * -1em), 0) !important;
  }
}
