/*
  fitnnovätion — shared design system
  Matches funnel/landing/index.html brand CSS exactly.
  Self-hosted fonts only — no CDN dependency.
  Rules: no shadows, no gradients, no glow, no glassmorphism.
  Sentence case everywhere (uppercase only for .eyebrow mono labels).
  5% Signal Blue rule: one primary CTA per page, one active indicator, one accent rule.
*/

/* ---- @font-face ---------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- Custom properties --------------------------------------------------- */

:root {
  --obsidian:      #0A0E1A;
  --graphite:      #14182A;
  --bone:          #F6F4EF;
  --white:         #FFFFFF;
  --signal:        #1F58F0;
  --signal-300:    #6B9BFF;
  --signal-700:    #1A47C2;
  --stone:         #B8B2A4;
  --slate:         #6B7280;

  --hairline-dark:  rgba(184, 178, 164, 0.15);
  --hairline-light: rgba(10, 14, 26, 0.10);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --maxw:   1080px;
  --margin: 24px;
}

/* ---- Reset --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

/* ---- Base ---------------------------------------------------------------- */

body {
  font-family: var(--sans);
  background: var(--obsidian);
  color: var(--bone);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---- Layout -------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--margin);
  padding-right: var(--margin);
}

/* ---- Section rhythm: dark taller than light (≈1.4:1) -------------------- */

.sec-dark  {
  background: var(--obsidian);
  color: var(--bone);
  padding: clamp(80px, 14vw, 160px) 0;
}
.sec-light {
  background: var(--bone);
  color: var(--obsidian);
  padding: clamp(64px, 10vw, 112px) 0;
}

/* ---- Eyebrow label ------------------------------------------------------- */
/*
  Numbered mono eyebrow with mandatory 44px breathing room below.
  JetBrains Mono 11px, uppercase, 0.14em letter-spacing, Stone/Slate.
  Use: <span class="eyebrow">01 — SECTION NAME</span>
*/

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  display: block;
  margin-bottom: 44px;
}
.sec-light .eyebrow { color: var(--slate); }

/* ---- Type scale ---------------------------------------------------------- */
/*
  Display huge, body small, nothing in between.
  No 24px or 28px mid-sizes except the single .heading style at 28px in the app.
  On the web: hero ~78px, section head ~36px, subsection ~18px, body 15px.
*/

h1 {
  font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 4.875rem); /* up to 78px */
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 4.5vw, 2.25rem); /* up to 36px */
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---- Prose helpers ------------------------------------------------------- */

.lede {
  font-size: 15px;
  color: var(--stone);
  max-width: 460px;
  margin-top: 28px;
  line-height: 1.7;
}
.sec-light .lede { color: var(--slate); }

.body {
  font-size: 15px;
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.7;
}
.sec-light .body { color: #2a2f3d; }

.body + .body { margin-top: 16px; }

.meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.meta-row { margin-top: 16px; }

/* ---- Buttons ------------------------------------------------------------- */
/*
  .btn          — Signal Blue primary CTA (one per page)
  .btn-ghost    — no fill, Stone border, for secondary actions
*/

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  background: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 4px;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease;
  text-decoration: none;
}
.btn:hover { background: var(--signal-700); border-color: var(--signal-700); text-decoration: none; }

.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--stone);
  border-radius: 4px;
  padding: 13px 23px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 120ms ease, color 120ms ease;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--bone); color: var(--white); text-decoration: none; }
.sec-light .btn-ghost { color: var(--obsidian); border-color: var(--slate); }
.sec-light .btn-ghost:hover { border-color: var(--obsidian); color: var(--obsidian); }

/* ---- Editorial Signal Blue rule (brand accent) --------------------------- */

.rule {
  width: 36px;
  height: 1px;
  background: var(--signal);
  margin: 24px 0;
}

/* ---- Dividers ------------------------------------------------------------ */

.divider {
  border: none;
  border-top: 1px solid var(--hairline-dark);
  margin: 0;
}
.sec-light .divider, hr.divider-light {
  border-top-color: var(--hairline-light);
}

/* ---- Pillar / feature grid ----------------------------------------------- */

.grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 56px;
}

.item {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 20px;
}
.sec-light .item {
  border-top-color: var(--hairline-light);
}

.item .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
  text-transform: uppercase;
}
.sec-light .item .num { color: var(--slate); }

.item h3 {
  margin-top: 16px;
}

.item p {
  font-size: 13px;
  color: var(--stone);
  max-width: 320px;
  margin-top: 10px;
  line-height: 1.65;
}
.sec-light .item p { color: var(--slate); }

/* ---- Pull quote section -------------------------------------------------- */

.pull-quote {
  font-family: Georgia, 'Times New Roman', serif; /* Tiempos Headline fallback */
  font-size: clamp(1.4rem, 3.5vw, 2.1rem); /* 30–36px Scandinavian intimate range */
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.012em;
  max-width: 640px;
  color: var(--bone);
}
.sec-light .pull-quote { color: var(--obsidian); }

.pull-attr {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-top: 20px;
  display: block;
}
.sec-light .pull-attr { color: var(--slate); }

/* ---- Pricing cards ------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; /* hairline separation via gap on graphite bg */
  background: var(--hairline-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 48px;
}

.tier {
  background: var(--graphite);
  padding: 40px 32px 48px;
}
.tier.featured {
  background: var(--obsidian);
  border-top: 2px solid var(--signal);
}

.tier-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  display: block;
}

.tier-name {
  font-weight: 600;
  font-size: 18px;
  margin-top: 16px;
  color: var(--bone);
}

.tier-price {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--bone);
  margin-top: 24px;
  letter-spacing: -0.02em;
}
.tier-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: 0;
}

.tier-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}

.tier hr {
  border: none;
  border-top: 1px solid var(--hairline-dark);
  margin: 28px 0;
}

.tier ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier ul li {
  font-size: 13px;
  color: var(--stone);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.tier ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 1px;
  background: var(--stone);
}
.tier.featured ul li { color: var(--bone); }
.tier.featured ul li::before { background: var(--signal); }

.tier-cta { margin-top: 32px; }

/* ---- Flow sequence (numbered steps) -------------------------------------- */

.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  margin-top: 48px;
}

.flow-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 24px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline-dark);
}
.flow-step:last-child { border-bottom: 1px solid var(--hairline-dark); }

.flow-num {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--stone);
  line-height: 1;
  padding-top: 2px;
  letter-spacing: -0.02em;
}

.flow-content h3 { margin-bottom: 8px; color: var(--bone); }
.flow-content p  { font-size: 13px; color: var(--stone); line-height: 1.65; }

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

.nav {
  background: var(--obsidian);
  border-bottom: 1px solid var(--hairline-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.025em;
  color: var(--bone);
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--stone);
  text-decoration: none;
  transition: color 120ms ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--bone); }

.nav-cta {
  margin-left: 16px;
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--bone);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--stone);
  margin: 5px 0;
  transition: background 120ms;
}
.nav-toggle:hover span { background: var(--bone); }

.nav-mobile {
  display: none;
  background: var(--graphite);
  border-top: 1px solid var(--hairline-dark);
  padding: 24px var(--margin);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--stone);
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline-dark);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--bone); }
/* Signal Blue CTA row inside mobile menu — one blue element, matches 5% rule */
.nav-mobile a.nav-mobile-cta {
  color: var(--signal);
  border-bottom: none;
  margin-top: 8px;
}
.nav-mobile a.nav-mobile-cta:hover { color: var(--signal-300); }

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

.footer {
  background: var(--obsidian);
  border-top: 1px solid var(--hairline-dark);
  padding: 72px 0 56px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .wordmark { font-size: 18px; }
.footer-brand .rule { margin: 24px 0 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-bottom: 20px;
}
.footer-nav ul,
.footer-contact ul { list-style: none; }
.footer-nav li,
.footer-contact li { margin-bottom: 12px; }
.footer-nav a,
.footer-contact a {
  font-size: 13px;
  color: var(--stone);
  text-decoration: none;
  transition: color 120ms;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--bone); }

.footer-bottom {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 24px var(--margin) 0;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Credential badges --------------------------------------------------- */

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.cred {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  border: 1px solid var(--hairline-dark);
  border-radius: 4px;
  padding: 6px 12px;
}
.sec-light .cred {
  color: var(--slate);
  border-color: var(--hairline-light);
}

/* ---- Inline link --------------------------------------------------------- */

.inline-link {
  color: var(--signal-300);
  text-decoration: underline;
  text-decoration-color: rgba(107, 155, 255, 0.4);
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--bone); text-decoration-color: var(--stone); }

/* ---- Utility ------------------------------------------------------------- */

.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }

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

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
    column-gap: 0;
  }
  .eyebrow { margin-bottom: 32px; }
  h1 { max-width: 100%; }
  h2 { max-width: 100%; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root { --margin: 20px; }
  .tier { padding: 32px 24px 40px; }
}

/* FITN-PHOTO-FILL */
.photo-slot,.hero-image-placeholder{position:relative !important;overflow:hidden !important}
