/* Marketing — FitFix / Nike-adjacent lean fitness SaaS */

.mkt {
  background:
    radial-gradient(ellipse 80% 50% at 8% -10%, rgba(6, 123, 125, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(4, 84, 86, 0.07), transparent 50%),
    linear-gradient(180deg, #f7fafa 0%, var(--surface) 45%, #eef3f3 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.mkt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, #f7fafa 92%, transparent);
  backdrop-filter: blur(14px);
}

.mkt-nav-brand {
  flex-shrink: 1;
  min-width: 0;
}

.mkt-nav .brand-lockup {
  --brand-logo-h: clamp(26px, 7vw, 40px);
  align-items: flex-end;
}

.mkt-nav .brand-lockup img {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  width: min(calc(var(--brand-logo-h) * var(--brand-logo-ratio)), 132px, 42vw);
  max-height: var(--brand-logo-h);
}

.mkt-nav .brand-lockup .pro-chip {
  height: calc(var(--brand-logo-h) * 0.4);
  font-size: clamp(7px, 2vw, 9px);
  padding: 0 clamp(5px, 1.4vw, 7px);
}

.mkt-nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  gap: 5px;
  flex-direction: column;
}

.mkt-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mkt-nav.is-open .mkt-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mkt-nav.is-open .mkt-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.mkt-nav.is-open .mkt-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mkt-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.mkt-nav-links > a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.mkt-nav-links > a:not(.btn):hover {
  color: var(--ink);
}

@media (max-width: 767px) {
  .mkt-nav {
    flex-wrap: wrap;
    align-items: center;
  }

  .mkt-nav-toggle {
    display: inline-flex;
  }

  .mkt-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding: 12px 0 4px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }

  .mkt-nav.is-open .mkt-nav-links {
    display: flex;
  }

  .mkt-nav-links > a:not(.btn) {
    padding: 12px 4px;
    font-size: 15px;
    white-space: normal;
  }

  .mkt-nav-links .btn {
    width: 100%;
    margin-top: 8px;
  }
}

@media (min-width: 768px) {
  .mkt-nav-links {
    display: flex !important;
  }
}

/* —— Hero: brand + one line + CTA + visual —— */
.mkt-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: stretch;
  grid-template-rows: auto 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .mkt-hero {
    grid-template-columns: 1fr 1.05fr;
    grid-template-rows: none;
    gap: 0;
    padding: 0 clamp(20px, 4vw, 40px);
  }
}

.mkt-hero-copy {
  padding: clamp(36px, 7vw, 72px) clamp(20px, 4vw, 28px) 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.mkt-hero-copy .brand-lockup--hero img {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.mkt-hero h1 {
  font-size: clamp(32px, 5.5vw, 48px);
  margin: 18px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 800;
  max-width: 16ch;
}

.mkt-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 38ch;
  font-weight: 500;
}

.mkt-hero .actions {
  margin-top: 28px;
  gap: 10px;
}

.mkt-hero-trust {
  margin-top: 18px !important;
  font-size: 13px !important;
  color: var(--muted);
  font-weight: 600 !important;
  max-width: 42ch !important;
}

.mkt-chat-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.mkt-chat-line {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 92%;
}

.mkt-chat-line--in {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
}

.mkt-chat-line--ghost {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
  background: transparent;
  padding-left: 4px;
}

.mkt-chat-meta {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  color: var(--warn);
  letter-spacing: 0.01em;
}

/* —— Pain / urgency grid —— */
.mkt-pain {
  padding: clamp(56px, 10vw, 100px) clamp(20px, 4vw, 40px);
  max-width: 1100px;
  margin: 0 auto;
}

.mkt-pain-intro {
  max-width: 640px;
  margin-bottom: clamp(28px, 5vw, 40px);
}

.mkt-pain-intro h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
}

.mkt-pain-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .mkt-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mkt-pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mkt-pain-item {
  padding: 22px 20px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  align-content: start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mkt-pain-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.mkt-pain-stat {
  font-family: var(--numeral);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-2);
}

.mkt-pain-item h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.mkt-pain-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.mkt-pain-item p strong {
  color: var(--ink-strong);
  font-weight: 700;
}

.mkt-pain-item cite {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.85;
}

/* —— Audience split —— */
.mkt-audience {
  padding: clamp(48px, 8vw, 80px) clamp(20px, 4vw, 40px);
  max-width: 1100px;
  margin: 0 auto;
}

.mkt-audience-intro {
  max-width: 560px;
  margin-bottom: 28px;
}

.mkt-audience-intro h2 {
  font-size: clamp(24px, 3.8vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 20ch;
  margin: 0;
}

.mkt-audience-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .mkt-audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mkt-audience-block {
  padding: 28px 24px;
  border-top: 2px solid var(--accent);
}

.mkt-audience-block h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.mkt-audience-block > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 16px;
  max-width: 42ch;
}

.mkt-audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.mkt-audience-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.mkt-audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Checkout interest form */
.mkt-checkout-grid {
  display: grid;
  gap: 20px;
  margin: 8px 0 48px;
}

@media (min-width: 800px) {
  .mkt-checkout-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.mkt-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mkt-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.mkt-form input,
.mkt-form select {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.mkt-form input:focus,
.mkt-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
}

.mkt-summary {
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mkt-summary h2 {
  font-size: 24px;
  margin: 4px 0 12px;
  letter-spacing: -0.03em;
}

.mkt-summary .mkt-list {
  margin-top: 8px;
}

.mkt-summary .mkt-list li {
  animation: none;
}

.mkt-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.mkt-steps li {
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 4px;
}

.mkt-hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(16px, 3vw, 32px) 48px;
}

@media (min-width: 960px) {
  .mkt-hero-visual {
    min-height: auto;
    padding: 48px 0 64px 24px;
  }
}

/* Soft dashboard preview (FitPower air) */
.mkt-dash {
  width: min(100%, 440px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  padding: 22px;
  font-family: var(--body);
  display: grid;
  gap: 16px;
  animation: snellRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.mkt-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mkt-dash-top strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.mkt-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mkt-dash-kpi {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mkt-dash-kpi:hover {
  transform: translateY(-3px);
}

.mkt-dash-kpi .num {
  font-family: var(--numeral);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-2);
}

.mkt-dash-kpi .lbl {
  margin-top: 6px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.mkt-dash-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.mkt-dash-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: snellFill 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.mkt-dash-note {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.85;
}

.mkt-float {
  position: absolute;
  right: 8%;
  bottom: 18%;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--accent);
  opacity: 0.9;
  animation: snellFloat 4.5s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes snellFill {
  to {
    width: 72%;
  }
}

@keyframes snellFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

.rise {
  animation: snellRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

/* —— Sections —— */
.mkt-section {
  padding: clamp(56px, 10vw, 96px) clamp(20px, 4vw, 40px);
  max-width: 720px;
  margin: 0 auto;
}

.mkt-section h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 20ch;
}

.mkt-section-alt {
  max-width: none;
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent);
  border-block: 1px solid var(--line);
}

.mkt-section-alt > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

#como.mkt-section-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#como.mkt-section-alt h2 {
  max-width: 22ch;
}

#como.mkt-section-alt .mkt-lead {
  max-width: 42ch;
}

#como.mkt-section-alt .mkt-list {
  width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.mkt-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 42ch;
  margin: 0;
}

.mkt-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.mkt-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow);
  animation: snellRise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mkt-list li:nth-child(2) {
  animation-delay: 0.06s;
}

.mkt-list li:nth-child(3) {
  animation-delay: 0.12s;
}

.mkt-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent);
}

.mkt-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mkt-price {
  font-family: var(--numeral);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mkt-cta-band {
  margin: 24px clamp(16px, 4vw, 40px) 48px;
  padding: clamp(40px, 7vw, 64px) clamp(24px, 5vw, 48px);
  background: var(--void);
  color: #fff;
  border-radius: 24px;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-cta-band h2 {
  font-size: clamp(24px, 3.8vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
}

.mkt-cta-band p {
  color: color-mix(in srgb, #fff 65%, transparent);
  margin: 0 auto;
  max-width: 36ch;
  font-weight: 500;
}

.mkt-cta-band .actions {
  justify-content: center;
  margin-top: 24px;
}

.mkt-cta-band .btn-secondary,
.mkt-cta-band a.btn-secondary,
.mkt-cta-band a.btn-secondary:visited {
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 35%, transparent);
}

.mkt-cta-band .btn-secondary:hover,
.mkt-cta-band a.btn-secondary:hover,
.mkt-cta-band .btn-secondary:focus-visible,
.mkt-cta-band a.btn-secondary:focus-visible {
  background: color-mix(in srgb, #fff 12%, transparent);
  border-color: #fff;
  color: #fff;
}

.mkt-cta-band .btn-primary,
.mkt-cta-band a.btn-primary,
.mkt-cta-band a.btn-primary:hover,
.mkt-cta-band a.btn-primary:visited {
  color: #fff;
}

.mkt-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 40px) 56px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.mkt-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}

.mkt-footer-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  padding-bottom: 2px;
}

.mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.mkt-footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.mkt-footer-links a:hover {
  color: var(--accent-2);
}

/* Pricing / checkout pages */
.mkt-page {
  max-width: 880px;
}

.mkt-page-intro {
  padding: clamp(36px, 6vw, 56px) 0 8px;
}

.mkt-page-intro h1 {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

.mkt-plans {
  display: grid;
  gap: 18px;
  margin: 24px 0 16px;
}

.mkt-plan-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.mkt-plan-card h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.mkt-plan {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mkt-plan:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.mkt-plan h2 {
  font-size: 26px;
  margin: 4px 0 12px;
  letter-spacing: -0.03em;
}

.mkt-plan .mkt-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.mkt-plan .mkt-list {
  margin-top: 20px;
}

.mkt-plan .mkt-list li {
  animation: none;
}
