/* PumpIt marketing site. Colors match lib/core/theme/app_colors.dart. */

:root {
  --bg: #0b1220;
  --surface: #121a2b;
  --card: #1a2438;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #2a364d;
  --azure: #007fff;
  --azure-dark: #005fcc;
  --azure-light: #4da6ff;
  --green: #2bb673;
  --gold: #ffc857;
  --purple: #7c5cff;
  --danger: #e5484d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --header: 72px;
  --radius: 16px;
  --max: 1200px;
  --font: "DM Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(0, 127, 255, 0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(0, 95, 204, 0.16), transparent 55%),
    var(--bg);
}

body.nav-lock {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

a {
  color: var(--azure-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--azure-light);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  background: var(--azure);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  backdrop-filter: blur(16px);
  background: rgba(11, 18, 32, 0.86);
  border-bottom: 1px solid rgba(42, 54, 77, 0.85);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand img {
  width: 34px;
  height: 18px;
  object-fit: contain;
}

.nav-details {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-details > summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
}

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

.nav-details > summary span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 12px;
  position: absolute;
  top: calc(var(--header) - 1px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #121a2b;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.nav-details[open] .nav-links {
  display: grid;
}

.nav-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(0, 127, 255, 0.14);
  color: #fff;
}

.header-cta {
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--azure);
  color: #fff;
}

.btn-primary:hover {
  background: var(--azure-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--azure);
  color: #fff;
}

.hero {
  padding: 28px 0 12px;
}

.hero-banner {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(77, 166, 255, 0.28);
  box-shadow: var(--shadow);
}

.hero-below {
  display: grid;
  gap: 4px 28px;
  margin-top: 22px;
  align-items: center;
}

.hero-below .store-row {
  margin: 0 0 8px;
}

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

.plan-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.photo-frame {
  margin: 0;
}

.photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(77, 166, 255, 0.28);
  box-shadow: var(--shadow);
}

.photo-train {
  object-position: center 42%;
}

.photo-strength {
  object-position: center 22%;
}

.plan-grid p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--azure-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 0 4px rgba(0, 127, 255, 0.2);
}

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

h1 {
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

h1 span {
  color: var(--azure-light);
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 28px 0 18px;
}

.store-link {
  display: inline-flex;
  line-height: 0;
  padding: 5px 8px;
  border: 1px solid rgba(160, 170, 185, 0.35);
  border-radius: 8px;
  background: rgba(140, 150, 165, 0.14);
  transition: border-color 0.2s ease;
}

.store-link:hover,
.store-link:focus-visible {
  border-color: var(--azure);
  outline: none;
}

.store-link img,
.store-soon {
  height: 78px;
  width: auto;
}

.store-soon {
  opacity: 0.9;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-row li {
  background: rgba(26, 36, 56, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section-head h2,
.page-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.section-head p,
.page-intro p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-groups {
  display: grid;
  gap: 14px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card {
  background: rgba(26, 36, 56, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 12px 0 6px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 127, 255, 0.14);
  color: var(--azure-light);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-free {
  color: var(--green);
  background: rgba(43, 182, 115, 0.12);
}

.tag-plus {
  color: var(--azure-light);
  background: rgba(0, 127, 255, 0.14);
}

.tag-ai {
  color: #d2c6ff;
  background: rgba(124, 92, 255, 0.18);
}

.tag-soon {
  color: var(--gold);
  background: rgba(255, 200, 87, 0.12);
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split ul,
.prose ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.split li + li,
.prose li + li {
  margin-top: 8px;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--azure-light);
  border-bottom: 2px solid var(--azure-light);
  transform: rotate(-45deg);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 26, 43, 0.7);
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

caption {
  text-align: left;
  padding: 16px 16px 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody th {
  font-weight: 600;
}

.plan-table thead th:not(:first-child),
.plan-table td {
  text-align: center;
}

.plan-table .plan-group th {
  text-align: left;
  background: rgba(0, 127, 255, 0.08);
  color: var(--azure-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 16px;
  padding-bottom: 16px;
}

.plan-ai {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.18);
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.plan-soon {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

.steps {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  background: rgba(26, 36, 56, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 20px 76px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 127, 255, 0.14);
  color: var(--azure-light);
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.shot-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.shot-row figure {
  scroll-snap-align: start;
  margin: 0;
}

.shot-row figcaption {
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 600;
}

.device {
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(180deg, #243044, #0e1522);
  border: 1px solid #3a4a66;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.device-screen {
  position: relative;
  aspect-ratio: 9 / 19.2;
  border-radius: 26px;
  overflow: hidden;
  background: #0b1220;
}

.device-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.device-fallback {
  position: absolute;
  inset: 0;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(120px 80px at 80% 0%, rgba(0, 127, 255, 0.25), transparent 70%),
    #0b1220;
}

.preview-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(11, 18, 32, 0.82);
  color: var(--gold);
  border: 1px solid rgba(255, 200, 87, 0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
}

.ui-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.ui-card {
  background: #1a2438;
  border: 1px solid #2a364d;
  border-radius: 14px;
  padding: 12px;
}

.ui-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.ui-strong {
  color: var(--text);
  font-weight: 700;
}

.ui-bar {
  height: 8px;
  border-radius: 99px;
  background: #243044;
  overflow: hidden;
}

.ui-bar span {
  display: block;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--azure), var(--azure-light));
}

.ui-btn {
  margin-top: auto;
  text-align: center;
  background: var(--azure);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  padding: 10px;
}

.ui-set {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 28px;
  gap: 6px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.ui-set b {
  color: var(--text);
}

.dot-ok {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  justify-self: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: rgba(26, 36, 56, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item p {
  color: var(--muted);
  margin: 0 0 14px;
}

.support-panel {
  display: grid;
  gap: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 28rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

.legal-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 18px 0 0;
}

.page {
  padding: 36px 0 72px;
}

.page-intro {
  max-width: 42rem;
  margin-bottom: 28px;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 28px 0 8px;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.narrow-cta {
  margin-top: 28px;
}

@media (min-width: 720px) {
  .card-grid,
  .steps,
  .support-panel {
    grid-template-columns: 1fr 1fr;
  }

  .shot-row {
    grid-auto-columns: 46%;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .nav-details > summary {
    display: none;
  }

  .nav-links,
  .nav-details[open] .nav-links {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 2px;
  }

  .nav-links a {
    padding: 8px 12px;
  }

  .hero {
    padding: 36px 0 16px;
  }

  .hero-below {
    grid-template-columns: 1.3fr auto;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

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

  .photo {
    height: 520px;
  }

  .split.reverse .split-copy {
    order: 2;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-groups .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .shot-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
  }

  .support-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-banner,
  .hero-below {
    animation: rise 0.7s ease both;
  }

  .hero-below {
    animation-delay: 0.08s;
  }

  .card,
  .steps li {
    transition: border-color 0.2s ease, transform 0.2s ease;
  }

  .card:hover,
  .steps li:hover {
    border-color: rgba(77, 166, 255, 0.55);
    transform: translateY(-2px);
  }
}

.card {
  background:
    linear-gradient(180deg, rgba(77, 166, 255, 0.07), transparent 46%),
    rgba(26, 36, 56, 0.78);
}

.tour {
  position: relative;
}

.tour-block + .tour-block {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(42, 54, 77, 0.85);
}

.tour-kicker {
  max-width: 680px;
  margin-bottom: 22px;
}

.tour-kicker h3 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.tour-layout {
  display: grid;
  gap: 8px;
}

.tour-stage {
  position: sticky;
  top: 72px;
  z-index: 4;
  padding-bottom: 8px;
  background: linear-gradient(180deg, var(--bg) 78%, rgba(11, 18, 32, 0));
}

.tour-device {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(77, 166, 255, 0.45), transparent 28%),
    linear-gradient(180deg, #2a3850, #0c1320);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tour-screen {
  position: relative;
  overflow: hidden;
  height: min(42vh, 380px);
  width: calc(min(42vh, 380px) * 9 / 19.5);
  border-radius: 28px;
  background: #070d18;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.tour-reel {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tour-reel img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.35s ease;
}

.swap-ring {
  position: absolute;
  left: 5%;
  width: 90%;
  height: 26px;
  border: 2px solid #4da6ff;
  border-radius: 12px;
  box-shadow:
    0 0 0 5px rgba(0, 127, 255, 0.22),
    0 8px 22px rgba(0, 127, 255, 0.28);
  pointer-events: none;
  z-index: 3;
}

.swap-float {
  position: absolute;
  left: calc(100% + 18px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007fff;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 127, 255, 0.35);
  z-index: 5;
}

.swap-float::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #4da6ff;
}

.swap-label {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: none;
}

.swap-arrow {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid #fff;
}

.tour-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.tour-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #2a364d;
  cursor: pointer;
}

.tour-dot[aria-current="true"] {
  width: 22px;
  background: #007fff;
}

.tour-step {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 0 28px;
  opacity: 0.45;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.tour-step.is-active {
  opacity: 1;
  transform: none;
}

.tour-step.is-long {
  min-height: 130vh;
}

.tour-step h3 {
  margin: 10px 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.tour-step p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.tour-step strong {
  color: var(--text, #f1f5f9);
}

.chip {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip-plus {
  background: rgba(0, 127, 255, 0.16);
  color: #8ec5ff;
}

.chip-ai {
  background: rgba(124, 92, 255, 0.18);
  color: #c4b5fd;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.spotlights {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.spotlight {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(77, 166, 255, 0.1), transparent 46%),
    rgba(26, 36, 56, 0.78);
}

.spotlight-copy h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
}

.spotlight-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.spotlight-copy p + p {
  margin-top: 12px;
}

.spotlight-shot {
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 127, 255, 0.18), transparent 58%),
    #070d18;
  border: 1px solid rgba(77, 166, 255, 0.24);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.spotlight-shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
}

.spotlight-phone {
  justify-self: center;
}

.spotlight-phone .tour-screen {
  height: 520px;
  width: calc(520px * 9 / 19.5);
}

.spotlight-phone .tour-screen img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
}

@media (min-width: 900px) {
  .spotlight {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    padding: 28px 32px;
  }

  .spotlight.reverse .spotlight-shot {
    order: -1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .spotlight.reveal {
    opacity: 1;
    transform: none;
  }

  .js .spotlight.reveal .spotlight-copy,
  .js .spotlight.reveal .spotlight-shot {
    opacity: 0;
    transform: translateY(20px);
  }

  .js .spotlight.reveal .spotlight-shot {
    transform: translateX(32px);
  }

  .js .spotlight.reverse.reveal .spotlight-shot {
    transform: translateX(-32px);
  }

  .js .spotlight.reveal.in .spotlight-copy,
  .js .spotlight.reveal.in .spotlight-shot {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js .spotlight.reveal.in .spotlight-shot {
    transition-delay: 0.12s;
  }

  .spotlight-shot img {
    transition: transform 0.55s ease;
  }

  .spotlight:hover .spotlight-shot img {
    transform: scale(1.03);
  }

  .spotlight:hover {
    border-color: rgba(77, 166, 255, 0.55);
  }
}

@media (min-width: 960px) {
  .tour-layout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .tour-stage {
    top: 96px;
    background: transparent;
  }

  .tour-screen {
    height: min(72vh, 680px);
    width: calc(min(72vh, 680px) * 9 / 19.5);
  }

  .tour-step {
    min-height: 86vh;
    padding-right: 12px;
  }

  .tour-step.is-long {
    min-height: 160vh;
  }

  .swap-float {
    display: inline-flex;
  }

  #replace .tour-device {
    margin-left: 196px;
    margin-right: 0;
  }

  #replace .swap-float {
    left: auto;
    right: calc(100% + 16px);
    flex-direction: row-reverse;
  }

  #replace .swap-float::before {
    right: auto;
    left: 100%;
  }

  #replace .swap-arrow {
    border-right: 0;
    border-left: 7px solid #fff;
  }
}

@media (max-width: 959px) {
  .swap-float {
    display: none !important;
  }

  .tour-step {
    justify-content: flex-start;
    min-height: 46vh;
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .swap-ring {
    animation: ring 1.6s ease-in-out infinite;
  }

  .swap-arrow {
    animation: nudge 1.1s ease-in-out infinite;
  }
}

@keyframes ring {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(0, 127, 255, 0.2),
      0 10px 28px rgba(0, 127, 255, 0.25);
  }

  50% {
    box-shadow:
      0 0 0 10px rgba(0, 127, 255, 0.05),
      0 10px 28px rgba(0, 127, 255, 0.35);
  }
}

@keyframes nudge {
  0%,
  100% { transform: translateX(0); }
  50% { transform: translateX(-3px); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.home-hero {
  padding: 28px 0 8px;
}

.why-row {
  padding: 18px 0 0;
}

.why-row h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.why-row-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.why-row-list li,
.why-row-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.why-row-list li {
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #121a2b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.why-row-list li:hover,
.why-row-list li:focus-within {
  border-color: var(--azure);
  box-shadow:
    0 0 0 1px rgba(0, 127, 255, 0.4),
    0 0 20px rgba(0, 127, 255, 0.28);
}

.why-row-list a:hover h3,
.why-row-list a:focus-visible h3 {
  color: var(--azure-light);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--azure);
  background: rgba(0, 127, 255, 0.12);
}

.why-row-list h3 {
  margin: 8px 0 2px;
  font-size: 0.95rem;
}

.why-row-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.why-row-list li.why-ai {
  border-color: rgba(255, 255, 255, 0.14);
  background: #101c33;
}

.why-row-list li.why-ai:hover,
.why-row-list li.why-ai:focus-within {
  border-color: var(--azure);
  box-shadow:
    0 0 0 1px rgba(0, 127, 255, 0.5),
    0 0 22px rgba(0, 127, 255, 0.32);
}

.why-ai-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.why-ai-label {
  display: inline-block;
  margin: 0;
  color: var(--azure-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-card p.ad-free-kicker {
  color: var(--text);
  font-weight: 800;
  margin: 0 0 4px;
}

.ad-free-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.shot-carousel {
  position: relative;
  width: min(340px, 100%);
  margin-inline: auto;
}

.shot-slide {
  display: none;
}

.shot-slide.is-active {
  display: block;
}

.shot-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #121a2b;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.shot-prev { left: -8px; }
.shot-next { right: -8px; }

.shot-nav:hover,
.shot-nav:focus-visible {
  border-color: var(--azure);
  color: var(--azure-light);
}

.shot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.shot-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2a364d;
  cursor: pointer;
}

.shot-dot[aria-current="true"] {
  background: var(--azure);
}

@media (max-width: 420px) {
  .shot-carousel {
    width: min(300px, calc(100% - 8px));
  }
  .shot-prev { left: 0; }
  .shot-next { right: 0; }
}

.home-hero .hero-banner {
  display: block;
}

.hero-frame {
  position: relative;
}

.hero-play {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  padding: 4px 6px;
}

.hero-play img {
  height: 52px;
  width: auto;
}

@media (max-width: 640px) {
  .hero-play {
    right: 10px;
    bottom: 10px;
  }

  .hero-play img {
    height: 36px;
  }
}

.hero-grid,
.band {
  display: grid;
  gap: 40px;
  align-items: center;
}

.band {
  padding: 28px 0;
}

.band + .band {
  border-top: 1px solid rgba(42, 54, 77, 0.55);
}

.band-copy {
  max-width: 500px;
}

#ai-coach.band {
  align-items: start;
}

.band-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.band-points li {
  font-weight: 700;
  font-size: 0.95rem;
}

.discover-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 6px;
}

.discover-art {
  grid-row: 1;
  grid-column: 1;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
}

.discover-stage .why-on-discover {
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
  align-self: start;
  width: 100%;
  margin: 0;
  padding: clamp(10px, 1.4vw, 18px) clamp(12px, 2.2vw, 26px) 0;
  box-sizing: border-box;
  pointer-events: auto;
}

@media (max-width: 719px) {
  .discover-stage .why-on-discover {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.discover-grid {
  display: grid;
  gap: 14px;
}

.discover-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.discover-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.discover-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.discover-all-screens {
  position: absolute;
  left: 50%;
  top: 91%;
  z-index: 3;
  transform: translateX(-50%);
  width: clamp(100px, 14vw, 148px);
  height: clamp(26px, 3.6vw, 34px);
  border-radius: 4px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.discover-all-screens:hover {
  background: rgba(0, 127, 255, 0.14);
}

.discover-all-screens:focus-visible {
  outline: 2px solid var(--azure-light);
  outline-offset: 2px;
}

.shot-wide {
  width: min(520px, 100%);
  margin-inline: auto;
}

.shot-wide img {
  display: block;
  width: 100%;
  height: auto;
}

.band-note {
  display: block;
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #121a2b;
}

.band-note .band-copy {
  max-width: none;
}

#discover,
#features-detail,
#system {
  padding: 64px 0;
}

#discover {
  padding-top: 36px;
}

#discover,
#features-detail,
#system,
#energy,
#replace,
#shorten,
#load,
#ai-coach,
#monitor,
#adapt,
#programs,
#logging,
#progress,
#nutrition,
#nutrition-plan,
#plans,
#faq,
#download {
  scroll-margin-top: 88px;
}

#features-detail .section-head,
#system .section-head {
  margin-bottom: 36px;
}

#features-detail .band:first-of-type,
#system .band:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.band h2,
.block h2,
.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.hero-copy .lead,
.band p,
.cta-band p {
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-soon {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.get-app-shot {
  position: relative;
  margin: 18px auto 10px;
  max-width: 920px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.get-app-shot > img {
  display: block;
  width: 100%;
  height: auto;
}

.get-app-play {
  position: absolute;
  left: 54%;
  bottom: 5.5%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(11, 18, 32, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.get-app-play img {
  height: clamp(38px, 5.2vw, 54px);
  width: auto;
}

@media (max-width: 640px) {
  .get-app-play {
    left: 50%;
    bottom: 4.5%;
    padding: 5px 8px;
  }

  .get-app-play img {
    height: 34px;
  }
}

.hero-download img {
  height: 52px;
  width: auto;
}

.block {
  padding: 88px 0;
}

.why-grid,
.plan-cards,
.shot-gallery {
  display: grid;
  gap: 14px;
}

.why-card h3,
.plan-card h3 {
  margin: 10px 0 8px;
}

.why-card p,
.plan-card li {
  color: var(--muted);
}

.plan-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.plan-card li + li {
  margin-top: 6px;
}

.plan-card p {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.plan-card .tag {
  margin-bottom: 4px;
}

.plan-card.featured {
  border-color: rgba(0, 127, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 127, 255, 0.25);
}

.shot-phone {
  width: min(340px, 100%);
  height: auto;
  margin-inline: auto;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 36px;
  background: #10182a;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.shot-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  background: #070d18;
}

.view-feature {
  display: inline-block;
  margin-top: 12px;
  color: var(--azure, #007fff);
  font-weight: 700;
  font-size: 0.92rem;
}

.plan-more {
  margin: 22px 0 0;
  font-weight: 700;
}

.shot-stack {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.shot-gallery {
  margin-top: 22px;
}

.shot-gallery figure {
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #070d18;
}

.shot-gallery img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.shot-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.compare {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(26, 36, 56, 0.55);
}

.compare summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--azure-light);
}

.compare .table-scroll {
  padding: 0 12px 16px;
}

.cta-band {
  text-align: center;
}

.cta-band .hero-download,
.cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 22px;
}

.cta-links a {
  color: var(--muted);
  font-weight: 700;
}

.feature-catalog {
  display: grid;
  gap: 28px;
}

.feature-catalog h2 {
  margin: 8px 0 0;
  font-size: 1.4rem;
}

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

.feature-catalog .shot-gallery img {
  height: 320px;
}

@media (min-width: 720px) {
  .why-grid,
  .shot-gallery,
  .feature-catalog .shot-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-row-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .home-hero {
    padding: 36px 0 12px;
  }

  .hero-grid,
  .band {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .band.flip .band-copy {
    order: 2;
  }

  .band.band-note {
    grid-template-columns: 1fr;
  }

  .discover-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .why-row-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
