/* RepDeck marketing — Apple-inspired product page */

:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #000000;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-tertiary: #86868b;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  --radius-lg: 28px;
  --nav-h: 68px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.47;
  letter-spacing: -0.015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251, 251, 253, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 251, 253, 0.86);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.nav__brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.nav__links a,
.nav__mobile a {
  font-size: 12px;
  color: var(--ink-secondary);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__mobile a:hover {
  color: var(--ink);
}

.nav__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--accent-dark);
}

.nav__toggle {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 18px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav__mobile {
  position: absolute;
  inset: var(--nav-h) 0 auto;
  background: rgba(251, 251, 253, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 12px 22px 22px;
  gap: 16px;
}

.nav__mobile[hidden] {
  display: none !important;
}

.nav__mobile .nav__cta {
  margin: 8px 0 0;
  width: fit-content;
}

@media (min-width: 860px) {
  .nav__links {
    display: flex;
  }
  .nav__toggle,
  .nav__mobile {
    display: none !important;
  }
  .nav__cta {
    margin-left: 0;
  }
}

/* ---------- Shared ---------- */

.eyebrow {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: scale(1.02);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.28);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

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

.btn--ghost:hover {
  background: rgba(220, 38, 38, 0.08);
}

.section {
  padding: 48px 22px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.section--tight {
  padding-bottom: 0;
}

.section__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__intro h2,
.feature__copy h2,
.download__inner h2,
.contact__copy h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.section__intro p,
.feature__copy p,
.download__inner > p,
.contact__copy > p {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.42;
  color: var(--ink-secondary);
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.22s;
}
.delay-3 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .delay-1,
  .delay-2,
  .delay-3 {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .phone--hero,
  .hero__orbit,
  .art-card__glow,
  .chip-cloud span {
    animation: none !important;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: 28px;
  padding: 36px 22px 72px;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(220, 38, 38, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 45% at 20% 20%, rgba(56, 189, 248, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(182, 255, 59, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero__content,
.hero__stage {
  position: relative;
  z-index: 1;
}

.hero__brand {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__headline {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.hero__trust {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-tertiary);
  font-weight: 500;
}

.hero__sub {
  margin: 14px 0 0;
  max-width: 420px;
  font-size: 18px;
  color: var(--ink-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero__stage {
  display: grid;
  place-items: center;
  position: relative;
}

.hero__orbit {
  position: absolute;
  width: min(520px, 92vw);
  height: min(520px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12), transparent 68%);
  animation: orbitPulse 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 88px;
  }
}

/* ---------- Phone ---------- */

.phone {
  position: relative;
  z-index: 1;
}

.phone--hero {
  width: min(280px, 72vw);
  animation: phoneFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(var(--shadow));
}

.phone--gallery {
  width: 220px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

.phone__bezel {
  background: #111;
  border-radius: 36px;
  padding: 10px;
  border: 1px solid #2a2a2a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}

.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}

.phone:has(.phone__shot) .phone__notch {
  display: none;
}

.phone__screen {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

.phone--gallery .phone__screen {
  aspect-ratio: auto;
}

.phone__shot {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.phone--hero .phone__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.phone__shot--card {
  object-fit: contain;
  background: #050505;
  padding: 12px;
  height: auto;
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
  color: #fff;
  background: #000;
}

.screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ui-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 6px;
  font-size: 11px;
  font-weight: 600;
}

.ui-status--light {
  color: #fff;
}

.ui-status__icons {
  width: 46px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff 0 28%, transparent 28% 36%, #fff 36% 64%, transparent 64% 72%, #fff 72%);
  opacity: 0.85;
}

.ui-tabbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px 6px;
  border-radius: 18px;
  background: rgba(26, 26, 26, 0.92);
  font-size: 9px;
  color: #71717a;
  text-align: center;
}

.ui-tabbar .is-active {
  color: var(--accent);
  font-weight: 600;
}

.ui-home,
.ui-create,
.ui-feed {
  padding: 4px 16px 70px;
}

.ui-home__hey {
  margin: 8px 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ui-home__tag {
  margin: 0 0 14px;
  font-size: 12px;
  color: #a1a1aa;
}

.ui-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 14px;
}

.ui-card-preview {
  margin-bottom: 12px;
}

.mini-card-img,
.ui-art-card--photo img,
.feed-card__img,
.flow-visual__card-img,
.strava-mock__photo,
.social-stack__art,
.social-stack__card--back img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.mini-card-img {
  height: 148px;
  border-radius: 14px;
  object-position: center top;
}

.mini-card {
  background: linear-gradient(160deg, #1a1a1a, #0a0a0a);
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 14px;
}

.mini-card__type {
  display: inline-block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.mini-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.mini-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: #a1a1aa;
}

.mini-card li + li {
  margin-top: 4px;
}

.ui-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ui-tile {
  background: #111;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.ui-create {
  text-align: center;
  padding-top: 36px;
}

.ui-flash {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, #b91c1c, #dc2626);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.35);
}

.ui-create h3 {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.ui-create ol {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 12px;
  color: #a1a1aa;
}

.ui-create li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #111;
  border: 1px solid #27272a;
}

.ui-create li + li {
  margin-top: 8px;
}

.ui-create li::before {
  content: counter(step);
  counter-increment: step;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ui-create ol {
  counter-reset: step;
}

.ui-art-card {
  height: 100%;
  padding: 36px 14px 14px;
  background: radial-gradient(circle at 30% 20%, #3a0a0a, #000 60%);
}

.ui-art-card--photo {
  padding: 12px 10px;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-art-card--photo img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.art-card {
  height: 100%;
  border-radius: 22px;
  padding: 22px 18px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0a0a0a 55%, #140808 100%);
  border: 1px solid rgba(220, 38, 38, 0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.art-card--neon {
  border-color: rgba(182, 255, 59, 0.35);
  background: linear-gradient(165deg, #121812, #050805 60%, #0a1208);
}

.art-card__glow {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.45), transparent 70%);
  animation: glowDrift 4s ease-in-out infinite;
}

.art-card--neon .art-card__glow {
  background: radial-gradient(circle, rgba(182, 255, 59, 0.35), transparent 70%);
}

@keyframes glowDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-12px, 10px);
  }
}

.art-card__eyebrow {
  margin: 0;
  position: relative;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fca5a5;
  font-weight: 700;
}

.art-card--neon .art-card__eyebrow {
  color: #bef264;
}

.art-card h3 {
  margin: 10px 0 24px;
  position: relative;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.art-card__moves {
  position: relative;
  display: grid;
  gap: 12px;
  flex: 1;
}

.art-card__moves div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.art-card__moves em {
  font-style: normal;
  color: var(--ink-tertiary);
  font-weight: 600;
}

.art-card__moves span {
  color: #e4e4e7;
}

.art-card__footer {
  margin: 18px 0 0;
  position: relative;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.ui-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #111;
  border-radius: 10px;
  padding: 3px;
  margin: 8px 0 14px;
}

.ui-seg span {
  text-align: center;
  font-size: 10px;
  padding: 7px 4px;
  border-radius: 8px;
  color: #71717a;
}

.ui-seg .is-active {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

.ui-day {
  margin: 0 0 10px;
  font-size: 12px;
  color: #a1a1aa;
  font-weight: 600;
}

.feed-card {
  background: #111;
  border: 1px solid #27272a;
  border-radius: 16px;
  overflow: hidden;
}

.feed-card__img {
  height: 124px;
  object-position: center 18%;
  background: #111;
}

.feed-card__meta {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px 0;
  font-size: 11px;
}

.feed-card__meta strong {
  color: var(--accent);
}

.feed-card__meta span,
.feed-card > p,
.feed-card__react {
  color: #a1a1aa;
}

.feed-card > p {
  margin: 6px 12px 0;
  font-size: 12px;
  color: #e4e4e7;
}

.feed-card__react {
  padding: 10px 12px 12px;
  font-size: 11px;
}

/* ---------- Steps ---------- */

.steps {
  padding: 28px max(22px, calc((100% - var(--max)) / 2 + 22px)) 72px;
  background: var(--bg);
}

.steps__grid {
  display: grid;
  gap: 28px;
}

.steps__grid article span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.steps__grid article h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.steps__grid article p {
  margin: 10px 0 0;
  color: var(--ink-secondary);
  font-size: 17px;
  max-width: 320px;
}

@media (min-width: 860px) {
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

/* ---------- Features ---------- */

.feature {
  max-width: none;
  margin: 0;
  padding: 72px max(22px, calc((100% - var(--max)) / 2 + 22px));
  display: grid;
  gap: 36px;
  align-items: center;
}

.feature__copy {
  max-width: 480px;
}

.feature__panel {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.feature__panel--flush {
  padding: 10px;
}

.feature__panel--dark {
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.feature--snap,
.feature--strava {
  background: var(--bg-soft);
}

.feature--ai,
.feature--social {
  background: var(--bg);
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .feature--reverse .feature__copy {
    order: 2;
  }
  .feature--reverse .feature__visual {
    order: 1;
  }
  .feature__panel {
    padding: 36px 32px;
  }
  .feature__panel--flush {
    padding: 12px;
  }
}

.flow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.flow-visual__board,
.flow-visual__card {
  width: min(180px, 42vw);
  min-height: 220px;
  border-radius: 18px;
  padding: 18px;
}

.flow-visual__board {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #1a1a1a;
  color: #f5f5f5;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.flow-visual__board span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #a3a3a3;
}

.flow-visual__board strong,
.flow-visual__card strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.flow-visual__board p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #d4d4d4;
}

.flow-visual__arrow {
  width: 36px;
  height: 2px;
  background: var(--accent);
  position: relative;
}

.flow-visual__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.flow-visual__card {
  background: linear-gradient(165deg, #1a1a1a, #0a0a0a);
  color: #fff;
  border: 1px solid rgba(220, 38, 38, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.flow-visual__card-img {
  width: min(190px, 44vw);
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  object-fit: cover;
  object-position: center top;
}

.flow-visual__card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-visual__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #a1a1aa;
}

.flow-visual__card li + li {
  margin-top: 6px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.chip-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 980px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  animation: chipRise 4.5s ease-in-out infinite;
}

.chip-cloud span:nth-child(2n) {
  animation-delay: 0.4s;
}
.chip-cloud span:nth-child(3n) {
  animation-delay: 0.8s;
}

.chip-cloud .is-accent {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.28);
}

@keyframes chipRise {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.strava-mock {
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 18px;
}

.strava-mock__header {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
}

.strava-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fc4c02, #dc2626);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.strava-mock__who strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.strava-mock__who span {
  font-size: 12px;
  color: var(--ink-secondary);
}

.strava-mock__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fc4c02;
}

.strava-mock__title {
  margin: 12px 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.strava-mock__photo {
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  max-height: 280px;
  object-position: center top;
  background: #111;
}

.strava-mock__desc {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}

.strava-mock__desc span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-secondary);
}

.strava-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}

.strava-mock__stats em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-tertiary);
  margin-bottom: 3px;
}

.strava-mock__stats strong {
  font-size: 15px;
}

.social-stack {
  position: relative;
  width: min(300px, 80vw);
  margin: 0 auto;
  height: 280px;
  min-height: 260px;
}

.social-stack__card {
  position: absolute;
  inset: 20px 10px auto;
  background: #111;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #27272a;
  box-shadow: var(--shadow);
  z-index: 2;
}

.social-stack__card--back {
  inset: 40px 0 auto 30px;
  height: 220px;
  background: #0a0a0a;
  transform: rotate(6deg);
  z-index: 1;
  opacity: 0.9;
}

.social-stack__card--back img {
  height: 100%;
  object-position: center 20%;
}

.social-stack__art {
  height: 168px;
  object-position: center 18%;
  background: #111;
}

.social-stack__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 14px;
}

/* ---------- Gallery ---------- */

.gallery {
  padding: 88px 0 48px;
  background: var(--bg-dark);
  color: #f5f5f7;
  overflow: hidden;
}

.gallery .section__intro {
  padding: 0 22px;
}

.gallery .section__intro h2 {
  color: #f5f5f7;
}

.gallery .section__intro p {
  color: #a1a1a6;
}

.gallery__track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 20px max(22px, calc((100% - var(--max)) / 2 + 22px)) 48px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  margin: 0;
  scroll-snap-align: center;
  flex: 0 0 auto;
  text-align: center;
}

.gallery__item figcaption {
  margin-top: 18px;
  font-size: 14px;
  color: #a1a1a6;
  font-weight: 500;
}

@media (min-width: 1100px) {
  .gallery__track {
    justify-content: center;
  }
}

/* ---------- Download ---------- */

.download {
  padding: 96px 22px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(220, 38, 38, 0.1), transparent 60%),
    var(--bg);
}

.download__inner {
  max-width: 640px;
  margin: 0 auto;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--bg-dark);
  color: #fff;
  transition: transform 0.25s var(--ease-out), background 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #1d1d1f;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  line-height: 1.2;
}

.store-btn strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 88px max(22px, calc((100% - var(--max)) / 2 + 22px));
  background: var(--bg-soft);
}

.faq .section__intro {
  margin-bottom: 36px;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq__list details {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 4px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.faq__list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.faq__list details p {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- Contact ---------- */

.contact {
  padding: 72px 22px 100px;
  background: var(--bg-soft);
}

.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

@media (min-width: 860px) {
  .contact__inner {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 56px;
    gap: 64px;
    align-items: start;
  }
}

.contact__email {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 500;
  font-size: 17px;
}

.contact__form {
  display: grid;
  gap: 16px;
}

.contact__form label {
  display: grid;
  gap: 8px;
}

.contact__form label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(220, 38, 38, 0.45);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.contact__form .btn {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 14px;
  color: var(--ink-secondary);
}

.form-status.is-success {
  color: #16a34a;
}

.form-status.is-error {
  color: var(--accent);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-dark);
  color: #a1a1a6;
  padding: 40px 22px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f7;
  font-weight: 600;
  font-size: 15px;
}

.footer__brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer nav a {
  font-size: 13px;
  transition: color 0.2s;
}

.footer nav a:hover {
  color: #f5f5f7;
}

.footer p {
  margin: 0;
  font-size: 12px;
}

@media (min-width: 700px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer nav {
    justify-content: center;
  }
  .footer p {
    justify-self: end;
  }
}

/* ---------- Legal / privacy ---------- */

.legal-page .legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 22px 96px;
}

.legal-page .legal h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.legal-page .updated {
  margin: 0 0 28px;
  color: var(--ink-secondary);
}

.legal-page .legal h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.legal-page .legal p,
.legal-page .legal li {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.legal-page .legal ul {
  padding-left: 1.2rem;
}

.legal-page .legal li {
  margin-bottom: 8px;
}

.legal-page .legal a {
  color: var(--accent);
}

.legal-page .legal .card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 24px 0;
}
