/* ============================================================================
   VIBEBOX — DESIGN SYSTEM  ·  "Moss Carbon" brand
   ----------------------------------------------------------------------------
   ALL visual decisions live in this file. Layout & structure are unchanged;
   only the styling has been remapped to the brand guidelines.

   BRAND RULES baked in here:
   • Palette: Carbon / Moss / Lime / Pale Lime / Paper.
   • Lime is a DARK-SURFACE accent only — on white it disappears, so light
     surfaces stay monochrome (Carbon structure + Moss accent).
   • Type: Inter, tight tracking (-0.02em), wordmark weight 600.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS  (edit these to change the look & feel)
   --------------------------------------------------------------------------- */
:root {
  /* ---- Raw brand colors ---- */
  --color-carbon:    #111210;   /* near-black, default dark surface + ink */
  --color-moss:      #3D5C2A;   /* structure, primary buttons, the box     */
  --color-moss-dark: #2C431E;
  --color-lime:      #A3E635;   /* accent — DARK SURFACES ONLY             */
  --color-pale-lime: #D9F5A0;   /* hover, subtle fills, tags               */
  --color-paper:     #F4F7F0;   /* light background                        */
  --color-warm:      #C2603C;   /* functional warm (negative/alerts) — readable on white */

  /* ---- Semantic brand mapping (names kept stable for the rest of the CSS) ---- */
  --color-primary:        var(--color-moss);
  --color-primary-dark:   var(--color-moss-dark);
  --color-primary-soft:   #E9F2D8;   /* pale mossy/lime tint for chips & fills on white */
  --color-accent:         var(--color-warm);

  /* ---- Neutrals ---- */
  --color-ink:            var(--color-carbon);
  --color-body:           #3F4A36;   /* mossy charcoal body copy */
  --color-muted:          #6F7C61;
  --color-line:           #E6EAE0;   /* borders */
  --color-bg:             #FFFFFF;   /* page bg (white edition) */
  --color-surface:        #FFFFFF;   /* card surface */
  --color-surface-alt:    var(--color-paper);

  /* ---- Gradients (brand is flat; gradients stay dark-anchored so text/logos read) ---- */
  --gradient-brand: linear-gradient(120deg, var(--color-moss) 0%, var(--color-carbon) 100%);
  --gradient-warm:  linear-gradient(120deg, var(--color-carbon) 0%, var(--color-moss) 100%);

  /* ---- Typography ---- */
  --font-display: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "SF Mono", "Fira Mono", Menlo, monospace;

  --fs-hero:   clamp(2.6rem, 6vw, 4.75rem);
  --fs-h2:     clamp(2rem, 4vw, 3.1rem);
  --fs-h3:     clamp(1.3rem, 2vw, 1.65rem);
  --fs-lead:   clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body:   1.0625rem;
  --fs-small:  0.9rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold:   600;   /* brand wordmark / emphasis weight */
  --fw-black:  700;   /* headings */

  /* ---- Spacing scale ---- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  /* ---- Radii (aligned to brand panels) ---- */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* ---- Shadows (flatter, mossy-tinted; brand leans on borders) ---- */
  --shadow-sm: 0 3px 12px rgba(17, 18, 16, 0.05);
  --shadow-md: 0 12px 30px rgba(17, 18, 16, 0.09);
  --shadow-lg: 0 26px 56px rgba(17, 18, 16, 0.14);
  --shadow-pop: 0 16px 36px rgba(61, 92, 42, 0.26);

  /* ---- Layout ---- */
  --container: 1180px;
  --nav-h: 76px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.1;
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }

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

.section { padding-block: var(--space-7); }
.section--alt { background: var(--color-surface-alt); }
.section--tint { background: var(--color-primary-soft); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-5); }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: var(--space-2); }
.section-head p { font-size: var(--fs-lead); color: var(--color-body); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-moss);
  background: var(--color-primary-soft);
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

.text-grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* primary = Moss on light (Lime is reserved for dark surfaces) */
.btn--primary { background: var(--color-moss); color: #fff; box-shadow: var(--shadow-pop); }
.btn--primary:hover { background: var(--color-moss-dark); }

.btn--dark { background: var(--color-carbon); color: #fff; }
.btn--dark:hover { box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-ink); color: #fff; }

.btn--light { background: #fff; color: var(--color-ink); border-color: var(--color-line); }
.btn--light:hover { box-shadow: var(--shadow-md); }

.btn--lg { padding: 1.05em 2.1em; font-size: 1.1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------------
   5. NAVBAR
   --------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.nav.is-scrolled { border-color: var(--color-line); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.brand { display: flex; align-items: center; gap: 0.5em; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.4rem; color: var(--color-ink); letter-spacing: -0.02em; }
.brand-wm { line-height: 1; }
.brand-wm__accent { color: var(--color-moss); }   /* "box" accent on light surfaces */

/* Brand "Breakout" mark — colors driven here so light/dark surfaces differ.
   Light (default): monochrome — Carbon box, Moss arrow.
   Dark surfaces (footer): reversed — Moss box, Lime arrow. */
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; overflow: visible; }
.bm-box  { fill: none; stroke: var(--color-carbon); stroke-width: 6; stroke-linecap: round; }
.bm-line { fill: none; stroke: var(--color-moss);   stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.bm-node { fill: var(--color-moss); }

.nav-links { display: flex; align-items: center; gap: var(--space-3); }
.nav-links a { font-weight: var(--fw-medium); color: var(--color-ink); transition: color var(--dur); }
.nav-links a:hover { color: var(--color-moss); }

.nav-actions { display: flex; align-items: center; gap: var(--space-2); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--color-ink); margin: 5px auto; border-radius: 2px; transition: var(--dur); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + var(--space-6)); padding-bottom: var(--space-6); overflow: hidden; }
.hero .container { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--space-3); }
.hero p.lead { font-size: var(--fs-lead); max-width: 640px; margin: 0 auto var(--space-4); }
.hero-cta { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--color-muted); }

/* floating blobs (decorative) — recolored to brand tints */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.6; z-index: 1; pointer-events: none; }
.blob--1 { width: 320px; height: 320px; background: var(--color-primary-soft); top: -60px; left: -80px; }
.blob--2 { width: 260px; height: 260px; background: rgba(163, 230, 53, 0.18); top: 40px; right: -60px; }
.blob--3 { width: 200px; height: 200px; background: var(--color-paper); bottom: -40px; left: 30%; }

/* hero browser mockup */
.hero-mock {
  margin-top: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
  overflow: hidden;
  position: relative; z-index: 2;
}
.hero-mock__bar { display: flex; align-items: center; gap: 0.4em; padding: 0.85em 1.1em; border-bottom: 1px solid var(--color-line); background: #fff; }
.hero-mock__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.hero-mock__bar i:nth-child(1){ background:#E6EAE0;} .hero-mock__bar i:nth-child(2){ background:#D9F5A0;} .hero-mock__bar i:nth-child(3){ background:#3D5C2A;}
.hero-mock__url { margin-left: 0.8em; font-family: var(--font-mono); font-size: var(--fs-small); color: var(--color-muted); background: var(--color-paper); padding: 0.3em 0.9em; border-radius: var(--radius-pill); }
.hero-mock__body { padding: var(--space-4); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); background: var(--color-surface-alt); }
.mini-kpi { background: #fff; border-radius: var(--radius-md); padding: var(--space-2); box-shadow: var(--shadow-sm); text-align: left; }
.mini-kpi span { font-size: var(--fs-small); color: var(--color-muted); }
.mini-kpi b { display: block; font-family: var(--font-display); font-weight: var(--fw-black); font-size: 1.7rem; color: var(--color-ink); letter-spacing: -0.02em; }
.mini-kpi em { font-style: normal; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.mini-kpi em.up { color: var(--color-moss); } .mini-kpi em.down { color: var(--color-warm); }
.mini-chart { grid-column: 1 / -1; background: #fff; border-radius: var(--radius-md); padding: var(--space-3); box-shadow: var(--shadow-sm); }
.mini-bars { display: flex; align-items: flex-end; gap: 0.6em; height: 120px; }
.mini-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient-brand); opacity: 0.92; }

/* logo strip */
.logos { text-align: center; }
.logos p { font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-3); }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5); align-items: center; opacity: 0.7; }
.logos__row span { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.25rem; color: var(--color-ink); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------------------
   7. FEATURE / VALUE CARDS
   --------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-3); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 54px; height: 54px; border-radius: var(--radius-md);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: var(--space-2);
  background: var(--color-primary-soft); color: var(--color-moss);
}
.card__icon.is-coral { background: #F7ECE5; color: var(--color-warm); }
.card__icon.is-cyan  { background: var(--color-paper); color: var(--color-carbon); }
.card__icon.is-lime  { background: var(--color-pale-lime); color: var(--color-moss-dark); }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-1); }
.card p { font-size: var(--fs-body); }

/* ---------------------------------------------------------------------------
   8. USE CASES (tabbed)
   --------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-1); justify-content: center; margin-bottom: var(--space-4); }
.tab {
  font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--fs-body);
  padding: 0.7em 1.4em; border-radius: var(--radius-pill);
  border: 2px solid var(--color-line); background: #fff; color: var(--color-ink); cursor: pointer;
  transition: var(--dur) var(--ease);
}
.tab:hover { border-color: var(--color-moss); }
.tab.is-active { background: var(--color-carbon); color: #fff; border-color: var(--color-carbon); }

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.4s var(--ease); }

.usecase {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); align-items: center;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm);
}
.usecase h3 { font-size: var(--fs-h2); margin-bottom: var(--space-2); }
.usecase ul { display: grid; gap: var(--space-1); margin-top: var(--space-3); }
.usecase li { display: flex; gap: 0.6em; align-items: flex-start; }
.usecase li::before { content: "✓"; color: var(--color-moss); font-weight: var(--fw-black); }
/* display tiles are DARK surfaces — so Lime accents are allowed here */
.usecase__art {
  min-height: 240px; border-radius: var(--radius-md);
  background: var(--gradient-brand); display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-size: 4rem; box-shadow: var(--shadow-md);
}
.usecase__art.alt2 { background: linear-gradient(120deg, #111210 0%, #3D5C2A 100%); }
.usecase__art.alt3 { background: linear-gradient(120deg, #3D5C2A 0%, #A3E635 100%); }

/* ---------------------------------------------------------------------------
   9. PRICING
   --------------------------------------------------------------------------- */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.pricing-toggle span { font-weight: var(--fw-bold); color: var(--color-muted); }
.pricing-toggle span.is-active { color: var(--color-ink); }
.switch { position: relative; width: 60px; height: 32px; border-radius: var(--radius-pill); background: var(--color-moss); border: 0; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: var(--dur) var(--ease); }
.switch.is-annual::after { transform: translateX(28px); }
.save-badge { background: var(--color-pale-lime); color: var(--color-moss-dark); font-weight: var(--fw-bold); font-size: var(--fs-small); padding: 0.25em 0.7em; border-radius: var(--radius-pill); }

.price-card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: var(--space-4);
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.is-featured { border: 2px solid var(--color-moss); box-shadow: var(--shadow-pop); position: relative; }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--color-moss); color: #fff; font-weight: var(--fw-bold); font-size: var(--fs-small); padding: 0.3em 1em; border-radius: var(--radius-pill); }
.price-card h3 { font-size: var(--fs-h3); margin-bottom: 0.2em; }
.price-card .tier-desc { font-size: var(--fs-small); color: var(--color-muted); min-height: 2.6em; }
.price-amount { display: flex; align-items: baseline; gap: 0.2em; margin: var(--space-3) 0 0.2em; }
.price-amount .cur { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.4rem; }
.price-amount .val { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 3.2rem; color: var(--color-ink); line-height: 1; letter-spacing: -0.03em; }
.price-amount .per { font-size: var(--fs-small); color: var(--color-muted); }
.price-card .seat-note { font-size: var(--fs-small); color: var(--color-muted); margin-bottom: var(--space-3); }
.price-card .btn { margin-bottom: var(--space-3); }
.price-feats { display: grid; gap: 0.7em; }
.price-feats li { display: flex; gap: 0.6em; align-items: flex-start; font-size: var(--fs-small); }
.price-feats li::before { content: "✓"; color: var(--color-moss); font-weight: var(--fw-black); }
.price-feats li.off { color: var(--color-muted); }
.price-feats li.off::before { content: "–"; color: var(--color-muted); }

/* ---------------------------------------------------------------------------
   10. COMPARISON TABLE
   --------------------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-line); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 1.1em 1.2em; text-align: center; border-bottom: 1px solid var(--color-line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: var(--fw-bold); color: var(--color-ink); }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--color-ink); background: var(--color-paper); letter-spacing: -0.01em; }
/* Vibebox column is a dark surface — Lime accent allowed */
.compare thead th.vibe { background: var(--color-carbon); color: var(--color-lime); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.compare td.vibe { background: var(--color-primary-soft); font-weight: var(--fw-bold); color: var(--color-moss-dark); }
.compare .yes { color: var(--color-moss); font-weight: var(--fw-black); }
.compare .no { color: var(--color-muted); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------------------
   11. DEMO / SANDBOX PLACEHOLDER
   --------------------------------------------------------------------------- */
.demo-box {
  border: 2px dashed var(--color-moss);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  min-height: 420px;
  display: grid; place-items: center; text-align: center;
  padding: var(--space-5);
  position: relative;
}
.demo-box .badge-soon { background: var(--color-pale-lime); color: var(--color-moss-dark); font-weight: var(--fw-bold); font-size: var(--fs-small); padding: 0.3em 0.9em; border-radius: var(--radius-pill); position: absolute; top: var(--space-3); right: var(--space-3); }
.demo-box__inner { max-width: 520px; }
.demo-box__icon { font-size: 3rem; margin-bottom: var(--space-2); }
.demo-box h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.demo-box code { font-family: var(--font-mono); background: var(--color-paper); padding: 0.2em 0.5em; border-radius: 6px; font-size: 0.9em; color: var(--color-moss-dark); }

/* ---------------------------------------------------------------------------
   12. FAQ ACCORDION
   --------------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: var(--space-2); }
.faq-item { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.2em 1.4em; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.1rem; color: var(--color-ink); display: flex; justify-content: space-between; gap: 1em; align-items: center; letter-spacing: -0.01em; }
.faq-q .chev { transition: transform var(--dur) var(--ease); color: var(--color-moss); flex-shrink: 0; }
.faq-item.is-open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a p { padding: 0 1.4em 1.3em; }

/* ---------------------------------------------------------------------------
   13. CTA BAND  (dark surface — Lime accent allowed)
   --------------------------------------------------------------------------- */
.cta-band { background: var(--gradient-brand); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--space-2); }
.cta-band p { color: rgba(255,255,255,0.85); font-size: var(--fs-lead); max-width: 560px; margin: 0 auto var(--space-4); }

/* ---------------------------------------------------------------------------
   14. FOOTER  (dark surface — Lime accent allowed)
   --------------------------------------------------------------------------- */
.footer { background: var(--color-carbon); color: rgba(255,255,255,0.7); padding-block: var(--space-6) var(--space-4); }
.footer .brand { color: #fff; }
.footer .brand-wm__accent { color: var(--color-lime); }   /* "box" accent on dark */
.footer .bm-box  { stroke: var(--color-moss); }           /* reversed mark on Carbon */
.footer .bm-line { stroke: var(--color-lime); }
.footer .bm-node { fill: var(--color-lime); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-5); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer a { display: block; padding: 0.3em 0; transition: color var(--dur); }
.footer a:hover { color: var(--color-lime); }
.footer__about { max-width: 280px; }
.footer__about p { margin-top: var(--space-2); font-size: var(--fs-small); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--space-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-small); }
.footer-flag { display: inline-flex; align-items: center; gap: 0.5em; background: rgba(163, 230, 53, 0.12); color: var(--color-pale-lime); padding: 0.4em 0.9em; border-radius: var(--radius-pill); }

/* ---------------------------------------------------------------------------
   15. ANIMATIONS
   --------------------------------------------------------------------------- */
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.blob--1 { animation: float 9s ease-in-out infinite; }
.blob--2 { animation: float 7s ease-in-out infinite reverse; }
.blob--3 { animation: float 11s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   16. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .usecase { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mock__body { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-actions .btn--ghost { display: none; }
  .nav-toggle { display: block; }

  /* mobile dropdown menu */
  .nav-mobile {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-md);
    display: grid; gap: var(--space-2); padding: var(--space-3);
    transform: translateY(-120%); transition: transform var(--dur) var(--ease);
    z-index: 99;
  }
  .nav-mobile.is-open { transform: translateY(0); }
  .nav-mobile a { font-weight: var(--fw-bold); padding: 0.5em 0; color: var(--color-ink); }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card.is-featured { transform: none; }
  .section { padding-block: var(--space-6); }
}

/* nav-mobile hidden on desktop */
@media (min-width: 761px) { .nav-mobile { display: none; } }
