/* ==========================================================================
   NutraMentorr — Performance Nutrition Consulting
   Theme: Deep green-black + pale lime
   Layout language: EDITORIAL LEDGER — hairline rules, numbered index rails,
   full-width rows, flush panels. No floating card grids.
   ==========================================================================
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout helpers
   05. Buttons
   06. Header / navigation
   07. Hero
   08. Section shell + index rail
   09. Index rows (services / process / criteria)
   10. Ledger stats
   11. Figure bands & offset panels
   12. Pricing strip
   13. Quote marquee
   14. Editorial blog rows
   15. Article (blog detail)
   16. Calculators
   17. Forms
   18. Modal
   19. Cookie consent
   20. FAQ ledger
   21. Legal / doc pages
   22. Footer
   23. Utilities & animations
   24. Responsive
   ========================================================================== */

/* ---------- 01. DESIGN TOKENS ---------- */
:root {
  --bg: #122023;
  --bg-2: #17282b;
  --bg-3: #1e3236;
  --bg-4: #274045;
  --lime: #e1fcad;
  --lime-600: #cdf182;
  --lime-ink: #122023;
  --lime-glow: rgba(225, 252, 173, 0.18);
  --white: #ffffff;
  --grey: #7d8f8c;
  --muted: #a6b5b0;
  --muted-2: #d2dcd6;

  --light: #f5f7f1;
  --light-2: #ffffff;
  --ink: #122023;
  --ink-2: #3d4a48;

  --success: #4ade80;
  --error: #f87171;

  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-xs: 3px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  --container: 1240px;
  --gutter: 26px;
  --rail: 230px;
  --rail-gap: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 02. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--muted-2);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: var(--lime); color: var(--lime-ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 12px 20px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 03. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 600; }
.lime { color: var(--lime); }

/* Monospaced index numerals — a signature of this layout */
.mono {
  font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

/* ---------- 04. LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center { text-align: center; }
.hidden { display: none !important; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 46px; }

/* ---------- 05. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: var(--lime-600); }

.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 0.86rem; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }

.btn-arrow::after { content: "↗"; transition: transform 0.25s var(--ease); }
.btn-arrow:hover::after { transform: translate(3px, -3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.link-arrow::after { content: "↗"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translate(3px, -3px); }

/* ---------- 06. HEADER / NAVIGATION ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(18, 32, 35, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(18, 32, 35, 0.96);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--white);
  letter-spacing: -0.035em;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--lime-ink);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.logo span { color: var(--lime); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted-2);
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--lime); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }
.nav-links .mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  place-items: center;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); position: relative; transition: background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--white);
  transition: transform 0.28s var(--ease), top 0.28s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 07. HERO (unchanged design) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.03);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translateY(0); }
  to { transform: scale(1.1) translateY(-14px); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(18, 32, 35, 0.97) 0%,
      rgba(18, 32, 35, 0.9) 22%,
      rgba(18, 32, 35, 0.55) 52%,
      rgba(18, 32, 35, 0.4) 78%,
      rgba(18, 32, 35, 0.72) 100%),
    radial-gradient(760px 420px at 88% 18%, rgba(225, 252, 173, 0.14), transparent 65%);
}

.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 168px; padding-bottom: 84px; }

.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }

.hero-lead-col { flex: 1 1 640px; min-width: 0; max-width: 740px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(225, 252, 173, 0.12);
  border: 1px solid rgba(225, 252, 173, 0.32);
  color: var(--lime);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(225, 252, 173, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(225, 252, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 252, 173, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--lime); }

.hero-lead {
  font-size: 1.14rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 26px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat .num span { color: var(--lime); }
.hero-stat .label { font-size: 0.78rem; line-height: 1.45; color: rgba(255, 255, 255, 0.62); margin-top: 7px; }

.hero-side {
  flex: 0 0 auto;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 4px;
}

.avatar-row { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.avatar-stack { display: flex; }

.avatar-stack .av {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--lime);
  background: var(--bg-3);
  margin-left: -13px;
  filter: grayscale(1);
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack:hover .av { filter: grayscale(0); }
.avatar-stack .av:hover { transform: translateY(-5px); }
.avatar-stack .av img { width: 100%; height: 100%; object-fit: cover; }
.avatar-stack .img-fallback::after { content: ""; }

.avatar-meta .n { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--white); line-height: 1.15; }
.avatar-meta .l { font-size: 0.84rem; color: rgba(255, 255, 255, 0.62); }

.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }

.btn-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.btn-pill .lab {
  flex: 1;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 17px 30px;
  border-radius: var(--r-pill);
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  white-space: nowrap;
  text-align: center;
}

.btn-pill .ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  overflow: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  flex-shrink: 0;
}
.btn-pill .ico span { position: absolute; font-size: 1.28rem; line-height: 1; transition: transform 0.5s var(--ease); }
.btn-pill .ico .a1 { transform: translate(0, 0); }
.btn-pill .ico .a2 { transform: translate(-135%, 135%); }
.btn-pill:hover .lab, .btn-pill:hover .ico { background: var(--bg-3); color: var(--lime); }
.btn-pill:hover .ico .a1 { transform: translate(135%, -135%); }
.btn-pill:hover .ico .a2 { transform: translate(0, 0); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-hero-ghost:hover { border-color: var(--lime); color: var(--lime); background: rgba(225, 252, 173, 0.08); }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-head);
}
.hero-scroll .line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, transparent, var(--lime));
  animation: scrollHint 1.9s var(--ease) infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- 08. SECTION SHELL + INDEX RAIL ---------- */
.sec {
  padding: 104px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.sec-tight { padding: 68px 0; }
.sec-flat { border-top: 0; }
.sec-fill { background: var(--bg-2); }
.sec-light { background: var(--light); color: var(--ink-2); }
.sec-light h1, .sec-light h2, .sec-light h3, .sec-light h4 { color: var(--ink); }
.sec-light strong { color: var(--ink); }

/* Two-column shell: sticky numbered rail + content */
.rail-grid {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  gap: var(--rail-gap);
  align-items: start;
}

.rail {
  position: sticky;
  top: 108px;
}

.rail-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--lime);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.rail-note {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}
.sec-light .rail-num { color: #5c7d12; border-bottom-color: rgba(18, 32, 35, 0.12); }
.sec-light .rail-note { color: #6d7a72; }

.rail-head h2 { margin-bottom: 18px; text-wrap: balance; }
.rail-head .lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 660px;
}
.sec-light .rail-head .lead { color: var(--ink-2); }
.rail-head { margin-bottom: 52px; }

/* Page banner (interior pages) */
.page-banner {
  position: relative;
  padding: 158px 0 68px;
  background: var(--bg);
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 340px at 82% 0%, rgba(225, 252, 173, 0.11), transparent 66%);
}
.banner-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  gap: var(--rail-gap);
  align-items: end;
}
.page-banner h1 { margin-bottom: 16px; }
.page-banner .lead { color: var(--muted); font-size: 1.06rem; max-width: 660px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { opacity: 0.45; }
.breadcrumb .current { color: var(--lime); }

/* ---------- 09. INDEX ROWS ---------- */
.idx-list { border-top: 1px solid var(--line); }

.idx-row {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1.05fr) minmax(0, 1fr) 44px;
  gap: 28px;
  align-items: start;
  padding: 30px 18px 30px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.idx-row::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width 0.5s var(--ease);
}
.idx-row:hover::before { width: 100%; }

.idx-row:hover { background: rgba(225, 252, 173, 0.045); padding-left: 18px; }

.idx-n {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}
.idx-row:hover .idx-n { color: var(--lime); }

.idx-main h3 { margin-bottom: 10px; }
.idx-main p { font-size: 0.95rem; color: var(--muted); }

.idx-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.idx-tags li {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.idx-row:hover .idx-tags li { border-color: rgba(225, 252, 173, 0.35); color: var(--muted-2); }

.idx-go {
  align-self: center;
  justify-self: end;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1rem;
  transition: all 0.35s var(--ease);
}
.idx-row:hover .idx-go { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: rotate(45deg); }

/* Compact two-up variant (criteria lists) */
.idx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.idx-split .col-head {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.idx-split .col-head.warn { color: #f0c674; }
.tick-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--muted);
}
.tick-row .m { color: var(--lime); font-size: 0.85rem; padding-top: 3px; flex-shrink: 0; }
.tick-row.warn .m { color: #f0c674; }

/* Definition rows (about / process) */
.def-list { border-top: 1px solid var(--line); }
.def-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.def-row h3 { font-size: 1.12rem; margin-bottom: 8px; }
.def-row p { font-size: 0.94rem; color: var(--muted); }

/* ---------- 10. LEDGER STATS ---------- */
.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.led {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}
.led:last-child { border-right: 0; }
.led:hover { background: rgba(225, 252, 173, 0.05); }

.led .k {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-bottom: 16px;
}
.led .v {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
}
.led .l { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 10px; }

/* Credential strip */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cred-strip .item {
  flex: 1 1 200px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 11px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.cred-strip .item:last-child { border-right: 0; }
.cred-strip .item:hover { color: var(--muted-2); background: rgba(225, 252, 173, 0.04); }
.cred-strip .item .m { color: var(--lime); }

/* ---------- 11. FIGURE BANDS & OFFSET PANELS ---------- */
.figure-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.fb-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: var(--bg-3);
}
.fb-media img { width: 100%; height: 100%; object-fit: cover; }
.fb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 32, 35, 0.94) 0%, rgba(18, 32, 35, 0.7) 42%, rgba(18, 32, 35, 0.15) 100%);
}

.fb-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.fb-panel { max-width: 560px; padding-right: 40px; }
.fb-panel h2 { margin-bottom: 16px; }
.fb-panel p { color: var(--muted-2); }

/* Offset two-column: image + hairline list */
.offset {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: stretch;
}
.offset-media { position: relative; overflow: hidden; background: var(--bg-3); min-height: 440px; }
.offset-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.offset-body { padding: 54px 0 54px 56px; display: flex; flex-direction: column; justify-content: center; }
.offset.flip .offset-media { order: 2; }
.offset.flip .offset-body { padding: 54px 56px 54px 0; }

.rule-list { border-top: 1px solid var(--line); margin-top: 26px; }
.rule-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.rule-list .m { color: var(--lime); font-size: 0.8rem; padding-top: 4px; font-family: var(--font-head); }
.rule-list b { color: var(--white); display: block; font-weight: 600; margin-bottom: 3px; }
.sec-light .rule-list b { color: var(--ink); }

/* ---------- 12. PRICING STRIP ---------- */
.plan-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.plan {
  padding: 40px 34px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background 0.4s var(--ease);
}
.plan:last-child { border-right: 0; }
.plan:hover { background: rgba(225, 252, 173, 0.04); }

.plan.is-featured {
  background: var(--lime);
  color: #2b3a24;
}
.plan.is-featured:hover { background: var(--lime); }
.plan.is-featured h3,
.plan.is-featured .plan-price .v { color: var(--lime-ink); }
.plan.is-featured .plan-desc,
.plan.is-featured .plan-price .per,
.plan.is-featured .plan-feat li { color: #33472c; }
.plan.is-featured .plan-tag { background: var(--lime-ink); color: var(--lime); }
.plan.is-featured .plan-price,
.plan.is-featured .plan-feat li { border-color: rgba(18, 32, 35, 0.16); }
.plan.is-featured .plan-feat li::before { color: var(--lime-ink); }

.plan-tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(225, 252, 173, 0.15);
  color: var(--lime);
  margin-bottom: 18px;
}
.plan-tag.ghost { background: transparent; border: 1px solid var(--line); color: var(--grey); }

.plan h3 { font-size: 1.22rem; margin-bottom: 8px; }
.plan-desc { font-size: 0.9rem; color: var(--grey); margin-bottom: 26px; min-height: 46px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.plan-price .cur { font-size: 1.2rem; color: var(--muted); font-weight: 600; }
.plan-price .v {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.045em;
}
.plan-price .per { font-size: 0.86rem; color: var(--grey); }

.plan-feat { flex-grow: 1; margin-bottom: 30px; }
.plan-feat li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.plan-feat li:last-child { border-bottom: 0; }
.plan-feat li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.plan-feat li.off { color: #5b6b68; }
.plan-feat li.off::before { content: "–"; color: #5b6b68; }

.plan-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--grey);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.plan-note span { display: inline-flex; align-items: center; gap: 8px; }
.plan-note .m { color: var(--lime); }

/* Add-on rows */
.addon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.addon-row:first-child { border-top: 1px solid var(--line); }
.addon-row:hover { background: rgba(225, 252, 173, 0.04); padding-left: 16px; }
.addon-row h3 { font-size: 1.08rem; margin-bottom: 5px; }
.addon-row p { font-size: 0.92rem; color: var(--muted); }
.addon-price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--lime);
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.addon-price small { font-size: 0.78rem; color: var(--grey); font-weight: 500; display: block; letter-spacing: 0; }

/* ---------- 13. QUOTE MARQUEE ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 54s; }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.quote {
  flex: 0 0 420px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease);
}
.sec-fill .quote { background: var(--bg-3); }
.quote:hover { border-color: rgba(225, 252, 173, 0.34); }
.quote .stars { color: var(--lime); letter-spacing: 3px; font-size: 0.82rem; margin-bottom: 14px; }
.quote blockquote { font-size: 0.96rem; color: var(--muted-2); line-height: 1.7; flex-grow: 1; margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote .who .in {
  width: 38px; height: 38px;
  border: 1px solid rgba(225, 252, 173, 0.35);
  color: var(--lime);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.quote .who .n { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.quote .who .r { font-size: 0.78rem; color: var(--grey); }

/* ---------- 14. EDITORIAL BLOG ROWS ---------- */
.ed-list { border-top: 1px solid var(--line); }

.ed-row {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 46px;
  gap: 34px;
  align-items: center;
  padding: 26px 14px 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.ed-row:hover { background: rgba(225, 252, 173, 0.045); padding-left: 16px; }

.ed-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: var(--r-sm);
}
.ed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.ed-row:hover .ed-thumb img { transform: scale(1.07); }

.ed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-head);
  font-size: 0.71rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 11px;
}
.ed-meta .cat { color: var(--lime); }

.ed-row h3 { font-size: 1.3rem; margin-bottom: 9px; line-height: 1.28; transition: color 0.3s var(--ease); }
.ed-row:hover h3 { color: var(--lime); }
.ed-row p { font-size: 0.93rem; color: var(--muted); max-width: 720px; }

.ed-go {
  justify-self: end;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.ed-row:hover .ed-go { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: rotate(45deg); }

/* Featured lead article */
.ed-lead {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 46px;
  transition: border-color 0.35s var(--ease);
}
.ed-lead:hover { border-color: rgba(225, 252, 173, 0.34); }
.ed-lead .shot { position: relative; overflow: hidden; min-height: 340px; background: var(--bg-3); }
.ed-lead .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ed-lead:hover .shot img { transform: scale(1.05); }
.ed-lead .flag {
  position: absolute;
  z-index: 2;
  left: 0; top: 22px;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px;
}
.ed-lead .body { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.ed-lead .body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; line-height: 1.16; }
.ed-lead .body p { font-size: 1rem; color: var(--muted); margin-bottom: 26px; }

/* Toolbar + filters */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
}

.blog-search { position: relative; flex: 1 1 260px; max-width: 330px; }
.blog-search input {
  width: 100%;
  padding: 13px 16px 13px 40px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.25s;
}
.blog-search input:focus { border-bottom-color: var(--lime); outline: none; }
.blog-search .ico { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--grey); font-size: 0.9rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 17px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.chip:hover { color: var(--white); border-color: var(--line-strong); }
.chip.active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 600; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-grid; place-items: center;
  transition: all 0.25s var(--ease);
}
.page-btn:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.page-btn.active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.empty-state { text-align: center; padding: 72px 24px; color: var(--grey); border-bottom: 1px solid var(--line); }
.empty-state .big { font-size: 2.6rem; margin-bottom: 14px; opacity: 0.5; }
.empty-state h3 { margin-bottom: 8px; }

/* ---------- 15. ARTICLE (blog detail) ---------- */
.article-hero { padding: 150px 0 0; background: var(--bg); }
.article-head { max-width: 880px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 16px 0 22px; line-height: 1.05; }
.article-head .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-cat {
  display: inline-block;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
}

.article-cover { margin-top: 44px; }
.article-cover .frame { aspect-ratio: 21 / 9; overflow: hidden; background: var(--bg-3); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-wrap { background: var(--light); padding: 76px 0 88px; }

.article-layout {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: var(--rail-gap);
  align-items: start;
}
.article-side { position: sticky; top: 108px; }
.article-side .lbl {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5c7d12;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18, 32, 35, 0.14);
  margin-bottom: 16px;
  display: block;
}

.article-body { color: #3d4a48; font-size: 1.06rem; line-height: 1.82; max-width: 760px; }
.article-body h2 { color: var(--ink); font-size: 1.65rem; margin: 44px 0 16px; }
.article-body h3 { color: var(--ink); font-size: 1.24rem; margin: 32px 0 12px; }
.article-body p { margin-bottom: 19px; }
.article-body strong { color: var(--ink); }
.article-body a { color: #4c7a00; font-weight: 600; text-decoration: underline; }

.article-body ul, .article-body ol { margin: 0 0 22px; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 7px; height: 7px; background: #8ab516;
}
.article-body ol { counter-reset: li; }
.article-body ol li::before {
  counter-increment: li; content: counter(li, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--font-head); font-size: 0.76rem; font-weight: 700; color: #5c7d12;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 22px 0 22px 26px;
  border-left: 2px solid #a8d62f;
  font-size: 1.12rem;
  color: var(--ink);
  font-style: italic;
}

.article-body .callout {
  margin: 32px 0;
  padding: 26px 28px;
  background: var(--ink);
  color: var(--muted-2);
}
.article-body .callout h4 { color: var(--lime); margin-bottom: 9px; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.article-body .callout p { margin-bottom: 0; }

.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 0.94rem; }
.article-body th {
  background: var(--ink); color: #fff; text-align: left;
  padding: 13px 16px; font-family: var(--font-head); font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.article-body td { padding: 12px 16px; border-bottom: 1px solid #dfe4d9; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; padding-top: 26px; border-top: 1px solid #dfe4d9; }
.tag-pill { padding: 6px 14px; border: 1px solid #d5dcc9; color: #566052; font-size: 0.8rem; border-radius: var(--r-pill); }

.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 30px; padding: 26px 0; border-top: 1px solid #dfe4d9; border-bottom: 1px solid #dfe4d9;
}
.author-box .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.author-box h4 { color: var(--ink); margin-bottom: 3px; }
.author-box .role { font-size: 0.83rem; color: #7c8877; margin-bottom: 9px; }
.author-box p { font-size: 0.93rem; color: var(--ink-2); }

.share-row { display: flex; align-items: center; gap: 11px; margin-top: 26px; flex-wrap: wrap; }
.share-row .lab {
  font-family: var(--font-head); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: #7c8877;
}
.share-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #d5dcc9; display: grid; place-items: center;
  color: var(--ink-2); transition: all 0.25s var(--ease); font-size: 0.88rem;
}
.share-btn:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); }

.article-cta { margin-top: 34px; padding: 34px; background: var(--ink); }
.article-cta h3 { color: #fff; margin-bottom: 10px; }
.article-cta p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }

/* ---------- 16. CALCULATORS ---------- */
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.calc-tab {
  flex: 1 1 auto;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  border-right: 1px solid var(--line);
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.calc-tab:last-child { border-right: 0; }
.calc-tab::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 2px; background: var(--lime);
  transform: scaleX(0); transition: transform 0.35s var(--ease);
}
.calc-tab:hover { color: var(--muted-2); background: rgba(225, 252, 173, 0.04); }
.calc-tab.active { color: var(--lime); }
.calc-tab.active::after { transform: scaleX(1); }

.calc-panel { display: none; }
.calc-panel.active { display: block; animation: fadeUp 0.4s var(--ease); }

.calc-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid var(--line);
}

.calc-form { padding: 40px; border-right: 1px solid var(--line); }
.calc-form h3 { font-size: 1.28rem; margin-bottom: 6px; }
.calc-form .hint { font-size: 0.88rem; color: var(--grey); margin-bottom: 24px; }

.calc-result {
  padding: 40px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-empty { text-align: center; color: var(--grey); }
.result-empty .big { font-size: 2.4rem; margin-bottom: 14px; opacity: 0.5; }

.result-main { margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.result-main .value {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 3.7rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.045em;
}
.result-main .unit { font-size: 0.95rem; color: var(--muted); margin-top: 8px; }
.result-main .tag {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 15px;
  border: 1px solid rgba(225, 252, 173, 0.35);
  color: var(--lime);
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-rows { display: block; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.result-row .k { color: var(--muted); }
.result-row .v { font-family: var(--font-head); font-weight: 700; color: var(--white); }
.result-row.hi .v { color: var(--lime); }

.macro-bars { display: grid; gap: 16px; margin-top: 4px; }
.macro-item .top { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 8px; }
.macro-item .top b { color: var(--white); font-family: var(--font-head); }
.macro-track { height: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.macro-fill { height: 100%; background: var(--lime); width: 0; transition: width 0.7s var(--ease); }
.macro-fill.c { background: #7dd3fc; }
.macro-fill.f { background: #fbbf24; }

.calc-disclaimer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--grey);
}

.unit-switch { display: inline-flex; border: 1px solid var(--line); margin-bottom: 22px; }
.unit-switch button {
  padding: 9px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  transition: background 0.2s, color 0.2s;
}
.unit-switch button.active { background: var(--lime); color: var(--lime-ink); }

/* ---------- 17. FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
}
.field label .req { color: var(--lime); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  color: var(--white);
  font-size: 0.97rem;
  transition: border-color 0.22s var(--ease);
  border-radius: 0;
}

.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: #5f716e; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--lime);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 14 9'%3E%3Cpath fill='%23a6b5b0' d='M7 9 0 2l2-2 5 5 5-5 2 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}
.field select option { background: var(--bg-3); color: var(--white); }
.field input[type="date"], .field input[type="time"] { color-scheme: dark; cursor: pointer; }

.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: var(--error); }
.field-error { display: none; font-size: 0.78rem; color: var(--error); }
.field.invalid .field-error { display: block; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.22s var(--ease);
}
.consent.invalid { border-color: var(--error); }

.consent input[type="checkbox"] {
  appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.consent input[type="checkbox"]:checked { background: var(--lime); border-color: var(--lime); }
.consent input[type="checkbox"]:checked::after {
  content: "✓"; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--lime-ink); font-size: 0.8rem; font-weight: 700;
}
.consent label { font-size: 0.86rem; color: var(--muted); line-height: 1.6; cursor: pointer; }
.consent a { color: var(--lime); text-decoration: underline; }

.form-note { font-size: 0.8rem; color: var(--grey); margin-top: 16px; }

.form-success {
  display: none;
  padding: 44px 0;
  border-top: 2px solid var(--success);
  animation: fadeUp 0.5s var(--ease);
}
.form-success.show { display: block; }
.form-success .tick-circle {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--success); color: #06240f;
  display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 20px;
  animation: popIn 0.45s var(--ease);
}
.form-success h3 { color: var(--success); margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 460px; }
.form-success .ref {
  display: inline-block; margin-top: 18px;
  padding: 8px 16px; border: 1px solid var(--line);
  font-family: var(--font-head); font-size: 0.82rem;
  color: var(--muted-2); letter-spacing: 0.06em;
}

@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.form-card { border: 1px solid var(--line); padding: 42px; background: var(--bg-2); }

/* Contact info ledger */
.info-list { border-top: 1px solid var(--line); }
.info-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.info-item .k {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  padding-top: 3px;
}
.info-item .v { font-size: 0.96rem; color: var(--muted-2); }
.info-item .v a { transition: color 0.2s; }
.info-item .v a:hover { color: var(--lime); }

/* ---------- 18. MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 500;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 14, 15, 0.86);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: fadeIn 0.28s var(--ease);
}

.modal-box {
  position: relative; z-index: 2;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  padding: 42px;
  animation: modalIn 0.38s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid; place-items: center;
  font-size: 1.05rem;
  transition: all 0.25s var(--ease);
  z-index: 3;
}
.modal-close:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }

.modal-head { margin-bottom: 28px; padding: 0 44px 22px 0; border-bottom: 1px solid var(--line); }
.modal-head .lbl {
  font-family: var(--font-head); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lime); display: block; margin-bottom: 12px;
}
.modal-head h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-head p { color: var(--muted); font-size: 0.92rem; }

.modal-box::-webkit-scrollbar { width: 7px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: var(--bg-4); }

/* ---------- 19. COOKIE CONSENT ---------- */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: rgba(23, 40, 43, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-strong);
  padding: 20px 0;
  display: none;
}
.cookie-bar.show { display: block; animation: slideUp 0.5s var(--ease); }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-inner { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.cookie-bar .ico { font-size: 1.4rem; flex-shrink: 0; }
.cookie-text { flex: 1 1 340px; }
.cookie-text h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; font-family: var(--font-head); }
.cookie-text p { font-size: 0.87rem; color: var(--muted); }
.cookie-text a { color: var(--lime); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 20. FAQ LEDGER ---------- */
.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); transition: background 0.3s var(--ease); }
.faq-item.open { background: rgba(225, 252, 173, 0.045); }

.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 62px 1fr 34px;
  gap: 24px;
  align-items: center;
  padding: 24px 6px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  transition: color 0.25s;
}
.faq-q:hover { color: var(--lime); }

.faq-q .qn {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s;
}
.faq-item.open .faq-q .qn { color: var(--lime); }

.faq-icon {
  justify-self: end;
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--lime);
  font-size: 1rem;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.42s var(--ease); }
.faq-a .inner {
  padding: 0 60px 26px 92px;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-a a { color: var(--lime); text-decoration: underline; }

/* ---------- 21. LEGAL / DOC PAGES ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 60px;
  align-items: start;
}

.doc-nav { position: sticky; top: 108px; border-top: 1px solid var(--line); padding-top: 20px; }
.doc-nav h4 {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 14px;
}
.doc-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.86rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
}
.doc-nav a:hover { color: var(--lime); padding-left: 7px; }

.doc-content { max-width: 780px; }
.doc-content h2 { font-size: 1.4rem; margin: 44px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc-content h2:first-of-type { margin-top: 0; }
.doc-content h3 { font-size: 1.08rem; margin: 26px 0 11px; }
.doc-content p { color: var(--muted); margin-bottom: 15px; }
.doc-content ul { margin-bottom: 20px; }
.doc-content ul li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.95rem;
}
.doc-content ul li::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 6px; height: 1px; background: var(--lime);
}
.doc-content a { color: var(--lime); text-decoration: underline; }

.doc-updated {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(225, 252, 173, 0.28);
  color: var(--lime);
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 34px;
}

.notice-box {
  padding: 24px 26px;
  background: var(--bg-2);
  border-left: 2px solid var(--lime);
  margin: 24px 0;
}
.notice-box h4 { margin-bottom: 9px; color: var(--lime); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.notice-box p { margin-bottom: 0; font-size: 0.94rem; }
.notice-box p + p { margin-top: 10px; }

/* ---------- 22. FOOTER ---------- */
.cta-band {
  position: relative;
  padding: 78px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 18% 50%, rgba(225, 252, 173, 0.12), transparent 66%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: var(--rail) 1fr auto;
  gap: var(--rail-gap);
  align-items: center;
}
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner p { color: var(--muted); max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: var(--bg); }

.footer-mark {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--line);
}
.footer-word {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--white);
}
.footer-word span { color: var(--lime); }
.footer-tag {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: right;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 0;
}
.footer-col {
  padding: 40px 34px 44px 0;
  border-right: 1px solid var(--line);
}
.footer-col:last-child { border-right: 0; padding-right: 0; }
.footer-col:not(:first-child) { padding-left: 34px; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.footer-col p { font-size: 0.9rem; color: var(--grey); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
  display: inline-block;
}
.footer-col ul a:hover { color: var(--lime); padding-left: 5px; }

.footer-contact li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 13px;
  align-items: start;
}
.footer-contact .k {
  font-family: var(--font-head);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.footer-contact a:hover { color: var(--lime); padding-left: 0; }

.social-row { display: flex; gap: 8px; }
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid; place-items: center;
  font-size: 0.82rem;
  font-family: var(--font-head);
  transition: all 0.28s var(--ease);
}
.social-btn:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.83rem; color: var(--grey); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { font-size: 0.83rem; color: var(--grey); transition: color 0.2s; }
.footer-legal a:hover { color: var(--lime); }

.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  font-size: 0.78rem;
  color: #64756f;
  line-height: 1.7;
  max-width: 940px;
}
.footer-disclaimer a { color: #8ea08c; text-decoration: underline; }

/* ---------- 23. UTILITIES & ANIMATIONS ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center; font-size: 1.05rem;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

.img-fallback {
  background: linear-gradient(135deg, #1e3236 0%, #122023 60%, #26361a 100%) !important;
  position: relative;
}
.img-fallback::after {
  content: "NUTRAMENTORR";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: rgba(225, 252, 173, 0.32);
}

/* ---------- 24. RESPONSIVE ---------- */
@media (max-width: 1120px) {
  :root { --rail: 180px; --rail-gap: 44px; }

  .ed-lead { grid-template-columns: 1fr; }
  .ed-lead .shot { min-height: 0; aspect-ratio: 16 / 8; }
  .ed-lead .shot img { position: static; }
  .ed-lead .body { padding: 32px 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(2) { border-right: 0; }
  .footer-col:nth-child(3) { padding-left: 0; }
  .footer-col:nth-child(3), .footer-col:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-col:nth-child(4) { padding-left: 34px; }
}

@media (max-width: 1000px) {
  .rail-grid, .banner-grid, .cta-inner, .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .rail, .article-side { position: static; }
  .rail-num { display: inline-block; border-bottom: 0; padding-bottom: 0; margin-bottom: 8px; }
  .rail-note { display: none; }
  .cta-inner { gap: 26px; }

  .offset { grid-template-columns: 1fr; }
  .offset-media { min-height: 0; aspect-ratio: 16 / 9; }
  .offset-media img { position: static; }
  .offset-body, .offset.flip .offset-body { padding: 40px 0 10px; }
  .offset.flip .offset-media { order: 0; }

  .fb-media { aspect-ratio: 16 / 11; }
  .fb-media::after { background: linear-gradient(to top, rgba(18, 32, 35, 0.96) 12%, rgba(18, 32, 35, 0.5) 70%); }
  .fb-layer { align-items: flex-end; padding-bottom: 34px; }
  .fb-panel { padding-right: 24px; }

  .plan-strip { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }

  .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .doc-nav { position: static; }

  .ledger { grid-template-columns: repeat(2, 1fr); }
  .led:nth-child(2n) { border-right: 0; }
  .led:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 24px;
    transform: translateY(-130%);
    opacity: 0; visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 15px 4px; font-size: 1rem; display: block; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-links .mobile-cta { display: block; border-bottom: 0; margin-top: 16px; }

  .hero-row { flex-direction: column; align-items: flex-start; gap: 44px; }
  .hero-lead-col { max-width: 100%; }
  .hero-side { width: 100%; }

  .calc-shell { grid-template-columns: 1fr; }
  .calc-form { border-right: 0; border-bottom: 1px solid var(--line); }

  .idx-row { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
  .idx-tags { grid-column: 2; padding-top: 14px; }
  .idx-go { display: none; }

  .ed-row { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; }
  .ed-go { display: none; }

  .idx-split { grid-template-columns: 1fr; gap: 0; }
  .idx-split > div:last-child { margin-top: 38px; }

  .article-cover .frame { aspect-ratio: 16 / 9; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }

  .sec { padding: 64px 0; }
  .sec-tight { padding: 48px 0; }

  .hero { min-height: auto; }
  .hero-content { padding-top: 132px; padding-bottom: 68px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-stat .num { font-size: 1.55rem; }
  .hero-scroll { display: none; }
  .btn-pill { width: 100%; }
  .avatar-stack .av { width: 42px; height: 42px; }

  .page-banner { padding: 126px 0 48px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; border-left: 0; border-right: 0; }
  .modal-box { padding: 28px 20px; }
  .calc-form, .calc-result { padding: 26px 20px; }

  .rail-head { margin-bottom: 34px; }

  .ledger { grid-template-columns: 1fr; }
  .led { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .led:last-child { border-bottom: 0; }

  .cred-strip .item { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .cred-strip .item:last-child { border-bottom: 0; }

  .ed-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .ed-row:hover { padding-left: 0; }
  .ed-thumb { aspect-ratio: 16 / 9; }
  .idx-row { padding: 24px 0; }
  .idx-row:hover { padding-left: 0; }
  .addon-row { grid-template-columns: 1fr; gap: 14px; }
  .addon-row:hover { padding-left: 0; }

  .quote { flex-basis: 300px; padding: 22px; }

  .faq-q { grid-template-columns: 40px 1fr 28px; gap: 14px; font-size: 0.98rem; padding: 20px 0; }
  .faq-a .inner { padding: 0 0 22px 54px; }

  .plan { padding: 30px 22px; }
  .info-item { grid-template-columns: 1fr; gap: 8px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { border-right: 0 !important; padding: 30px 0 !important; border-top: 1px solid var(--line); }
  .footer-col:first-child { border-top: 0; }
  .footer-bottom { justify-content: flex-start; }

  .btn { width: 100%; }
  .btn-sm, .page-btn, .chip, .calc-tab, .unit-switch button { width: auto; }
  .calc-tab { flex: 1 1 45%; border-bottom: 1px solid var(--line); }

  .to-top { right: 14px; bottom: 92px; width: 42px; height: 42px; }
  .article-wrap { padding: 56px 0 64px; }
  .article-body { font-size: 1.01rem; }
  .author-box { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .site-footer, .cookie-bar, .to-top, .modal, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
