
/* =========================================================   Nooganics — modernized site styles   Shared across: index, about, drive, steady, clarity,   metabolic, blog   ========================================================= */
*, *::before, *::after  {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root  {

  /* Neutrals (warm, low saturation) */
    --bg: #FBF9F5;
  --bg-2: #F4F1EA;
  --bg-3: #EDE8DD;
  --ink: #121210;
  --ink-2: #2A2A26;
  --muted: #6A6860;
  --faint: #A5A197;
  --line: rgba(18,18,16,0.08);
  --line-strong: rgba(18,18,16,0.14);
  --cream: #FBF9F5;
  
  /* Pack colors */
    --drive-50: #FFF3E0;
  --drive-100: #FCE1BC;
  --drive-500: #EF8A1A;
  --drive-700: #8F4A06;
  --drive-900: #3E1F02;
  --steady-50: #EDF5DF;
  --steady-100: #D5E6B7;
  --steady-500: #5F9018;
  --steady-700: #36610C;
  --steady-900: #132C02;
  --clarity-50: #EEF1FF;
  --clarity-100: #D0D7FE;
  --clarity-500: #4B5FCB;
  --clarity-700: #2E3FA3;
  --clarity-900: #101A55;
  --metabolic-50: #E4F4F1;
  --metabolic-100: #BEE4DD;
  --metabolic-500: #17A18F;
  --metabolic-700: #0A7163;
  --metabolic-900: #042D27;
  
  /* Typography */
    --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  
  /* Radii & shadow */
    --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(18,18,16,0.04), 0 4px 14px rgba(18,18,16,0.04);
  --shadow-md: 0 2px 4px rgba(18,18,16,0.04), 0 14px 40px rgba(18,18,16,0.07);
  --shadow-lg: 0 30px 80px rgba(18,18,16,0.10);
  
  /* Layout */
    --max: 1240px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
}
html  {
  scroll-behavior: smooth;
}
body  {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img  {
  max-width: 100%;
  display: block;
}
a  {
  color: inherit;
}
button  {
  font: inherit;
}

/* ---------- Announcement bar ---------- */
.ann  {
  background: var(--ink);
  color: #F5F1E8;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.55rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
  z-index: 60;
  text-align: center;
}
.ann .dot  {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4F26A;
  box-shadow: 0 0 0 3px rgba(196,242,106,0.18);
  display: inline-block;
}
.ann a  {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,241,232,0.35);
}
.ann strong  {
  font-weight: 700;
}
@media (max-width: 640px)  {
  .ann .ann-sep  {
    display: none;
  }
  .ann  {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
  }
}

/* ---------- Nav ---------- */
.nav  {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,249,245,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner  {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo  {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo-mark  {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background:    conic-gradient(from 45deg, var(--drive-500) 0 25%, var(--steady-500) 0 50%, var(--clarity-500) 0 75%, var(--metabolic-500) 0 100%);
  position: relative;
}
.logo-mark::after  {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--cream);
  border-radius: 3px;
}
.nav-links  {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a  {
  font-size: 0.88rem;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover  {
  color: var(--ink);
}
.nav-actions  {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta  {
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform .15s, background .15s;
}
.nav-cta:hover  {
  transform: translateY(-1px);
  background: #222220;
}
.nav-ghost  {
  font-size: 0.85rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 100px;
  font-weight: 500;
}
.nav-ghost:hover  {
  background: var(--bg-2);
}
.nav-toggle  {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px)  {
  .nav-links  {
    display: none;
  }
  .nav-links.open  {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 0.9rem;
  }
  .nav-toggle  {
    display: inline-flex;
  }
  .nav-ghost  {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s, background .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn-primary  {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover  {
  transform: translateY(-1px);
  background: #222220;
  box-shadow: 0 10px 30px rgba(18,18,16,0.16);
}
.btn-outline  {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-outline:hover  {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost  {
  background: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover  {
  background: var(--bg-2);
  color: var(--ink);
}
.btn-lg  {
  padding: 1.05rem 1.85rem;
  font-size: 0.95rem;
}

/* ---------- Typography helpers ---------- */
.eyebrow  {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before  {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--faint);
}
.eyebrow.no-rule::before  {
  display: none;
}
.h-display  {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h-display em  {
  font-style: normal;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--muted);
}
.h1  {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2  {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h3  {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lede  {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 56ch;
}
.muted  {
  color: var(--muted);
}
.mono  {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
}

/* ---------- Sections ---------- */
.section  {
  padding: var(--section-y) var(--gutter);
}
.section-inner  {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head  {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 820px;
}
.section-head.center  {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.section-head.split  {
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 2rem;
  max-width: none;
}
@media (max-width: 800px)  {
  .section-head.split  {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Reveal on scroll ---------- */

.reveal  {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible  {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce)  {
  .reveal  {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Footer ---------- */
.footer  {
  background: var(--ink);
  color: #CFCDC4;
  padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) 2rem;
}
.footer-inner  {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top  {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .logo  {
  color: #F5F1E8;
}
.footer .logo-mark::after  {
  background: var(--ink);
}
.footer-brand p  {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #A29F96;
  line-height: 1.6;
  max-width: 32ch;
}
.footer-col h4  {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A7770;
  margin-bottom: 1rem;
}
.footer-col ul  {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.footer-col a  {
  font-size: 0.9rem;
  color: #CFCDC4;
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover  {
  color: #F5F1E8;
}
.footer-bottom  {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #7A7770;
}
@media (max-width: 900px)  {
  .footer-top  {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand  {
    grid-column: 1 / -1;
  }
}

/* ---------- Email form shared ---------- */

.ea-form  {
  display: flex;
  gap: 0.5rem;
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  max-width: 460px;
  transition: border-color .15s, box-shadow .15s;
}
.ea-form:focus-within  {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(18,18,16,0.06);
}
.ea-form input[type="email"]  {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 0.92rem;
  min-width: 0;
}
.ea-form input::placeholder  {
  color: var(--faint);
}
.ea-form button  {
  border: 0;
  border-radius: 100px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, transform .15s;
}
.ea-form button:hover  {
  background: #222220;
  transform: translateY(-1px);
}
.ea-form button:disabled  {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.ea-note  {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ea-note .tick  {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
@media (max-width: 520px)  {
  .ea-form  {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.75rem;
    gap: 0.55rem;
  }
  .ea-form input  {
    padding: 0.55rem 0.75rem;
  }
  .ea-form button  {
    padding: 0.8rem;
    width: 100%;
  }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta  {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18,18,16,0.96);
  color: var(--cream);
  padding: 0.75rem var(--gutter);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 55;
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.sticky-cta .sc-label  {
  font-size: 0.82rem;
  font-weight: 600;
}
.sticky-cta .sc-sub  {
  font-size: 0.72rem;
  color: #A29F96;
  margin-top: 0.1rem;
}
.sticky-cta a  {
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 720px)  {
  .sticky-cta  {
    display: flex;
  }
  body.has-sticky-cta  {
    padding-bottom: 68px;
  }
}
