:root {
  --ink: #14231b;
  --ink-soft: #24372d;
  --acid: #c6ff55;
  --signal: #2ac76d;
  --signal-strong: #0b6b3a;
  --focus-ring: var(--signal-strong);
  --chalk: #f5f6f0;
  --surface: #ffffff;
  --muted: #5e6d64;
  --line: #dce6df;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --shadow-soft: 0 12px 34px rgb(20 35 27 / 8%);
  --shadow-card: 0 24px 64px rgb(20 35 27 / 12%);
  --shadow-device: 0 34px 90px rgb(20 35 27 / 24%);
  --performance-motion-art: url("assets/pushup-performance-motion-v2.webp");
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--chalk);
  font-family: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
select {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 930;
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  letter-spacing: -0.025em;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: none;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgb(20 35 27 / 8%);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(20 35 27 / 16%);
  object-fit: cover;
}

.brand-type strong,
.brand-type small {
  display: block;
}

.brand-type strong {
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand-type small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(4px, 1vw, 14px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: clamp(6px, 0.7vw, 11px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.language-picker {
  display: none;
}

.has-js .language-picker {
  position: relative;
  display: inline-flex;
  min-width: 118px;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.language-picker svg {
  width: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.language-picker select {
  min-width: 0;
  min-height: 44px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 780;
}

.language-picker select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 17px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--acid);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.brand:active,
.header-cta:active {
  transform: translateY(1px) scale(0.98);
}

.menu-button {
  display: none;
}

/* Shared editorial type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgb(42 199 109 / 12%);
}

.section {
  padding-block: clamp(104px, 10vw, 152px);
}

.section-heading {
  max-width: 940px;
  margin-bottom: 64px;
}

.section-heading > p:last-child,
.steps-intro > p:last-child,
.faq-intro > p:last-child {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

/* Hero */
.hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 76px 120px;
}

.hero-copy {
  display: grid;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.hero-app-lockup {
  display: grid;
  justify-items: center;
}

.hero-app-icon {
  width: clamp(78px, 7vw, 104px);
  height: auto;
  margin-bottom: 20px;
  border-radius: 25%;
  box-shadow: 0 18px 38px rgb(20 35 27 / 18%);
}

.hero-app-lockup strong {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-app-lockup span {
  margin-top: 9px;
  color: var(--signal-strong);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 30px 0 18px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-copy .store-button {
  width: 252px;
}

.store-button {
  display: grid;
  min-width: 214px;
  min-height: 64px;
  grid-template-columns: 31px minmax(0, 1fr) 20px;
  align-items: center;
  column-gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--ink);
  box-shadow: var(--shadow-soft);
  cursor: default;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:not([aria-disabled="true"]):hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.store-button:not([aria-disabled="true"]):active {
  transform: translateY(1px) scale(0.99);
}

.store-button svg {
  width: 28px;
}

.store-logo-apple {
  fill: #fff;
}

.store-button strong {
  grid-column: 2;
  font-size: 16px;
  line-height: 1.1;
}

.store-button .store-download-icon {
  width: 20px;
  grid-column: 3;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  opacity: 0.8;
}

.apk-inline {
  position: relative;
  margin-top: 12px;
}

.apk-inline-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border: 0;
  color: var(--signal-strong);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
}

.apk-inline-trigger svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.apk-inline-trigger span {
  border-bottom: 1px solid currentColor;
}

.apk-qr-popover {
  position: absolute;
  z-index: 12;
  top: 0;
  left: calc(100% + 12px);
  display: grid;
  width: 184px;
  justify-items: center;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.apk-inline:hover .apk-qr-popover,
.apk-inline:focus-within .apk-qr-popover,
.apk-inline[data-open] .apk-qr-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.apk-qr-popover > strong {
  margin-top: 5px;
  font-size: 13px;
}

.apk-qr-popover > span {
  color: var(--muted);
  font-size: 11px;
}

.qr-placeholder {
  position: relative;
  display: grid;
  width: 132px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 10px solid var(--surface);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: linear-gradient(90deg, transparent 45%, var(--ink) 45% 55%, transparent 55%), linear-gradient(transparent 45%, var(--ink) 45% 55%, transparent 55%), var(--chalk);
}

.qr-placeholder strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 6px solid var(--surface);
  border-radius: 12px;
  background: var(--acid);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.qr-corner,
.qr-noise {
  position: absolute;
  display: block;
  background: var(--ink);
}

.qr-corner {
  width: 27px;
  height: 27px;
  border: 6px solid var(--ink);
  background: var(--chalk);
}

.qr-corner-one { top: 2px; left: 2px; }
.qr-corner-two { top: 2px; right: 2px; }
.qr-corner-three { bottom: 2px; left: 2px; }
.qr-noise-one { right: 7px; bottom: 9px; width: 26px; height: 11px; }
.qr-noise-two { right: 13px; bottom: 27px; width: 11px; height: 10px; }

.apk-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-device);
}

.apk-dialog::backdrop {
  background: rgb(20 35 27 / 58%);
  backdrop-filter: blur(4px);
}

.apk-dialog form {
  position: relative;
  padding: 30px;
}

.apk-dialog h2 {
  margin-bottom: 12px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.apk-dialog p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
}

.apk-dialog-available {
  display: none;
}

.apk-inline[data-apk-available] + .apk-dialog .apk-dialog-available {
  display: block;
}

.apk-inline[data-apk-available] + .apk-dialog .apk-dialog-unavailable {
  display: none;
}

.apk-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--chalk);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.apk-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.apk-dialog-actions button,
.apk-dialog-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--chalk);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.apk-dialog-actions a {
  border-color: var(--ink);
  color: var(--surface);
  background: var(--ink);
}

.privacy-note {
  display: flex;
  max-width: 60ch;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.6;
}

.privacy-dot {
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 8px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 630px;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  z-index: -3;
  inset: 1% -8% -2%;
  border: 1px solid rgb(20 35 27 / 8%);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgb(245 246 240 / 72%), rgb(245 246 240 / 82%)),
    var(--performance-motion-art) center / cover no-repeat,
    var(--surface);
  box-shadow: var(--shadow-card);
  content: "";
  transform: rotate(-2deg);
}

.hero-visual::after {
  position: absolute;
  z-index: -2;
  right: 1%;
  bottom: 2%;
  width: 72%;
  height: 18%;
  border-radius: 50%;
  background: rgb(20 35 27 / 18%);
  content: "";
  filter: blur(40px);
}

.hero-halo {
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgb(198 255 85 / 70%);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgb(198 255 85 / 8%), 0 0 0 68px rgb(42 199 109 / 4%);
}

.phone {
  position: relative;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: var(--radius-lg);
  background: #0d1712;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 38%), var(--shadow-device);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 26%;
  height: 17px;
  border-radius: 999px;
  background: #0d1712;
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.phone-hero {
  z-index: 1;
  width: min(318px, 78vw);
  transform: rotate(2.5deg);
}

.phone-hero-secondary {
  position: absolute;
  z-index: 0;
  bottom: 4%;
  left: -2%;
  width: 224px;
  opacity: 0.92;
  transform: rotate(-7deg);
}

.motion-label {
  position: absolute;
  z-index: 3;
  top: 13%;
  left: -3%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.motion-label-top {
  max-width: min(220px, 48%);
}

.motion-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgb(42 199 109 / 15%);
}

.count-orbit {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 10%;
  display: grid;
  width: 136px;
  aspect-ratio: 1;
  place-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.count-orbit span,
.count-orbit small {
  font-size: 10px;
  font-weight: 850;
}

.count-orbit strong {
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

/* Capabilities */
.capabilities {
  position: relative;
}

.features {
  isolation: isolate;
}

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

.feature-card {
  display: flex;
  min-width: 0;
  min-height: 460px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card-dark {
  color: var(--surface);
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-card);
}

.feature-card-count,
.feature-card-records {
  background: var(--surface);
}

.feature-index {
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card-dark .feature-index {
  color: var(--signal);
}

.feature-card h3 {
  margin: auto 0 13px;
  font-size: 27px;
  line-height: 1.12;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-card-dark p {
  color: #bfccc4;
}

.feature-visual,
.privacy-visual,
.record-visual {
  position: relative;
  margin-block: 42px 32px;
}

.feature-visual {
  display: grid;
  height: 132px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--chalk);
}

.feature-visual strong {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.pose-dot,
.pose-line {
  position: absolute;
  display: block;
  background: var(--signal);
}

.pose-dot {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.dot-one { top: 27px; left: 27px; }
.dot-two { right: 27px; bottom: 27px; }
.pose-line { width: 74px; height: 2px; }
.line-one { transform: rotate(-22deg); }

.privacy-visual {
  display: grid;
  height: 132px;
  place-items: center;
}

.privacy-visual svg {
  z-index: 1;
  width: 64px;
  fill: var(--acid);
}

.privacy-ring {
  position: absolute;
  width: 118px;
  aspect-ratio: 1;
  border: 1px solid rgb(198 255 85 / 40%);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgb(198 255 85 / 5%);
}

.record-visual {
  display: grid;
  grid-template-columns: repeat(4, 28px);
  justify-content: center;
  gap: 9px;
}

.record-visual span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--chalk);
}

.record-visual .active { background: rgb(42 199 109 / 32%); }
.record-visual .hot { background: var(--acid); }

/* Product story */
.product-story {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: var(--ink);
  color: var(--surface);
}

.showcase {
  isolation: isolate;
}

.product-story .section-heading {
  width: min(1240px, calc(100% - 48px));
}

.product-story .section-heading > p:last-child {
  color: #b9c8bf;
}

.product-story .eyebrow {
  color: var(--acid);
}

.product-story .eyebrow-dot {
  background: var(--acid);
}

.phone-gallery {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  margin-inline: auto;
  padding-block: 34px 56px;
}

.phone-gallery figure {
  min-width: 0;
  margin: 0;
}

.phone-gallery figure .phone {
  width: min(100%, 288px);
  margin-inline: auto;
}

.story-device-start { transform: translateY(54px) rotate(-2deg); }
.story-device-train { transform: translateY(-12px) rotate(1deg); }
.story-device-record { transform: translateY(78px) rotate(2deg); }
.featured-phone { z-index: 1; }

.phone-gallery figcaption {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: #c8d3cc;
  font-size: 15px;
  font-weight: 780;
}

.phone-gallery figcaption > span:first-child {
  color: var(--acid);
}

/* Ecosystem bento */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.ecosystem-card {
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 5;
  gap: 28px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.ecosystem-card-copy,
.ecosystem-account {
  min-width: 0;
}

.ecosystem-sync,
.ecosystem-device {
  grid-column: span 7;
}

.ecosystem-ranking {
  color: var(--surface);
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-card);
}

.ecosystem-kicker {
  color: var(--signal-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ecosystem-ranking .ecosystem-kicker {
  color: var(--acid);
}

.ecosystem-card h3 {
  margin: 12px 0;
  font-size: 28px;
  line-height: 1.12;
}

.ecosystem-card p {
  max-width: 54ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.ecosystem-ranking p {
  color: #b9c8bf;
}

.sync-visual {
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.sync-device {
  display: grid;
  width: 84px;
  height: 138px;
  place-content: center;
  border: 6px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--chalk);
}

.sync-device span {
  display: block;
  width: 36px;
  height: 5px;
  margin: 4px auto;
  border-radius: 4px;
  background: var(--line);
}

.sync-device strong {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1;
}

.sync-path {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 2px dashed var(--line);
}

.sync-path i {
  width: 8px;
  aspect-ratio: 1;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--signal);
}

.sync-cloud {
  display: grid;
  min-width: 112px;
  min-height: 84px;
  place-content: center;
  border-radius: var(--radius-sm);
  background: var(--acid);
  text-align: center;
}

.sync-cloud span::before { content: "☁"; font-size: 28px; }
.sync-cloud strong { font-size: 11px; }

.ranking-visual {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 7%);
}

.ranking-visual > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
}

.ranking-visual strong {
  color: var(--acid);
  font-size: 11px;
}

.ranking-visual span {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
}

.ranking-visual i {
  display: block;
  width: var(--rank-width);
  height: 100%;
  border-radius: inherit;
  background: var(--signal);
}

.account-visual {
  position: relative;
  display: grid;
  width: 116px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.account-brand {
  color: var(--acid);
  font-size: 52px;
  font-weight: 950;
}

.account-check {
  position: absolute;
  right: -9px;
  bottom: -9px;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 5px solid var(--surface);
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-weight: 900;
}

.device-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.language-pill {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--ink);
}

.language-pill strong { color: var(--acid); }

.theme-orbit {
  position: relative;
  width: 106px;
  height: 58px;
  border-radius: 999px;
  background: var(--chalk);
}

.theme-sun,
.theme-moon {
  position: absolute;
  top: 10px;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.theme-sun { left: 10px; background: var(--acid); }
.theme-moon { right: 10px; background: var(--ink-soft); }

/* Support */
.support {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  padding-block: clamp(104px, 10vw, 152px);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0;
}

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0;
}

.steps-intro,
.faq-intro {
  position: static;
}

.steps-intro h2,
.faq-intro h2 {
  font-size: clamp(38px, 4vw, 54px);
}

.support-steps .steps-intro {
  position: static;
}

.step-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.step-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-list li > span {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--acid);
  font-size: 13px;
  font-weight: 950;
}

.step-list h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.step-list p,
.use-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.use-note {
  position: relative;
  margin-top: 22px;
  padding-left: 20px;
}

.use-note::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.faq-list {
  border-top: 1px solid var(--line);
}

.support-faq {
  min-width: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 25px 58px 25px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  content: "+";
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.faq summary:hover::after {
  background: var(--signal);
}

.faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq details p {
  max-width: 66ch;
  padding: 0 58px 25px 0;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.faq details p a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 4px;
}

/* Footer and reveal */
.site-footer {
  display: grid;
  min-height: 230px;
  grid-template-columns: 1fr minmax(220px, auto) auto auto;
  align-items: center;
  gap: 42px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-copy p + p {
  margin-top: 7px;
  color: #167d45;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-weight: 750;
  text-decoration-color: rgb(42 199 109 / 38%);
  text-underline-offset: 3px;
}

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

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

@media (max-width: 1023px) {
  .header-cta {
    display: none;
  }

  .has-js .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  .menu-button span:not(.sr-only) {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-last-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .has-js .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgb(255 255 255 / 98%);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
  }

  .has-js .site-nav[data-open] {
    display: flex;
  }

  html:not(.has-js) .site-header {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.has-js) .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    margin-left: 0;
  }

  .site-nav a {
    padding: 0 12px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: var(--chalk);
  }

  .site-nav a::after {
    display: none;
  }

  .language-picker {
    width: 100%;
  }

  .has-js .language-picker {
    justify-content: center;
    padding: 0 12px;
  }

  .language-picker select {
    width: 100%;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 34px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
    min-height: 390px;
  }

  .ecosystem-card {
    grid-column: span 6;
  }

  .support {
    gap: 48px;
  }

}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    min-height: 72px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 36px 56px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 68px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.04;
  }

  .hero-lede,
  .privacy-note,
  .section-heading > p:last-child,
  .steps-intro > p:last-child,
  .faq-intro > p:last-child {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-copy .store-row {
    width: 100%;
  }

  .apk-qr-popover {
    display: none;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-visual::before {
    inset: 1% 0 0;
  }

  .phone-hero {
    width: min(254px, 69vw);
  }

  .phone-hero-secondary {
    bottom: 7%;
    left: 1%;
    width: 176px;
  }

  .motion-label {
    top: 12%;
    left: 0;
  }

  .count-orbit {
    right: 0;
    bottom: 8%;
    width: 116px;
  }

  .count-orbit strong {
    font-size: 44px;
  }

  .section {
    padding-block: 44px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card,
  .feature-card:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 20px;
  }

  .feature-card h3,
  .ecosystem-card h3 {
    font-size: 24px;
  }

  .feature-visual,
  .privacy-visual,
  .record-visual {
    height: 100px;
    margin-block: 24px 18px;
  }

  .product-story {
    width: 100%;
    padding-inline: 0;
  }

  .product-story .section-heading {
    width: calc(100% - 32px);
  }

  .phone-gallery {
    width: 100%;
    grid-template-columns: repeat(3, min(60vw, 250px));
    justify-content: start;
    gap: 18px;
    margin: 0;
    padding: 16px max(16px, calc((100vw - 250px) / 2)) 32px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .phone-gallery::-webkit-scrollbar {
    display: none;
  }

  .phone-gallery figure {
    scroll-snap-align: center;
    transform: none;
  }

  .ecosystem-card {
    min-height: 0;
    grid-column: 1 / -1;
    gap: 20px;
    padding: 20px;
  }

  .ecosystem-grid {
    gap: 14px;
  }

  .support {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 44px;
  }

  .support-steps .steps-intro {
    position: static;
  }

  .steps,
  .faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-list li {
    padding-block: 16px;
  }

  .faq summary {
    padding-block: 16px;
    font-size: 17px;
  }

  .faq details p {
    padding-bottom: 16px;
  }

  .faq details p,
  .step-list p,
  .use-note {
    font-size: 16px;
  }

  .site-footer {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 10px;
    padding-block: 24px;
  }

  .footer-links {
    flex-flow: row wrap;
    gap: 4px 12px;
  }
}

@media (max-width: 390px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  h1 {
    margin-bottom: 20px;
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero {
    gap: 16px;
    padding-block: 24px 40px;
  }

  .hero-copy .store-row {
    gap: 8px;
    margin-top: 20px;
  }

  .privacy-note {
    margin-top: 10px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .phone-hero {
    width: 180px;
  }

  .phone-hero-secondary {
    width: 120px;
  }

  .motion-label {
    max-width: 148px;
    padding: 10px 12px;
  }

  .count-orbit {
    right: -3px;
    width: 92px;
  }

  .section,
  .support {
    padding-block: 36px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .feature-visual,
  .privacy-visual,
  .record-visual {
    height: 80px;
    margin-block: 18px 12px;
  }

  .feature-card h3,
  .ecosystem-card h3 {
    font-size: 22px;
  }

  .ecosystem-card {
    gap: 12px;
  }

  .sync-visual {
    grid-template-columns: auto 1fr auto;
    gap: 6px;
  }

  .sync-device {
    width: 58px;
    height: 92px;
  }

  .sync-cloud {
    min-width: 76px;
    min-height: 70px;
  }

  .ranking-visual {
    gap: 10px;
    padding: 14px;
  }

  .account-visual {
    width: 90px;
  }

  .language-pill {
    min-height: 50px;
    padding-inline: 16px;
  }

  .theme-orbit {
    width: 92px;
    height: 50px;
  }

  .step-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding-block: 12px;
  }

  .faq summary {
    padding-block: 12px;
    padding-right: 48px;
  }

  .faq details p {
    padding-bottom: 12px;
    padding-right: 0;
  }

  .apk-dialog form {
    padding: 26px 20px 20px;
  }

  .site-footer {
    padding-block: 18px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 620px;
    padding-block: 40px 72px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .support-steps .steps-intro {
    position: static;
  }

  .has-js .site-nav {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
}

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

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