/* ── Boomerang — Industry / Use-Case Landing Pages (shared) ───────────────────
   Reusable add-on for per-industry sub-pages under /Industries/<name>/.
   It REUSES every base token and component from styles.css (nav, hero, sections,
   cards, compare, before/after, cta, footer). This file only adds the handful of
   components the base site doesn't already have, so all industry pages stay
   visually identical to the main site.

   To create a new industry page: copy an existing /Industries/<x>/index.html,
   swap the copy, and set the hero badge text. Do NOT restyle the base site.

   Optional per-industry accent: the brief keeps the site's colors, so this
   defaults to the brand violet. If a future page wants a subtle cue, override
   --ind-accent on that page's <html> and use it where noted.
   ──────────────────────────────────────────────────────────────────────────── */
/* Per-industry accent. Each page sets these two vars once (see the <style> block
   in the page head); everything below derives from them. Defaults = brand violet. */
:root { --ind-accent: #8b5cf6; --ind-accent-text: #c4b5fd; }

/* Section eyebrows on industry pages pick up the industry accent (industry.css is
   only loaded by industry pages, so the main site's eyebrows are unaffected). */
.eyebrow {
  color: var(--ind-accent-text);
  border-color: color-mix(in srgb, var(--ind-accent) 32%, transparent);
  background: color-mix(in srgb, var(--ind-accent) 9%, transparent);
}
/* Hero title's highlighted word picks up the industry accent. */
.accent {
  background: linear-gradient(90deg, var(--ind-accent), color-mix(in srgb, var(--ind-accent) 45%, #e6e9f2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Hero "For <Industry>" badge — reuses the .eyebrow pill, but with a highlighted
   frame + brighter letters so the industry focus stands out. Only affects industry
   pages (scoped to .ind-tag), not the site-wide .eyebrow. */
.ind-tag {
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ind-accent-text);                                        /* brighter letters */
  border-color: color-mix(in srgb, var(--ind-accent) 55%, transparent); /* visible accent frame */
  background: color-mix(in srgb, var(--ind-accent) 16%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ind-accent) 18%, transparent),
              0 8px 22px color-mix(in srgb, var(--ind-accent) 22%, transparent);
}
/* Industry icon inside the badge (set per page). */
.ind-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Emphasize the "Boomerang for" brand lockup: larger + brighter than the industry name,
   which is dimmed slightly so the phrase reads "BOOMERANG FOR › industry". */
.ind-tag .ind-tag-brand { font-size: 1.18em; font-weight: 800; margin-right: 2px; }

/* ── Hero brand lockup (v2) ───────────────────────────────────────────────────
   "Boomerang" as a large wordmark OUTSIDE the pill, with a small "for <industry>"
   pill sitting beside it like a footer (bottom-aligned). Used on industry heroes. */
/* Column lockup: the word on top, the small tag as a footer right-aligned to the
   word's right edge. inline-flex shrinks the container to the word's width so the
   tag right-aligns under the wordmark (not the whole hero). */
/* width:fit-content + margin:auto centers the whole lockup on the page while still
   shrinking to the word's width, so the tag can right-align to the word's edge. */
.ind-brandlock { display: flex; flex-direction: column; align-items: flex-end; gap: 0; width: fit-content; margin: 0 auto 34px; }
.ind-brand-word {
  display: inline-block;
  font-size: clamp(40px, 6.6vw, 66px);   /* a little bigger */
  font-weight: 800; letter-spacing: -1.8px;
  line-height: 1.08;
  padding-bottom: 0.2em;    /* room so the 'g'/'y' descenders stay inside the gradient fill */
  background: linear-gradient(90deg, var(--ind-accent), color-mix(in srgb, var(--ind-accent) 45%, #e6e9f2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* The small "for <industry>" pill — snug under the wordmark, right-aligned to its
   right corner. Negative margin closes the gap left by the descender padding. */
.ind-tag.ind-tag-mini {
  margin: -10px 0 0;
  transform: none;
  font-size: 11px; letter-spacing: 1px;
  padding: 4px 11px; gap: 5px;
}
.ind-tag.ind-tag-mini svg { width: 12px; height: 12px; }
@media (max-width: 560px) {
  .ind-brandlock { align-items: flex-start; }
  .ind-tag.ind-tag-mini { transform: none; }
}

/* ── (A) Industry context ribbon ─────────────────────────────────────────────
   A slim strip directly under the nav that makes it unmistakable the visitor is
   on an industry-specific page. Sticky just below the (also sticky) nav. Uses
   --ind-accent (defaults to brand violet) so it can be tinted per industry. */
.ind-ribbon {
  position: sticky; top: 76px; z-index: 40;
  background: linear-gradient(90deg, rgba(139,92,246,.16), rgba(16,185,129,.10));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.ind-ribbon-inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 24px; font-size: 13.5px; color: var(--text); flex-wrap: wrap; }
.ind-ribbon-diamond { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--ind-accent); flex-shrink: 0; }
.ind-ribbon-label { font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.ind-ribbon-name { font-weight: 700; color: var(--text); }
.ind-ribbon-sep { color: rgba(148,163,184,.5); }
@media (max-width: 860px) { .ind-ribbon { top: 76px; } .ind-ribbon-inner { font-size: 12.5px; padding: 8px 16px; } }

/* ── (B) Framed use-case callout ─────────────────────────────────────────────
   Accent-bordered gradient box that frames the industry's value prop, so the eye
   lands on the tailored message. Theme-able via --ind-accent. */
.ind-callout {
  max-width: 900px; margin: 0 auto; padding: 30px 34px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(16,185,129,.06));
  border: 1px solid rgba(139,92,246,.28);
  box-shadow: 0 18px 50px rgba(99,102,241,.10);
  position: relative;
}
.ind-callout::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px;
  border-radius: 4px; background: linear-gradient(180deg, var(--ind-accent), var(--emerald));
}
.ind-callout .ind-callout-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--violet); margin-bottom: 12px; }
.ind-callout p { font-size: 16px; color: var(--muted); line-height: 1.65; margin: 0; }
.ind-callout strong { color: var(--text); }
@media (max-width: 860px) { .ind-callout { padding: 24px 22px; } }

/* "Works with your existing tools" — input/output chip grid (no fake logos;
   swap chips for real logo <img> later if desired). */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 36px auto 0; }
.tool-group { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.tool-group h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 14px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
/* Leading logo/glyph inside a chip. Uniform size + white so brand logos and generic
   category glyphs read as one cohesive set on the dark cards (Option A). */
.tool-logo { width: 15px; height: 15px; flex: none; object-fit: contain; opacity: .9; display: block; }
svg.tool-logo { stroke: currentColor; fill: none; stroke-width: 2; opacity: .8; }
/* Option B: full-color brand logos need a light tile to stay legible on dark cards. */
.tool-logo-tile { width: 22px; height: 22px; flex: none; background: #fff; border-radius: 6px; padding: 3px; display: inline-flex; align-items: center; justify-content: center; }
.tool-logo-tile img, .tool-logo-tile svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.tool-logo-tile.is-glyph { background: rgba(255,255,255,.08); }
.tool-logo-tile.is-glyph svg { stroke: var(--ind-accent-text, #cbd5e1); fill: none; stroke-width: 2; }
.tool-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Two-column checklist — e.g. "What Boomerang does" / "Beyond catalog creation". */
.check-2col { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; max-width: 900px; margin: 0 auto; }
.check-2col li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.check-2col li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(16,185,129,.15); color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

/* Specialist / focus chips row (centered). */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.chip { font-size: 14px; font-weight: 600; color: var(--text); background: rgba(139,92,246,.10); border: 1px solid rgba(139,92,246,.28); border-radius: 999px; padding: 8px 16px; }

/* Vertical tool/data flow (e.g. "Ad platforms → Boomerang → Business systems → Analytics").
   Reuses .tool-group; adds a centered arrow and an accent "core" group for the Boomerang step. */
.tool-flow { max-width: 820px; margin: 30px auto 0; }
.tool-flow .tool-group { margin: 0; }
.flow-arrow { text-align: center; font-size: 22px; line-height: 1; color: var(--ind-accent-text); margin: 12px 0; opacity: .8; }
.tool-group.is-core { border-color: color-mix(in srgb, var(--ind-accent) 50%, transparent); background: color-mix(in srgb, var(--ind-accent) 10%, transparent); text-align: center; }
.tool-group.is-core .tool-chips { justify-content: center; }
.tool-group.is-core h4 { color: var(--ind-accent-text); }

@media (max-width: 860px) {
  .tool-grid { grid-template-columns: 1fr; }
  .check-2col { grid-template-columns: 1fr; }
}
