/* ═══════════════════════════════════════════════════
   HELM - Marketing Website Design System
   helmfit.com
   ═══════════════════════════════════════════════════ */

/* ─── Font Faces ─── */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── Custom Properties ─── */
:root {
  --color-bg: #F7F3EE;
  --color-surface: #FFFFFF;
  --color-text: #1B1F24;
  --color-muted: #5C6670;
  --color-border: #E4DDD5;
  --color-accent: #E4572E;
  --color-accent-soft: #FDE8DA;
  --color-accent-hover: #D04A24;
  --color-success: #2A9D8F;
  --color-danger: #D64545;

  --font-main: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(14, 17, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 17, 22, 0.08);
  --shadow-lg: 0 16px 48px rgba(14, 17, 22, 0.1);
  --shadow-xl: 0 24px 64px rgba(14, 17, 22, 0.12);

  --max-width: 1200px;
  --nav-height: 72px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle grain texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.025;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ─── Typography ─── */
.t-display {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.t-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.t-headline {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}

.t-body {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}

.t-body-lg {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
}

.t-label {
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.t-accent {
  color: var(--color-accent);
}

.t-muted {
  color: var(--color-muted);
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--tight {
  padding: var(--space-3xl) 0;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(247, 243, 238, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-md);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-weight: 500;
  font-size: 1.125rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.nav__mobile a:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228, 87, 46, 0.3);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  padding: 14px 8px;
}

.btn--ghost:hover {
  background: var(--color-accent-soft);
}

.btn--large {
  font-size: 1.125rem;
  padding: 18px 36px;
}

/* ─── Cards ─── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--flat {
  box-shadow: none;
}

.card--flat:hover {
  transform: none;
  box-shadow: none;
}

.card--accent {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-accent-soft) 100%);
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-header .t-label {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: block;
}

.section-header .t-title {
  margin-bottom: var(--space-md);
}

.section-header .t-body-lg {
  color: var(--color-muted);
}

/* ─── Hero ─── */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero .t-display {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  color: var(--color-muted);
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 440px;
}

.hero__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero__input::placeholder {
  color: var(--color-muted);
}

.hero__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.15);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(253, 232, 218, 0.45) 0%, rgba(247, 243, 238, 0.95) 100%);
  border: 1px solid rgba(228, 87, 46, 0.14);
  box-shadow: 0 2px 10px rgba(14, 17, 22, 0.04);
}

.hero__stat-value {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.hero__stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 6px;
}

/* Phone Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--color-text);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.1);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.phone-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup__placeholder {
  text-align: center;
  padding: var(--space-lg);
}

.phone-mockup__placeholder-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 16px;
}

.phone-mockup__placeholder-text {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Decorative elements behind phone */
.hero__decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-soft) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__form {
    max-width: 100%;
    flex-direction: column;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__stat {
    min-width: 0;
    flex: 1 1 160px;
  }

  .hero__visual {
    margin-top: var(--space-xl);
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
    transform: none;
  }

  .phone-mockup:hover {
    transform: none;
  }
}

/* ─── Problem Section ─── */
.problem {
  background: var(--color-surface);
  position: relative;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.problem__item {
  text-align: center;
  padding: var(--space-xl);
}

.problem__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
}

.problem__item-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.problem__item-text {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.problem__solution {
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, rgba(253, 232, 218, 0.3) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(228, 87, 46, 0.15);
}

.problem__solution-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.problem__solution-text {
  color: var(--color-muted);
  font-size: 1.0625rem;
}

@media (max-width: 768px) {
  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ─── Features Section ─── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.feature-card__title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-card__desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.feature-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 7px;
}

.feature-card__number {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--color-border);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Import Section ─── */
.import {
  background: var(--color-surface);
}

.import__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.import__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.import__item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.import__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-2xl) auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.5rem;
}

.import__destination {
  text-align: center;
}

.import__destination-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .import__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Focus Section ─── */
.focus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.focus__item {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  transition: border-color 0.25s ease, background 0.25s ease;
  cursor: default;
}

.focus__item:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.focus__item-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.focus__item-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.focus__item-desc {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .focus__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Anti-features Section ─── */
.anti {
  background: var(--color-text);
  color: var(--color-bg);
}

.anti .section-header .t-label {
  color: var(--color-accent);
}

.anti .section-header .t-body-lg {
  color: rgba(247, 243, 238, 0.6);
}

.anti__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.anti__item {
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease;
}

.anti__item:hover {
  border-color: var(--color-accent);
}

.anti__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  opacity: 0.6;
}

.anti__item-title {
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: var(--space-xs);
}

.anti__item-text {
  font-size: 0.875rem;
  opacity: 0.6;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .anti__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
}

.cta-section__box {
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, rgba(253, 232, 218, 0.4) 100%);
  border: 1px solid rgba(228, 87, 46, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-xl);
}

.cta-section .t-title {
  margin-bottom: var(--space-md);
}

.cta-section .t-body-lg {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 440px;
  margin: 0 auto;
}

.cta-section__form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  color: var(--color-text);
}

.cta-section__form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.15);
}

@media (max-width: 768px) {
  .cta-section__form {
    flex-direction: column;
  }
}

/* ─── Footer ─── */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.footer__logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.footer__col-title {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.footer__col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ─── Sticky Mobile CTA ─── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: var(--space-md);
}

.sticky-cta__text {
  font-weight: 600;
  font-size: 0.9375rem;
}

.sticky-cta .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
}

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Page Styles ─── */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
}

.page-header .t-display {
  margin-bottom: var(--space-md);
}

.page-header .t-body-lg {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Page */
.feature-deep {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-deep:last-child {
  border-bottom: none;
}

.feature-deep__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.feature-deep__grid.reverse {
  direction: rtl;
}

.feature-deep__grid.reverse > * {
  direction: ltr;
}

.feature-deep .t-label {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: block;
}

.feature-deep .t-title {
  margin-bottom: var(--space-md);
}

.feature-deep__text {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

.feature-deep__stats {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.feature-deep__stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-accent-soft);
  border-radius: var(--radius-md);
  min-width: 100px;
}

.feature-deep__stat-value {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.feature-deep__stat-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-deep__visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .feature-deep__grid,
  .feature-deep__grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Import Page */
.import-guide__item {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.import-guide__item:last-child {
  border-bottom: none;
}

.import-guide__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.import-guide__name {
  font-weight: 700;
  font-size: 1.25rem;
}

.import-guide__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.import-guide__steps {
  counter-reset: step;
}

.import-guide__step {
  counter-increment: step;
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.import-guide__step::before {
  content: counter(step);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.import-guide__step p {
  color: var(--color-muted);
  line-height: 1.6;
  padding-top: 4px;
}

/* Legal Pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.legal h2 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal p {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal ul li {
  list-style: disc;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xs);
}

/* 404 Page */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.error-page__code {
  font-weight: 700;
  font-size: 8rem;
  line-height: 1;
  color: var(--color-border);
  letter-spacing: -0.04em;
}

.error-page__title {
  font-weight: 700;
  font-size: 1.5rem;
  margin: var(--space-md) 0 var(--space-sm);
}

.error-page__text {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
}

/* ─── Comparison Page Styles ─── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  background: var(--color-bg);
}

.comparison-table td:first-child {
  font-weight: 500;
}

.comparison-table .check {
  color: var(--color-success);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--color-danger);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  text-align: center;
  width: 140px;
}

@media (max-width: 600px) {
  .comparison-table th:nth-child(2),
  .comparison-table td:nth-child(2),
  .comparison-table th:nth-child(3),
  .comparison-table td:nth-child(3) {
    width: auto;
    padding: var(--space-sm);
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    padding: var(--space-sm);
    font-size: 0.875rem;
  }
}

/* Compare Section Blocks */
.compare-section {
  padding: var(--space-2xl) 0;
}

.compare-section .t-title {
  margin-bottom: var(--space-lg);
}

.compare-section .t-body-lg {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.compare-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.compare-card ul {
  padding-left: var(--space-lg);
}

.compare-card li {
  list-style: disc;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: var(--space-xs);
}

.compare-card--accent {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-accent-soft) 100%);
}

.switch-steps {
  counter-reset: step;
  padding-left: 0;
}

.switch-steps li {
  list-style: none;
  counter-increment: step;
  position: relative;
  padding-left: var(--space-2xl);
  margin-bottom: var(--space-lg);
  color: var(--color-muted);
  line-height: 1.65;
}

.switch-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* All-in-one page pillar cards */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.pillar-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.pillar-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.pillar-card__text {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ─── Blog Styles ─── */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.blog-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.blog-card__link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-card__link:hover {
  gap: var(--space-sm);
}

/* Article */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.article h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.article h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article p {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.article ul, .article ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.article li {
  list-style: disc;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: var(--space-xs);
}

.article ol li {
  list-style: decimal;
}

/* Calculator Widget */
.calculator {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.calculator__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.calculator__row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.calculator__field {
  flex: 1;
  min-width: 120px;
}

.calculator__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
  display: block;
}

.calculator__input {
  width: 100%;
  padding: 12px var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.calculator__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.1);
}

.calculator__result {
  background: var(--color-accent-soft);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  margin-top: var(--space-md);
}

.calculator__result-value {
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.calculator__result-label {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ═══════════════════════════════════════════════════
   PHONE DEMO WALKTHROUGH
   Faithful recreation of the Helm app UI
   ═══════════════════════════════════════════════════ */

.phone-mockup__screen {
  position: relative;
  background: var(--color-bg);
}

/* ─── Demo Screen Base ─── */
.demo-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 0;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.demo-screen::-webkit-scrollbar { display: none; }

.demo-screen--active {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Page Title (matches app's title style) ─── */
.demo-page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 4px;
}

/* ─── Month Row ─── */
.demo-month-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.demo-month-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--color-text);
}

.demo-month-chevron {
  font-size: 10px;
  color: var(--color-muted);
  line-height: 1;
}

/* ─── Week Calendar Strip ─── */
.demo-week-strip {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.demo-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 2px;
  border-radius: 9px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.demo-day__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.demo-day__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text);
}

.demo-day--selected {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.demo-day--selected .demo-day__label,
.demo-day--selected .demo-day__num {
  color: #fff;
}

.demo-day--has-data {
  background: var(--color-accent-soft);
  border-color: rgba(228, 87, 46, 0.15);
}

/* ─── Card (matches app Card component) ─── */
.demo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(14, 17, 22, 0.04);
}

.demo-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.demo-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--color-text);
  line-height: 1.3;
}

.demo-card__subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 8px;
  color: var(--color-muted);
  line-height: 1.3;
  text-transform: uppercase;
}

/* ─── Header Right (gear + timer) ─── */
.demo-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-gear {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1;
}

/* ─── Timer Block ─── */
.demo-timer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.demo-timer-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.demo-timer {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
}

/* ─── Exercise Cards ─── */
.demo-exercise {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 6px;
}

.demo-exercise:last-of-type {
  margin-bottom: 4px;
}

.demo-exercise__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: var(--color-text);
  margin-bottom: 5px;
}

/* ─── Set Rows (input-box style) ─── */
.demo-set-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}

.demo-set__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-muted);
  width: 28px;
  flex-shrink: 0;
}

.demo-set__input {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 3px 6px;
  flex: 1;
}

.demo-set__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.demo-type-weight:empty::after,
.demo-type-reps:empty::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 9px;
  background: var(--color-accent);
  animation: demo-blink 0.8s step-end infinite;
  vertical-align: middle;
}

@keyframes demo-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.demo-set__suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 400;
  color: var(--color-muted);
}

/* ─── Set Actions (Add set / Remove pills) ─── */
.demo-set-actions {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.demo-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid;
  cursor: default;
}

.demo-pill--accent {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: transparent;
}

.demo-pill--danger {
  color: var(--color-danger);
  border-color: var(--color-danger);
  background: transparent;
}

.demo-pill--filled {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  font-size: 7px;
  padding: 2px 7px;
}

/* ─── Buttons ─── */
.demo-btn {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 9px;
  padding: 6px;
  border-radius: 999px;
  margin-top: 4px;
}

.demo-btn--add-exercise {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.demo-btn--dark {
  background: #1B1F24;
  color: var(--color-bg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 8px;
}

/* ─── PR Banner ─── */
.demo-pr {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(228, 87, 46, 0.15);
  border-radius: 12px;
  padding: 7px 10px;
  margin-top: 6px;
}

.demo-pr__icon { font-size: 12px; }

.demo-pr__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--color-accent);
}

/* ─── Segmented Controls ─── */
.demo-segmented {
  display: flex;
  border-radius: 9px;
  padding: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.demo-segmented--accent-soft {
  background: var(--color-accent-soft);
}

.demo-segmented--bordered {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.demo-segment {
  flex: 1;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 600;
  padding: 5px;
  border-radius: 7px;
  color: var(--color-muted);
  background: transparent;
}

.demo-segment--active {
  background: var(--color-accent);
  color: #fff;
}

/* ─── Live Badge ─── */
.demo-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-badge--live {
  background: #D64545;
  color: #fff;
  animation: demo-pulse 1.5s ease-in-out infinite;
}

@keyframes demo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ─── Map ─── */
.demo-map {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
  position: relative;
}

.demo-map--real {
  border: 1px solid var(--color-border);
}

.demo-map__city {
  width: 100%;
  display: block;
}

.demo-map__svg {
  width: 100%;
  display: block;
}

.demo-route {
  filter: drop-shadow(0 1px 3px rgba(228, 87, 46, 0.35));
}

/* ─── Run Stats ─── */
.demo-run-stats {
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
}

.demo-run-stat { text-align: center; }

.demo-run-stat__value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.demo-run-stat__unit {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  color: var(--color-muted);
  font-weight: 500;
}

/* ─── Split Times ─── */
.demo-split {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  color: var(--color-muted);
  padding: 3px 0;
  border-bottom: 1px solid var(--color-border);
  font-variant-numeric: tabular-nums;
}

.demo-split:last-child { border-bottom: none; }

/* ─── Calorie Summary ─── */
.demo-cal-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.demo-cal-left { flex: 1; }

.demo-cal-number {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 4px;
}

.demo-cal-current {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}

.demo-cal-goal {
  font-size: 8px;
  color: var(--color-muted);
  font-weight: 400;
}

.demo-cal-bar {
  height: 5px;
  background: var(--color-accent-soft);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3px;
}

.demo-cal-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 3px;
  transition: width 1.5s ease;
}

.demo-cal-remaining {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  color: var(--color-muted);
  font-weight: 400;
}

.demo-cal-right {
  flex-shrink: 0;
  width: 60px;
}

.demo-pie-svg {
  width: 60px;
  height: 60px;
}

/* ─── Macro Row ─── */
.demo-macro-row {
  display: flex;
  justify-content: space-around;
  padding-top: 6px;
  border-top: 1px solid var(--color-border);
}

.demo-macro-col { text-align: center; }

.demo-macro-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11px;
}

.demo-macro-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  color: var(--color-muted);
  font-weight: 400;
  text-transform: uppercase;
}

.demo-macro-pct {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  color: var(--color-muted);
  font-weight: 400;
  display: block;
}

/* ─── Meals ─── */
.demo-meal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border);
}

.demo-meal:last-child { border-bottom: none; }

.demo-meal__left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.demo-meal__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 9px;
  color: var(--color-text);
}

.demo-meal__cals {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 400;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.demo-meal__trash {
  font-size: 9px;
  color: var(--color-muted);
  opacity: 0.5;
}

.demo-meal-food {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 400;
  color: var(--color-text);
  padding: 2px 0 4px 10px;
  border-bottom: 1px solid var(--color-border);
}

.demo-meal-food__detail {
  display: block;
  font-size: 7px;
  color: var(--color-muted);
  margin-top: 1px;
}

/* ─── Stat Grid ─── */
.demo-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.demo-stat-grid--row2 {
  margin-top: 4px;
}

.demo-stat-box {
  text-align: center;
  padding: 6px 2px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 9px;
}

.demo-stat-box__val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.demo-stat-box__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 6px;
  color: var(--color-muted);
  font-weight: 500;
  text-transform: uppercase;
}

/* ─── Chart ─── */
.demo-chart-svg {
  width: 100%;
  display: block;
  margin-bottom: 2px;
}

/* ─── Lift Rows ─── */
.demo-lift-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid var(--color-border);
}

.demo-lift-row:last-child { border-bottom: none; }

.demo-lift-name {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: var(--color-muted);
}

.demo-lift-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.demo-lift-delta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 600;
  color: var(--color-success);
  background: rgba(42, 157, 143, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
}

/* ─── Tab Bar (matches app's bottom tabs) ─── */
.demo-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 6px 2px 10px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  z-index: 10;
  border-radius: 0 0 30px 30px;
}

.demo-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.25s ease;
}

.demo-tab--active {
  color: var(--color-accent);
}

.demo-tab svg {
  width: 14px;
  height: 14px;
}

/* ─── Coming Soon block (replaces email signup) ─── */
.coming-soon {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: flex-start;
}

.cta-section__coming-soon {
  align-items: center;
  margin: 0 auto;
}

.coming-soon__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.coming-soon__badges {
  display: flex;
  gap: var(--space-sm);
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 15px;
}

/* ─── Features page interactive demos ─── */
/* Styled to match the Helm app UI language used in the homepage phone mockups:
   nested cards, small precise typography, tabular numbers, dark 1.5px
   SVG strokes for charts, orange/teal/yellow macro palette, pill buttons. */

.feature-deep__visual--demo {
  padding: var(--space-md);
  align-items: stretch;
  justify-content: stretch;
  background: var(--color-bg);
}

.demo {
  --demo-protein: var(--color-accent);
  --demo-carbs:   #2A9D8F;
  --demo-fat:     #E9C46A;
  --demo-stroke:  #4A4F55;

  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(14, 17, 22, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 11px;
  line-height: 1.35;
}

.demo__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--color-border);
  gap: 10px;
  flex-shrink: 0;
}

.demo__titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.demo__title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.demo__subtitle {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.demo__gear {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

/* ── Shared card-within-demo ── */
.demo-card-inner {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.demo-label {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ───── 1. Strength ─────────────────────────────── */
.demo-strength__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.demo-strength__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.demo-strength__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.demo-strength__field label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.demo-strength__val {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.demo-strength input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--color-accent) 0%,
    var(--color-accent) var(--track-fill, 0%),
    var(--color-border) var(--track-fill, 0%),
    var(--color-border) 100%
  );
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.demo-strength input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 4px rgba(14, 17, 22, 0.12);
  cursor: grab;
  transition: transform 0.1s ease;
}

.demo-strength input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
}

.demo-strength input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 4px rgba(14, 17, 22, 0.12);
  cursor: grab;
}

.demo-strength input[type="range"]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 999px;
}

.demo-strength__result {
  max-width: 220px;
  width: 100%;
  margin: 0 auto;
  background: var(--color-accent-soft);
  border: 1px solid rgba(228, 87, 46, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  flex: 1;
  min-height: 0;
}

.demo-strength__result-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.85;
}

.demo-strength__result-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ───── 2. Cardio ───────────────────────────────── */
.demo-cardio__map {
  flex: 1;
  min-height: 0;
  padding: 10px 14px;
  position: relative;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 19px, rgba(14, 17, 22, 0.035) 19px, rgba(14, 17, 22, 0.035) 20px),
    repeating-linear-gradient(90deg, transparent 0, transparent 19px, rgba(14, 17, 22, 0.035) 19px, rgba(14, 17, 22, 0.035) 20px);
  background-blend-mode: normal, multiply, multiply;
}

.demo-cardio__map svg {
  width: 100%;
  height: 100%;
  max-height: 130px;
  display: block;
}

.demo-cardio__path {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(228, 87, 46, 0.35));
}

.demo-cardio__dot {
  fill: var(--color-accent);
  stroke: var(--color-surface);
  stroke-width: 2;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(228, 87, 46, 0.45));
}

.demo-cardio__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 10px 14px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.demo-cardio__stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-cardio__stat-label {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.demo-cardio__stat-value {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.demo-cardio__play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 14px;
  padding: 10px 16px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(228, 87, 46, 0.25);
}

.demo-cardio__play:hover:not(:disabled) {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 14px rgba(228, 87, 46, 0.35);
}

.demo-cardio__play:active:not(:disabled) {
  transform: scale(0.98);
}

.demo-cardio__play:disabled {
  opacity: 0.55;
  cursor: wait;
  box-shadow: none;
}

.demo-cardio__play:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ───── 3. Nutrition ────────────────────────────── */
.demo-nutrition__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 10px;
}

.demo-nutrition__ring-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.demo-nutrition__ring {
  --p-end: 0%;
  --c-end: 0%;
  --f-end: 0%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--demo-protein) 0% var(--p-end),
    var(--demo-carbs)   var(--p-end) var(--c-end),
    var(--demo-fat)     var(--c-end) var(--f-end),
    var(--color-border) var(--f-end) 100%
  );
  transition: --p-end 0.4s ease, --c-end 0.4s ease, --f-end 0.4s ease;
  position: relative;
}

.demo-nutrition__ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--demo-stroke);
  pointer-events: none;
}

.demo-nutrition__ring-inner {
  position: absolute;
  inset: 12px;
  background: var(--color-surface);
  border: 1.5px solid var(--demo-stroke);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.demo-nutrition__kcal {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.demo-nutrition__goal {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.demo-nutrition__macros {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-nutrition__macro-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 9px;
  gap: 6px;
}

.demo-nutrition__macro-head .demo-nutrition__macro-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.demo-nutrition__macro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-nutrition__macro-dot--protein { background: var(--demo-protein); }
.demo-nutrition__macro-dot--carbs   { background: var(--demo-carbs); }
.demo-nutrition__macro-dot--fat     { background: var(--demo-fat); }

.demo-nutrition__macro-head .demo-nutrition__macro-val {
  font-weight: 700;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.demo-nutrition__bar-track {
  height: 4px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
}

.demo-nutrition__bar {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s ease;
}

.demo-nutrition__bar[data-bar="protein"] { background: var(--demo-protein); }
.demo-nutrition__bar[data-bar="carbs"]   { background: var(--demo-carbs); }
.demo-nutrition__bar[data-bar="fat"]     { background: var(--demo-fat); }

.demo-nutrition__chips-wrap {
  padding: 0 14px;
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

.demo-nutrition__chips-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.demo-nutrition__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.demo-nutrition__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--color-text);
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.demo-nutrition__chip:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  box-shadow: 0 2px 6px rgba(228, 87, 46, 0.12);
}

.demo-nutrition__chip:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.demo-nutrition__chip-emoji {
  font-size: 13px;
  line-height: 1;
}

.demo-nutrition__chip--poke {
  animation: demo-chip-poke 220ms ease-out;
}

@keyframes demo-chip-poke {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.9); background: var(--color-accent-soft); border-color: var(--color-accent); }
  100% { transform: scale(1); }
}

.demo-nutrition__reset {
  padding: 3px 10px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.demo-nutrition__reset:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

.demo-nutrition__reset:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.demo-nutrition__chips-wrap {
  padding-bottom: 12px;
}

/* ───── 4. Body ─────────────────────────────────── */
.demo-body__chart-wrap {
  flex: 1;
  min-height: 0;
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.demo-body__chart {
  position: relative;
  flex: 1;
  min-height: 0;
}

.demo-body__chart svg {
  width: 100%;
  height: 100%;
  min-height: 90px;
  overflow: visible;
  display: block;
}

.demo-body__grid-line {
  stroke: var(--color-border);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.demo-body__area {
  fill: url(#demoBodyArea);
}

.demo-body__line {
  stroke: var(--demo-stroke);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.demo-body__hit {
  cursor: pointer;
}

.demo-body__dot {
  fill: var(--color-accent);
  stroke: var(--demo-stroke);
  stroke-width: 1.5;
  cursor: grab;
  transition: r 0.12s ease;
  filter: drop-shadow(0 2px 4px rgba(228, 87, 46, 0.4));
}

.demo-body__dot:active {
  cursor: grabbing;
  r: 7;
}

.demo-body__dot:focus-visible {
  outline: none;
  stroke: var(--color-accent);
  stroke-width: 2;
}

.demo-body__axis {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.demo-body__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.demo-body__week {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.demo-body__weight {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.demo-body__delta {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-bg);
}

.demo-body__delta--neg {
  color: var(--color-success);
  background: rgba(42, 157, 143, 0.1);
}

.demo-body__delta--pos {
  color: var(--color-danger);
  background: rgba(214, 69, 69, 0.1);
}

/* ── Mobile tweaks ── */
@media (max-width: 768px) {
  .demo {
    font-size: 10px;
  }
  .demo__title {
    font-size: 12px;
  }
  .demo-strength__result-value {
    font-size: 19px;
  }
  .demo-nutrition__ring-wrap {
    width: 72px;
    height: 72px;
  }
  .demo-nutrition__kcal {
    font-size: 12px;
  }
  .demo-nutrition__chips {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-cardio__stat-value {
    font-size: 13px;
  }
}

/* Register the ring angle properties so they can animate (progressive enhancement) */
@property --p-end { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --c-end { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --f-end { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* Compare-page disclaimer */
.footer__compare-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--color-muted);
  opacity: 0.8;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-md);
}

.footer__compare-disclaimer p {
  margin: 0;
  max-width: 960px;
}

/* ─── Import page layout ─── */
.import-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.import-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.import-step__number {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.import-step__title {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.import-step__desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .import-steps {
    grid-template-columns: 1fr;
  }
}

/* Sources grid */
.import-sources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.import-source {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.import-source:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.import-source:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.import-source__category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.import-source__category--strength {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.import-source__category--cardio {
  background: rgba(42, 157, 143, 0.14);
  color: #1E7268;
}

.import-source__category--nutrition {
  background: rgba(233, 196, 106, 0.22);
  color: #7A5C1E;
}

.import-source__name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.import-source__format {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.import-source__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
  padding-top: var(--space-sm);
}

@media (max-width: 1024px) {
  .import-sources {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .import-sources {
    grid-template-columns: 1fr;
  }
}

/* Capabilities grid */
.import-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.import-capability {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.import-capability__title {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

.import-capability__desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .import-capabilities {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion */
.import-faq {
  max-width: 720px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.import-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.15s ease;
}

.import-faq__item[open] {
  border-color: var(--color-accent);
}

.import-faq__question {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.import-faq__question::-webkit-details-marker {
  display: none;
}

.import-faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  transition: transform 0.2s ease;
}

.import-faq__item[open] .import-faq__question::after {
  transform: rotate(45deg);
}

.import-faq__answer {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.import-faq__answer p {
  margin: 0;
}

/* ─── Support page ─── */
.support-contact {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.support-contact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.support-contact__email {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.15s ease;
}

.support-contact__email:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.support-contact__note {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
  max-width: 440px;
  margin: 0 auto;
}

/* FAQ accordion (support version mirrors import styles for consistency) */
.support-faq {
  max-width: 760px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.support-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.15s ease;
}

.support-faq__item[open] {
  border-color: var(--color-accent);
}

.support-faq__question {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.support-faq__question::-webkit-details-marker {
  display: none;
}

.support-faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  transition: transform 0.2s ease;
}

.support-faq__item[open] .support-faq__question::after {
  transform: rotate(45deg);
}

.support-faq__answer {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.support-faq__answer p {
  margin: 0 0 var(--space-sm);
}

.support-faq__answer p:last-child {
  margin-bottom: 0;
}

.support-faq__answer ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
}

.support-faq__answer li {
  margin-bottom: 4px;
}

.support-faq__answer a {
  color: var(--color-accent);
  text-decoration: underline;
}

.support-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.support-legal a {
  color: var(--color-muted);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.support-legal a:hover {
  color: var(--color-accent);
}
