/*
 * FlatClaw Use Case Spotlights -- kirktechsolutions.com/use-cases/
 * FlatClaw brand (child of the Kirk system): Inter, navy/deep/slate structure,
 * FlatClaw blue accent. Kirk orange appears ONLY inside the Kirk logo in the
 * Kirk | FlatClaw lockup. Light ground matches flatclaw.org.
 */
:root {
  --fc-navy:        #22314A;   /* dark grounds: hero, CTA band */
  --fc-deep:        #27436C;   /* major headings */
  --fc-slate:       #415A80;   /* subheads, secondary text */
  --fc-slate-light: #556D91;   /* eyebrows on light */
  --fc-mute:        #7F91A8;   /* captions, meta */
  --fc-grey:        #B3B8C6;   /* grey text */
  --fc-ink:         #18191F;
  --fc-blue:        #0099FF;   /* accent: rules, markers, display highlights, eyebrows on navy */
  --fc-blue-deep:   #006BB2;   /* links, eyebrows on light, white-text buttons */
  --fc-sky:         #0099ff;   /* small colored text on navy */
  --fc-page:        hsl(210 25% 98%);
  --fc-soft:        hsl(210 28% 96%);
  --fc-line:        hsl(214 22% 88%);
  --fc-surface:     #FFFFFF;
  --fc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fc-radius: 6px;
}

.fc-spot, .fc-spot * { box-sizing: border-box; }
.fc-spot {
  background: var(--fc-page);
  color: var(--fc-navy);
  font-family: var(--fc-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.fc-spot a { color: var(--fc-blue-deep); text-decoration: none; }
.fc-spot a:hover { color: var(--fc-blue); }
.fc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 15px; width: 100%; z-index: 1; }

/* ---- hero (navy) ------------------------------------------------------- */
.fc-hero { background: var(--fc-navy); color: #FFFFFF; padding: 80px 0 100px; }
.fc-hero__lockup { display: block; height: 52px; width: auto; margin: 0 0 30px; }
.fc-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fc-blue); margin: 0 0 14px;
}
.fc-eyebrow--light { color: var(--fc-slate-light); }
/* .fc-hero h1 {
  font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 16px; color: #FFFFFF; max-width: 22ch;
} */
.fc-hero__lead { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.82); margin: 0; }
.fc-hero__meta { font-size: 14px; color: var(--fc-sky); margin: 10px 0 0; letter-spacing: .01em; }
.fc-hero__crumb { font-size: 13px; margin: 0 0 22px; }
.fc-hero__crumb a { color: rgba(255,255,255,.7); }
.fc-hero__crumb a:hover { color: #FFFFFF; }
.fc-hero__crumb span { color: rgba(255,255,255,.4); margin: 0 8px; }

/* ---- filter chips (landing) ------------------------------------------- */
.fc-filters { padding: 80px 15px 60px; }
.fc-filters__group { margin: 0 0 18px; }
.fc-filters__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fc-slate-light); margin: 0 0 10px; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-chip {
  font-size: 13.5px; font-weight: 500; padding: 7px 14px; border-radius: var(--fc-radius);
  background: var(--fc-surface); color: var(--fc-blue-deep);
  box-shadow: inset 0 0 0 1px var(--fc-line); transition: box-shadow .15s, color .15s;
}
.fc-chip:hover { box-shadow: inset 0 0 0 1px var(--fc-blue); color: var(--fc-navy); }
.fc-chip.is-active { background: var(--fc-navy); color: #FFFFFF; box-shadow: none; }
.fc-count { font-size: 13px; color: var(--fc-mute); margin: 8px 0 22px; }

/* ---- cards grid (landing) --------------------------------------------- */
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; padding-bottom: 80px; }
.fc-card {
  display: flex; flex-direction: column; background: var(--fc-surface); border-radius: 8px;
  box-shadow: inset 0px 0px 0px 0px #DAE0E7; padding: 24px 24px 20px; color: var(--fc-navy);
  transition: box-shadow .15s, transform .15s;
}


.fc-card:hover { box-shadow: inset 0 0 0 1px var(--fc-blue), 0 10px 28px rgba(34,49,74,.10); color: var(--fc-navy); }
.fc-card h3 { font-size: 20px; line-height: 1.25; font-weight: 700 !important; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--fc-deep); }
.fc-card__meta { font-size: 13px; color: var(--signal); margin: 0 0 16px; }
.fc-card dl { margin: 0 0 16px; }
.fc-card dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fc-slate-light); margin: 0 0 3px; }
.fc-card dd { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--fc-navy); }
.fc-card dd.fc-card__usecase { font-weight: 600; color: var(--fc-navy); }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 14px; }
.fc-tag { font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 6px; background: var(--fc-soft); color: var(--fc-grey); }
.fc-tag--industry { background: rgba(0,153,255,.08); color: var(--fc-blue-deep);}
.fc-card__read { font-size: 14px; font-weight: 600; color: var(--fc-blue-deep); }
.fc-card__read::after { content: " \2192"; }

/* ---- single spotlight --------------------------------------------------- */
.fc-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
  margin: -34px auto 0; position: relative; z-index: 2;
}
.fc-fact { background: var(--fc-surface); border-radius: 8px; box-shadow: inset 0 0 0 1px #fff, 0 8px 24px rgba(34,49,74,.08); padding: 18px 20px; }
.fc-fact dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fc-slate-light); margin: 0 0 6px; }
.fc-fact dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--fc-navy); }

.fc-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 56px 15px 24px; }
.fc-section { margin: 0 0 40px; }
.fc-section .fc-eyebrow { margin-bottom: 8px; }
.fc-section h2, .fc-prose h2 {
  font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--fc-deep);
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 3px solid var(--fc-blue); display: inline-block;
}
.fc-prose h2 { margin-top: 0; display: block; width: fit-content; }
.fc-prose .fc-eyebrow { display: block; margin: 34px 0 8px; padding-bottom:0px;}
.fc-prose .fc-eyebrow:first-child { margin-top: 0; }
.fc-prose h2:first-child { margin-top: 0; }
.fc-prose p, .fc-section p { font-size: 17px; line-height: 1.65; margin: 0 0 14px; color: var(--fc-navy); }
.fc-prose ul { margin: 0 0 14px; padding-left: 22px; }
.fc-prose li { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }
.fc-prose li::marker { color: var(--fc-blue); }

.fc-aside { position: sticky; top: 24px; align-self: start; }
.fc-panel { background: var(--fc-surface); border-radius: 8px; padding: 22px 22px 18px; margin: 0 0 18px; }
.fc-panel--navy { background: var(--fc-navy); color: #FFFFFF; box-shadow: none; }
.fc-panel--navy .fc-eyebrow { color: var(--fc-sky); }
.fc-panel--navy p { color: rgba(255,255,255,.88); }
.fc-panel h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fc-slate-light); margin: 0 0 12px; }
.fc-panel p { font-size: 15px; line-height: 1.55; margin: 0; }
.fc-panel.runs_on p {font-size: 15px; line-height: 1.55; font-weight: 500; color:#415A80;}
.fc-chips--stack { gap: 7px; }
.fc-chips--stack .fc-tag { background: var(--fc-soft); color:#415A80;}

/* ---- related + CTA ----------------------------------------------------- */
.fc-related { padding: 8px 15px 0px; }
.fc-related h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--fc-deep); margin: 0 0 20px; }
.fc-cta { background: var(--fc-navy); color: #FFFFFF; padding: 56px 0; }
.fc-cta h2 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: #FFFFFF; }
.fc-cta p { font-size: 17px; color: rgba(255,255,255,.82); max-width: 62ch; margin: 0 0 24px; }
.fc-btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--fc-radius); font-weight: 300; font-size: 15px; background: #FA6900; color: #f4f4f4 !important; transition: filter .15s;
}
.fc-btn:hover { background: #fff;}
.fc-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); margin-left: 10px; }
.fc-cta__prov { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fc-cta__prov img { height: 34px; width: auto; }
.fc-cta__prov small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 880px) {
  .fc-body { grid-template-columns: 1fr; gap: 28px; }
  .fc-aside { position: static; }
  .fc-hero h1 { font-size: 32px; }
  .fc-facts { margin-top: 0; padding-top: 24px; }
  .fc-cta h2 { font-size: 26px; }
}

/* v1.1: chips are <button>s now (JS filtering) */
button.fc-chip { font-family: inherit; cursor: pointer; border: 0; line-height: 1.4; }
.fc-empty { color: var(--fc-mute); font-size: 15px; margin: 8px 0 48px; }
.fc-empty .fc-chip { margin-left: 8px; }
.fc-card[hidden], .fc-empty[hidden] { display: none !important; }   /* display:flex on .fc-card would otherwise beat the hidden attribute */
