/*
Signal Labs Shared Asset File: assets/global.css
Version: v0.9.9.6
Purpose: Shared styles, navigation, footer, public pages, action bar, modal/dialog, toast, empty-state, and ad slot framework.
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: dark;
  --bg: #07080c;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.08);
  --toolbar: rgba(19,21,27,.88);
  --toolbar-strong: rgba(26,29,36,.94);
  --text: #ffffff;
  --muted: #9a9a9a;
  --soft: #cfcfcf;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --green: #73ff8f;
  --green-strong: #22c55e;
  --blue: #56a6ff;
  --purple: #cb9cff;
  --orange: #ffb14d;
  --danger: #ff7b7b;
  --radius-card: 28px;
  --radius-toolbar: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 90px rgba(0,0,0,.22);
  --shadow-toolbar: 0 18px 60px rgba(0,0,0,.32);
}

body {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(80,140,255,.15), transparent 32rem),
    radial-gradient(circle at top right, rgba(115,255,143,.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.06); color: var(--text); padding: 14px 18px; cursor: pointer; }
button:hover { background: rgba(255,255,255,.1); border-color: var(--border-strong); }
button:disabled { opacity: .45; cursor: not-allowed; }

.page { width: min(1180px, 100%); margin: 0 auto; }
.hero { padding: 22px 0 8px; }
.eyebrow { margin-bottom: 16px; color: var(--green); font-size: 14px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; }
.hero h1 { max-width: 880px; margin-bottom: 10px; font-size: clamp(48px, 8vw, 86px); line-height: .95; letter-spacing: -.05em; }
.subtitle { max-width: 720px; color: var(--soft); font-size: 20px; line-height: 1.7; }
.card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--panel); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.section-heading { margin-bottom: 22px; }
.section-heading h2, .card h2 { margin-bottom: 8px; font-size: 32px; letter-spacing: -.03em; }
.section-heading p, .card p { color: var(--muted); line-height: 1.7; }
.tool-section, .status-card { margin-bottom: 24px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.035); transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: rgba(255,255,255,.06); }
.tool-kicker { width: fit-content; padding: 7px 11px; border-radius: var(--radius-pill); background: rgba(80,140,255,.16); color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tool-card strong { display: block; font-size: 28px; letter-spacing: -.03em; }
.tool-card p { color: var(--muted); line-height: 1.65; }
.summary-card { margin-top: 18px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.summary-card p { color: var(--muted); line-height: 1.8; }
.summary-card strong { color: var(--text); }

/* Signal Labs global navigation */
.signal-nav { width: min(1180px, calc(100% - 48px)); margin: 0 auto 18px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-toolbar); background: var(--toolbar); box-shadow: var(--shadow-toolbar); backdrop-filter: blur(18px); }
.signal-nav-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.signal-nav-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 10px 14px; border: 1px solid rgba(148,163,184,.22); border-radius: var(--radius-pill); background: rgba(255,255,255,.035); color: var(--text); font-weight: 900; letter-spacing: -.02em; }
.signal-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.signal-nav-link, .signal-nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 10px 15px; border: 1px solid rgba(148,163,184,.22); border-radius: var(--radius-pill); background: rgba(255,255,255,.035); color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
.signal-nav-link:hover, .signal-nav-link.is-active { border-color: rgba(34,197,94,.72); background: rgba(34,197,94,.14); color: #86efac; transform: translateY(-1px); }
.signal-nav-toggle { display: none; width: auto; color: var(--text); cursor: pointer; }

/* Signal Labs global footer */
.signal-footer, .version { width: min(1180px, 100%); margin: 26px auto 0; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-toolbar); background: var(--toolbar); box-shadow: var(--shadow-toolbar); backdrop-filter: blur(18px); }
.signal-footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.signal-footer-title { font-weight: 900; letter-spacing: -.02em; }
.signal-footer-meta, .signal-footer-copy, .footer-copy { color: #8b8b8b; font-size: 13px; line-height: 1.6; }
.signal-footer-links, .footer-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: 0; }
.signal-footer-link, .footer-actions button { min-height: 34px; padding: 8px 12px; border: 1px solid rgba(148,163,184,.22); border-radius: var(--radius-pill); background: rgba(255,255,255,.035); color: var(--soft); font-size: 13px; font-weight: 800; }
.signal-footer-link:hover, .footer-actions button:hover { border-color: rgba(34,197,94,.66); color: #86efac; }
.version { text-align: center; }
.version .footer-actions { justify-content: center; margin-bottom: 12px; }

/* Shared action bar */
.shared-action-bar, .signal-action-bar { width: min(1100px, 100%); margin: 22px auto; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-toolbar); background: linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.035)); box-shadow: var(--shadow-toolbar); backdrop-filter: blur(16px); }
.shared-action-bar-inner, .signal-action-bar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.shared-action-group, .signal-action-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shared-action-group-left, .signal-action-group-left { justify-content: flex-start; }
.shared-action-group-center, .signal-action-group-center { justify-content: center; }
.shared-action-group-right, .signal-action-group-right { justify-content: flex-end; }
.shared-action-bar button, .signal-action-bar button, .signal-button { min-height: 36px; padding: 9px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 900; white-space: nowrap; }
.primary-action, .signal-button-primary { min-width: 180px; border-color: rgba(34,197,94,.58); background: rgba(34,197,94,.78); color: #fff; }
.primary-action:hover, .signal-button-primary:hover { background: rgba(34,197,94,.9); }
.signal-button-danger { border-color: rgba(255,123,123,.42); color: #ffb4b4; }
.shared-action-note, .signal-action-note { margin-top: 8px; text-align: center; font-size: .78rem; color: rgba(255,255,255,.56); }

/* Empty states */
.empty-state, .shared-empty-state, .signal-empty-state { border: 1px dashed rgba(255,255,255,.16); border-radius: 18px; padding: 14px; background: rgba(255,255,255,.025); color: rgba(255,255,255,.68); text-align: center; }
.empty-state strong, .shared-empty-state strong, .signal-empty-state strong { display: block; color: rgba(255,255,255,.86); margin-bottom: 3px; }

/* Modal/dialog system */
.modal, .signal-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(0,0,0,.72); cursor: pointer; }
.modal.hidden, .signal-modal.hidden { display: none; }
.modal-box, .signal-modal-box { position: relative; width: min(780px, 100%); max-height: min(760px, 86vh); overflow: auto; padding: 24px; border: 1px solid var(--border-strong); border-radius: 26px; background: #101218; box-shadow: 0 24px 100px rgba(0,0,0,.5); cursor: default; }
.modal-box h2, .signal-modal-box h2 { margin-bottom: 14px; letter-spacing: -.03em; }
.modal-box pre, .signal-modal-box pre { overflow: auto; white-space: pre-wrap; color: #ddd; line-height: 1.65; }
.modal-close, .signal-modal-close { position: absolute; top: 14px; right: 14px; width: auto; min-height: 32px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 20px; line-height: 1; }
.signal-modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* Toasts */
.signal-toast-zone { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 10px; width: min(360px, calc(100vw - 36px)); }
.signal-toast { padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 18px; background: var(--toolbar-strong); box-shadow: var(--shadow-toolbar); color: var(--text); font-size: 14px; line-height: 1.45; }
.signal-toast-success { border-color: rgba(34,197,94,.55); }
.signal-toast-error { border-color: rgba(255,123,123,.55); }
.signal-toast-info { border-color: rgba(86,166,255,.55); }

/* Ad Slot Framework */
.ad-slot { width: 100%; margin: 24px auto; border: 1px dashed rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.025); color: #777; text-align: center; overflow: hidden; }
.ad-slot.is-disabled, .ad-slot[data-ad-status="disabled"] { display: none !important; visibility: hidden !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; }
.ad-slot.is-disabled .ad-placeholder, .ad-slot[data-ad-status="disabled"] .ad-placeholder { display: none !important; }
.ad-slot.is-placeholder, .ad-slot[data-ad-status="placeholder"] { display: flex; align-items: center; justify-content: center; }
.ad-placeholder { display: block; padding: 16px; color: #777; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ad-slot-top, .ad-slot-footer { max-width: 970px; min-height: 90px; }
.ad-slot-inline { max-width: 728px; min-height: 90px; }
.ad-slot-sidebar, .ad-slot-card { max-width: 320px; min-height: 250px; }

@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  body { padding: 12px; }
  .signal-nav { width: 100%; margin-bottom: 12px; border-radius: 20px; }
  .signal-nav-inner { grid-template-columns: 1fr auto; }
  .signal-nav-toggle { display: inline-flex; }
  .signal-nav-links { display: none; grid-column: 1 / -1; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .signal-nav-links.is-open { display: flex; }
  .signal-nav-link { width: 100%; }
  .signal-nav-brand { justify-content: flex-start; }
  .hero { padding-top: 28px; padding-bottom: 24px; text-align: center; }
  .eyebrow { font-size: 13px; letter-spacing: .28em; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .subtitle { margin-left: auto; margin-right: auto; font-size: 16px; }
  .card { padding: 18px; border-radius: 22px; }
  .section-heading h2, .card h2 { font-size: 24px; }
  .signal-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .signal-footer-links { justify-content: center; }
  .shared-action-bar-inner, .signal-action-bar-inner { grid-template-columns: 1fr; gap: 10px; }
  .shared-action-group, .signal-action-group { justify-content: center; }
  .shared-action-group-center, .signal-action-group-center { order: -1; }
  .primary-action, .signal-button-primary { width: 100%; min-width: 0; }
  .shared-action-bar button, .signal-action-bar button, .signal-button { flex: 1 1 42%; }
  .modal-box, .signal-modal-box { padding: 20px; border-radius: 22px; }
  .ad-slot { margin: 18px auto; border-radius: 16px; }
  .ad-slot-top, .ad-slot-inline, .ad-slot-footer { max-width: 100%; min-height: 80px; }
  .ad-slot-sidebar, .ad-slot-card { max-width: 100%; min-height: 180px; }
}
@media (max-width: 420px) { .signal-footer-links, .footer-actions { flex-direction: column; } .signal-footer-link, .footer-actions button { width: 100%; } }


/* Home v0.9.0 — Homepage Density Pass */
.home-redesign {
  padding: 26px 32px 0;
  background:
    radial-gradient(circle at 78% 14%, rgba(34, 197, 94, .16), transparent 26rem),
    radial-gradient(circle at 2% 0%, rgba(86, 166, 255, .10), transparent 30rem),
    linear-gradient(180deg, #07090d 0%, #090d12 44%, #07080c 100%);
}
.home-page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.home-nav {
  width: min(1180px, 100%);
  margin-bottom: 34px;
  padding: 10px 14px;
  border-color: rgba(148, 163, 184, .18);
  background: rgba(15, 18, 24, .82);
}
.home-nav-inner {
  grid-template-columns: auto 1fr;
}
.signal-nav-mark {
  width: 44px;
  height: 44px;
  padding: 9px;
  color: var(--green);
  border-color: rgba(34,197,94,.55);
  background: rgba(34,197,94,.08);
}
.signal-nav-mark svg,
.home-footer-mark svg,
.home-hero-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-nav-links {
  justify-content: center;
  gap: 14px;
}
.home-nav .signal-nav-link {
  min-width: 110px;
  min-height: 48px;
  font-size: 15px;
  color: rgba(255,255,255,.80);
  background: transparent;
}
.home-nav .signal-nav-link.is-active {
  color: #fff;
  border-color: rgba(34,197,94,.56);
  background: linear-gradient(180deg, rgba(34,197,94,.40), rgba(34,197,94,.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 14px 35px rgba(34,197,94,.15);
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 58px;
  min-height: 430px;
  padding: 34px 20px 74px;
}
.home-kicker {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(58px, 8vw, 88px);
  line-height: .94;
  letter-spacing: -.065em;
}
.home-tagline {
  margin-bottom: 20px;
  color: var(--green);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.04em;
}
.home-subtitle {
  max-width: 640px;
  color: var(--soft);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}
.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.home-hero-actions .signal-button {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 18px;
}
.home-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.home-hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(34,197,94,.28), transparent 55%),
    radial-gradient(circle, rgba(34,197,94,.12) 1px, transparent 1px);
  background-size: auto, 14px 14px;
  filter: blur(.2px);
  opacity: .8;
}
.home-hero-icon {
  position: relative;
  width: 220px;
  height: 220px;
  padding: 34px;
  color: var(--green-strong);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 42px;
  background: rgba(10,14,18,.78);
  box-shadow: 0 28px 90px rgba(34,197,94,.14), inset 0 1px 0 rgba(255,255,255,.08);
}
.home-section {
  width: min(1080px, 100%);
  margin: 0 auto 42px;
}
.home-tools-section {
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.home-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}
.home-section-icon {
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}
.home-section-heading h2,
.home-why-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
  letter-spacing: -.04em;
}
.home-section-heading p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.6;
}
.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.home-tool-card {
  display: flex;
  min-height: 335px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: 0 22px 80px rgba(0,0,0,.20);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.home-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34,197,94,.42);
  background: linear-gradient(145deg, rgba(34,197,94,.075), rgba(255,255,255,.035));
}
.home-tool-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: var(--green-strong);
  font-size: 42px;
  line-height: 1;
}
.home-tool-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -.04em;
}
.home-tool-card p {
  color: var(--soft);
  line-height: 1.62;
}
.home-card-link {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--green);
  font-weight: 900;
}
.home-why-card {
  padding: 34px 32px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: var(--shadow-soft);
}
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}
.home-why-grid > div {
  min-height: 150px;
  padding-right: 28px;
  border-right: 1px solid rgba(255,255,255,.10);
}
.home-why-grid > div:last-child { border-right: 0; }
.home-why-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--green-strong);
  font-size: 40px;
  line-height: 1;
}
.home-why-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
}
.home-why-grid p {
  color: var(--soft);
  line-height: 1.62;
}
.home-footer {
  width: 100%;
  max-width: none;
  margin: 46px 0 0;
  padding: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0;
  background: rgba(8,11,15,.84);
}
.home-footer-main {
  display: grid;
  grid-template-columns: 1.25fr 2fr 1.05fr;
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 46px 18px 38px;
}
.home-footer-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 22px;
}
.home-footer-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 7px;
  color: var(--green);
  border: 1px solid rgba(34,197,94,.55);
  border-radius: 9px;
  background: rgba(34,197,94,.08);
}
.home-footer-brand p,
.home-footer-status p {
  color: var(--soft);
  line-height: 1.65;
}
.home-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}
.home-footer h3 {
  margin-bottom: 18px;
  font-size: 15px;
  letter-spacing: -.02em;
}
.home-footer-links a {
  display: block;
  margin-bottom: 14px;
  color: var(--soft);
  font-size: 15px;
}
.home-footer-links a:hover,
.home-footer-bottom a:hover { color: var(--green); }
.home-footer-status {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.home-status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(34,197,94,.16);
  color: #86efac;
  font-weight: 900;
}
.home-status-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: var(--green);
  font-weight: 900;
}
.home-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 18px 20px;
  color: var(--soft);
  font-size: 14px;
}
.home-footer-bottom strong { color: var(--green); }
.home-footer-bottom nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.home-footer-bottom a { color: var(--soft); }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .home-hero-copy { display: grid; justify-items: center; }
  .home-hero-actions { justify-content: center; }
  .home-hero-art { min-height: 260px; }
  .home-tool-grid, .home-why-grid, .home-footer-main, .home-footer-links { grid-template-columns: 1fr; }
  .home-why-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); padding-right: 0; padding-bottom: 24px; }
  .home-why-grid > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .home-footer-bottom nav { margin-left: 0; }
}
@media (max-width: 700px) {
  .home-redesign { padding: 14px 14px 0; }
  .home-nav { padding: 8px; }
  .home-nav-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .home-nav-links { justify-content: stretch; }
  .home-nav .signal-nav-link { min-width: 0; min-height: 42px; }
  .home-hero { min-height: auto; padding: 26px 4px 54px; }
  .home-kicker { font-size: 12px; }
  .home-hero h1 { font-size: clamp(54px, 16vw, 74px); }
  .home-tagline { font-size: 28px; }
  .home-subtitle { font-size: 18px; }
  .home-hero-actions .signal-button { width: 100%; }
  .home-hero-icon { width: 180px; height: 180px; border-radius: 34px; }
  .home-tool-card { min-height: 280px; padding: 24px; }
  .home-why-card { padding: 26px 22px; }
  .home-footer-main { padding: 38px 8px 30px; gap: 32px; }
  .home-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .home-footer-bottom nav { flex-wrap: wrap; justify-content: center; }
}


/* Home v0.9.0 — Homepage Density Pass */
.home-hero { min-height: 390px; padding-bottom: 58px; }
.home-hero-actions { margin-top: 30px; }
.home-hero-actions .signal-button { min-height: 48px; padding: 12px 22px; font-size: 15px; }
.home-hero-art { min-height: 320px; }
.home-hero-orb { width: 280px; height: 280px; }
.home-hero-icon { width: 190px; height: 190px; padding: 30px; border-radius: 36px; }
.home-section { margin-bottom: 34px; }
.home-tools-section { padding-top: 40px; }
.home-section-heading { margin-bottom: 24px; }
.home-tool-grid { gap: 20px; }
.home-tool-card { min-height: 280px; padding: 24px; }
.home-tool-icon { width: 62px; height: 62px; margin-bottom: 22px; font-size: 34px; border-radius: 15px; }
.home-tool-card strong { font-size: 22px; }
.home-card-link { padding-top: 22px; }
.home-why-card { padding: 28px; }
.home-why-grid { gap: 22px; margin-top: 26px; }
.home-why-grid > div { min-height: 124px; padding-right: 22px; }
.home-why-icon { margin-bottom: 14px; font-size: 32px; }
.home-footer { margin-top: 36px; }
.home-footer-main { gap: 36px; padding-top: 38px; padding-bottom: 30px; }
.home-footer-brandline { margin-bottom: 14px; font-size: 20px; }
.home-footer-links { gap: 30px; }
.home-footer-group { border: 0; }
.home-footer-group summary { list-style: none; margin-bottom: 18px; cursor: default; }
.home-footer-group summary::-webkit-details-marker { display: none; }
.home-footer-group summary span { font-size: 15px; font-weight: 900; letter-spacing: -.02em; }
.home-footer-status { padding: 20px; }
.home-footer-bottom { padding: 14px 20px; font-size: 13px; }

@media (max-width: 700px) {
  .home-redesign { padding: 12px 12px 0; }
  .home-nav { margin-bottom: 22px; }
  .signal-nav-mark { width: 38px; height: 38px; padding: 8px; }
  .signal-nav-toggle { min-height: 40px; padding: 9px 14px; }
  .home-hero { padding: 18px 2px 34px; gap: 18px; }
  .home-kicker { margin-bottom: 14px; font-size: 11px; letter-spacing: .22em; }
  .home-hero h1 { margin-bottom: 12px; font-size: clamp(46px, 14vw, 62px); }
  .home-tagline { margin-bottom: 14px; font-size: clamp(25px, 7vw, 32px); line-height: 1.05; }
  .home-subtitle { max-width: 92%; font-size: 16px; line-height: 1.5; }
  .home-hero-actions { width: 100%; justify-content: center; gap: 10px; margin-top: 26px; }
  .home-hero-actions .signal-button { width: auto; min-height: 46px; padding: 11px 18px; font-size: 14px; border-radius: 16px; }
  .home-hero-actions .signal-button-primary { min-width: 170px; }
  .home-hero-art { min-height: 210px; }
  .home-hero-orb { width: 230px; height: 230px; opacity: .68; }
  .home-hero-icon { width: 140px; height: 140px; padding: 24px; border-radius: 28px; }
  .home-tools-section { padding-top: 28px; }
  .home-section { margin-bottom: 26px; }
  .home-section-heading { gap: 10px; margin-bottom: 20px; padding: 0 4px; }
  .home-section-icon { font-size: 22px; }
  .home-section-heading h2, .home-why-card h2 { font-size: 25px; }
  .home-section-heading p { font-size: 15px; }
  .home-tool-grid { gap: 16px; }
  .home-tool-card { min-height: 0; padding: 20px; border-radius: 18px; }
  .home-tool-icon { width: 58px; height: 58px; margin-bottom: 18px; font-size: 31px; }
  .home-tool-card strong { margin-bottom: 10px; font-size: 21px; }
  .home-tool-card p { font-size: 15px; line-height: 1.5; }
  .home-card-link { padding-top: 18px; }
  .home-why-card { padding: 22px 18px; border-radius: 20px; }
  .home-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
  .home-why-grid > div { min-height: 0; padding: 0; border-right: 0; border-bottom: 0; }
  .home-why-icon { margin-bottom: 10px; font-size: 28px; }
  .home-why-grid strong { margin-bottom: 8px; font-size: 14px; }
  .home-why-grid p { font-size: 13px; line-height: 1.45; }
  .home-footer { margin-top: 28px; }
  .home-footer-main { padding: 28px 8px 24px; gap: 22px; }
  .home-footer-brandline { margin-bottom: 12px; font-size: 20px; }
  .home-footer-brand p, .home-footer-status p { font-size: 15px; line-height: 1.5; }
  .home-footer-links { gap: 10px; }
  .home-footer-group { border: 1px solid rgba(255,255,255,.10); border-radius: 16px; background: rgba(255,255,255,.025); }
  .home-footer-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; padding: 0 14px; cursor: pointer; }
  .home-footer-group summary::after { content: '+'; color: var(--green); font-weight: 900; }
  .home-footer-group[open] summary::after { content: '−'; }
  .home-footer-group a { margin: 0; padding: 11px 14px; border-top: 1px solid rgba(255,255,255,.07); font-size: 15px; }
  .home-footer-status { padding: 18px; }
  .home-status-pill { margin-bottom: 12px; padding: 7px 10px; }
  .home-status-link { margin-top: 12px; }
  .home-footer-bottom { gap: 10px; padding: 16px 12px; font-size: 12px; }
}

@media (max-width: 420px) {
  .home-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .home-hero-actions .signal-button { width: 100%; padding-left: 12px; padding-right: 12px; }
  .home-hero-actions .signal-button-primary { min-width: 0; }
  .home-why-grid { gap: 16px 14px; }
}


/* Home v0.8.4 — Hero Control Polish */
.home-hero-actions .signal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  line-height: 1;
  white-space: nowrap;
}
.home-hero-actions .signal-button-primary {
  padding-left: 24px;
  padding-right: 28px;
}
.home-hero-actions .signal-button:not(.signal-button-primary) {
  padding-left: 18px;
  padding-right: 18px;
  font-weight: 800;
}
@media (max-width: 700px) {
  .home-hero-actions .signal-button {
    min-height: 48px;
    align-items: center;
  }
  .home-hero-actions .signal-button-primary {
    padding-left: 18px;
    padding-right: 20px;
  }
}


/* Home v0.9.0 — Public Pages Architecture */
.public-page-shell {
  width: min(980px, 100%);
  margin: 0 auto 42px;
}
.public-page-hero {
  padding: 46px 8px 34px;
  text-align: center;
}
.public-page-kicker {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.public-page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: .98;
  letter-spacing: -.06em;
}
.public-page-hero p {
  width: min(720px, 100%);
  margin: 0 auto;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
}
.public-page-card {
  margin-bottom: 20px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: var(--shadow-soft);
}
.public-page-card h2 {
  margin-bottom: 14px;
  font-size: 25px;
  letter-spacing: -.04em;
}
.public-page-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}
.public-page-card p,
.public-page-card li {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.65;
}
.public-page-card ul {
  margin: 10px 0 0 20px;
}
.public-page-card a { color: var(--green); font-weight: 800; }
.public-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.public-list-card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.public-list-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
}
.public-page-meta {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.public-page-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(34,197,94,.30);
  border-radius: 999px;
  background: rgba(34,197,94,.10);
  color: #86efac;
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 700px) {
  .public-page-hero { padding: 30px 4px 24px; }
  .public-page-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .public-page-hero p { font-size: 16px; }
  .public-page-card { padding: 20px; border-radius: 18px; }
  .public-card-grid { grid-template-columns: 1fr; gap: 14px; }
}


/* Shared component mount points */
#sl-header, #sl-footer { display: block; }
.public-page-hero .public-page-meta { display: none; }


/* Home v0.9.3 — Footer Simplification */
.home-footer-bottom {
  justify-content: center;
  text-align: center;
  gap: 0;
  color: var(--muted);
}
.home-footer-bottom span {
  white-space: normal;
}
.home-footer-bottom nav {
  display: none;
}
