/* The three free tools on spektx.com: the strip of slash chips every page carries, the home section's small parts,
   and each tool's own colour inside its page. Stands alone: the tool pages do not load styles.css. */

/* ── the strip ── */
.ft-strip { position: relative; margin: 0; padding: 9px 18px; background: #050507; border-bottom: 1px solid rgba(255, 255, 255, .09); font: 500 12.5px/1.2 "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; color: #b9bfcf; text-align: left; }
.ft-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, #ff4f9e, #6f7dff, #b6f23a); opacity: .6; }
.ft-strip .ft-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.ft-strip .ft-home { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 500; letter-spacing: .14em; padding: 2px 4px 2px 0; border-radius: 8px; }
.ft-strip .ft-home img { width: 28px; height: 28px; display: block; }
.ft-strip .ft-say { margin: 0; padding: 0; font: inherit; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: #b9bfcf; }
.ft-strip .ft-say b { color: #fff; font-weight: 500; }
.ft-strip .ft-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ft-strip .ft-chips li { margin: 0; padding: 0; }
.ft-strip .ft-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--c) 8%, transparent); color: #e1e3ea; text-decoration: none; white-space: nowrap; }
.ft-strip .ft-chip img { width: 22px; height: 22px; border-radius: 6px; display: block; }
.ft-strip .ft-chip b { font-weight: 500; color: #fff; letter-spacing: .02em; }
.ft-strip .ft-chip span { color: var(--c); }
.ft-strip .ft-chip:hover, .ft-strip .ft-chip[aria-current="page"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.ft-strip a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 720px) { .ft-strip { padding: 8px 12px; } .ft-strip .ft-chip b { display: none; } .ft-strip .ft-chip { padding-right: 10px; } }

/* ── each tool's colour inside its own page ── */
html[data-tool="pitchforge"] { --tool: #ff4f9e; --tool-a: #7a264c; --tool-b: #571b36; --tool-rgb: 255, 79, 158; }
html[data-tool="engineerbridge"] { --tool: #6f7dff; --tool-a: #353c7a; --tool-b: #262b57; --tool-rgb: 111, 125, 255; }
html[data-tool="zip-to-text"] { --tool: #b6f23a; --tool-a: #4c6618; --tool-b: #374911; --tool-rgb: 182, 242, 58; }

/* the two courses: the primary button and the progress bars wear the tool's colour */
html[data-tool="pitchforge"] button:not(.secondary):not(.danger), html[data-tool="engineerbridge"] button:not(.secondary):not(.danger) { background: linear-gradient(180deg, var(--tool-a), var(--tool-b)); border-color: rgba(var(--tool-rgb), .5); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 16px rgba(var(--tool-rgb), .08); }
html[data-tool="pitchforge"] .bar, html[data-tool="engineerbridge"] .bar { background: linear-gradient(90deg, var(--tool-b), var(--tool)); box-shadow: 0 0 12px rgba(var(--tool-rgb), .35); }
/* the header mark is the tool's icon */
html[data-tool="pitchforge"] .mark, html[data-tool="engineerbridge"] .mark { width: 46px; height: 46px; border: 0; border-radius: 11px; background: none; box-shadow: 0 0 20px rgba(var(--tool-rgb), .22); }
html[data-tool="pitchforge"] .mark::before, html[data-tool="pitchforge"] .mark::after, html[data-tool="engineerbridge"] .mark::before, html[data-tool="engineerbridge"] .mark::after { display: none; }
html[data-tool="pitchforge"] .mark img, html[data-tool="engineerbridge"] .mark img { width: 46px; height: 46px; display: block; border-radius: 11px; }

/* Zip to Text: the convert button and its icon */
html[data-tool="zip-to-text"] .convert { background: linear-gradient(180deg, var(--tool-a), var(--tool-b)); border-color: rgba(var(--tool-rgb), .5); color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 10px 25px rgba(var(--tool-rgb), .1); }
html[data-tool="zip-to-text"] .brand-icon { border-radius: 11px; box-shadow: 0 0 20px rgba(var(--tool-rgb), .2); }
