﻿/* ============ StartupYar â€” plain CSS (light + dark mode) ============ */

:root {
  --accent: #e10600;
  --sy-page: #f7f9fd;
  --sy-surface: #eceff5;
  --sy-ink: #0b1226;
  --sy-ink2: #616b7d;
  --sy-ink3: #8b93a3;
  --sy-line: #d9dfeb;
  --sy-soft: #eaf1ff;
  --sy-chip: #f2f5fb;
  --sy-field: #f8fafd;
  --sy-header: rgba(222,227,237,0.78);
  --sy-footer: #e9ecf1;
  --sy-footink: #0b1226;
  --sy-footext: #5f6a7d;
  --sy-footline: #d3d9e3;
  --sy-footmut: #7c8698;
  --sy-banner: var(--accent);
  --sy-iconbg: #eaf1ff;
  --sy-searchicon: #111111;
}

/* Cool blue-tinted (hue ~220), layered by elevation so surfaces read against
   the page instead of sitting flat: page (darkest) < field (recessed) <
   surface (cards) < chip (interactive). --sy-line stays lighter than the
   surfaces so card borders catch a subtle edge of light. */
[data-theme="dark"] {
  --sy-page: #161922;
  --sy-surface: #1e222c;
  --sy-ink: #eef1f7;
  --sy-ink2: #a6b0c1;
  --sy-ink3: #7e8899;
  --sy-line: #2c323d;
  --sy-soft: #222834;
  --sy-chip: #262c37;
  --sy-field: #1a1e27;
  --sy-header: rgba(22,25,34,0.82);
  --sy-footer: #13161e;
  --sy-footink: #eef1f7;
  --sy-footext: #99a3b4;
  --sy-footline: #242a34;
  --sy-footmut: #6e7889;
  --sy-banner: var(--accent);
  --sy-iconbg: #272e3a;
  --sy-searchicon: #cdd3de;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sy-page);
  color: var(--sy-ink);
  font-family: Manrope, system-ui, sans-serif;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; }
::placeholder { color: #9aa3b2; }

a { color: var(--accent); }
a:hover { color: var(--accent); filter: brightness(1.1); }

@keyframes syUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes buttonHoverPulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.02); opacity: 0.9; } 100% { transform: scale(1); opacity: 1; } }
@keyframes syMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- background canvas ---------- */
#sy-bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

/* ---------- logo swap ---------- */
.logo-light { display: block; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* ---------- header ---------- */
.sy-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--sy-header);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sy-line);
  transition: background 0.25s ease, border-color 0.25s ease;
}
/* The bar's three parts all scale with the viewport so the full nav survives
   down to tablet width instead of collapsing to the burger while space remains. */
.sy-headbar {
  padding: 9px clamp(12px, 2vw, 20px); display: flex; align-items: center;
  gap: clamp(8px, 1.4vw, 16px); flex-wrap: nowrap;
}
.sy-logo-btn { display: flex; align-items: center; background: none; border: none; cursor: pointer; padding: 0; flex: 0 0 auto; text-decoration: none; }
.sy-logo-img { height: clamp(16px, 1.7vw, 21px); width: auto; }
.sy-nav { position: relative; flex: 1 1 auto; display: flex; justify-content: center; gap: clamp(2px, 0.6vw, 10px); flex-wrap: nowrap; }
.sy-navlink {
  background: none; border: none; cursor: pointer; text-decoration: none;
  font-family: Manrope, sans-serif; font-size: clamp(12.5px, 1.05vw, 13.5px); color: var(--sy-ink);
  font-weight: 600; padding: 6px clamp(8px, 1.1vw, 14px); border-radius: 20px; white-space: nowrap;
  transition: all 0.3s ease; display: inline-block;
}
.sy-navlink:hover { color: var(--accent); font-weight: 700; background: rgba(255,255,255,0.15); border-radius: 20px; }
.sy-navlink.active { color: #000; font-weight: 800; background: color-mix(in srgb, var(--sy-line) 82%, #8b93a3); }
[data-theme="dark"] .sy-navlink.active { color: #fff; background: #2a3140; }

/* dropdown */
.sy-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.4,0,0.2,1), visibility 0.26s;
  background: var(--sy-surface); border: 1px solid var(--sy-line); border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(20,40,90,0.35);
  padding: 16px 14px 12px; min-width: 250px; z-index: 90;
}
.sy-dropdown.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd-title { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sy-ink3); margin: 0 8px 10px; }
.dd-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer; padding: 9px 8px; border-radius: 10px;
  font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; color: var(--sy-ink);
  text-decoration: none; transition: background 0.15s ease, color 0.15s ease;
}
.dd-item:hover { background: color-mix(in srgb, var(--g, #888) 7%, transparent); color: var(--g, var(--sy-ink)); }
.dd-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 999px; background: var(--g); }

/* header search */
.sy-search-form { display: flex; align-items: center; gap: clamp(6px, 0.8vw, 8px); flex: 0 1 auto; min-width: 0; }
.sy-search-input {
  flex: 1 1 auto; min-width: 92px; width: clamp(96px, 13vw, 170px); height: 36px;
  border: 1px solid var(--sy-line); border-radius: 999px; padding: 0 15px;
  font-family: Manrope, sans-serif; font-size: 13px; color: var(--sy-ink);
  outline: none; background: var(--sy-field);
}
.sy-search-input:focus { border-color: var(--accent); background: var(--sy-surface); }
.btn-search {
  flex: 0 0 auto; height: 36px; padding: 0 13px; border: none; border-radius: 999px;
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; cursor: pointer;
  color: #fff; background-color: var(--accent); transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.btn-search-icon { display: none; font-size: 13px; }
.btn-search:hover { filter: brightness(1.08); animation: buttonHoverPulse 0.6s ease-in-out; }
.btn-knob {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--sy-line); cursor: pointer; padding: 0;
  background: var(--sy-surface); color: var(--sy-ink);
  display: flex; align-items: center; justify-content: center; transition: background 0.35s ease;
}
.btn-burger {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--sy-line); cursor: pointer; padding: 0;
  background: var(--sy-surface); color: var(--sy-ink);
  display: none; position: relative;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
/* Three real bars, centered and stacked, so they can morph independently. */
.btn-burger .bar {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 2px;
  border-radius: 2px; background: currentColor;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), width 0.28s ease, opacity 0.2s ease;
}
.btn-burger .bar:nth-child(1) { transform: translate(-50%, -6px); }
.btn-burger .bar:nth-child(2) { transform: translate(-50%, -50%); }
.btn-burger .bar:nth-child(3) { transform: translate(-50%, 4px); }
/* Hover: accent the button and let the bars spread while the middle retracts. */
.btn-burger:hover { border-color: var(--accent); color: var(--accent); }
.btn-burger:hover .bar:nth-child(1) { transform: translate(-50%, -7px); }
.btn-burger:hover .bar:nth-child(2) { width: 10px; }
.btn-burger:hover .bar:nth-child(3) { transform: translate(-50%, 5px); }
/* Open: morph the three bars into an X. */
.btn-burger.open .bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); width: 18px; }
.btn-burger.open .bar:nth-child(2) { opacity: 0; }
.btn-burger.open .bar:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); width: 18px; }

/* Menu reveal: animated collapse via max-height/opacity rather than display. */
.sy-mobile-nav {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 0; overflow: hidden; opacity: 0;
  padding: 0 16px; border-top: 1px solid transparent;
  transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.26s ease,
              padding 0.32s ease, border-color 0.26s ease;
}
.sy-mobile-nav.open {
  max-height: 360px; opacity: 1;
  padding: 6px 16px 14px; border-top-color: var(--sy-line);
}
@media (prefers-reduced-motion: reduce) {
  .btn-burger .bar, .sy-mobile-nav { transition: none; }
}
.sy-mobile-nav a {
  background: none; border: none; cursor: pointer; text-align: left; text-decoration: none;
  font-family: Manrope, sans-serif; font-size: 15px; color: var(--sy-ink);
  font-weight: 600; padding: 11px 8px; border-radius: 10px; transition: background 0.2s ease;
}
.sy-mobile-nav a:hover { background: var(--sy-chip); }

.sy-mobile-search { display: none; gap: 8px; padding: 4px 0 8px; }
.sy-mobile-search .sy-search-input { width: auto; height: 40px; }
.sy-mobile-search .btn-search { height: 40px; }

/* Tier 1 â€” tight on space: the search button drops its label for the icon. */
@media (max-width: 900px) {
  .btn-search { padding: 0; width: 36px; }
  .btn-search-label { display: none; }
  .btn-search-icon { display: block; }
}
/* Tier 2 â€” out of room for the links: swap the nav for the burger menu. */
@media (max-width: 720px) {
  .sy-nav { display: none; }
  .btn-burger { display: flex; }
  /* With the links gone, let the search take the freed space. */
  .sy-search-form { flex: 1 1 auto; }
  .sy-search-input { width: auto; }
}
/* Tier 3 â€” phones: the compact bar is logo + theme + burger, and search
   moves into the menu so the bar itself never crowds. */
@media (max-width: 480px) {
  .sy-search-form { flex: 0 0 auto; margin-left: auto; }
  .sy-search-form .sy-search-input, .sy-search-form .btn-search { display: none; }
  .sy-mobile-search { display: flex; }
  .sy-mobile-nav.open { max-height: 440px; }
}

/* ---------- buttons ---------- */
.btn-red {
  border: none; border-radius: 999px; background: var(--accent); color: #fff;
  font-family: Manrope, sans-serif; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.btn-red:hover { filter: brightness(1.08); animation: buttonHoverPulse 0.6s ease-in-out; color: #fff; }
.btn-dark {
  border: none; border-radius: 999px; background: #0b1226; color: #fff;
  font-family: Manrope, sans-serif; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none;
}
.btn-dark:hover { background: #060b1c; transform: translateY(-1px); animation: buttonHoverPulse 0.6s ease-in-out; color: #fff; }
.btn-ghost {
  border: 1.5px solid var(--sy-line); border-radius: 12px; background: var(--sy-surface);
  color: var(--sy-ink); font-family: Manrope, sans-serif; font-weight: 700; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover { filter: brightness(0.97); animation: buttonHoverPulse 0.6s ease-in-out; color: var(--sy-ink); }
.btn-cta-red {
  border: none; border-radius: 12px; background: var(--accent); color: #fff;
  font-family: Manrope, sans-serif; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none;
}
.btn-cta-red:hover { filter: brightness(1.08); animation: buttonHoverPulse 0.6s ease-in-out; color: #fff; }

/* ---------- inputs ---------- */
.sy-input {
  border: 1px solid var(--sy-line); border-radius: 10px; padding: 0 14px;
  font-family: Manrope, sans-serif; font-size: 14px; background: var(--sy-field);
  outline: none; color: var(--sy-ink); height: 46px; width: 100%;
}
textarea.sy-input { padding: 12px 14px; resize: vertical; height: auto; }
.sy-input:focus { border-color: var(--accent); background: var(--sy-surface); }

/* ---------- cards ---------- */
.card {
  background: var(--sy-surface); border: 1px solid var(--sy-line);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.16), 0 22px 44px -18px rgba(225,6,0,0.45);
  transform: translateY(-3px);
}
.visit-link {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px;
  border-radius: 10px; border: 1.5px solid var(--sy-line); color: var(--sy-ink);
  text-decoration: none; font-size: 13.5px; font-weight: 700; transition: all 0.2s ease;
}
.visit-link:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.14); transform: translateY(-1px); filter: none;
}
.social-circle {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--sy-line);
  background: var(--sy-surface); color: var(--sy-ink);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  text-decoration: none; transition: all 0.16s ease;
}
.social-circle:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); filter: none; }

/* ---------- filter chips ---------- */
.chip {
  position: relative; overflow: hidden;
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--sy-line); background: var(--sy-surface); color: var(--sy-ink);
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 13.5px; cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.chip.sm { height: 34px; padding: 0 15px; font-size: 12.5px; }
.chip:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--sy-line));
  box-shadow: 0 6px 16px -8px rgba(20,40,90,0.35);
}
/* Gleam: a diagonal light band sweeps across the pill on hover. On the light
   pills it also carries a faint accent tint so it reads against the light
   surface; on dark it's a brighter white sheen. */
.chip::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%,
              color-mix(in srgb, #fff 78%, var(--accent)) 50%, transparent 68%);
  opacity: 0.7; transform: translateX(-120%);
}
[data-theme="dark"] .chip::after {
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.42) 50%, transparent 66%);
  opacity: 1;
}
.chip:hover::after { animation: chipGleam 0.7s ease; }
@keyframes chipGleam { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .chip:hover::after { animation: none; } }
.chip-bar {
  position: absolute; height: 3px; border-radius: 2px; opacity: 0;
  transition: left 0.32s cubic-bezier(0.4,0,0.2,1), width 0.32s cubic-bezier(0.4,0,0.2,1),
              top 0.32s cubic-bezier(0.4,0,0.2,1), background 0.32s ease;
  pointer-events: none;
}

/* ---------- category rail ---------- */
.rail-btn {
  width: 100%; text-align: left; background: transparent; border: none;
  border-left: 3px solid transparent; cursor: pointer; padding: 12px 16px;
  font-family: Manrope, sans-serif; font-size: 14px; font-weight: 500; color: var(--sy-ink2);
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.rail-btn:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); filter: none; }

/* Hover glimpse: a floating preview of a category's tools, built on the fly
   from the tools already in that category's (hidden) section. */
.sy-glimpse {
  position: fixed; z-index: 300; width: 280px; display: none;
  background: var(--sy-surface); border: 1px solid var(--sy-line); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(20,40,90,0.4); padding: 14px;
}
.sy-glimpse-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sy-glimpse-title { font-size: 14.5px; font-weight: 800; color: var(--sy-ink); }
.sy-glimpse-count { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--sy-ink3); }
.sy-glimpse-tools { display: flex; flex-direction: column; gap: 3px; }
.sy-glimpse-tool {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px;
  text-decoration: none; color: var(--sy-ink); transition: background 0.15s ease;
}
.sy-glimpse-tool:hover { background: var(--sy-chip); color: var(--sy-ink); filter: none; }
.sy-glimpse-tool img {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 7px; border: 1px solid var(--sy-line);
  background: #fff; padding: 4px; object-fit: contain; box-sizing: border-box;
}
.sy-glimpse-tool span { min-width: 0; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-glimpse-more { margin-top: 9px; font-size: 12px; font-weight: 700; color: var(--accent); text-align: center; }
.sy-glimpse-empty { padding: 6px 8px; font-size: 13px; color: var(--sy-ink2); }
.rail-btn i { width: 18px; font-size: 14px; color: transparent; }
.rail-btn.active { background: var(--sy-soft); border-left-color: var(--accent); color: var(--accent); font-weight: 700; }
/* Dark mode: category names read white instead of the muted grey used in light
   mode. Hover is already red in both themes (it mixes off --accent), and the
   active row keeps its existing white treatment (see rules below). */
[data-theme="dark"] .rail-btn { color: #fff; }
.rail-btn.active i { color: var(--accent); }
[data-theme="dark"] .rail-btn.active { border-left-color: #fff; color: #fff; }
[data-theme="dark"] .rail-btn.active i { color: #fff; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--sy-line); border-radius: 16px; background: var(--sy-surface);
  overflow: hidden; box-shadow: 0 10px 30px -26px rgba(20,40,90,0.5);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.12), 0 16px 34px -22px rgba(225,6,0,0.35);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px;
  font-family: Manrope, sans-serif; font-size: 17px; font-weight: 700; color: var(--sy-ink);
}
.faq-q i { flex: 0 0 auto; font-size: 15px; color: var(--accent); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.open .faq-body { max-height: 520px; }
.faq-body p { margin: 0; padding: 0 24px 24px; font-size: 15.5px; line-height: 1.65; color: var(--sy-ink2); overflow-wrap: anywhere; }

/* ---------- explore logos (categories page) ---------- */
.xlogo { position: relative; z-index: 1; display: block; text-decoration: none; }
.xlogo img {
  display: block; width: 54px; height: 54px; border-radius: 999px;
  border: 1px solid var(--sy-line); background: #fff; padding: 11px;
  object-fit: contain; box-sizing: border-box;
  transition: transform 0.22s ease; cursor: pointer;
}
.xlogo .tip {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 240px; margin-left: -120px;
  padding: 14px 16px; border-radius: 14px; background: var(--sy-surface);
  border: 1px solid var(--sy-line); box-shadow: 0 18px 40px -14px rgba(20,40,90,0.35);
  text-align: left; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.xlogo:hover { z-index: 30; }
.xlogo:hover img { transform: scale(1.15); }
.xlogo:hover .tip { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- footer ---------- */
.sy-footer { background: var(--sy-footer); color: var(--sy-footext); margin-top: 20px; transition: background 0.25s ease; }
.sy-footer a { text-decoration: none; color: var(--sy-footext); font-size: 14px; }
.sy-footer a:hover { color: var(--sy-footink); filter: none; }

/* ---------- tool details ---------- */
.sy-thumb {
  flex: 0 0 auto; width: 110px; aspect-ratio: 16/9; padding: 0; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--sy-line); background: var(--sy-chip);
  cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sy-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sy-thumb:hover { border-color: var(--accent); filter: none; }
.sy-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,6,0,0.14); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  #sy-cat-main { grid-template-columns: 1fr !important; }
  #sy-cat-main aside { position: static !important; }
  .tool-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  #sy-foot-grid { grid-template-columns: 1fr 1fr !important; }
  #sy-reg-grid, .sy-reg-socials { grid-template-columns: 1fr !important; }
}

/* All Tools forces two columns; drop to one when the column gets too narrow. */
@media (max-width: 760px) {
  .sy-tool-grid--2col { grid-template-columns: 1fr !important; }
}

/* ---------- supercategory filter cards (journey visual on the chips) ---------- */
.chip-step {
  display: flex; align-items: center; gap: 10px; text-align: left;
  height: auto; padding: 10px 16px 10px 10px; border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.chip-step:hover {
  border-color: var(--g, var(--accent)); transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--g, #000) 60%, transparent);
}
.chip-step-num {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--g, var(--sy-ink));
  background: color-mix(in srgb, var(--g, #8b93a3) 14%, transparent);
}
.chip-step-name { display: block; font-size: 14px; font-weight: 800; color: var(--sy-ink); white-space: nowrap; }
.chip-step-sub { display: block; font-size: 11.5px; font-weight: 600; color: var(--sy-ink3); margin-top: 2px; }

.sy-back { transition: color 0.2s ease, transform 0.2s ease; }
.sy-back:hover { color: var(--accent); filter: none; transform: translateX(-3px); }

/* Live-search dropdown, body-level and fixed-positioned under the active input. */
.sy-search-results {
  position: fixed; z-index: 200; display: none;
  background: var(--sy-surface); border: 1px solid var(--sy-line); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(20,40,90,0.35);
  padding: 8px; max-height: min(70vh, 460px); overflow-y: auto;
}
.sy-sr-group {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sy-ink3); padding: 10px 10px 4px;
}
.sy-sr-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: var(--sy-ink); transition: background 0.15s ease;
}
.sy-sr-item:hover { background: var(--sy-chip); color: var(--sy-ink); filter: none; }
.sy-sr-logo {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px;
  border: 1px solid var(--sy-line); background: #fff; padding: 5px;
  object-fit: contain; box-sizing: border-box;
}
.sy-sr-ic {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  color: var(--g, var(--sy-ink3)); background: color-mix(in srgb, var(--g, #8b93a3) 14%, transparent);
}
.sy-sr-name {
  flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sy-sr-meta { flex: 0 0 auto; font-size: 12px; color: var(--sy-ink3); }
.sy-sr-empty { padding: 18px 12px; font-size: 14px; color: var(--sy-ink2); text-align: center; }

/* "Featured in" press-credit logos in the hero: always at full color, lifting
   slightly on hover to signal they are clickable. */
.sy-featby { transition: transform 0.2s ease; }
.sy-featby:hover { transform: translateY(-2px); }

/* Honeypot: off-screen for people, still filled in by bots. Not display:none —
   some bots skip anything hidden that way. */
.sy-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
@media (max-width: 640px) {
  #sy-help-grid { grid-template-columns: 1fr !important; }
  #sy-help-grid img { min-height: 180px !important; }
}
@media (max-width: 440px) {
  #sy-foot-grid { grid-template-columns: 1fr !important; }
}
