/* ============================================================
   CALORIE CALCULATOR — STYLESHEET
   Design tokens: Red #E53935 / White #FFFFFF / Black #111111
   Display type: Space Grotesk · Body type: Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Brand */
  --red:        #E53935;
  --red-dark:   #C62828;
  --red-deep:   #8E1116;
  --red-light:  #FCEAEA;
  --white:      #FFFFFF;
  --off-white:  #FBFAF9;
  --black:      #111111;
  --charcoal:   #1A1A1A;
  --ink:        #1F1B1B;

  /* Neutrals */
  --gray-100: #F4F2F1;
  --gray-200: #E9E5E3;
  --gray-300: #D8D2CF;
  --gray-500: #948C89;
  --gray-700: #5C5552;

  /* Cuboid gradient (signature element — allowed to break palette) */
  --cuboid-1: #E53935;
  --cuboid-2: #FF7A45;
  --cuboid-3: #7C4DFF;
  --cuboid-4: #2979FF;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .5s;

  /* Scroll theme (interpolated by JS) */
  --bg: var(--off-white);
  --surface: var(--white);
  --text: var(--ink);
  --text-muted: var(--gray-700);
  --border: var(--gray-200);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; line-height:1.15; letter-spacing:-.01em; }
p{ margin:0; }

:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--red);
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--red);
  display:inline-block;
}

.section{ padding:88px 0; }
.section-head{ max-width:680px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); margin-top:14px; }
.section-head p{ margin-top:14px; color:var(--text-muted); font-size:1.05rem; line-height:1.6; }

.muted{ color:var(--text-muted); }

/* Fade / slide on scroll */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* ============== BUTTONS ============== */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 28px;
  border-radius:999px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:.97rem;
  border:1px solid transparent;
  overflow:hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  isolation:isolate;
}
.btn-primary{
  color:var(--white);
  background:linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow:0 10px 24px -10px rgba(229,57,53,.55);
}
.btn-primary::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(135deg, var(--red-dark), var(--black));
  opacity:0;
  transition:opacity .35s var(--ease);
  z-index:-1;
}
.btn-primary:hover::before{ opacity:1; }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 16px 30px -10px rgba(229,57,53,.65); }

.btn-ghost{
  color:var(--text);
  background:transparent;
  border-color:var(--border);
}
.btn-ghost:hover{ border-color:var(--red); color:var(--red); transform:translateY(-3px); }

.btn-ripple{ position:relative; overflow:hidden; }
.ripple-circle{
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.55);
  transform:scale(0);
  animation:ripple .6s linear;
  pointer-events:none;
}
.btn-ghost .ripple-circle{ background:rgba(229,57,53,.25); }
@keyframes ripple{ to{ transform:scale(3); opacity:0; } }

/* ============== HEADER / NAV ============== */
.site-header{
  position:sticky; top:0; z-index:200;
  height:var(--nav-h);
  display:flex; align-items:center;
  background:color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--border);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  width:100%;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  width:38px; height:38px; border-radius:11px;
  background:linear-gradient(135deg, var(--red), var(--red-dark));
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  box-shadow:0 6px 14px -4px rgba(229,57,53,.6);
}
.brand-name{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.12rem;
  letter-spacing:-.01em;
}
.brand-name span{ color:var(--red); }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  position:relative;
  font-size:.95rem; font-weight:500;
  color:var(--text-muted);
  padding:6px 0;
  transition:color .25s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:0; height:2px; background:var(--red);
  transition:width .3s var(--ease);
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--text); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-cta .btn{ padding:11px 22px; font-size:.9rem; }

.hamburger{
  display:none;
  width:42px; height:42px;
  border:1px solid var(--border);
  border-radius:10px;
  background:transparent;
  align-items:center; justify-content:center;
  flex-direction:column; gap:5px;
}
.hamburger span{ width:18px; height:2px; background:var(--text); display:block; transition:.3s; }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:var(--nav-h) 0 0 0;
  background:var(--surface);
  z-index:190;
  transform:translateX(100%);
  transition:transform .4s var(--ease);
  padding:30px 24px;
  overflow-y:auto;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{
  display:block;
  padding:16px 4px;
  font-family:var(--font-display);
  font-size:1.2rem;
  font-weight:600;
  border-bottom:1px solid var(--border);
}
.mobile-menu .btn{ margin-top:24px; width:100%; }

/* ============== HERO ============== */
.hero{
  position:relative;
  padding:76px 0 96px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:center;
}
.hero h1{
  font-size:clamp(2.3rem, 4.6vw, 3.6rem);
}
.hero h1 .accent{ color:var(--red); }
.hero-sub{
  margin-top:20px;
  font-size:1.15rem;
  color:var(--text-muted);
  max-width:520px;
  line-height:1.6;
}
.hero-copy{
  margin-top:18px;
  color:var(--text-muted);
  max-width:540px;
  line-height:1.7;
}
.hero-ctas{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:34px; margin-top:46px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:var(--font-display); font-size:1.6rem; color:var(--text); }
.hero-stat span{ font-size:.85rem; color:var(--text-muted); }

/* ---- Rotating glass cuboid ---- */
.cuboid-stage{
  position:relative;
  height:440px;
  display:flex; align-items:center; justify-content:center;
  perspective:1300px;
}
.cuboid-glow{
  position:absolute;
  width:320px; height:320px;
  background:radial-gradient(circle, rgba(229,57,53,.35), rgba(124,77,255,.18) 55%, transparent 75%);
  filter:blur(40px);
  animation:glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse{ 0%,100%{ opacity:.7; transform:scale(1); } 50%{ opacity:1; transform:scale(1.12); } }

.cuboid{
  position:relative;
  width:200px; height:260px;
  transform-style:preserve-3d;
  animation:float-spin 14s linear infinite, float-bob 6s ease-in-out infinite;
}
@keyframes float-spin{
  0%{ transform: rotateX(-18deg) rotateY(0deg) rotateZ(0deg); }
  100%{ transform: rotateX(-18deg) rotateY(360deg) rotateZ(145deg); }
}
@keyframes float-bob{
  0%,100%{ margin-top:0px; }
  50%{ margin-top:-22px; }
}
.face{
  position:absolute;
  inset:0;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.45);
  background:
    linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.05) 40%),
    linear-gradient(135deg, var(--cuboid-1), var(--cuboid-2) 35%, var(--cuboid-3) 70%, var(--cuboid-4));
  backdrop-filter:blur(6px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.6),
    inset 0 -20px 40px rgba(0,0,0,.18);
  overflow:hidden;
}
.face::after{
  content:"";
  position:absolute;
  top:-40%; left:-20%;
  width:60%; height:220%;
  background:linear-gradient(120deg, rgba(255,255,255,.55), transparent 60%);
  transform:rotate(20deg);
  animation:shimmer 4.5s ease-in-out infinite;
}
@keyframes shimmer{ 0%{ left:-60%; } 50%{ left:120%; } 100%{ left:120%; } }
.face-front{ transform:translateZ(100px); }
.face-back{ transform:translateZ(-100px) rotateY(180deg); }
.face-right{ width:200px; transform:rotateY(90deg) translateZ(100px); }
.face-left{ width:200px; transform:rotateY(-90deg) translateZ(100px); }
.face-top{ height:200px; transform:rotateX(90deg) translateZ(130px); }
.face-bottom{ height:200px; transform:rotateX(-90deg) translateZ(130px); opacity:.85; }
.cuboid-shadow{
  position:absolute;
  bottom:18px;
  width:220px; height:36px;
  background:radial-gradient(ellipse, rgba(0,0,0,.25), transparent 70%);
  filter:blur(6px);
}

/* ============== CALCULATOR TOOL ============== */
.tool-section{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:88px 0;
  scroll-margin-top:90px;
}
.tool-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}
.tool-form h3, .tool-results h3{
  font-size:1.3rem; margin-bottom:6px;
}
.tool-form p.hint, .tool-results p.hint{ color:var(--text-muted); margin-bottom:24px; font-size:.95rem; }

.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:.85rem; font-weight:600; color:var(--text-muted); }
.field select, .field input{
  height:48px;
  border-radius:var(--radius-sm);
  border:1.5px solid var(--border);
  background:var(--surface);
  padding:0 14px;
  font-family:var(--font-body);
  font-size:.97rem;
  color:var(--text);
  transition:border-color .25s;
}
.field select:focus, .field input:focus{ border-color:var(--red); }

.gender-toggle{ display:flex; gap:10px; margin-bottom:18px; }
.gender-toggle button{
  flex:1; height:48px;
  border-radius:var(--radius-sm);
  border:1.5px solid var(--border);
  background:var(--surface);
  font-weight:600;
  color:var(--text-muted);
  transition:.25s;
}
.gender-toggle button.active{
  border-color:var(--red);
  background:var(--red-light);
  color:var(--red-dark);
}

.calc-btn{ width:100%; margin-top:8px; padding:16px; font-size:1rem; }

.results-empty{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; height:100%;
  min-height:260px;
  border:1.5px dashed var(--border);
  border-radius:var(--radius-md);
  color:var(--text-muted);
  padding:30px;
}
.results-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.result-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:20px;
  opacity:0; transform:translateY(14px);
  animation:card-in .55s var(--ease) forwards;
}
.result-card:nth-child(1){ animation-delay:.05s; }
.result-card:nth-child(2){ animation-delay:.15s; }
.result-card:nth-child(3){ animation-delay:.25s; }
.result-card:nth-child(4){ animation-delay:.35s; }
@keyframes card-in{ to{ opacity:1; transform:translateY(0); } }
.result-card.primary{
  grid-column:1 / -1;
  background:linear-gradient(135deg, var(--red), var(--red-dark));
  color:var(--white);
}
.result-card .label{ font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; opacity:.85; }
.result-card .value{ font-family:var(--font-display); font-size:1.7rem; margin-top:6px; }
.result-card .unit{ font-size:.85rem; font-weight:500; opacity:.8; }
.results-disclaimer{
  margin-top:18px; font-size:.82rem; color:var(--text-muted);
  border-top:1px dashed var(--border); padding-top:14px;
}

/* ============== CONTENT SECTIONS ============== */
.content-section h2{ scroll-margin-top:100px; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.steps-list{ display:grid; gap:22px; margin-top:30px; }
.step{ display:flex; gap:20px; }
.step .num{
  font-family:var(--font-display); font-weight:700; font-size:1.4rem;
  color:var(--red); min-width:46px;
}
.step h4{ font-size:1.08rem; margin-bottom:6px; }
.step p{ color:var(--text-muted); line-height:1.65; }

.benefit-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:30px; }
.benefit-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.benefit-card:hover{ transform:translateY(-6px); box-shadow:0 18px 36px -16px rgba(0,0,0,.18); }
.benefit-card .icon{
  width:44px; height:44px; border-radius:12px;
  background:var(--red-light); color:var(--red-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.benefit-card h4{ font-size:1.05rem; margin-bottom:8px; }
.benefit-card p{ color:var(--text-muted); font-size:.95rem; line-height:1.6; }

.why-list{ display:grid; gap:16px; margin-top:24px; }
.why-item{ display:flex; gap:14px; align-items:flex-start; }
.why-item .check{
  width:26px; height:26px; border-radius:50%; background:var(--red);
  color:#fff; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:.8rem; margin-top:2px;
}
.why-item p{ color:var(--text-muted); line-height:1.6; }
.why-item strong{ color:var(--text); }

.activity-table{ width:100%; border-collapse:collapse; margin-top:20px; }
.activity-table th, .activity-table td{
  text-align:left; padding:14px 16px; border-bottom:1px solid var(--border); font-size:.95rem;
}
.activity-table th{ font-family:var(--font-display); color:var(--text-muted); font-weight:600; font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; }
.activity-table td strong{ font-family:var(--font-display); }

.callout{
  background:linear-gradient(135deg, var(--red-light), var(--off-white));
  border:1px solid var(--red-light);
  border-radius:var(--radius-md);
  padding:28px;
  margin-top:30px;
}
.callout h4{ color:var(--red-dark); margin-bottom:8px; font-size:1.05rem; }
.callout p{ color:var(--text-muted); line-height:1.65; }

/* ---- FAQ ---- */
.faq-list{ margin-top:30px; border-top:1px solid var(--border); }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; text-align:left; background:none; border:none;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 4px; font-family:var(--font-display); font-size:1.02rem; font-weight:600; color:var(--text);
}
.faq-q .plus{
  width:26px; height:26px; flex-shrink:0; border-radius:50%; border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center; position:relative; margin-left:16px;
  transition:transform .3s var(--ease), border-color .3s;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--text-muted); transition:.3s;
}
.faq-q .plus::before{ width:11px; height:1.5px; }
.faq-q .plus::after{ width:1.5px; height:11px; }
.faq-item.open .plus{ transform:rotate(135deg); border-color:var(--red); }
.faq-item.open .plus::before, .faq-item.open .plus::after{ background:var(--red); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-a-inner{ padding:0 4px 22px; color:var(--text-muted); line-height:1.7; max-width:760px; }
.faq-item.open .faq-a{ max-height:320px; }

/* ============== PAGE HEADER (sub-pages) ============== */
.page-hero{
  padding:64px 0 56px;
  border-bottom:1px solid var(--border);
}
.page-hero .eyebrow{ margin-bottom:14px; }
.page-hero h1{ font-size:clamp(2rem,4vw,2.8rem); }
.page-hero p{ margin-top:14px; color:var(--text-muted); max-width:620px; font-size:1.05rem; line-height:1.6; }

.legal-content{ max-width:760px; }
.legal-content h2{ font-size:1.35rem; margin-top:40px; margin-bottom:14px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content p{ color:var(--text-muted); line-height:1.75; margin-bottom:14px; }
.legal-content ul{ margin:14px 0 14px 4px; }
.legal-content li{ color:var(--text-muted); line-height:1.75; padding-left:22px; position:relative; margin-bottom:8px; }
.legal-content li::before{ content:"—"; position:absolute; left:0; color:var(--red); }
.legal-updated{ font-size:.88rem; color:var(--text-muted); margin-top:10px; }

/* ============== ABOUT PAGE ============== */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.value-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:30px; }
.value-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:24px; }
.value-card h4{ font-size:1rem; margin-bottom:8px; }
.value-card p{ color:var(--text-muted); font-size:.93rem; line-height:1.6; }
.mission-banner{
  background:var(--black);
  color:#fff;
  border-radius:var(--radius-lg);
  padding:48px;
  text-align:center;
  margin-top:60px;
}
.mission-banner h3{ font-size:1.6rem; max-width:680px; margin:0 auto; line-height:1.4; }
.mission-banner span{ color:var(--red); }

/* ============== CONTACT PAGE ============== */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.contact-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:36px; }
.contact-info-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border); }
.contact-info-item:last-child{ border-bottom:none; }
.contact-info-item .ic{
  width:42px; height:42px; border-radius:11px; background:var(--red-light); color:var(--red-dark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-info-item h4{ font-size:.95rem; margin-bottom:3px; }
.contact-info-item p{ color:var(--text-muted); font-size:.92rem; }
.form-status{
  margin-top:16px; padding:14px 16px; border-radius:var(--radius-sm);
  background:var(--red-light); color:var(--red-dark); font-size:.92rem; display:none;
}
.form-status.show{ display:block; }

/* ============== FOOTER ============== */
.site-footer{
  position:relative;
  background:var(--charcoal);
  color:#E9E5E3;
  padding-top:6px;
  overflow:hidden;
}
.site-footer::before{
  content:"";
  display:block;
  height:4px;
  background:linear-gradient(90deg, var(--red), var(--cuboid-3), var(--cuboid-4), var(--red));
}
.footer-inner{ padding:64px 0 28px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.1fr;
  gap:40px;
}
.footer-col h5{
  font-family:var(--font-display); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; margin-bottom:20px; opacity:.9;
}
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand .brand-name{ color:#fff; }
.footer-desc{ color:#A7A19E; font-size:.92rem; line-height:1.65; max-width:280px; }
.footer-social{ display:flex; gap:12px; margin-top:20px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; color:#fff;
  transition: background .3s, border-color .3s, transform .3s;
}
.footer-social a:hover{ transform:translateY(-3px); }
.footer-social a.fb:hover{ background:#1877F2; border-color:#1877F2; }
.footer-social a.ig:hover{ background:#E4405F; border-color:#E4405F; }
.footer-social a.x:hover{ background:#000; border-color:#fff; }
.footer-social a.li:hover{ background:#0A66C2; border-color:#0A66C2; }

.footer-col ul li{ margin-bottom:13px; }
.footer-col ul a{
  color:#A7A19E; font-size:.93rem; position:relative;
  transition:color .25s, padding-left .25s;
}
.footer-col ul a::before{
  content:"→"; position:absolute; left:-18px; opacity:0; transition:.25s;
}
.footer-col ul a:hover{ color:#fff; padding-left:14px; }
.footer-col ul a:hover::before{ opacity:1; left:-2px; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:24px 0;
  display:flex; justify-content:space-between; align-items:center;
  font-size:.85rem; color:#8A8480; flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color:#8A8480; }
.footer-bottom a:hover{ color:#fff; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .cuboid-stage{ height:340px; }
  .tool-card{ grid-template-columns:1fr; }
  .two-col, .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .benefit-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .value-grid{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
  .hamburger{ display:flex; }
  .section{ padding:64px 0; }
  .field-row{ grid-template-columns:1fr; }
  .results-grid{ grid-template-columns:1fr; }
  .benefit-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .mission-banner{ padding:32px; }
}

/* ============== SCROLL DARK THEME ============== */
body.theme-dark{
  --bg: #131111;
  --surface: #1C1919;
  --text: #F3EFEE;
  --text-muted: #B6AFAC;
  --border: #322C2B;
}
body.theme-dark .site-header{
  background:color-mix(in srgb, var(--surface) 80%, transparent);
}
body.theme-dark .brand-name{ color:var(--text); }
body.theme-dark .hamburger{ border-color: var(--border); }
body.theme-dark .hamburger span{ background: var(--text); }
body.theme-dark .mobile-menu{ background: var(--surface); }
