/* =====================================================================
   INNER PAGES (why-notfit / faq / contact / pricing / help-center)
   Compact shared primitives on the V2 (nfx-) system so every inner page
   reads like a chapter of the homepage: same ink, same gold, same voice.
   Depends on notfit-v2.css tokens. Loaded after it.
   ===================================================================== */

/* ---------- Compact hero: the homepage hero at inner-page scale ------ */
.nfx-ihero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52svh;
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(2.6rem, 6vh, 4rem);
  background: var(--nfx-ink);
  overflow: hidden;
}
.nfx-ihero__athlete {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  opacity: 0.26;
  pointer-events: none;
}
.nfx-ihero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 50% 20%, rgba(6, 6, 6, 0.12) 0%, rgba(6, 6, 6, 0.78) 66%, var(--nfx-ink) 100%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.55) 0%, transparent 32%, transparent 55%, var(--nfx-ink) 96%);
  pointer-events: none;
}
.nfx-ihero__inner {
  position: relative;
  z-index: 4;
  width: min(920px, 92vw);
}
.nfx-ihero__kicker { margin-bottom: 1.6rem; animation: nfx-rise 800ms var(--nfx-ease) both; }
.nfx-ihero__title {
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  letter-spacing: -0.03em;
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
  text-wrap: balance;
  animation: nfx-rise 900ms var(--nfx-ease) 120ms both;
}
.nfx-ihero__title em {
  font-style: normal;
  display: inline-block;
  background: var(--nfx-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* optional brand strike, same gesture as the homepage WORST */
.nfx-ihero__title .nfx-istrike {
  position: relative;
  display: inline-block;
}
.nfx-ihero__title .nfx-istrike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 51%;
  height: 0.075em;
  background: var(--nfx-red);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: nfx-istrike 700ms var(--nfx-ease) 1100ms both;
  box-shadow: 0 0 22px rgba(226, 59, 46, 0.45);
}
@keyframes nfx-istrike { to { transform: scaleX(1); } }
.nfx-ihero__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
  line-height: 1.6;
  max-width: 42em;
  margin: 0 auto;
  animation: nfx-rise 900ms var(--nfx-ease) 260ms both;
}
.nfx-ihero__sub a { color: var(--nfx-gold); text-decoration: underline; text-underline-offset: 3px; }
.nfx-ihero__actions { margin-top: 2rem; animation: nfx-rise 900ms var(--nfx-ease) 380ms both; }

/* ---------- Section head ------------------------------------------- */
.nfx-isection { padding: clamp(3.6rem, 8vw, 6.5rem) 0; background: var(--nfx-ink); }
.nfx-isection--tight { padding-top: 0; }
.nfx-ihead { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.nfx-ihead__title {
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 1rem 0 0.8rem;
  text-wrap: balance;
}
.nfx-ihead__title em {
  font-style: normal;
  background: var(--nfx-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nfx-ihead__sub { color: var(--nfx-muted); max-width: 46em; margin: 0 auto; line-height: 1.65; }

/* ---------- Cards ---------------------------------------------------- */
.nfx-icards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.nfx-icards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .nfx-icards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .nfx-icards, .nfx-icards--2 { grid-template-columns: 1fr; } }
.nfx-icard {
  position: relative;
  display: block;
  background: var(--nfx-card);
  border: 1px solid var(--nfx-line);
  border-radius: var(--nfx-radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  text-decoration: none;
  color: inherit;
  transition: transform 300ms var(--nfx-ease), border-color 300ms var(--nfx-ease), background 300ms var(--nfx-ease);
}
.nfx-icard:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 187, 154, 0.45);
  background: var(--nfx-card-2);
}
.nfx-icard__num {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--nfx-gold);
  margin-bottom: 0.9rem;
}
.nfx-icard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(209, 187, 154, 0.1);
  border: 1px solid rgba(209, 187, 154, 0.28);
  color: var(--nfx-gold);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.nfx-icard h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
}
.nfx-icard p { color: var(--nfx-muted); line-height: 1.62; margin: 0; font-size: 0.97rem; }
.nfx-icard__go { margin-top: 1rem; color: var(--nfx-gold); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Founder quote ------------------------------------------- */
.nfx-iquote { text-align: center; }
.nfx-iquote__mark { font-size: clamp(3.4rem, 7vw, 5rem); line-height: 0.4; color: var(--nfx-gold); display: block; margin-bottom: 1.4rem; font-weight: 700; }
.nfx-iquote__text {
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 24em;
  margin: 0 auto 1.4rem;
  text-wrap: balance;
}
.nfx-iquote__text em { font-style: normal; color: var(--nfx-gold); }
.nfx-iquote__body { color: var(--nfx-muted); max-width: 44em; margin: 0 auto 1.2rem; line-height: 1.7; }
.nfx-iquote__who { color: var(--nfx-gold); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Forms (contact) ------------------------------------------ */
.nfx-iform { max-width: 680px; margin: 0 auto; }
.nfx-iform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .nfx-iform__row { grid-template-columns: 1fr; } }
.nfx-ifield { margin-bottom: 1.1rem; }
.nfx-ifield label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}
.nfx-ifield input,
.nfx-ifield select,
.nfx-ifield textarea {
  width: 100%;
  background: var(--nfx-card);
  border: 1px solid var(--nfx-line-2);
  border-radius: 14px;
  color: var(--nfx-text);
  font: inherit;
  padding: 0.85rem 1rem;
  transition: border-color 220ms var(--nfx-ease), box-shadow 220ms var(--nfx-ease);
}
.nfx-ifield textarea { resize: vertical; min-height: 150px; }
.nfx-ifield select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--nfx-gold) 50%), linear-gradient(135deg, var(--nfx-gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.nfx-ifield input:focus,
.nfx-ifield select:focus,
.nfx-ifield textarea:focus {
  outline: none;
  border-color: var(--nfx-gold);
  box-shadow: 0 0 0 3px rgba(209, 187, 154, 0.18);
}
.nfx-ialert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.3rem;
  font-size: 0.97rem;
}
.nfx-ialert--ok { background: rgba(209, 187, 154, 0.1); border: 1px solid rgba(209, 187, 154, 0.4); color: var(--nfx-gold-bright); }
.nfx-ialert--err { background: var(--nfx-red-soft); border: 1px solid rgba(226, 59, 46, 0.5); color: #ff8c81; }

/* ---------- Fine print / meta row ------------------------------------ */
.nfx-inote { text-align: center; color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; margin-top: 1.6rem; }
.nfx-inote a { color: var(--nfx-gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ page: group headings --------------------------------- */
.nfx-igroup { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.nfx-igroup__title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--nfx-gold);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nfx-igroup__title i { font-size: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  .nfx-ihero__kicker, .nfx-ihero__title, .nfx-ihero__sub, .nfx-ihero__actions { animation: none; }
  .nfx-ihero__title .nfx-istrike::after { animation: none; transform: scaleX(1); }
  .nfx-icard { transition: none; }
}
